/**
 * AW Indicador - Estilos da landing page
 * Variáveis, layout, componentes, animações e responsividade
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #0c4a6e 100%);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* Utilities - evita overflow no mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.125rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--white);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg_01.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: min(800px, 120vmax);
    height: min(800px, 120vmax);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Desktop: countdown na coluna direita acima da imagem */
.hero-text { grid-column: 1; grid-row: 1 / -1; }
.countdown-hero { grid-column: 2; grid-row: 1; }
.hero-image { grid-column: 2; grid-row: 2; }

/* Countdown - acima da foto do herói (no fluxo do layout) */

.countdown-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    margin-bottom: 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.countdown-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.04em;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.countdown-timer .countdown-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 4px 8px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
}

.countdown-separator {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-light);
    animation: countdownBlink 1s ease-in-out infinite;
}

@keyframes countdownBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.hero-badge {
    position: absolute;
    top: -16px;
    right: -16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: var(--primary-light);
    cursor: default;
    user-select: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 4px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--dark-light);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9375rem;
}

/* Benefits Section - grid 2x2, menos espaço vazio */
#benefits {
    scroll-margin-top: 88px;
}

.benefits .section-subtitle {
    margin-bottom: 40px;
}

.benefits {
    padding: 72px 0 88px;
    background: var(--dark-light);
    position: relative;
}

.benefits-list-wrap {
    max-width: 100%;
}

.benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 20px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.benefit-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.2);
}

.benefit-row-marker {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--primary-light);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: -0.02em;
}

.benefit-row-body h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 6px 0;
}

.benefit-row-body p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* Legacy: mantém .benefit-item para outros usos se existirem (FAQ, etc.) */
.benefit-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.25rem;
}

.benefit-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit-item p {
    color: var(--gray);
    font-size: 0.9375rem;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-light) 0%, var(--dark) 100%);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    min-width: 0;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 40px 36px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    border-radius: 28px 28px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 24px 48px rgba(99, 102, 241, 0.15), 0 4px 24px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, rgba(14, 165, 233, 0.06) 100%);
    border: 2px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 24px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular::after {
    opacity: 1;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-header .plan-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.pricing-card.popular .pricing-header .plan-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(14, 165, 233, 0.3));
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    color: var(--white);
}

.pricing-header p {
    color: var(--gray);
    font-size: 0.875rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    margin-left: -8px;
    margin-right: -8px;
}

.pricing-price .price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.pricing-price .price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.pricing-price .price-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -1px;
}

.pricing-price .price-period {
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: 12px;
}

.pricing-price .price-original {
    font-size: 0.9375rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.pricing-price .price-promo {
    font-size: 0.8125rem;
    color: var(--accent);
    margin-top: 4px;
    font-weight: 600;
}

.pricing-price .price-savings {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9375rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--accent);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    padding: 18px 32px;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--gray);
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--dark-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 28px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        text-align: center;
    }

    /* Mobile: time acima do título - reset de posicionamento para ordem DOM */
    .hero-text, .countdown-hero, .hero-image {
        grid-column: 1;
        grid-row: auto;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image img {
        margin: 0 auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .benefit-row {
        padding: 20px 18px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .countdown-wrap {
        padding: 14px 20px;
        margin-bottom: 12px;
    }

    .countdown-timer .countdown-value {
        font-size: 1.375rem;
        min-width: 38px;
        padding: 4px 6px;
    }

    .countdown-label {
        font-size: 1rem;
    }

    .countdown-separator {
        font-size: 1.375rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .benefits .section-subtitle {
        margin-bottom: 32px;
    }

    .benefit-row {
        gap: 14px;
        padding: 18px 16px;
    }

    .benefit-row-marker {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-price {
        margin-left: 0;
        margin-right: 0;
    }

    .pricing-price .price-value {
        font-size: 2.5rem;
    }

    .pricing-price .price-currency {
        font-size: 1.25rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.6);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 40px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(99, 102, 241, 0.3);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating particles background */
@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -100px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(200px, -50px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(100px, 50px) rotate(270deg);
        opacity: 0.5;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 20s infinite;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 4s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 6s; }
.particle:nth-child(5) { top: 40%; left: 50%; animation-delay: 8s; }

.animate {
    animation: fadeIn 0.6s ease forwards;
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-right {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scale {
    animation: scaleIn 0.6s ease forwards;
}

.animate-rotate {
    animation: rotateIn 0.8s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Enhanced button animations */
.btn-primary {
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    animation: none;
}

/* Card hover effects */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover::before {
    opacity: 1;
    animation: rotateIn 1s ease;
}

/* Pricing card special effects */
/* Removed glow animation to match both cards */

/* Hero image float effect */
.hero-image img {
    animation: float 6s ease-in-out infinite;
}

/* Badge subtle glow (não parece botão) */
.hero-badge {
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); border-color: rgba(99, 102, 241, 0.5); }
    50% { box-shadow: 0 2px 16px rgba(99, 102, 241, 0.25); border-color: rgba(99, 102, 241, 0.7); }
}

/* Stats counter animation */
.stat-item h3 {
    animation: countUp 1s ease forwards;
}

/* Gradient text shimmer */
.gradient-text {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Icon rotation on hover */
.feature-icon {
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

/* Testimonial card entrance */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}


/* Header entrance animation */
header {
    animation: slideInFromTop 0.6s ease forwards;
}

/* CTA section pulse effect */
.cta-content h2 {
    animation: fadeInUp 1s ease forwards;
}

.cta-content p {
    animation: fadeInUp 1.2s ease forwards;
}

.cta-content .btn {
    animation: fadeInUp 1.4s ease forwards, pulse 2s ease-in-out 1.5s infinite;
}

/* Trading-specific animations */
@keyframes priceUp {
    0%, 100% {
        transform: translateY(0);
        color: var(--accent);
    }
    50% {
        transform: translateY(-5px);
        color: #22c55e;
    }
}

@keyframes candlestick {
    0% {
        height: 20px;
    }
    50% {
        height: 40px;
    }
    100% {
        height: 30px;
    }
}

/* Chart line animation */
@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Enhanced gradient backgrounds */
.hero::after {
    animation: float 8s ease-in-out infinite;
}

/* Testimonial stars animation */
.testimonial-rating {
    display: inline-block;
}

.testimonial-card:hover .testimonial-rating {
    animation: bounce 0.5s ease;
}

/* FAQ item enhanced hover */
.faq-item:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(5px);
}

/* Pricing badge animation */
.popular-badge {
    animation: bounce 2s ease-in-out infinite;
}

/* Loading overlay - fade out automático em 2s (fallback se JS falhar) */
@keyframes loadingFadeOut {
    0%, 70% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
    animation: loadingFadeOut 2.5s ease-out 0.5s forwards;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    animation: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile menu animation */
.mobile-menu {
    transition: transform 0.3s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}

/* Enhanced section transitions */
section {
    transition: all 0.3s ease;
}

/* Benefit row marker hover */
.benefit-row-marker {
    transition: transform 0.25s ease;
}

.benefit-row:hover .benefit-row-marker {
    transform: scale(1.08);
}

/* Feature card border animation */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, var(--primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover::after {
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

/* Trading chart decoration */
.chart-decoration {
    position: absolute;
    width: 100%;
    height: 200px;
    bottom: 0;
    left: 0;
    opacity: 0.1;
    pointer-events: none;
}

.chart-line {
    stroke: var(--primary);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease forwards;
}

/* Candlestick animation */
.candlestick {
    position: absolute;
    width: 4px;
    background: linear-gradient(to top, #10b981, #22c55e);
    bottom: 0;
    animation: candlestick 2s ease-in-out infinite;
    border-radius: 2px;
}

.candlestick:nth-child(1) { left: 10%; height: 30px; animation-delay: 0s; }
.candlestick:nth-child(2) { left: 20%; height: 45px; animation-delay: 0.2s; }
.candlestick:nth-child(3) { left: 30%; height: 25px; animation-delay: 0.4s; }
.candlestick:nth-child(4) { left: 40%; height: 50px; animation-delay: 0.6s; }
.candlestick:nth-child(5) { left: 50%; height: 35px; animation-delay: 0.8s; }
.candlestick:nth-child(6) { left: 60%; height: 55px; animation-delay: 1s; }
.candlestick:nth-child(7) { left: 70%; height: 40px; animation-delay: 1.2s; }
.candlestick:nth-child(8) { left: 80%; height: 60px; animation-delay: 1.4s; }
.candlestick:nth-child(9) { left: 90%; height: 45px; animation-delay: 1.6s; }

/* Percentage badge */
.percentage-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    animation: priceUp 2s ease-in-out infinite;
}

/* Smooth reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Traders Online Indicator */
.traders-online {
    position: fixed;
    bottom: 32px;
    left: 32px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1s ease forwards;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* Market Ticker */
.market-ticker {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    z-index: 998;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s ease;
}

.market-ticker.show {
    opacity: 1;
    transform: translateY(0);
}

.ticker-content {
    display: flex;
    gap: 48px;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.ticker-item .symbol {
    color: var(--primary-light);
}

.ticker-item .price {
    color: var(--white);
}

.ticker-item .change {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.ticker-item .change.up {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.ticker-item .change.down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Enhanced pricing card glow */
.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s;
    animation: shimmer 3s linear infinite;
    background-size: 200% 200%;
}

.pricing-card:hover::before {
    opacity: 0.5;
}

/* Stats number glow */
.stat-item h3 {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* Feature icon glow on hover */
.feature-icon {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.feature-card:hover .feature-icon {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.6);
}

/* Transições apenas em elementos interativos - evita zoom/lag no mobile */
a, button, .btn, .faq-question, .benefit-item, .benefit-row, .feature-card, .pricing-card,
.footer-links a, .nav-links a {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Disable transitions for animations */
.animate, .animate-up, .animate-left, .animate-right, 
.animate-scale, .animate-rotate, .animate-float, .animate-bounce {
    transition: none !important;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    /* Evita zoom por double-tap e melhora resposta ao toque */
    html, body {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* Evita overflow em grids no mobile */
    .hero-content,
    .benefits-list-wrap,
    .pricing-grid {
        min-width: 0;
    }
    
    .hero-content > *,
    .benefits-list-wrap > *,
    .pricing-grid > * {
        min-width: 0;
    }
    
    .hero-text h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .traders-online {
        bottom: 16px;
        left: 16px;
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .particle {
        display: none;
    }
    
    .chart-decoration {
        display: none;
    }
    
    .market-ticker {
        display: none;
    }
    
    .percentage-badge {
        display: block;
        margin-top: 8px;
    }
    
    /* Área de toque mínima e fonte >= 16px evita zoom no iOS ao focar */
    .btn {
        min-height: 44px;
        font-size: 1rem;
    }
    
    .faq-question {
        min-height: 44px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    
    .footer-links a {
        padding: 8px 4px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Print styles */
@media print {
    .traders-online,
    .market-ticker,
    .particle,
    .loading-overlay,
    .scroll-progress,
    .countdown-wrap {
        display: none !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .pricing-card,
    .testimonial-card,
    .benefit-item,
    .benefit-row {
        border-width: 2px;
    }
}

/* Dark mode optimization (already dark, but for consistency) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark);
