:root {
    /* Paleta inspirada no Dashboard (Dark Mode + Neon Teal/Green) */
    --bg-deep: #0b1116;       
    --bg-card: #151b23;       
    
    --primary: #00E676;       
    --primary-dim: #00a856;   
    --accent-purple: #6c5ce7; 
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    --seed-green: #66BB6A;
    --gold-primary: #FFD700;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(21, 27, 35, 0.7);
    --radius-lg: 24px;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased; /* Texto mais nítido no mobile */
}

/* --- Background Otimizado --- */
.bg-grid {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none; z-index: -2;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.ambient-light {
    position: fixed; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(80px); /* Blur reduzido para performance mobile */
    opacity: 0.15; z-index: -1; pointer-events: none;
    will-change: transform, opacity; /* Otimização */
    animation: pulseGlow 10s infinite alternate;
}
.light-1 { top: -20%; left: -10%; background: var(--primary); }
.light-2 { bottom: -20%; right: -10%; background: var(--accent-purple); animation-delay: 5s; }

.deep-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 17, 22, 0.9) 100%);
    pointer-events: none; z-index: -3;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate3d(0,0,0); opacity: 0.1; }
    100% { transform: scale(1.1) translate3d(0,0,0); opacity: 0.2; }
}

::-webkit-scrollbar { width: 6px; background-color: var(--bg-deep); }
::-webkit-scrollbar-track { background-color: rgba(255,255,255,0.02); }
::-webkit-scrollbar-thumb { background: var(--primary-dim); border-radius: 10px; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
a { text-decoration: none; transition: 0.3s ease; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Fio Conector */
.connection-thread-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; overflow: hidden; pointer-events: none;
}
.connection-line {
    width: 100%; height: 100%;
    stroke: var(--primary); stroke-opacity: 0.15;
    filter: drop-shadow(0 0 5px var(--primary));
}

/* --- Navbar (Fixed & Glass) --- */
.navbar {
    padding: 1.2rem 0; 
    position: fixed; 
    width: 100%; top: 0; z-index: 900;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(11, 17, 22, 0.95);
    padding: 0.8rem 0;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 40px; width: auto; transition: 0.3s; }
.navbar.scrolled .logo img { height: 32px; }

.nav-actions { display: flex; gap: 0.8rem; align-items: center; }

/* --- Navegador Flutuante --- */
.floating-nav {
    position: fixed;
    /* Padrão Desktop: Topo */
    top: 20px; left: 50%;
    transform: translateX(-50%) translateY(-100px); 
    background: rgba(21, 27, 35, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 12px;
    border-radius: 50px;
    display: flex; align-items: center; gap: 5px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.floating-nav.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.nav-pill {
    color: var(--text-muted);
    padding: 8px 16px; border-radius: 25px;
    font-size: 0.9rem; font-weight: 500;
    transition: all 0.2s;
}
.nav-pill:hover, .nav-pill.active { color: #fff; background: rgba(255,255,255,0.1); }

/* Botões */
.btn-ghost { color: var(--text-main); font-weight: 500; padding: 0.6rem 1.2rem; border: 1px solid transparent; border-radius: 8px; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); }
.btn-primary {
    background: var(--primary); color: var(--bg-deep);
    padding: 0.7rem 1.5rem; border-radius: 8px; font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.2);
}
.btn-primary:hover {
    background: var(--primary-dim); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.3);
}

/* --- Hero Section --- */
.hero {
    min-height: 95vh; display: flex; align-items: center; position: relative; 
    padding-top: 100px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* Tipografia Hero Ajustável */
.hero-text h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsivo fluido */
    line-height: 1.1; margin-bottom: 1.5rem; 
}
.highlight-text { color: transparent; -webkit-text-stroke: 1px var(--primary); position: relative; }
.highlight-text::after {
    content: attr(data-shadow); position: absolute; left: 0; top: 0;
    color: var(--primary); opacity: 0.1; filter: blur(5px);
}
.hero-text p { font-size: 1.1rem; color: var(--text-muted); max-width: 450px; margin-bottom: 2.5rem; }
.cta-group { display: flex; gap: 1.5rem; align-items: center; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* Scroll Indicator */
.scroll-indicator-container {
    position: absolute; bottom: 20px; left: 0; right: 0; margin: 0 auto;
    width: max-content; opacity: 0.5; z-index: 10;
}
.visual-link-scribble {
    color: var(--text-main); font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
    padding: 0.8rem 1.5rem;
}
.visual-link-scribble i { color: var(--primary); animation: bounceSmall 2s infinite; }
@keyframes bounceSmall { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Hero Visuals */
.hero-visual { 
    position: relative; height: 400px; 
    display: flex; justify-content: center; align-items: center; 
}
/* Container interno para facilitar o scale no mobile */
.visual-container-inner {
    position: relative; width: 100%; height: 100%;
}

.floating-card {
    background: var(--bg-card); border: var(--glass-border); padding: 1.5rem;
    border-radius: 16px; position: absolute; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px); z-index: 2;
    will-change: transform; /* Otimização Mobile */
}
.card-credits {
    top: 15%; right: 5%; display: flex; align-items: center; gap: 15px; min-width: 180px;
    animation: float 6s ease-in-out infinite;
}
.icon-box { width: 45px; height: 45px; background: rgba(59, 130, 246, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #3b82f6; font-size: 1.1rem; }
.card-info { display: flex; flex-direction: column; }
.card-info span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }
.card-info strong { font-size: 1.6rem; line-height: 1; color: var(--text-main); }

.card-goal {
    bottom: 10%; left: 0%; width: 260px; padding: 1.5rem;
    animation: float 7s ease-in-out infinite 1s;
    background: linear-gradient(160deg, var(--bg-card) 60%, rgba(0, 230, 118, 0.05) 100%);
}
.goal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; color: var(--text-muted); font-size: 0.85rem; }
.highlight-icon { color: var(--primary); }
.goal-values { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 0.6rem; }
.goal-values strong { font-size: 1.4rem; line-height: 1; }
.goal-percentage { color: var(--primary); font-weight: 700; }
.progress-bar-container { width: 100%; height: 10px; background: rgba(255,255,255,0.1); border-radius: 6px; overflow: hidden; position: relative; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary-dim), var(--primary)); border-radius: 6px; position: relative; }
.progress-glow { position: absolute; top: 0; right: 0; bottom: 0; width: 30px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4)); filter: blur(5px); animation: progressMove 2s infinite linear; }
@keyframes progressMove { 0% { transform: translateX(-100%); } 100% { transform: translateX(280px); } }
.goal-footer { margin-top: 0.8rem; font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.glow-bg { position: absolute; width: 250px; height: 250px; background: radial-gradient(circle, rgba(0,230,118,0.15) 0%, rgba(0,0,0,0) 70%); z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* --- Features Section --- */
.features-section { padding: 4rem 0; position: relative; }
.feature-node { display: flex; margin-bottom: 4rem; position: relative; align-items: center; }
.node-point {
    width: 16px; height: 16px; background: var(--bg-deep);
    border: 3px solid var(--primary); border-radius: 50%;
    position: absolute; left: 50%; transform: translateX(-50%);
    z-index: 5; box-shadow: 0 0 15px var(--primary);
}
.feature-content {
    width: 45%; background: var(--bg-card); padding: 2rem;
    border-radius: 20px; border: var(--glass-border); position: relative;
    transition: transform 0.3s;
}
.feature-content:hover { transform: translateY(-5px); border-color: rgba(0, 230, 118, 0.3); }
.feature-node.left { justify-content: flex-start; }
.feature-node.right { justify-content: flex-end; }
.feature-node.right .feature-content { text-align: left; }
.feature-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1rem;
}
.color-1 { background: rgba(0, 230, 118, 0.1); color: var(--primary); }
.color-2 { background: rgba(108, 92, 231, 0.1); color: var(--accent-purple); }
.color-3 { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

/* --- SEÇÃO DE PLANOS --- */
.plans-section { padding: 4rem 0; background: transparent; }
.section-title { font-size: clamp(2rem, 4vw, 2.5rem); text-align: center; margin-bottom: 1rem; color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1rem; padding: 0 1rem; }

.plans-container {
    display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem;
}

.plan-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg); padding: 0;
    width: 350px; max-width: 100%; position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden; display: flex; flex-direction: column;
}

.plan-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }

/* Seed Style */
.plan-seed-style .seed-icon-bg { background: rgba(102, 187, 106, 0.15); color: var(--seed-green); }
.plan-seed-style .plan-features i { color: var(--seed-green); }
.plan-seed-style:hover { border-color: var(--seed-green); }

/* Harvest Style */
.plan-harvest-style { border: 1px solid var(--gold-primary); box-shadow: 0 0 15px rgba(255, 215, 0, 0.1); }
.plan-harvest-style .harvest-icon-bg { background: rgba(255, 215, 0, 0.15); color: var(--gold-primary); box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); }
.plan-harvest-style .plan-features i { color: var(--gold-primary); }
.plan-harvest-style .plan-badge { 
    position: absolute; top: 0; left: 0; right: 0;
    background: var(--gold-primary); color: #000; text-align: center;
    font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; 
    padding: 8px 0; text-transform: uppercase; letter-spacing: 1px; z-index: 2;
}
.plan-harvest-style .plan-price { color: var(--gold-primary); }
.plan-harvest-style:hover { box-shadow: 0 0 25px rgba(255, 215, 0, 0.3); }

.plan-header { padding: 3rem 2rem 2rem; text-align: center; background: rgba(255,255,255,0.02); }
.plan-harvest-style .plan-header { padding-top: 4rem; } /* Espaço para badge */

.icon-wrapper {
    width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}

.plan-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.2rem; font-weight: 700; margin: 0.5rem 0; color: #fff; }
.plan-description { font-size: 0.9rem; color: var(--text-muted); }

.plan-features { padding: 2rem; flex: 1; }
.plan-features ul { list-style: none; }
.plan-features li {
    margin-bottom: 1rem; display: flex; align-items: flex-start;
    color: var(--text-muted); font-size: 0.95rem; gap: 10px;
}
.plan-features i { margin-top: 3px; }
.highlight-feature { color: #fff !important; font-weight: 500; }

.plan-footer { padding: 1.5rem 2rem; text-align: center; background: rgba(0,0,0,0.2); border-top: 1px solid var(--glass-border); }
.plan-note-internal { color: var(--text-muted); font-size: 0.8rem; line-height: 1.5; font-style: italic; }
.harvest-note { color: var(--text-muted); font-size: 0.75rem; opacity: 0.7; }

/* --- App Integration --- */
.app-integration { padding: 3rem 0; }
.integration-card.compact-design {
    background: linear-gradient(90deg, #151b23 0%, #0d1117 100%);
    border-radius: 100px; padding: 2rem 4rem;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: space-between;
    position: relative; overflow: hidden; gap: 3rem;
    max-width: 1000px; margin: 0 auto;
}
.integration-card.compact-design::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.int-visual-mini { position: relative; width: 60px; flex-shrink: 0; }
.device-mock {
    width: 60px; height: 60px; background: #222; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #333; position: relative;
}
.device-mock i { font-size: 1.8rem; color: #fff; }
.connection-dot {
    position: absolute; top: -5px; right: -5px; width: 12px; height: 12px;
    background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--primary);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.int-text { flex: 1; text-align: left; }
.int-text h2 { font-size: 1.5rem; margin-bottom: 0.5rem; color: #fff; }
.int-text p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.mini-features { display: flex; gap: 20px; font-size: 0.85rem; color: var(--primary); margin-top: 5px; }
.mini-features i { margin-right: 5px; }

/* --- Final CTA --- */
.final-cta { padding: 6rem 0; }
.gradient-title {
    font-size: clamp(2rem, 5vw, 2.5rem); 
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}
.small-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; opacity: 0.7; }
.pulse-btn { animation: pulse-shadow 2s infinite; }
@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* --- Footer --- */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 3rem 0; margin-top: 2rem; background: #080c10; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { width: 100px; opacity: 0.8; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a { margin-left: 2rem; color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }

/* =================================================================
   RESPONSIVIDADE TOTAL (MOBILE OPTIMIZATION)
   ================================================================= */

@media (max-width: 992px) {
    /* Tablet/Laptop Pequeno */
    .hero-text h1 { font-size: 3rem; }
    .hero-visual { height: 350px; }
    .card-goal { left: 0; }
    .integration-card.compact-design {
        flex-direction: column; text-align: center; border-radius: 24px; padding: 2rem; gap: 1.5rem;
    }
    .mini-features { justify-content: center; }
    .int-text { text-align: center; }
}

@media (max-width: 768px) {
    /* --- 1. Navbar Super Compacta --- */
    .navbar { padding: 0.8rem 0; }
    .logo img { height: 30px; } /* Logo menor */
    
    .nav-actions { gap: 0.5rem; }
    
    /* Botão Entrar: Só ícone no mobile para economizar espaço */
    .btn-ghost .btn-text { display: none; } 
    .btn-ghost { padding: 0.5rem 0.8rem; }
    
    /* Botão Criar Conta: Fonte menor */
    .btn-primary { padding: 0.5rem 1rem; font-size: 0.85rem; }
    
    /* --- 2. Menu Flutuante (Dock) --- */
    .floating-nav { 
        top: auto; bottom: 20px; 
        left: 50%; width: 90%; max-width: 400px;
        transform: translateX(-50%) translateY(100px);
        justify-content: space-around;
        padding: 10px 15px;
        /* Garante que o dock fique acima de tudo */
        z-index: 9999; 
    }
    .floating-nav.visible { transform: translateX(-50%) translateY(0); }
    
    /* --- 3. Hero Section Mais Reduzida --- */
    .hero { 
        padding-top: 80px; 
        text-align: center; 
        min-height: auto; 
        /* Aumentado de 2rem para 6rem para dar espaço ao "Veja como funciona" */
        padding-bottom: 6rem; 
        position: relative;
    }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .scroll-indicator-container {
        bottom: 30px; /* Garante que fique bem no fim */
    }

    .hero-text h1 { 
        font-size: 2rem; /* Fonte bem menor para não ocupar a tela toda */
        margin-bottom: 1rem;
    }
    .hero-text p { 
        font-size: 1rem; 
        margin: 0 auto 1.5rem auto; 
        line-height: 1.4;
    }
    .cta-group { justify-content: center; }
    
    /* --- 4. Visual do Hero (Cards) --- */
    .hero-visual { 
        height: 260px; 
        width: 100%; 
        margin: 0 auto; 
        /* Escala para caber sem quebrar */
        transform: scale(0.9); 
    }
    .visual-container-inner {
        transform-origin: center top;
    }
    .card-credits { right: 0; left: auto; top: 0; min-width: 160px; }
    .card-goal { left: 50%; transform: translateX(-50%); bottom: 0; width: 240px; }
    .glow-bg { width: 200px; height: 200px; }
    
    /* --- 5. Correção de Sobreposição no Footer --- */
    footer {
        /* Adiciona espaço extra no final para o dock não tapar os links */
        padding-bottom: 120px !important; 
    }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-links a { margin: 0 10px; display: inline-block; margin-top: 10px; }
    
    /* --- 6. Outros Ajustes --- */
    .feature-node { flex-direction: column; margin-bottom: 3rem; }
    .feature-content { width: 100%; text-align: center !important; }
    .node-point, .connection-thread-container { display: none; }
    .plans-container { flex-direction: column; align-items: center; gap: 2.5rem; }
    .plan-card { width: 100%; max-width: 380px; }
    
    .plans-section, .features-section, .app-integration, .final-cta { padding: 3rem 0; }
}

@media (max-width: 480px) {
    /* Telas muito pequenas */
    .hero-text h1 { font-size: 2.2rem; }
    .card-credits { position: relative; top: auto; right: auto; margin-bottom: 10px; }
    .card-goal { position: relative; bottom: auto; left: auto; transform: none; margin: 0 auto; }
    .visual-container-inner { display: flex; flex-direction: column; align-items: center; transform: scale(1); }
    .hero-visual { height: auto; margin-top: 1rem; }
    .glow-bg { top: 50%; }
}