:root {
    --primary: #0099ff;
    --primary-dark: #0077cc;
    --secondary: #6a11cb;
    --dark-bg: #0a0a14;
    --card-bg: #12121e;
    --card-hover: #1a1a2e;
    --text: #e6e7ff;
    --text-light: #ffffff;
    --text-muted: #a8a9cc;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    background-color: var(--dark-bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(180deg, #0c0c1a 0%, #0a0a14 100%);
    overflow: hidden;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(0,0,0,0.4);
}
.whatsapp-float i {
    font-size: 28px;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float i {
        font-size: 24px;
    }
}

/* Enhanced Background */
.bg-accent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 153, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(106, 17, 203, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

/* Floating cards background elements */
.floating-cards-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    opacity: 0.07;
    transform: rotate(10deg);
    background: linear-gradient(135deg, var(--primary), #6a11cb);
    box-shadow: 0 4px 30px rgba(0, 153, 255, 0.3);
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Particle effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.2;
    animation: particle-animation 15s infinite linear;
}

@keyframes particle-animation {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 15px 40px; /* Aumentado o padding superior */
    position: relative;
    z-index: 1;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    max-width: 800px;
    margin-bottom: 35px;
}

.welcome-section h1 {
    font-size: clamp(28px, 5vw, 42px);
    background: linear-gradient(135deg, #0099ff, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.welcome-section p {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-muted);
    max-width: 80%;
    margin: 0 auto;
}

/* Main Grid Section */
.social-media-selector {
    width: 95%;
    max-width: 1000px;
    background: rgba(18, 18, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.08);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.social-media-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0099ff, #6a11cb);
    border-radius: 3px 3px 0 0;
}

.selector-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.selector-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.social-media-selector h3 {
    color: var(--text-light);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.selector-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.social-card {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 16px;
    padding: 24px 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.social-card:hover::before {
    opacity: 0.3;
}

.social-card:active {
    transform: translateY(-3px);
}

.social-card.selected {
    border: 2px solid var(--primary);
    background: rgba(0, 153, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-card.selected::before {
    opacity: 0.5;
}

.social-card i {
    font-size: 38px;
    margin-bottom: 16px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.social-card:hover i {
    transform: scale(1.1);
}

/* Badge para serviços populares - posicionamento ajustado */
.popular-badge {
    position: absolute;
    top: 3px;
    right: 4px;
    font-size: 11px;
    background: linear-gradient(90deg, #0099ff, #6a11cb);
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Cor do texto nos cards de redes sociais */
.social-card p {
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    margin-top: 7px;
    transition: all 0.3s ease;
}

.social-card:hover p {
    color: var(--text-light);
}

/* Next Button */
.next-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: linear-gradient(90deg, #0099ff, #6a11cb);
    color: var(--text-light);
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0.7;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.next-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.next-button.active {
    opacity: 1;
    pointer-events: auto;
}

.next-button.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.next-button.active:hover::before {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

.next-button.active:active {
    transform: translateY(-1px);
}

.next-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.next-button:hover i {
    transform: translateX(4px);
}

/* Footer note */
.footer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 30px;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .welcome-section p {
        max-width: 95%;
    }
}

@media (max-width: 576px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .social-card {
        padding: 20px 10px;
    }
    
    .social-card i {
        font-size: 32px;
    }
    
    .welcome-section h1 {
        font-size: 26px;
    }
    
    .welcome-section p {
        font-size: 15px;
    }
    
    .social-media-selector {
        padding: 25px 15px;
    }
    
    .selector-header h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .social-card {
        padding: 15px 8px;
    }
    
    .social-card i {
        font-size: 28px;
        margin-bottom: -10px;
    }
    
    .social-card p {
        font-size: 14px;
    }
    
    .next-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}