:root {
    --bg-color: #050505;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-glow: #0ea5e9;
    --accent-gradient: linear-gradient(135deg, #38bdf8, #2563eb);
    --premium-gradient: linear-gradient(135deg, #fbbf24, #d97706);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

nav, nav * {
    font-family: 'Rajdhani', sans-serif !important;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--surface-border);
    transition: background 0.3s;
}

.btn-outline:hover {
    background: var(--surface-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden; /* Correção para a margem no mobile */
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, rgba(5,5,5,0) 70%);
    z-index: -1;
}

.badge {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    margin-top: 4rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
    background: -webkit-linear-gradient(#fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 1.5rem 0;
    background-color: #ffffff;
    border-radius: 28px;
    padding: 15px;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), 0 15px 40px rgba(14, 165, 233, 0.4);
    animation: floatAppIcon 6s ease-in-out infinite;
}

@keyframes floatAppIcon {
    0% { transform: translateY(0px); }
    50% { 
        transform: translateY(-15px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 25px 50px rgba(14, 165, 233, 0.5); 
    }
    100% { transform: translateY(0px); }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cta-divider {
    width: 100%;
    max-width: 250px;
    height: 1px;
    background-color: var(--surface-border);
    margin: 2rem 0 1rem 0;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.store-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.store-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 10px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.store-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.4);
}

.features {
    padding: 3rem 2%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 1rem;
    cursor: pointer;
}

.features-split .grid .card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
    background: rgba(56, 189, 248, 0.03);
    position: relative;
    z-index: 10;
}

.features-split .grid .card.premium:hover {
    border-color: #fbbf24;
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.15);
    background: rgba(251, 191, 36, 0.03);
    position: relative;
    z-index: 10;
}

.card i {
    font-size: 2.5rem;
    color: #38bdf8;
    margin-bottom: 0;
    transition: transform 0.4s ease;
}

.features-split .grid .card:hover i {
    transform: scale(1.1);
}

.card.premium i {
    color: #fbbf24;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    grid-column: 1 / span 2;
    margin-top: 1rem;
}

.features-split {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.features-split .grid {
    flex: 1.8;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.features-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.image-placeholder {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 600px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.hover-preview {
    position: absolute;
    width: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important; 
    border-radius: 0 !important;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.6));
    opacity: 1;
    transform: perspective(1000px) rotateY(-15deg) translateX(0) scale(1.0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; 
}

.hover-preview.active {
    opacity: 1;
    transform: perspective(1000px) rotateY(-15deg) translateX(0) scale(1.05);
}

body.light-theme .hover-preview {
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.2));
    box-shadow: none !important;
}

@media (max-width: 992px) {
    .features-split {
        flex-direction: column;
    }
    .features-image-area {
        display: none; 
    }
    .features-split .grid {
            display: grid !important;
            grid-template-columns: 1fr !important;
            align-items: center;
            overflow: hidden;
        }
    
    /* Esconde os cards sem destruir a altura da página */
    .features-split .grid .card {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 3rem 1.5rem;
        
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1;
    }

    /* Revela apenas o card ativo */
    .features-split .grid .card.active-slide {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: 5;
    }
}

.platforms {
    background: linear-gradient(to bottom, var(--bg-color), #0a0a0a);
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
}

.platform-icons i {
    font-size: 3rem;
    transition: color 0.3s, transform 0.3s;
}

.platform-icons i:hover {
    color: white;
    transform: scale(1.1);
}

.security-banner {
    margin: 8rem auto;
    max-width: 1000px;
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.security-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

body.light-theme {
    --bg-color: #f0f0f0;
    --surface-color: rgba(0, 0, 0, 0.05);
    --surface-border: rgba(0, 0, 0, 0.1);
    --text-primary: #111827;
    --text-secondary: #4b5563;
}

body.light-theme .hero h1 {
    background: -webkit-linear-gradient(#000, #4b5563);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .platform-icons i:hover {
    color: #000;
}

body.light-theme .security-banner h2 {
    color: #111827 !important;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .security-banner { padding: 2rem; }
}

#beneficios {
    position: relative;
    overflow: hidden;
    background-color: var(--surface-color);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    margin: 4rem 0;
    padding: 2rem 5%;
    width: 100%; 
    box-sizing: border-box; 
}

.beneficios-bg-glow {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.beneficios-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.beneficios-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 5rem auto;
    font-size: 1.15rem;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto; 
}

.benefit-card {
    padding: 3rem 2rem;
    background: var(--bg-color);
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.benefit-icon-wrapper i {
    font-size: 2.2rem;
    margin: 0;
    transition: all 0.4s ease;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-top: 0;
}

.benefit-card:nth-child(1) .benefit-icon-wrapper {
    background: rgba(16, 185, 129, 0.1);
}
.benefit-card:nth-child(1) .benefit-icon-wrapper i {
    color: #10b981;
}
.benefit-card:nth-child(1):hover {
    transform: translateY(-10px);
    border-color: #10b981;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    background: rgba(16, 185, 129, 0.02);
}

.benefit-card:nth-child(2) .benefit-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
}
.benefit-card:nth-child(2) .benefit-icon-wrapper i {
    color: #3b82f6;
}
.benefit-card:nth-child(2):hover {
    transform: translateY(-10px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    background: rgba(59, 130, 246, 0.02);
}

.benefit-card:nth-child(3) .benefit-icon-wrapper {
    background: rgba(245, 158, 11, 0.1);
}
.benefit-card:nth-child(3) .benefit-icon-wrapper i {
    color: #f59e0b;
}
.benefit-card:nth-child(3):hover {
    transform: translateY(-10px);
    border-color: #f59e0b;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
    background: rgba(245, 158, 11, 0.02);
}

#faq {
    padding: 0.5rem 5%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

details {
    background: var(--bg-color);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

details:hover {
    background: var(--surface-color);
    border-color: rgba(56, 189, 248, 0.3);
}

details > summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

details > summary::-webkit-details-marker {
    display: none;
}

details p {
    margin-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

details[open] summary i {
    transform: rotate(180deg);
    color: #38bdf8;
}

summary i {
    transition: transform 0.4s ease, color 0.3s ease;
}

details[open] p {
    animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-card-img {
    display: none; 
    width: 100%;
    max-width: 280px; 
    margin: 0 auto 1.5rem auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    box-shadow: none !important;
    background: transparent;
}

body.light-theme .mobile-card-img {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15)); 
    box-shadow: none !important; 
}

.mobile-carousel-controls, .carousel-dots {
    display: none;
}
/* Correções de layout para conformidade com a CSP (FoundSync) */

.nav-rajdhani-font {
    font-family: 'Rajdhani', sans-serif;
}

.btn-access-hero {
    padding: 1rem 2.5rem; 
    font-size: 1.1rem;
}

.platform-layout-fix {
    margin-top: 1rem; 
    gap: 2rem;
}

.platform-link {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.5rem; 
    text-decoration: none; 
    color: inherit;
}

.platform-icon-size {
    font-size: 2rem;
}

.platform-label {
    font-size: 0.85rem; 
    color: var(--text-secondary); 
    font-weight: 600;
}

.faq-section-padding {
    padding-top: 2rem; 
    padding-bottom: 6rem;
}

.faq-title-main {
    text-align: center; 
    margin-bottom: 3rem;
}

.faq-layout {
    max-width: 800px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 1rem;
}

.faq-item {
    background: var(--bg-color); 
    border: 1px solid var(--border-color, #e0e0e0); 
    border-radius: 8px; 
    padding: 1rem; 
    cursor: pointer;
}

.faq-question {
    font-weight: 600; 
    font-size: 1.1rem; 
    list-style: none; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.faq-answer {
    margin-top: 1rem; 
    color: var(--text-secondary); 
    line-height: 1.6;
}

.footer-width-fix {
    width: 100%;
}
@media (max-width: 992px) {
    .features-split {
        flex-direction: column;
        position: relative; 
    }
    .features-image-area {
        display: none; 
    }
    .features-split .grid {
        grid-template-columns: 1fr;
        display: block;
        min-height: 550px;
        overflow-x: hidden; 
    }

    .mobile-card-img {
        display: block; 
        margin: 0 auto 1.5rem auto !important; 
    }
    
    .mobile-carousel-controls {
        position: absolute;
        top: 320px; 
        left: 5px; 
        right: 5px; 
        width: auto; 
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        pointer-events: none; 
    }

    .carousel-btn {
        pointer-events: auto; 
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--text-secondary);
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5rem; 
        cursor: pointer;
        transition: all 0.3s ease;
    }

    body.light-theme .carousel-btn {
        background: transparent !important;
        border: none !important;
        color: #888;
    }

    .carousel-btn:hover {
        background: transparent !important;
        border: none !important;
        color: #38bdf8 !important;
        transform: scale(1.15);
    }

    #slide-counter {
        display: none; 
    }
.features {
    padding: 3rem 2%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}
    .features-split .grid .card {
        display: none; 
    }
.features-split .grid .card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
    background: rgba(56, 189, 248, 0.03);
    position: relative;
    z-index: 10;
}
    .features-split .grid .card.active-slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 3rem 1.5rem;
        opacity: 1 !important;
    }

    .features-split .grid .card.active-slide i {
        margin-bottom: 0.8rem;
        font-size: 3rem; 
    }
    
    .features-split .grid .card.active-slide h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .features-split .grid .card.active-slide p {
        margin-top: 0;
        font-size: 1rem;
    }

    @keyframes slideInRight {
        from { opacity: 0; transform: translateX(80px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes slideInLeft {
        from { opacity: 0; transform: translateX(-80px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 0.5rem 0 2.5rem 0; 
        pointer-events: auto; 
        width: 100%;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--surface-border);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .dot.active {
        background-color: #38bdf8;
        width: 24px; 
        border-radius: 4px;
    }

    body.light-theme .dot {
        background-color: rgba(0, 0, 0, 0.15);
    }
    body.light-theme .dot.active {
        background-color: #38bdf8;
    }

@media (max-width: 992px) {
    .features-split .grid .card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .features-split .grid {
        overflow-x: visible !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    #recursos .section-title {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
    }

    #recursos::before, #recursos::after,
    .features-split::before, .features-split::after,
    .features-split .grid::before, .features-split .grid::after {
        display: none !important;
        content: none !important;
        background: transparent !important;
    }
}
}