/* --- VARIÁVEIS & RESET --- */
:root {
    /* Cores */
    --bg-body: #FDFDFE;
    --bg-surface: #FFFFFF;
    --bg-surface-2: #F3F4F6;
    
    --primary: #2563EB; /* Royal Blue moderno */
    --primary-dark: #1E40AF;
    --accent: #10B981; /* Emerald */
    --dark: #0F172A; /* Slate 900 */
    --text-main: #334155;
    --text-muted: #64748B;
    
    /* Gradients */
    --gradient-text: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
    --gradient-card: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    
    /* Sombra & Borda */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* Mude AQUI: de rgba(...) para #ffffff */
    background: #ffffff; 
    /* Mantenha o resto igual */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- LOGO (Atualizado para Imagem) --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove sublinhado se houver */
}

/* Controla o tamanho da imagem da logo */
.logo img {
    height: 75px; /* Altura ideal para navbar */
    width: auto;  /* Mantém a proporção */
    display: block;/* ADICIONE ESTA LINHA ABAIXO: */
    mix-blend-mode: multiply;
}

/* Ajuste específico para o Mobile para não ficar gigante */
@media (max-width: 960px) {
    .logo img {
        height: 38px; /* Um pouco menor no celular */
    }
}

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.link-login { font-weight: 600; color: var(--dark); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* --- BOTÕES --- */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-lg { padding: 16px 32px; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 8px; }

.btn-outline {
    border: 1px solid #E2E8F0;
    background: white;
    color: var(--dark);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
}
.btn-outline:hover { border-color: var(--dark); }
.full { width: 100%; display: block; }

/* --- HERO SECTION --- */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Bolha de fundo sutil */
.bg-blur {
    position: absolute;
    top: -10%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #EFF6FF;
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #DBEAFE;
}
.dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; display: block; }

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--dark);
    margin-bottom: 24px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group { display: flex; align-items: center; gap: 30px; }

.user-proof { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.avatars { display: flex; margin-left: 10px; }
.avatars img {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

/* HERO VISUAL (ABSTRACT 3D) */
.hero-visual {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: absolute;
}

.card-main {
    width: 300px; height: 380px;
    top: 10px; left: 50px;
    padding: 24px;
    transform: rotateY(-10deg) rotateX(5deg);
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
}

.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; font-weight: 700; color: var(--dark); }
.indicator { width: 40px; height: 40px; background: #DBEAFE; border-radius: 10px; }

.line { height: 12px; background: #E2E8F0; border-radius: 4px; margin-bottom: 12px; }
.skeleton-w70 { width: 70%; }
.skeleton-w50 { width: 50%; }

.dosage-tag {
    margin-top: 40px;
    background: #DCFCE7;
    color: #166534;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex; gap: 8px; align-items: center;
}

.card-floating-1 {
    top: 50%; right: 0;
    padding: 16px;
    display: flex; gap: 12px; align-items: center;
    transform: translateZ(30px);
    animation: float 6s ease-in-out infinite;
    background: white;
}
.card-floating-1 i { font-size: 2rem; color: #EC4899; }

.card-floating-2 {
    bottom: 20px; left: 0;
    padding: 12px 24px;
    display: flex; gap: 10px; align-items: center;
    font-weight: 600; color: var(--dark);
    transform: translateZ(20px);
    animation: float 5s ease-in-out infinite reverse;
    background: white;
}
.card-floating-2 i { color: #DC2626; font-size: 1.5rem; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- BENTO GRID FEATURES --- */
.features { padding: 100px 0; }
.section-title { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 16px; color: var(--dark); letter-spacing: -1px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(280px, auto));
    gap: 24px;
}

.bento-card {
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.bento-card:hover { transform: translateY(-4px); }

.bg-dark { background: var(--dark); color: white; }
.bg-light { background: var(--bg-surface); box-shadow: var(--shadow-md); }
.bg-gradient { background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%); }

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

/* Estilos internos dos Bento Cards */
.bento-content { position: relative; z-index: 2; max-width: 60%; }
.bento-card h3 { font-size: 1.5rem; margin-bottom: 12px; font-weight: 700; }
.bg-dark p { color: #94A3B8; }
.bg-light p { color: var(--text-muted); }

.link-arrow { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; }
.bg-dark .link-arrow { color: #60A5FA; }

.icon-square {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.purple { background: #F3E8FF; color: #9333EA; }
.green { background: #DCFCE7; color: #16A34A; }

.bento-visual.recipe-visual {
    position: absolute;
    right: -20px; top: 30px;
    width: 200px; height: 100%;
}
.paper {
    background: white;
    width: 100%; height: 100%;
    border-radius: 12px 0 0 12px;
    padding: 20px;
    opacity: 0.9;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.2);
}
.paper-line { height: 8px; background: #E2E8F0; margin-bottom: 10px; border-radius: 4px; }
.paper-stamp { width: 50px; height: 50px; border: 2px solid #2563EB; border-radius: 50%; margin-top: 30px; opacity: 0.3; }

.bento-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; }
.protocol-icon { font-size: 4rem; color: var(--primary); opacity: 0.2; }

/* --- PRICING --- */
.pricing { padding: 80px 0; background: var(--bg-surface-2); }
.pricing-header { text-align: center; margin-bottom: 50px; }

.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plan-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    width: 350px;
    border: 1px solid #E2E8F0;
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.badge-best {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-name { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }
.plan-price { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin: 10px 0 5px; }
.plan-price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.plan-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }

.plan-features { margin-bottom: 32px; }
.plan-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; color: var(--text-main); }
.plan-features i { color: var(--primary); font-size: 1.1rem; }
.plan-features li.disabled { color: #CBD5E1; text-decoration: line-through; }
.plan-features li.disabled i { color: #CBD5E1; }

/* --- FOOTER --- */
footer { background: white; padding: 60px 0 20px; border-top: 1px solid #E2E8F0; margin-top: 60px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.brand-col p { color: var(--text-muted); margin-top: 10px; max-width: 250px; }
.links-col h4 { font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.links-col a { display: block; color: var(--text-muted); margin-bottom: 10px; }
.links-col a:hover { color: var(--primary); }
.copy { text-align: center; color: #94A3B8; font-size: 0.85rem; padding-top: 20px; border-top: 1px solid #F1F5F9; }

@keyframes float-main {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0px); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-15px); }
}

/* Aplica a animação no cartão grande */
.card-main {
    animation: float-main 8s ease-in-out infinite;
}
/* =========================================
   OTIMIZAÇÃO MOBILE (EFEITO WOW)
   ========================================= */

@media (max-width: 960px) {
    /* 1. Ajustes Gerais */
    .container { padding: 0 20px; }
    
    /* 2. Navbar Mobile (Menu Gaveta) */
    .navbar { padding: 12px 0; }
    .mobile-menu-btn { display: block; color: var(--dark); font-size: 1.8rem; }
    
    .nav-links {
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #f1f5f9;
        /* Animação do Menu */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: 0.3s ease;
    }
    
    /* Classe que o JavaScript vai adicionar ao clicar */
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
    
    .nav-actions { display: none; } /* Esconde botões do topo no mobile */

    /* 3. Hero Section (Topo) */
    .hero { padding: 100px 0 60px; text-align: center; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 { font-size: 2.2rem; line-height: 1.2; }
    .hero p { font-size: 1rem; margin-bottom: 30px; }

    /* Botões grandes para facilitar o toque */
    .cta-group { flex-direction: column; width: 100%; gap: 15px; }
    .btn-lg { width: 100%; justify-content: center; padding: 18px; }
    .user-proof { align-items: center; margin-top: 10px; }

    /* 4. Trazendo o Visual de Volta (Adaptado) */
    .hero-visual {
        display: block; /* Traz de volta! */
        height: 320px;
        perspective: none; /* Remove o 3D para não travar */
        margin-top: 20px;
    }
    
    .card-main {
        width: 90%; /* Largura adaptada */
        height: auto;
        left: 5%; top: 0;
        transform: none !important; /* Reseta a rotação */
        position: relative;
        margin: 0 auto;
        animation: float 6s ease-in-out infinite; /* Flutuação suave */
    }
    
    /* Esconde os cards menores flutuantes para não poluir */
    .card-floating-1, .card-floating-2 { display: none; }

    /* 5. Bento Grid Mobile */
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .bento-card { padding: 24px; min-height: auto; }
    .bento-card h3 { font-size: 1.3rem; }
    
    /* Ajuste visual do papel de receita */
    .bento-visual.recipe-visual {
        position: relative;
        width: 100%;
        height: 150px;
        right: auto; top: auto;
        margin-top: 20px;
        opacity: 1;
    }
    .paper { border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

    /* 6. Preços e Footer */
    .pricing-wrapper { flex-direction: column; align-items: center; }
    .plan-card { width: 100%; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .brand-col p { margin: 10px auto; }
}/* Botão Estilo "App Store" */
.btn-app-store {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinhado à esquerda como nativo */
    gap: 15px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho ao passar o mouse */
.btn-app-store::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}

.btn-app-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -8px rgba(15, 23, 42, 0.3);
    border-color: #475569;
}
.btn-app-store:hover::before {
    left: 100%;
}

.btn-app-store:active {
    transform: scale(0.98);
}

.icon-box {
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.btn-content {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8; /* Cinza claro */
    font-weight: 600;
}

.btn-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}

/* Link Secundário (Texto abaixo) */
.link-web {
    margin-top: 15px;
    color: #0052cc;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    transition: 0.2s;
}
.link-web:hover {
    background-color: #eff6ff;
    text-decoration: none;
}