/* ==========================================
   Design System & Custom Properties
   ========================================== */
:root {
    /* Cores do Tema (Inspiradas no Mockup do Usuário) */
    --bg-main: #0a0a0c;          /* Quase preto estúdio */
    --bg-darker: #060608;        /* Fundo ainda mais escuro para contraste */
    --bg-card: #121217;          /* Fundo dos cartões ajustado para o novo fundo */
    --bg-card-hover: #17171e;    /* Cartão ao passar o mouse */
    
    --primary: #94f129;          /* Verde Lima Vibrante (Neon) */
    --primary-rgb: 148, 241, 41; /* RGB da cor primária para opacidades */
    --primary-hover: #a2f542;
    --primary-glow: rgba(148, 241, 41, 0.35);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;    /* Cinza azulado suave */
    --text-muted: #64748b;        /* Cinza escuro para detalhes */
    
    --border: #1e1e26;           /* Bordas elegantes ajustadas */
    --border-glow: rgba(148, 241, 41, 0.5);
    
    /* Fontes e Tipografia */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-title: 'Montserrat', sans-serif;
    
    /* Outros */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px var(--primary-glow);
}

/* ==========================================
   Resets & Base Styles
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Trava absoluta contra scroll lateral (iPhone/Safari ignora se não estiver no HTML) */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    width: 100%;
    /* Múltiplos gradientes radiais simulando holofotes de estúdio verde neon ultra-suaves (4% a 5% opacidade) */
    background-image: 
        radial-gradient(circle at -10% 15%, rgba(148, 241, 41, 0.045) 0%, transparent 45%),
        radial-gradient(circle at 110% 50%, rgba(148, 241, 41, 0.04) 0%, transparent 40%),
        radial-gradient(circle at -5% 85%, rgba(148, 241, 41, 0.045) 0%, transparent 45%);
    background-attachment: scroll;
    color: var(--text-primary);
    line-height: 1.6; /* 160% de entrelinhas para máxima legibilidade */
    overflow-x: hidden; /* Trava dupla contra scroll lateral */
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0px;
    font-size: 16px;
    perspective: 1200px;   /* Adiciona profundidade global para as animações 3D de reveal */
    transform-style: preserve-3d;
}

/* Tipografia para Títulos Globais */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em; /* letter-spacing negativo (-2%) nos títulos para visual denso/moderno */
}

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

.max-width-md {
    max-width: 720px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-darker {
    background-color: var(--bg-darker) !important;
}

.section {
    padding: 140px 0; /* Aumentado em 40% para maior respiro vertical entre seções */
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.section-tagline {
    color: var(--primary);
    font-size: 0.775rem; /* Reduzido levemente de 0.875rem para 0.775rem */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px; /* Garante respiro moderno para caixa alta (uppercase) */
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em; /* letter-spacing negativo para visual compacto e moderno */
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ==========================================
   Botões e Ações
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    gap: 8px;
    text-decoration: none; /* Remove imediatamente o sublinhado dos links/botões */
}

.btn-primary {
    background-color: var(--primary);
    color: #000000;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(148, 241, 41, 0.6), 0 0 10px rgba(148, 241, 41, 0.3); /* Brilho neon acentuado e suave */
}

.btn-outline {
    border: 1px solid #2E384D; /* Borda fina na cor cinza escuro */
    color: #A0AEC0; /* Texto em cinza claro */
    background-color: transparent; /* Fundo transparente */
}

.btn-outline:hover {
    border-color: #4A5568;
    color: #FFFFFF;
    background-color: #1E2633; /* Fundo fica cinza escuro ao passar o mouse */
    transform: none; /* Sem elevações para não brigar com o Plano Anual */
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn-full-width {
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(148, 241, 41, 0.2);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(148, 241, 41, 0.45);
}

/* ==========================================
   Efeitos de Scroll Reveal & Profundidade 3D
   ========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(35px) translateZ(-40px) rotateX(-4deg) scale(0.97);
    transform-style: preserve-3d;
    transition: opacity 0.75s ease-in-out,
                transform 0.75s ease-in-out;
    will-change: transform, opacity;
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0) translateZ(0) rotateX(0deg) scale(1);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(12, 15, 19, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: var(--transition);
    min-height: 90px; /* Evita que o cabeçalho pule durante o carregamento inicial */
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 58px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0; /* Gap zerado para aproximar ao máximo */
    height: 72px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 2; /* Garante que o ícone fique por cima do corte da margem se necessário */
}

.logo-text {
    width: 306px;
    height: 72px;
    object-fit: contain;
    filter: brightness(1.2);
    margin-left: -64px; /* Aumentado de -36px para -64px para aproximar mais compensando a área vazia da imagem */
    position: relative;
    z-index: 1;
}

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

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.main-nav a:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta .btn {
    width: 120px;
    height: 42px;
    white-space: nowrap;
}

.nav-cta .btn-nav-cta {
    width: 160px;
    height: 42px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    width: 44px;
    height: 44px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-darker);
    border-left: 1px solid var(--border);
    z-index: 150;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    gap: 24px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    color: var(--text-primary);
}

.mobile-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-link:hover {
    color: var(--primary);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    padding: 160px 0 110px 0; /* Aumentado em ~35% para maior respiro e impacto visual */
    overflow: hidden;
    perspective: 1200px; /* Habilita o efeito 3D de profundidade para o celular */
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Classe de animação reutilizável para os elementos da hero section.
   Cada elemento define seu próprio delay via variável CSS --delay. */
.hero-animate {
    opacity: 0;
    animation: heroSlideFromLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) both;
}

.badge-founder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(148, 241, 41, 0.1);
    border: 1px solid rgba(148, 241, 41, 0.2);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-title);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em; /* letter-spacing negativo para visual denso e premium */
    margin-bottom: 24px;
    font-size: 3.8rem; /* Ajustado proporcionalmente para a largura do Montserrat */
}

.gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65); /* Tom de cinza mais suave para contraste de hierarquia visual */
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-actions .btn {
    width: fit-content;
}

.microcopy {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-group {
    display: flex;
}

.avatar-mini {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: var(--bg-card);
    border: 2px solid var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    object-fit: cover; /* Garante que as fotos reais de perfil não fiquem esticadas */
}

.avatar-mini:first-child {
    margin-left: 0;
}

.social-proof-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================
   3D CSS Phone Mockup
   ========================================== */
.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-start; /* Alinha pelo topo do flexbox */
    justify-content: center;
    margin-top: -60px; /* Puxa o celular para cima para alinhar o topo visualmente com o cabeçalho do texto */
}

.mockup-container {
    position: relative;
    width: 420px;
    height: 660px;
    isolation: isolate;
    perspective: 1000px;        /* Profundidade da perspectiva 3D */
    transform-style: preserve-3d; /* Mantém o 3D durante a animação */
    opacity: 0;
    transform: translateX(200px) rotateY(55deg) rotateX(8deg) scale(0.72);
    animation: mockupContainerEntrance 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    will-change: transform, opacity; /* Força aceleração de hardware pela GPU */
}

.phone-glowing-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Otimização máxima GPU: translateZ(0) joga a camada nativamente para a Placa de Vídeo */
    transform: translate(-50%, -50%) translateZ(0);
    width: 500px;
    height: 660px;
    background: radial-gradient(circle, rgba(148, 241, 41, 0.20) 0%, rgba(0, 0, 0, 0) 70%); 
    z-index: 0;
    pointer-events: none;
    will-change: transform, opacity; /* Força isolamento de pintura contínua */
}

/* O mockup fica NA FRENTE (z-index: 4) com mix-blend-mode: multiply.
   Dentro do contexto isolado (isolation: isolate), o blend acontece com o app abaixo:
   - Área branca da tela → transparente (revela o app)
   - Moldura preta do iPhone → opaca (cria o efeito de moldura 3D) */
.realistic-mockup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(-10px 18px 25px rgba(0, 0, 0, 0.6)) drop-shadow(0px 0px 45px rgba(148, 241, 41, 0.03)); /* Brilho de base extremamente sutil */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 4;           /* NA FRENTE do app */
    mix-blend-mode: multiply; /* Branco = transparente, Preto = moldura visível */
    pointer-events: none;
    will-change: transform, filter; /* Melhora a performance do hover 3D */
    content-visibility: auto; /* Permite ao navegador otimizar a pintura e geometria desse componente pesado */
}

/* O app fica atrás (z-index: 3), dimensionado com base nos pixels reais
   da área branca do mockup-certo.png, com margem de segurança nas bordas */
.mockup-screen-overlay {
    position: absolute;
    top: 50%;      /* Centro Y = 49.7%, ajustado para 50% por simetria visual */
    left: 50.5%;   /* Centro X medido: pixel 102 / 202 = 50.5% */
    width: 280px;  /* Ligeiramente menor que 291px — garante 0 vazamento */
    height: 570px; /* Ligeiramente menor que 593px — garante 0 vazamento */
    background-color: #07090c;
    border-radius: 44px; /* Aumentado para acompanhar as curvas do iPhone */
    overflow: hidden;
    padding: 36px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    z-index: 3;
    user-select: none;
    transform: translate(-50%, -50%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reflexo de brilho */
.mockup-screen-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 200%; height: 200%;
    background: linear-gradient(115deg,
        rgba(255,255,255,0.06) 0%,
        rgba(255,255,255,0.02) 20%,
        rgba(255,255,255,0) 40%
    );
    transform: translate(-30%, -30%) rotate(-10deg);
    pointer-events: none;
    z-index: 99;
}

/* Hover */
.mockup-container:hover .realistic-mockup {
    transform: scale(1.03) translateY(-8px);
    filter: drop-shadow(-15px 28px 35px rgba(0,0,0,0.75)) drop-shadow(0px 0px 60px rgba(148, 241, 41, 0.06)); /* Sombra verde suavizada no hover (mais blur, menos opacidade) */
}

.mockup-container:hover .mockup-screen-overlay {
    transform: translate(-50%, calc(-50% - 8px)) scale(1.03);
}

/* ==========================================
   Estilos Internos da Tela do App & Animações
   ========================================== */
.mockup-screen-overlay .app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: appCardSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.mockup-screen-overlay .progress-card {
    opacity: 0;
    transform: translateY(20px);
    animation: appCardSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.0s forwards;
}

.mockup-screen-overlay .workout-card {
    opacity: 0;
    transform: translateY(20px);
    animation: appCardSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.mockup-screen-overlay .diet-card {
    opacity: 0;
    transform: translateY(20px);
    animation: appCardSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
}

.app-profile {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Avatar com foto real ── */
.app-avatar {
    position: relative;
    flex-shrink: 0;
}

/* Anel giratório gradiente ao redor da foto */
.avatar-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 2.5px;
    background: conic-gradient(
        var(--primary) 0deg,
        rgba(148, 241, 41, 0.3) 180deg,
        var(--primary) 360deg
    );
    animation: avatarRingSpin 3s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #07090c; /* Separa a foto do anel */
    display: block;
    /* Roda no sentido inverso do anel para anular a rotação e manter a foto do Alex de pé e estática */
    animation: avatarRingSpin 3s linear infinite reverse;
}

/* Bolinha verde "online" */
.avatar-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    background: var(--primary);
    border-radius: 50%;
    border: 1.5px solid #07090c;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes avatarRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(148, 241, 41, 0.6); }
    50%       { box-shadow: 0 0 0 4px rgba(148, 241, 41, 0); }
}

.app-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-greeting {
    font-size: 0.75rem;
    color: #9CA3AF; /* Cinza claro e legível solicitado */
    font-weight: 400; /* Regular */
}

.app-username {
    font-size: 0.95rem;
    font-weight: 700;
}

/* ── Ícone de notificação com balanço periódico ── */
.app-notification {
    position: relative;
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.app-notif-animate {
    animation: bellSwing 4s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes bellSwing {
    0%, 75%, 100% { transform: rotate(0deg); }
    80%  { transform: rotate(14deg); }
    85%  { transform: rotate(-10deg); }
    90%  { transform: rotate(8deg); }
    95%  { transform: rotate(-4deg); }
}

/* Badge de notificação pulsante */
.app-badge-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
}

.badge-pulse {
    animation: badgePulse 1.8s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(148, 241, 41, 0.7); transform: scale(1); }
    50%       { box-shadow: 0 0 0 5px rgba(148, 241, 41, 0); transform: scale(1.2); }
}

/* Cards do App */
.app-card {
    background-color: rgba(21, 25, 33, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px; /* Aumentado de 10px para 14px para dar mais respiro interno */
}

/* Card de Progresso */
.app-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem; /* de 0.7rem */
    font-weight: 600;
    margin-bottom: 6px;
}

.app-chart-placeholder {
    height: 50px; /* de 40px */
    margin-bottom: 6px;
}

.app-chart-svg {
    width: 100%;
    height: 100%;
}

.app-chart-legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem; /* de 0.55rem */
    color: #9CA3AF; /* Cinza claro e legível solicitado */
    font-weight: 400; /* Regular */
}

.app-chart-legend .active {
    color: var(--primary);
    font-weight: 700;
}

/* Card de Treino */
.workout-card {
    border-left: 3px solid var(--primary);
}

.workout-tag {
    background-color: rgba(148, 241, 41, 0.1);
    color: var(--primary);
    font-size: 0.62rem; /* de 0.55rem */
    font-weight: 700;
    padding: 1px 5px;
    border-radius: var(--radius-sm);
    width: fit-content;
    margin-bottom: 4px;
}

.workout-card h4 {
    font-size: 0.88rem; /* de 0.78rem */
    font-weight: 700;
    margin-bottom: 2px;
}

.workout-meta {
    display: flex;
    gap: 8px;
    font-size: 0.68rem; /* de 0.6rem */
    color: #9CA3AF; /* Cinza claro e legível solicitado */
    font-weight: 400; /* Regular */
    margin-bottom: 6px;
}

.workout-progress-bar {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 6px; /* Adicionado margin-bottom para afastar do limite inferior da caixa */
}

.workout-progress-fill {
    width: 0%; /* Inicia zerada para a animação */
    height: 100%;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    /* Animação crescendo gradativamente sincronizada com o gráfico (começa após 1.2s de delay) */
    animation: fillWorkoutProgress 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes fillWorkoutProgress {
    from { width: 0%; }
    to   { width: 70%; }
}

/* Card de Dieta */
.diet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem; /* de 0.7rem */
    font-weight: 600;
    margin-bottom: 6px;
}

.diet-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 10px; /* Aumentado de 6px para 10px para dar mais margem interna */
    border-radius: var(--radius-sm);
    margin-top: 8px; /* Afasta da linha do cabeçalho "Plano Nutricional" */
}

.diet-icon-box {
    width: 28px; /* de 24px */
    height: 28px;
    background-color: rgba(148, 241, 41, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.diet-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.diet-meal-name {
    font-size: 0.8rem; /* de 0.7rem */
    font-weight: 700;
}

.diet-meal-desc {
    font-size: 0.65rem; /* de 0.55rem */
    color: #9CA3AF; /* Cinza claro e legível solicitado */
    font-weight: 400; /* Regular */
}

.diet-kcal {
    font-size: 0.8rem; /* de 0.7rem */
    font-weight: 700;
}

/* Floating AI badge (Parallax 3D adaptado para a imagem de mockup) */
.app-ai-badge {
    position: absolute;
    bottom: 120px;
    right: -15px;
    background-color: #121217;
    border: 1px solid rgba(148, 241, 41, 0.45);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    /* Box-shadow verde neon esfumaçado que simula emissão de luz própria */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 
                0 0 15px rgba(148, 241, 41, 0.2); 
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    transform: translateZ(30px) scale(0.8);
    opacity: 0;
    transform-style: preserve-3d;
    
    /* Animação: Entra em cena e depois começa a flutuar infinitamente */
    animation: badgeEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards, 
               floatingAI 4s ease-in-out 2.8s infinite;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.mockup-container:hover .app-ai-badge {
    /* No hover do celular ela ganha mais brilho neon e sobe */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4), 
                0 0 25px rgba(148, 241, 41, 0.35);
    animation: floatingAIHover 4s ease-in-out infinite;
}

.app-ai-badge span {
    font-size: 0.75rem;
    font-weight: 700;
}

.ai-badge-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    top: -2px;
    right: -2px;
    box-shadow: 0 0 8px var(--primary);
    animation: badgePulse 2s infinite;
}

/* ==========================================
   Keyframes de Animação do Mockup & App
   ========================================== */

/* Entrada do Celular */
/* ============================================
   ANIMAÇÕES DA HERO SECTION
   ============================================ */

/* Celular vindo da direita com efeito 3D rotacional */
@keyframes mockupContainerEntrance {
    0% {
        transform: translateX(200px) rotateY(55deg) rotateX(8deg) scale(0.72);
        opacity: 0;
        filter: blur(6px);
    }
    60% {
        filter: blur(0px);
        opacity: 1;
    }
    80% {
        transform: translateX(-12px) rotateY(-4deg) rotateX(-1deg) scale(1.02);
    }
    100% {
        transform: translateX(0) rotateY(0deg) rotateX(0deg) scale(1);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Textos vindo da esquerda com profundidade */
@keyframes heroSlideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px) translateY(12px);
        filter: blur(4px);
    }
    60% {
        filter: blur(0px);
        opacity: 1;
    }
    85% {
        transform: translateX(6px) translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
        filter: blur(0px);
    }
}

/* Subida dos Cards do App */
@keyframes appCardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação do Gráfico SVG */
.chart-line-path {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: drawChartPath 1.6s ease-in-out 1.5s forwards;
}

.chart-gradient-path {
    opacity: 0;
    animation: fadeInChartGrad 1.0s ease-in-out 2.5s forwards;
}

.chart-dot {
    transform: scale(0);
    transform-origin: center;
    animation: popChartDot 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.chart-dot-1 {
    animation-delay: 2.2s;
}

.chart-dot-2 {
    animation-delay: 2.7s;
}

@keyframes drawChartPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInChartGrad {
    to {
        opacity: 0.4;
    }
}

@keyframes popChartDot {
    to {
        transform: scale(1);
    }
}

/* Badge IA Flutuando */
@keyframes badgeEntrance {
    to {
        opacity: 1;
        transform: translateZ(30px) scale(1);
    }
}

@keyframes floatingAI {
    0% { transform: translateZ(30px) translateY(0); }
    50% { transform: translateZ(30px) translateY(-4px); } /* Flutuação sutil de ~4px */
    100% { transform: translateZ(30px) translateY(0); }
}

@keyframes floatingAIHover {
    0% { transform: scale(1.03) translateZ(40px) translateY(-4px); }
    50% { transform: scale(1.03) translateZ(40px) translateY(-8px); }
    100% { transform: scale(1.03) translateZ(40px) translateY(-4px); }
}

@keyframes badgePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(148, 241, 41, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(148, 241, 41, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(148, 241, 41, 0); }
}

/* ==========================================
   Trust Metrics
   ========================================== */
.trust-metrics {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

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

.metric-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.metric-icon {
    font-size: 1.75rem;
    color: var(--primary);
    margin-top: 4px;
}

.metric-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.metric-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================
   Section Problems (Dores)
   ========================================== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.problem-card {
    background-color: var(--bg-card);
    border: 2px solid rgba(239, 68, 68, 0.4); /* Borda vermelha mais grossa e visível */
    border-radius: var(--radius-md);
    padding: 42px; /* Aumentado de 32px para 42px (mais respiro interno) */
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.05); /* Sombra avermelhada bem suave de base */
}

.problem-card:hover {
    border-color: rgba(239, 68, 68, 0.95); /* Vermelho aceso ao passar o mouse */
    transform: translateY(-6px);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(239, 68, 68, 0.05) 100%);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15), 0 0 15px rgba(239, 68, 68, 0.1); /* Brilho neon de aviso */
}

.problem-icon {
    font-size: 2rem;
    color: #ef4444; /* Ícones vermelhos de dor */
    margin-bottom: 20px;
}

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

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.problem-card strong {
    color: var(--text-primary);
}

/* ==========================================
   Section Benefícios
   ========================================== */
.solution-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    perspective: 1000px; /* Habilita profundidade 3D no container visual */
}

.features-mockup {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d; /* Mantém a renderização 3D dos nós internos */
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Suaviza a rotação interativa */
}

.glow-bg-primary {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;  /* Aumentado de 260px para 420px para cobrir todo o conjunto de ícones */
    height: 420px; /* Aumentado de 260px para 420px */
    background: radial-gradient(circle, rgba(148, 241, 41, 0.15) 0%, rgba(0, 0, 0, 0) 70%); /* Opacidade aumentada para 15% compensando a remoção do blur */
    pointer-events: none; /* Garante que não bloqueie clicks da camada abaixo */
    z-index: 0;
}

.features-circle-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Linhas de Conexão (Teia Visual do Ecossistema) */
.connection-line {
    position: absolute;
    background: transparent;
    border-left: 1px dashed rgba(148, 241, 41, 0.13); /* Linha verde neon fina e sutil (13% de opacidade) */
    z-index: 1;
    transform-origin: bottom center;
    opacity: 0;
    will-change: transform, opacity;
}

/* Posicionamentos geométricos das 4 linhas partindo do centro (50%, 50%) */
.line-to-nod-1 {
    bottom: 50%;
    left: 50%;
    height: 110px;
    transform: translateX(-50%) scaleY(0);
}

.line-to-nod-2 {
    bottom: 50%;
    left: 50%;
    height: 110px;
    transform-origin: bottom left;
    transform: rotate(90deg) scaleY(0);
}

.line-to-nod-3 {
    top: 50%;
    left: 50%;
    height: 110px;
    transform-origin: top center;
    transform: translateX(-50%) scaleY(0);
}

.line-to-nod-4 {
    bottom: 50%;
    left: 50%;
    height: 110px;
    transform-origin: bottom left;
    transform: rotate(-90deg) scaleY(0);
}

/* Animações de crescimento da teia visual sincronizadas com stagger delay */
.reveal-active .line-to-nod-1 {
    animation: growLineVertically 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.reveal-active .line-to-nod-2 {
    animation: growLineHorizontally 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.reveal-active .line-to-nod-3 {
    animation: growLineVerticallyDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.reveal-active .line-to-nod-4 {
    animation: growLineHorizontallyLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes growLineVertically {
    to {
        opacity: 1;
        transform: translateX(-50%) scaleY(1);
    }
}

@keyframes growLineHorizontally {
    to {
        opacity: 1;
        transform: rotate(90deg) scaleY(1);
    }
}

@keyframes growLineVerticallyDown {
    to {
        opacity: 1;
        transform: translateX(-50%) scaleY(1);
    }
}

@keyframes growLineHorizontallyLeft {
    to {
        opacity: 1;
        transform: rotate(-90deg) scaleY(1);
    }
}

.features-center-app {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90px;
    height: 90px;
    background-color: var(--bg-main);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    z-index: 5;
    opacity: 0;
    will-change: transform, opacity;
}

/* Quando a seção de benefícios for revelada, o centro faz o Zoom-In e ativa o efeito de pulso contínuo */
.reveal-active .features-center-app {
    animation: centerZoomIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               breathingGlow 4s ease-in-out 0.8s infinite;
}

@keyframes centerZoomIn {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Efeito de pulso lento e contínuo (breathing effect) */
@keyframes breathingGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(148, 241, 41, 0.35);
        border-color: var(--primary);
    }
    50% {
        box-shadow: 0 0 30px rgba(148, 241, 41, 0.65), 0 0 10px rgba(148, 241, 41, 0.3);
        border-color: #a2f542; /* Tom verde limão ligeiramente mais claro */
    }
}

.pulse-center-logo {
    width: 45px;
    height: auto;
}

/* Nós pulsantes ao redor */
.feature-pulse-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 4;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0; /* Começam ocultos */
    will-change: transform, opacity;
}

/* Animação de Expansão Direcional a partir do Centro (atraso de 200ms + stagger de 100ms) */
.reveal-active .feature-pulse-node.nod-1 {
    animation: expandNode1 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.reveal-active .feature-pulse-node.nod-2 {
    animation: expandNode2 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.reveal-active .feature-pulse-node.nod-3 {
    animation: expandNode3 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.reveal-active .feature-pulse-node.nod-4 {
    animation: expandNode4 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes expandNode1 {
    from { opacity: 0; transform: translate(-50%, 150px) scale(0.5); }
    to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes expandNode2 {
    from { opacity: 0; transform: translate(-150px, -50%) scale(0.5); }
    to   { opacity: 1; transform: translate(0, -50%) scale(1); }
}
@keyframes expandNode3 {
    from { opacity: 0; transform: translate(-50%, -150px) scale(0.5); }
    to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes expandNode4 {
    from { opacity: 0; transform: translate(150px, -50%) scale(0.5); }
    to   { opacity: 1; transform: translate(0, -50%) scale(1); }
}

.feature-pulse-node::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(148, 241, 41, 0.3);
    border-radius: var(--radius-full);
    animation: nodePulse 2.5s infinite;
}

/* Hover nos nós menores: elevação de -3px e borda acesa */
.feature-pulse-node:hover {
    border-color: var(--primary); /* Borda acende no tom verde neon */
    box-shadow: 0 0 12px rgba(148, 241, 41, 0.3); /* Leve brilho na borda */
}

/* Aplica elevação respeitando o transform geométrico de cada nó */
.feature-pulse-node.nod-1:hover { transform: translate(-50%, -3px) scale(1.08); }
.feature-pulse-node.nod-2:hover { transform: translate(3px, -50%) scale(1.08); }
.feature-pulse-node.nod-3:hover { transform: translate(-50%, 3px) scale(1.08); }
.feature-pulse-node.nod-4:hover { transform: translate(-3px, -50%) scale(1.08); }

.nod-1 { top: 0; left: 50%; transform: translate(-50%, 0); }
.nod-2 { right: 0; top: 50%; transform: translate(0, -50%); }
.nod-3 { bottom: 0; left: 50%; transform: translate(-50%, 0); }
.nod-4 { left: 0; top: 50%; transform: translate(0, -50%); }

/* Tooltip simples do nó */
.node-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.feature-pulse-node:hover .node-tooltip {
    opacity: 1;
    bottom: -40px;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(148, 241, 41, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.benefit-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================
   Section Como Funciona
   ========================================== */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background-color: var(--bg-card);
    border: 2px solid rgba(148, 241, 41, 0.25); /* Borda verde neon suave por padrão */
    border-radius: var(--radius-md);
    padding: 38px;
    /* Substituído o var(--transition) (all) por propriedades explícitas para blindar performance */
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(148, 241, 41, 0.05); /* Leve brilho verde neon de fundo */
    will-change: transform, opacity; /* Força aceleração via GPU */
}

/* Animações de entrada laterais dinâmicas (pausadas até o scroll reveal ativar) */
.step-card.reveal-from-left {
    opacity: 0;
    transform: translateX(-120px) translateY(10px);
    animation: revealLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--delay-step, 0s) forwards;
    animation-play-state: paused;
}

.step-card.reveal-from-right {
    opacity: 0;
    transform: translateX(120px) translateY(10px);
    animation: revealRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--delay-step, 0s) forwards;
    animation-play-state: paused;
}

@keyframes revealLeft {
    0% {
        opacity: 0;
        transform: translateX(-120px) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes revealRight {
    0% {
        opacity: 0;
        transform: translateX(120px) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.step-card:hover {
    border-color: var(--primary); /* Borda fica totalmente neon acesa */
    transform: translateY(-6px); /* Elevação maior para profundidade */
    box-shadow: 0 10px 25px rgba(148, 241, 41, 0.2), 0 0 15px rgba(148, 241, 41, 0.1); /* Brilho verde neon destacado */
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(148, 241, 41, 0.25); /* Contorno verde-neon suave por padrão */
    margin-bottom: 20px;
    /* TRANSITION REMOVIDA: Animar text-stroke destrói o framerate de navegadores móveis */
}

.step-card:hover .step-number {
    -webkit-text-stroke-color: var(--primary); /* Troca de cor agora é instantânea e estática, sem forçar repaint progressivo */
}

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

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================
   Section Comunidade
   ========================================== */
.section-subtitle-large {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.community-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.highlight-pill {
    background-color: rgba(0, 0, 0, 0.2); /* Fundo semi-transparente de 20% opacidade */
    border: 1px solid rgba(255, 255, 255, 0.06); /* Borda sutil */
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.highlight-pill i {
    transition: transform 0.3s ease, filter 0.3s ease, text-shadow 0.3s ease;
}

.highlight-pill:hover {
    background-color: rgba(148, 241, 41, 0.05); /* Fundo ganha tom esverdeado sutil */
    border-color: rgba(148, 241, 41, 0.2); /* Borda acende de leve em verde neon */
    box-shadow: 0 0 12px rgba(148, 241, 41, 0.05);
}

.highlight-pill:hover i {
    transform: scale(1.15); /* Ícone aumenta levemente no hover */
    filter: brightness(1.3); /* Brilho extra no ícone verde */
    text-shadow: 0 0 8px rgba(148, 241, 41, 0.6); /* Brilho neon ao redor do ícone */
}

.community-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.community-feed-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Borda muito fina e elegante */
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4); /* Sombra para descolar do fundo */
    transition: var(--transition);
}

.community-feed-card:hover {
    transform: translateX(-4px) scale(1.01);
}

.card-second {
    opacity: 0.8; /* Aumentado de 0.6 para 0.8 para facilitar a leitura */
    transform: scale(0.95);
    margin-left: 40px;
}

.card-second:hover {
    opacity: 0.95; /* Aumentado de 0.9 para 0.95 no hover */
    transform: scale(0.98);
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feed-user-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%; /* Círculo perfeito */
    object-fit: cover; /* Evita que a foto fique distorcida */
    border: 1px solid rgba(148, 241, 41, 0.45); /* Borda muito sutil verde escuro */
    display: block;
}

.feed-user-meta h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.feed-user-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feed-badge {
    margin-left: auto;
    background-color: rgba(148, 241, 41, 0.1);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px; /* Ligeiro aumento vertical para respirar */
    border-radius: var(--radius-full);
    text-align: center;
    line-height: 1.2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.feed-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.feed-stats {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.feed-actions {
    display: flex;
    gap: 16px;
}

.feed-btn {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: #A0AEC0; /* Cinza claro solicitado */
    background: transparent !important; /* Sem fundo */
    border: none !important; /* Sem bordas */
    padding: 0 !important; /* Sem paddings nativos */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.25s ease-in-out;
}

.feed-btn.active {
    color: var(--primary); /* Ativo fica verde neon */
}

.feed-btn:hover {
    color: var(--primary); /* Ao passar o mouse, acende na cor verde principal */
}

/* ==========================================
   Section Pricing (Planos)
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Reduzido de 3 para 2 colunas */
    gap: 32px;
    align-items: stretch;
    margin-top: 40px;
    max-width: 800px; /* Limita a largura total para os cards não ficarem gigantescos no Desktop */
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 52px 42px; /* Aumentado de 40px 32px para maior espaçamento interno e elegância */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.featured-plan {
    border-color: var(--primary);
    background-color: #121217; /* Sincronizado com o novo fundo */
    transform: scale(1.06); /* Plano recomendado fisicamente maior e destacado */
    z-index: 5;
    position: relative; /* Essencial para o ::before/::after funcionarem */
    will-change: transform, opacity; /* Força aceleração via GPU do bloco inteiro */
}

/* Otimização Suprema: Camada Fantasma via GPU para renderizar o brilho sem travar o scroll */
.featured-plan::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: -5px; /* Deslocado para baixo simulando a queda de luz */
    background-color: var(--primary); /* Preenchimento total verde neon */
    border-radius: var(--radius-lg);
    z-index: -1; /* Joga para trás do cartão */
    filter: blur(20px); /* GPU desenha isso nativamente num bitmap estático */
    opacity: 0.18; /* Controla a força do brilho */
    will-change: transform, opacity;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.featured-plan:hover {
    transform: scale(1.08) translateY(-4px); /* Suave animação mantendo o destaque de tamanho */
}

.featured-plan:hover::before {
    opacity: 0.3; /* Aumenta a luminosidade */
    filter: blur(30px); /* Expande a aura no hover */
}

.featured-plan::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary); /* Fundo verde neon sólido */
    color: #081403; /* Texto em verde bem escuro para legibilidade extrema */
    font-size: 0.72rem;
    font-weight: 800; /* Extra-bold */
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 0 12px rgba(148, 241, 41, 0.4); /* Leve brilho na própria tag */
}

.plan-header {
    margin-bottom: 24px;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.plan-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 28px;
    font-family: var(--font-title); /* Usar Montserrat para os números de preços */
}

.plan-price .currency {
    font-size: 0.95rem; /* Reduzido de 1.25rem para 0.95rem */
    font-weight: 700;
    margin-right: 4px;
    align-self: flex-start; /* Alinha o R$ no topo do preço */
    margin-top: 8px;
}

.plan-price .price {
    font-size: 4.8rem; /* Aumentado agressivamente de 3.5rem para 4.8rem */
    font-weight: 900; /* Black */
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.plan-price .cents {
    font-size: 0.95rem; /* Reduzido de 1.25rem para 0.95rem */
    font-weight: 700;
    align-self: flex-start; /* Alinha os centavos no topo */
    margin-top: 8px;
}

.plan-price .period {
    color: var(--text-secondary);
    font-size: 0.8rem; /* Reduzido de 0.95rem para 0.8rem */
    margin-left: 2px;
}

.annual-total-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -20px;
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px; /* Aumentado de 16px para 22px para maior espaçamento e respiro visual */
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-features i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ==========================================
   Section Form / Quiz (Qualificação)
   ========================================== */
.quiz-card-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px 54px; /* Aumentado de 48px para dar muito mais respiro ao formulário interativo */
    box-shadow: var(--shadow-md);
    position: relative;
    min-height: 480px;
}

/* Progress Indicators */
.quiz-progress-bar {
    width: 100%;
    height: 4px; /* Espessura reduzida de 6px para 4px para um visual mais limpo */
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 28px;
}

.quiz-progress-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease-in-out; /* Transição harmonizada para 0.3s ease-in-out */
}

.quiz-steps-indicators {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.step-indicator {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease; /* Transição de 0.3s ease solicitada para as mudanças de estado */
    line-height: 28px; /* Força alinhamento vertical dos números */
}

.step-indicator.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000000;
}

.step-indicator.completed {
    background-color: rgba(148, 241, 41, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

/* Form Styles */
.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: stepIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

.quiz-step-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.quiz-step-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input {
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(148, 241, 41, 0.15);
}

/* Correção do fundo claro/branco forçado pelo preenchimento automático (Autofill) dos navegadores */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover, 
.form-group input:-webkit-autofill:focus, 
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 50px var(--bg-darker) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Option Cards (Quiz Choices) */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none; /* Hide default radio */
}

.option-content {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    height: 100%;
    transition: var(--transition);
}

.option-icon {
    font-size: 1.75rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    transition: var(--transition);
}

.option-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Checked state for option-card */
.option-card input:checked + .option-content {
    border-color: var(--primary);
    background-color: rgba(148, 241, 41, 0.03);
    box-shadow: 0 0 15px rgba(148, 241, 41, 0.1);
}

.option-card input:checked + .option-content .option-icon {
    color: var(--primary);
}

/* Simple Option Card Grid (Step 4) */
.grid-2-simple {
    grid-template-columns: repeat(2, 1fr);
}

.option-card-simple {
    cursor: pointer;
}

.option-card-simple input {
    display: none;
}

.option-simple-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

.option-card-simple input:checked + .option-simple-box {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(148, 241, 41, 0.03);
    box-shadow: 0 0 15px rgba(148, 241, 41, 0.1);
}

/* Destaque para o Plano Anual no Step 4 do Quiz */
.plan-featured-step {
    position: relative;
}

.featured-box-step {
    border-color: rgba(148, 241, 41, 0.35) !important; /* Borda verde por padrão para destacar */
    position: relative;
    padding-top: 28px !important; /* Espaço para o badge */
    background: linear-gradient(135deg, var(--bg-darker) 0%, rgba(148, 241, 41, 0.02) 100%);
}

.option-card-simple input:checked + .featured-box-step {
    border-color: var(--primary) !important;
    background-color: rgba(148, 241, 41, 0.06) !important;
    box-shadow: 0 0 20px rgba(148, 241, 41, 0.2) !important;
}

.step-badge-mini {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: #081403;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(148, 241, 41, 0.3);
}

.selected-plan-indicator {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Navigation buttons inside Form */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

/* Success Message */
.quiz-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    animation: stepIn 0.5s ease;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(148, 241, 41, 0.15);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(148, 241, 41, 0.2);
}

.quiz-success-message h2 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.quiz-success-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.success-note {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
}

/* ==========================================
   Footer
   ========================================== */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-mission {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
    margin-top: 8px; /* Descola o texto do logotipo */
}

/* Botão Social do Rodapé */
.instagram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.03); /* Fundo fantasma */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
}

.instagram-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #081403; /* Verde mega escuro (quase preto) para legibilidade extrema */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(148, 241, 41, 0.25);
}

.instagram-btn i {
    font-size: 1.15rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Aumentado de 12px para 16px para deixar a lista mais arejada */
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px; /* Margem estendida para separar o título da lista */
    color: var(--text-primary);
}

.footer-links a {
    color: #9CA3AF;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

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

.footer-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-trust h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.badge-trust-seal {
    background-color: rgba(255, 255, 255, 0.03); /* Cinza profundíssimo e translúcido */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda fina semi-transparente */
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center; /* Centraliza verticalmente o ícone com o texto */
    gap: 10px;
}

.badge-trust-seal i {
    display: flex;
    align-items: center;
    font-size: 1.05rem; /* Ajuste sutil para o peso do ícone bater com o peso da fonte */
    color: var(--text-secondary); /* Mantém os ícones em harmonia com o texto */
}

.footer-bottom {
    padding: 30px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #9CA3AF;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ==========================================
   Responsividade (Medias Queries)
   ========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .grid-2 {
        gap: 32px;
    }
    
    .pricing-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .metrics-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        gap: 32px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .grid-2-simple {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .solution-visual {
        order: 2;
    }
    
    .community-visual {
        order: 2;
        margin-top: 40px;
    }
    
    .card-second {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    /* Padding lateral mínimo para toda a página nunca encostar nas bordas */
    .container {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .main-nav {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: none !important; /* Remove o botão quadrado branco do menu no mobile */
    }
    
    /* Reposiciona a logo escrita para o lado direito no lugar do menu */
    .logo-area {
        width: 100% !important;
        justify-content: space-between !important; /* Ícone na esquerda, texto na direita */
    }
    
    .logo-text {
        margin-left: 0 !important; 
        max-width: 110px !important; /* Diminuído de 160px para 110px para ficar com aspecto mais premium e proporcional no celular */
        height: auto !important;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 80px 0 60px 0;
    }
    
    .hero-title {
        font-size: 34px !important; /* Reduzido para 32px-36px */
        line-height: 1.2 !important; /* Altura de linha ajustada para 120% */
        text-align: center;
    }

    /* Ajuste do botão CTA principal da Hero no Mobile */
    .hero-actions {
        width: 100%;
        padding: 0 10px; /* Garante que o botão não encoste nas bordas laterais do celular */
        box-sizing: border-box;
    }

    .hero-actions .btn {
        font-size: 17px !important; /* Fonte entre 16px e 18px */
        padding: 16px 24px !important; /* Padding solicitado */
        width: 100%;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quiz-card-container {
        padding: 24px;
    }
    
    /* Espaçamento superior extra para o formulário não ficar escondido debaixo do cabeçalho fixo no mobile */
    .form-section {
        padding-top: 100px !important;
    }
    
    .quiz-step-title {
        font-size: 1.4rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Redução drástica dos Cards de Seleção (Quiz) no Mobile */
    .options-grid,
    .grid-2-simple {
        gap: 12px !important;
    }

    .option-content {
        padding: 16px !important; /* Reduz de 24px para 16px em todos os lados */
        display: grid !important; /* Transforma em layout de colunas no celular */
        grid-template-columns: auto 1fr; /* Ícone na esquerda (auto) e textos na direita (1fr) */
        grid-template-rows: auto auto; /* Duas linhas para Título e Descrição */
        column-gap: 16px; /* Espaço entre o ícone e os textos */
        align-items: center;
        text-align: left; /* Garante que os textos alinhem à esquerda logo após o ícone */
    }

    .option-simple-box {
        padding: 16px !important;
    }

    /* Reduz também o ícone para ficar proporcional ao botão mais compacto e trava-o na esquerda */
    .option-icon {
        grid-column: 1; /* Fica na primeira coluna */
        grid-row: 1 / 3; /* Ocupa a altura das duas linhas de texto */
        margin-bottom: 0 !important; /* Remove margem inferior nativa */
        font-size: 1.6rem !important; /* Ícone ajustado */
        display: flex;
        align-items: center;
    }

    .option-title {
        grid-column: 2;
        grid-row: 1;
        font-size: 1rem !important;
        margin-bottom: 2px !important;
        align-self: end;
    }

    .option-desc {
        grid-column: 2;
        grid-row: 2;
        font-size: 13px !important; /* Fonte reduzida solicitada */
        line-height: 1.2 !important; /* Altura de linha ajustada */
        align-self: start;
    }

    /* Ajustes extras para os botões finais de seleção de plano do Step 4 */
    .featured-box-step {
        padding-top: 22px !important; /* Ligeiramente mais alto por causa da mini-tag do topo */
    }

    /* Ajustes estritos para o Mockup do Celular no Mobile */
    .hero-visual {
        margin-top: 20px; /* Reduz margem negativa superior no mobile */
        width: 100%;
        overflow: visible;
        display: flex;
        justify-content: center;
    }

    /* Otimização de Performance Extrema: Desativando o maior ladrão de GPU */
    .phone-glowing-backdrop {
        filter: none !important; /* Desliga o blur gigantesco de 90px que travava o scroll inicial */
        will-change: transform, opacity !important; /* Reativa o cache da GPU isolado */
        width: 320px !important; /* Encolhe para caber no formato mobile */
        height: 480px !important;
    }

    .mockup-container {
        position: relative !important;
        width: 320px !important;
        height: 490px !important;
        margin: 0 auto !important;
        transform: none !important;
        animation: none !important;
        opacity: 1 !important;
    }

    .realistic-mockup {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 4 !important; /* Fica na frente do app */
        mix-blend-mode: multiply !important; /* Recorta a tela deixando a moldura preta por cima */
        object-fit: contain !important;
        pointer-events: none !important;
    }

    .mockup-screen-overlay {
        position: absolute !important;
        top: 50% !important;      /* Centraliza no eixo Y */
        left: 50.4% !important;    /* Ajuste milimétrico do eixo X para centralizar perfeitamente */
        transform: translate(-50%, -50%) !important;
        width: 213px !important;   /* Aumentado de 211px para 213px para encaixe perfeito */
        height: 438px !important;  /* Aumentado de 433px para 438px para cobertura perfeita */
        border-radius: 34px !important; /* Arredondamento perfeito dos cantos da tela */
        overflow: hidden !important;
        padding: 28px 12px 10px 12px !important;
        gap: 6px !important;
        z-index: 3 !important;     /* Fica logo atrás da carcaça blendada */
    }

    /* Redimensionar fontes e espaçamentos internos dos cards do celular no mobile */
    .mockup-screen-overlay .app-card {
        padding: 8px 10px !important;
    }

    /* Otimização de Performance (Anti-Travamento) Global para Scroll Reveal no Mobile */
    .scroll-reveal {
        filter: none !important; /* Desativa o Blur pesado (maior causador de drop frames no mobile) */
        transform-style: flat !important; /* Remove renderização de profundidade 3D pesada */
        transform: translateY(20px) !important; /* Slide up simples e leve em 2D */
        will-change: opacity, transform !important; /* Remove filter da alocação de memória */
    }

    .scroll-reveal.reveal-active {
        transform: translateY(0) !important;
    }

    /* Correção de Delay dos Planos no Mobile e Restauração do Fade In */
    .pricing-card.scroll-reveal {
        transition-delay: 0.1s !important; 
        opacity: 0 !important;
        transform: translateY(30px) !important;
        transition: opacity 0.8s ease-out, transform 0.8s ease-out !important;
    }

    .pricing-card.scroll-reveal.reveal-active {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Tornar os Planos Mais Compactos no Mobile */
    .pricing-card {
        padding: 24px !important; /* Reduz de 38px para 24px */
    }

    .plan-price .price {
        font-size: 3.5rem !important; /* Reduz de 4.8rem para 3.5rem */
    }

    /* Destaque suave para o plano Anual sem estourar a tela */
    .featured-plan {
        transform: scale(1.03) !important; /* Reduzido de 1.06 para 1.03 no mobile */
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 28px 24px !important; /* Leve destaque interno */
    }
    
    .featured-plan.scroll-reveal.reveal-active {
        transform: scale(1.03) translateY(0) !important; /* Mantém a escala ao finalizar o fade in */
    }

    /* Otimização de Performance para os Cards de Passos (Anti-Travamento) */
    .step-card.reveal-from-left,
    .step-card.reveal-from-right {
        transform: translateY(20px) !important;
        animation-name: revealMobile !important;
        animation-duration: 0.8s !important;
        animation-timing-function: ease-out !important;
        animation-fill-mode: forwards !important;
        /* IMPORTANTE: Não forçar animation shorthand com !important para não matar o play-state do JS */
    }

    /* Animação simplificada leve em 2D, sem blur e sem deslocamento lateral gigante */
    @keyframes revealMobile {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mockup-screen-overlay .app-username {
        font-size: 0.8rem !important;
    }

    .mockup-screen-overlay h4 {
        font-size: 0.75rem !important;
    }

    .mockup-screen-overlay .workout-tag {
        font-size: 0.55rem !important;
    }

    .mockup-screen-overlay .diet-item {
        padding: 6px !important;
        margin-top: 4px !important;
    }

    .mockup-screen-overlay .diet-meal-desc {
        display: none; /* Oculta a descrição longa das refeições no mobile */
    }

    /* Ajustar posição da tag flutuante IA */
    .app-ai-badge {
        bottom: 40px !important;
        right: -10px !important;
        padding: 6px 10px !important;
        font-size: 0.65rem !important;
        transform: scale(0.7) !important;
        animation: floatingAI 4s ease-in-out infinite !important;
    }

    /* Deixar o Mockup do Celular Estático no Hover (Apenas no Mobile) */
    .mockup-container:hover .realistic-mockup {
        transform: none !important;
        filter: drop-shadow(-10px 18px 25px rgba(0, 0, 0, 0.6)) drop-shadow(0px 0px 45px rgba(148, 241, 41, 0.03)) !important;
    }

    .mockup-container:hover .mockup-screen-overlay {
        transform: translate(-50%, -50%) !important;
    }

    .mockup-container:hover .app-ai-badge {
        transform: scale(0.7) !important;
        animation: floatingAI 4s ease-in-out infinite !important;
    }

    /* Restauração do Layout Circular idêntico ao desktop no Mobile */
    .solution-visual {
        height: 320px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .features-mockup {
        width: 300px !important;
        height: 300px !important;
        transform: scale(0.88) !important; /* Aumentado de 0.72 para 0.88 para maior destaque visual */
        transform-origin: center !important;
        display: block !important;
        /* Aplica animação 3D contínua e suave no mobile, sem depender de toque */
        animation: rotate3DMobile 12s ease-in-out infinite !important;
    }

    @keyframes rotate3DMobile {
        0% { transform: scale(0.88) rotateY(0deg) rotateX(0deg); }
        25% { transform: scale(0.88) rotateY(10deg) rotateX(-5deg); }
        50% { transform: scale(0.88) rotateY(0deg) rotateX(-10deg); }
        75% { transform: scale(0.88) rotateY(-10deg) rotateX(5deg); }
        100% { transform: scale(0.88) rotateY(0deg) rotateX(0deg); }
    }

    .glow-bg-primary {
        display: block !important;
        width: 340px !important;
        height: 340px !important;
        filter: none !important; /* Desliga o blur que derrete o processador mobile */
        background: radial-gradient(circle, rgba(148, 241, 41, 0.25) 0%, rgba(148, 241, 41, 0) 70%) !important; /* Emula o mesmo visual de brilho esfumaçado gastando 0 recursos */
        background-color: transparent !important;
    }

    /* Habilita as conexões pontilhadas e animações no mobile */
    .connection-line {
        display: block !important;
        opacity: 0 !important;
        border-left: 1.5px dashed rgba(148, 241, 41, 0.45) !important; /* Linha mais grossa e muito mais visível no mobile */
    }

    .reveal-active .connection-line {
        opacity: 1 !important;
    }

    .features-circle-container {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
    }

    .features-center-app {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(1) !important;
        width: 90px !important;
        height: 90px !important;
        display: flex !important;
    }

    .feature-pulse-node {
        position: absolute !important;
        width: 50px !important;
        height: 50px !important;
        display: flex !important;
    }

    /* Reposiciona as coordenadas circulares originais */
    .feature-pulse-node.nod-1 { top: 0 !important; left: 50% !important; transform: translate(-50%, 0) !important; }
    .feature-pulse-node.nod-2 { right: 0 !important; top: 50% !important; left: auto !important; transform: translate(0, -50%) !important; }
    .feature-pulse-node.nod-3 { bottom: 0 !important; top: auto !important; left: 50% !important; transform: translate(-50%, 0) !important; }
    .feature-pulse-node.nod-4 { left: 0 !important; top: 50% !important; transform: translate(0, -50%) !important; }

    /* Habilita animações de entrada dos nós no scroll */
    .reveal-active .feature-pulse-node.nod-1 { animation: expandNode1 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards, nodePulse 2.5s infinite !important; }
    .reveal-active .feature-pulse-node.nod-2 { animation: expandNode2 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards, nodePulse 2.5s infinite !important; }
    .reveal-active .feature-pulse-node.nod-3 { animation: expandNode3 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards, nodePulse 2.5s infinite !important; }
    .reveal-active .feature-pulse-node.nod-4 { animation: expandNode4 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards, nodePulse 2.5s infinite !important; }

    .node-tooltip {
        display: none !important; /* Esconde tooltips no mobile para economizar espaço e evitar toque acidental */
    }
}

@media (max-width: 480px) {
    .mockup-container {
        width: 270px;
        height: 413px; /* 270 × 1.53 (ratio real do mockup-certo.png) */
    }
    
    .phone-glowing-backdrop {
        width: 300px;
        height: 413px;
    }
    
    .mockup-screen-overlay {
        width: 181px;   /* proporção 9:16 portrait */
        height: 322px;  /* 181 × 16/9 = 322px */
    }
    
    .mockup-container:hover .mockup-screen-overlay {
        transform: translate(-50%, calc(-50% - 5px)) scale(1.02);
    }
    
    .app-ai-badge {
        bottom: 60px;
        right: -10px;
        padding: 6px 12px;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .card-second {
        display: none; /* Esconder segundo feed para simplificar telas muito pequenas */
    }
}
