@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #affc41; 
    --primary-dark: #76c900; 
    --neon-glow: rgba(175, 252, 65, 0.4);
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 30px 40px -10px rgba(118, 201, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

.container.narrow { max-width: 800px; }

/* NAVBAR - APPLE PILL GLASSMORPHISM */
.navbar {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
    padding: 0 16px; /* Reduzido de 24px para ganhar espaço no mobile */
}

.nav-pill {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 20px; /* Reduzido de 32px para não estourar no mobile */
    padding: 10px 14px 10px 20px;
    border-radius: 100px;
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-pill:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.16),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Botão CTA empurrado para a direita */
.nav-pill .btn-nav { margin-left: auto; }

.logo { font-weight: 800; font-size: 1.4rem; color: var(--text); display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo a { display: flex; align-items: center; }
.logo span { color: var(--primary-dark); }

.nav-links-desktop { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav-links-desktop a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 100px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.nav-links-desktop a:hover {
    background: rgba(118, 201, 0, 0.1);
    color: var(--primary-dark);
}

.btn-nav {
    background: var(--primary-dark);
    color: white;
    padding: 10px 22px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: 0.3s;
    box-shadow: 0 4px 12px var(--neon-glow);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.btn-nav:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px var(--neon-glow);
}

/* Compensar espaço da navbar fixa */
body { padding-top: 90px; }


/* HERO */
.hero { padding: 80px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 100px; align-items: center; }

.hero-text h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.03em; }
.hero-text h1 span { color: var(--primary-dark); display: inline-block; }
.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; max-width: 520px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

/* WRAPPER PARA O EFEITO NEBULA */
.onboarding-wrapper {
    position: relative;
    z-index: 1;
}

/* NEBULA AMBIENTE (GRADIENT MESH) */
.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    max-width: 100vw; /* Adicionado para evitar overflow lateral no mobile */
    background: radial-gradient(circle at center, rgba(118, 201, 0, 0.4) 0%, rgba(175, 252, 65, 0.25) 35%, transparent 70%);
    filter: blur(45px);
    z-index: -1;
    pointer-events: none;
    animation: ambient-pulse 6s ease-in-out infinite alternate;
}

@keyframes ambient-pulse {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

/* ONBOARDING CARD - GLASSMORPHISM / FLOATING FORTE */
.onboarding-card {
    background: rgba(255, 255, 255, 0.92); /* Quase sólido para dar peso */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08); /* Borda fina cinza para definir perfeitamente o limite da caixa */
    box-shadow: 
        0 40px 80px -15px rgba(0,0,0,0.35), /* Sombra preta super forte e densa */
        0 0 0 1px rgba(0,0,0,0.03), /* Delimitação extra de pixel */
        0 20px 50px rgba(118, 201, 0, 0.25); /* Sombra verde grossa misturando com a nebula */
    position: relative;
    z-index: 1;
}

.progress-container { margin-bottom: 40px; }
.step-indicator { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.step-dot { width: 30px; height: 4px; background: var(--border); border-radius: 10px; transition: 0.3s; }
.step-dot.active { background: var(--primary-dark); width: 50px; }

.progress-bar { width: 100%; height: 6px; background: #f1f5f9; border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-dark); transition: width 0.4s ease; }

.step { display: none; }
.step.active { display: block; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.choice-container { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    margin-top: 32px; 
}

.choice-card {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 24px 30px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 24px;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.choice-card:hover { 
    border-color: var(--primary-dark); 
    transform: translateX(8px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.05); 
}

.choice-card.recommended {
    border: 2px solid var(--primary-dark);
    background: linear-gradient(90deg, #ffffff 0%, #f9fff0 100%);
}

.choice-icon { 
    font-size: 2rem; 
    background: var(--bg-alt); 
    min-width: 64px; 
    height: 64px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 18px; 
    transition: 0.3s;
    flex-shrink: 0;
}

.choice-card:hover .choice-icon {
    background: var(--primary-dark);
    color: white;
    transform: scale(1.05) rotate(-5deg);
}

.choice-info {
    flex-grow: 1;
}

.choice-card h4 { 
    font-size: 1.2rem; 
    font-weight: 800; 
    margin: 0 0 4px 0; 
    color: var(--text); 
}

.choice-card p { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin: 0; 
    line-height: 1.4; 
}

.choice-arrow {
    font-size: 1.2rem;
    color: var(--border);
    transition: 0.3s;
    font-weight: bold;
}

.choice-card:hover .choice-arrow {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.badge-choice {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary-dark);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(118, 201, 0, 0.3);
    z-index: 10;
}

/* Progress bar initially hidden */
.progress-container { 
    margin-bottom: 40px; 
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.5s ease;
    height: 0;
    overflow: hidden;
}

.progress-container.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    height: auto;
    margin-bottom: 40px;
}

/* FORM ELEMENTS */
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
input, textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-alt);
    font-size: 1rem;
    transition: 0.3s;
}
input:focus, textarea:focus { outline: none; border-color: var(--primary-dark); background: white; }
.custom-textarea { min-height: 100px; resize: none; }

.btn-next, .btn-submit {
    width: 100%;
    background: var(--primary-dark);
    color: white;
    padding: 18px;
    border-radius: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px var(--neon-glow);
}

.btn-next:disabled, .btn-submit:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

.btn-next:not(:disabled):hover, .btn-submit:not(:disabled):hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px var(--neon-glow); 
}
.btn-back { background: none; border: none; color: var(--text-muted); padding: 16px; cursor: pointer; font-weight: 600; width: 100%; }

/* MARQUEE */
.marquee-section { 
    padding: 40px 0; 
    background: var(--bg-alt); 
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden; 
    position: relative;
}

.marquee-section::before, .marquee-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt) 20%, transparent 100%);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt) 20%, transparent 100%);
}

.marquee-content { display: flex; gap: 40px; animation: scroll 30s linear infinite; }
/* CONVERSION OPTIMIZATIONS */
.btn-row-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.risk-reversal {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    opacity: 0.8;
}

/* FLOATING CTA MOBILE */
.floating-cta {
    position: fixed;
    bottom: -100px; /* Escondido inicialmente */
    left: 0;
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    z-index: 1000;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: none; /* Escondido por padrão no desktop */
}

.floating-cta.visible {
    bottom: 0;
}

.btn-floating {
    display: block;
    width: 100%;
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 20px var(--neon-glow);
}

@media (max-width: 850px) {
    .floating-cta {
        display: block;
    }
}
.marquee-content span { font-weight: 800; color: var(--text-muted); opacity: 0.5; white-space: nowrap; font-size: 0.9rem; letter-spacing: 2px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* MARQUEE DE DORES */
.marquee-pains {
    background: var(--bg-alt);
    color: var(--text-muted);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: inline-flex;
    animation: marquee-scroll 50s linear infinite;
    gap: 60px;
    align-items: center;
}

.marquee-track span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* QUALIFICAÇÃO PREMIUM */
.qualify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.qualify-card {
    background: white;
    border-radius: 32px;
    padding: 48px;
    border: 1px solid var(--border);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.qualify-card:hover {
    transform: translateY(-10px);
}

.qualify-card.status-success {
    border: 2px solid var(--primary-dark);
    box-shadow: 0 20px 50px rgba(118, 201, 0, 0.1);
}

.qualify-card.status-neutral {
    background: #f8fafc;
    opacity: 0.85;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    width: fit-content;
}

.status-badge.success {
    background: #eefee2;
    color: var(--primary-dark);
}

.status-badge.neutral {
    background: #e2e8f0;
    color: var(--text-muted);
}

.qualify-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.qualify-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qualify-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.list-icon, .list-icon-alt {
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
}

.list-icon {
    background: var(--primary-dark);
    color: white;
}

.list-icon-alt {
    background: #94a3b8;
    color: white;
}

.list-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.list-content strong {
    font-size: 1.1rem;
    color: var(--text);
}

.list-content span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 950px) {
    .qualify-grid { grid-template-columns: 1fr; }
    .qualify-card { padding: 32px; }
}

/* SECTIONS */
.section { padding: 80px 0; }
.section.alt-bg { background: var(--bg-alt); }
.section-title { font-size: 3rem; font-weight: 800; text-align: center; margin-bottom: 12px; letter-spacing: -1px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.2rem; margin-bottom: 40px; }

/* FEATURES V2 - 3 COLUMNS */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.feature-card-v2 {
    background: white;
    padding: 48px 32px;
    border-radius: 32px;
    border: 1px solid var(--border);
    transition: 0.3s;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.feature-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
}

.feature-card-v2 h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 800;
    color: var(--text);
}

.feature-card-v2 p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}/* REAL SCREENSHOT MOCKUPS */
.chat-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Fotos mais próximas */
    margin-top: 40px;
}

.mockup-device {
    background: #1a1a1a;
    border-radius: 20px; /* Cantos mais sutis */
    border: 4px solid #1a1a1a; /* Traçado mais fino */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 300px;
    height: 385px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    transition: 0.4s;
}

.mockup-device:hover {
    transform: translateY(-8px) scale(1.01);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 16px; /* Acompanha a borda externa */
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Garante que o print apareça inteiro sem cortes */
    object-position: top;
}

/* Glass effect overlay */
.mockup-device::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* FAQ ACCORDION SECTION */
.faq-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .faq-grid { grid-template-columns: 1fr; }
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item.active {
    border-color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(118, 201, 0, 0.08);
}

.faq-question {
    padding: 24px 32px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: 0.3s;
}

.faq-question::after {
    content: "↓";
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    color: var(--primary-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-alt);
}

.faq-answer p {
    padding: 24px 32px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Suficiente para a resposta */
}

/* MÉTODO C.L.A.R.E.Z.A - REDESIGN LIGHT MATRIX */
.section-light-matrix {
    background: var(--bg-alt);
    padding: 120px 0;
    position: relative;
}

.method-header {
    text-align: center;
    margin-bottom: 80px;
}

.badge-outline {
    background: white;
    border: 1px solid var(--border);
    color: var(--primary-dark);
}

.section-title-alt {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    letter-spacing: -2px;
    color: var(--text);
}

.section-title-alt span {
    color: var(--primary-dark);
}

.section-subtitle-alt {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.clareza-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.matrix-card {
    background: white;
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 32px;
    transition: 0.4s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.matrix-card:hover {
    border-color: var(--primary-dark);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.matrix-letter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.9;
}

.matrix-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.matrix-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.matrix-featured {
    grid-column: span 3;
    background: white;
    display: flex;
    align-items: center;
    gap: 40px;
    border: 2px solid var(--primary-dark);
}

.matrix-featured .matrix-letter {
    margin-bottom: 0;
    font-size: 5rem;
}

@media (max-width: 1024px) {
    .clareza-matrix {
        grid-template-columns: 1fr;
    }
    .matrix-featured {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .section-title-alt {
        font-size: 2.5rem;
    }
}

/* PRICING COMPARISON TABLE */
.comparison-wrapper {
    overflow-x: auto;
    margin-top: 60px;
    background: white;
    border-radius: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 24px 40px;
    border-bottom: 1px solid var(--border);
}

.feature-col {
    width: 40%;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.plan-col {
    width: 30%;
    text-align: center;
}

.plan-col h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 15px 0 10px;
}

.table-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
}

.table-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Featured Column Highlight */
.featured-col {
    background: rgba(118, 201, 0, 0.03);
    position: relative;
}

.featured-cell {
    background: rgba(118, 201, 0, 0.03);
}

.plan-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-alt);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.plan-tag.featured {
    background: var(--primary-dark);
    color: white;
}

.cat-row td {
    background: var(--bg-alt);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 15px 40px !important;
}

.f-name {
    font-weight: 600;
    color: var(--text);
}

.check-cell {
    text-align: center;
    font-size: 1.2rem;
}

.btn-table, .btn-table-alt {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-table {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 12px var(--neon-glow);
}

.btn-table-alt {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-table:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--neon-glow); }
.btn-table-alt:hover { background: var(--bg-alt); }

@media (max-width: 800px) {
    /* MUDANÇA: Tabela de preços vira cards empilhados no mobile */
    .comparison-wrapper {
        border: none;
        box-shadow: none;
        background: transparent;
        overflow-x: hidden;
    }
    .comparison-table {
        min-width: 100% !important;
    }
    .comparison-table, .comparison-table thead, .comparison-table tbody, .comparison-table th, .comparison-table td, .comparison-table tr {
        display: block;
    }
    .feature-col {
        display: none !important;
    }
    .comparison-table thead tr {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .plan-col {
        width: 100% !important;
        background: white;
        border-radius: 24px;
        border: 1px solid var(--border) !important;
        box-shadow: var(--shadow);
        padding: 30px !important;
    }
    .plan-col.featured-col {
        border: 2px solid var(--primary-dark) !important;
        box-shadow: 0 15px 30px rgba(118, 201, 0, 0.15);
    }
    
    .cat-row {
        display: block;
        margin-top: 40px;
        margin-bottom: 15px;
        background: transparent !important;
        border: none !important;
    }
    .cat-row td {
        width: 100%;
        text-align: center;
        background: transparent !important;
        padding: 0 !important;
        font-size: 1rem !important;
        color: var(--primary-dark);
    }
    
    .comparison-table tbody tr:not(.cat-row) {
        background: white;
        border-radius: 16px;
        border: 1px solid var(--border);
        margin-bottom: 12px;
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
    }
    .comparison-table tbody td.f-name {
        width: 100%;
        text-align: center;
        background: var(--bg-alt);
        border-bottom: 1px solid var(--border) !important;
        padding: 16px !important;
        font-size: 0.95rem;
    }
    .comparison-table tbody td.check-cell {
        width: 50%;
        padding: 16px !important;
        border: none !important;
        border-right: 1px solid var(--border) !important;
    }
    .comparison-table tbody td.check-cell.featured-cell {
        border-right: none !important;
        background: rgba(118, 201, 0, 0.03);
    }
    
    .comparison-table tbody td.check-cell::before {
        content: "Essencial";
        display: block;
        font-size: 0.65rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }
    .comparison-table tbody td.check-cell.featured-cell::before {
        content: "Premium";
        color: var(--primary-dark);
        font-weight: 800;
    }
}

/* FOOTER */
.footer { background: var(--bg-alt); padding: 100px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.footer-col h4 { font-size: 0.9rem; font-weight: 800; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { text-decoration: none; color: var(--text-muted); font-size: 0.95rem; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--primary-dark); }

.footer-bottom { padding-top: 40px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); }

/* EFEITO DE DESFOQUE NA BASE (MIST EFFECT) */
.bottom-blur-mask {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12vh;
    z-index: 9999;
    pointer-events: none;
    background: linear-gradient(to top, var(--bg) 20%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    mask-image: linear-gradient(to top, black 25%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 25%, transparent 100%);
    overflow: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.bottom-blur-mask.hide-blur {
    opacity: 0;
    visibility: hidden;
}

.bottom-blur-mask::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: multiply;
}

@media (max-width: 1024px) {
    .hero-grid, .grid-2-equal, .features-grid-3, .chat-demo-grid, .footer-grid { 
        grid-template-columns: 1fr !important; 
        gap: 40px; 
        text-align: center; 
    }
    
    .hero-text h1 { font-size: 2.8rem; }
    .hero-text { margin: 0 auto 40px; }
    
    .section-title, .section-title-alt { font-size: 2.5rem; }
    
    .comparison-table { min-width: 700px; } /* Permite scroll lateral na tabela */
    
    .matrix-featured {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .bottom-blur-mask { height: 8vh; }
}

@media (max-width: 600px) {
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-text p {
        margin: 0 auto 32px;
    }

    .onboarding-card { 
        padding: 32px 24px; 
        border-radius: 20px; 
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 25px 50px -10px rgba(0,0,0,0.3), 0 10px 30px rgba(118, 201, 0, 0.2);
    }
    .choice-container { grid-template-columns: 1fr; }

    /* PILL NAV no mobile: ajuste fino para não vazar */
    .nav-links-desktop { display: none; }
    .nav-pill {
        gap: 8px; /* Reduzido ainda mais no mobile pequeno */
        padding: 8px 10px 8px 16px;
    }
    .logo img { height: 32px; } /* Logo ligeiramente menor no celular */
    .btn-nav {
        display: flex;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    /* Remover blur no celular conforme solicitado */
    .bottom-blur-mask { 
        backdrop-filter: none !important; 
        -webkit-backdrop-filter: none !important;
        background: none !important;
        display: none;
    }
}

/* SCROLL ANIMATION */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* STAGGERED GRID ANIMATION */
.stagger-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stagger-up.visible {
    opacity: 1;
    transform: translateY(0);
}
