/* ============================================
   REVELA — Landing Page
   Design: Dark, clean, thin lines
   ============================================ */

:root {
    --bg-primary: #07090f;
    --bg-secondary: #0c1018;
    --bg-card: #10141c;
    --bg-card-hover: #141a24;
    --accent: #b82e3c;
    --accent-light: #d4394a;
    --accent-glow: rgba(184, 46, 60, 0.15);
    --accent-gold: #b89a6a;
    --text-primary: #eceef2;
    --text-secondary: #6a7189;
    --text-muted: #3d4355;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(184, 46, 60, 0.2);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ NAVBAR ============ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(7, 9, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.01em;
}

.btn-nav {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 8px 20px;
    font-size: 0.8125rem;
}

.btn-nav:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 14px 32px;
}

.btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 14px 32px;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.btn-full {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ============ HERO ============ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 9, 15, 0.4) 0%,
        rgba(7, 9, 15, 0.7) 50%,
        rgba(7, 9, 15, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding-top: 120px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.text-accent {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============ TRUST BAR ============ */

.trust-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.trust-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.trust-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ============ SECTION HEADER ============ */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* ============ FEATURES ============ */

.features {
    padding: 120px 0 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-card);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============ VISUAL BREAK ============ */

.visual-break {
    padding: 40px 0 120px;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.visual-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
}

.visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.visual-image:hover img {
    transform: scale(1.03);
}

/* ============ HOW IT WORKS ============ */

.how-it-works {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.steps {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-card);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 24px;
    -webkit-text-stroke: 1px var(--text-muted);
    transition: var(--transition);
}

.step:hover .step-number {
    -webkit-text-stroke: 1px var(--accent);
    color: var(--accent-glow);
}

.step-line {
    width: 40px;
    height: 1px;
    background: var(--border);
    margin: 0 auto 24px;
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============ USE CASES ============ */

.use-cases {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    padding: 40px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    transition: var(--transition);
}

.case-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card);
}

.case-icon {
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.case-icon svg {
    width: 28px;
    height: 28px;
}

.case-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.case-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============ PRICING ============ */

.pricing {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.pricing-card {
    max-width: 440px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--accent-glow);
    color: var(--accent-light);
    border: 1px solid var(--border-accent);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
}

.currency {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    align-self: flex-start;
    margin-top: 8px;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.cents {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.period {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-free {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.pricing-then {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.pricing-note {
    font-size: 0.8125rem;
    color: var(--accent-gold);
}

.pricing-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-guarantee {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ============ FAQ ============ */

.faq {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.faq-list {
    max-width: 680px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-question svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ FINAL CTA ============ */

.final-cta {
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
}

.final-cta p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
}

.final-cta .btn {
    position: relative;
}

/* ============ FOOTER ============ */

.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============ WHATSAPP FLOAT ============ */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

/* ============ ANIMATIONS ============ */

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
    .nav-links,
    .btn-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(7, 9, 15, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .visual-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        gap: 48px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        flex-wrap: wrap;
        gap: 24px;
    }

    .trust-divider {
        display: none;
    }

    .trust-items {
        gap: 32px;
    }

    .pricing-card {
        padding: 36px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .amount {
        font-size: 3rem;
    }
}

/* ============ MODAL FUNIL ============ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-back {
    position: absolute;
    top: 18px;
    left: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-back:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}

.funnel-alert {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(184, 46, 60, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(184, 46, 60, 0.08);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.funnel-alert svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.funnel-alert p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.funnel-step {
    display: none;
}

.funnel-step.active {
    display: block;
}

.funnel-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 20px;
    letter-spacing: -0.02em;
}

.funnel-sub {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.funnel-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.funnel-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.funnel-option:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.funnel-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.funnel-success {
    text-align: center;
}

.funnel-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.funnel-success p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.btn-whatsapp {
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #20bf5b;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.funnel-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.funnel-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.funnel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: var(--transition);
}

.funnel-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 480px) {
    .modal-card {
        padding: 36px 20px 28px;
    }
}
