/* ==========================================================================
   CSS VARIÁVEIS - SISTEMA DE DESIGN PREMIUM
   ========================================================================== */
:root {
    /* Cores Principais (Tons de Azul e Neutros) */
    --color-bg: #0F172A;          /* Fundo escuro premium (Slate 900) */
    --color-bg-secondary: #1E293B; /* Fundo secundário (Slate 800) */
    --color-bg-glass: rgba(30, 41, 59, 0.7);
    --color-primary: #38BDF8;      /* Azul vibrante principal (Sky 400) */
    --color-primary-hover: #0EA5E9;
    --color-accent: #2563EB;       /* Azul profundo acento */
    
    /* Cores de Texto */
    --text-main: #F8FAFC;          /* Branco off-white (Slate 50) */
    --text-muted: #94A3B8;         /* Cinza para textos secundários (Slate 400) */
    
    /* Tipografia */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Efeitos Visuais */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --gradient-tech: linear-gradient(135deg, #38BDF8 0%, #2563EB 100%);
    --gradient-bg: radial-gradient(circle at 50% -20%, #1E3A8A 0%, #0F172A 50%);
    
    /* Espaçamentos e Estrutura */
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --container-width: 1200px;
}

/* ==========================================================================
   RESETS E BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--gradient-bg);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   COMPONENTES GERAIS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-tech);
    color: #fff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
    filter: brightness(1.1);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    background: linear-gradient(to right, #FFF, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-header {
    margin-bottom: 64px;
}

/* ==========================================================================
   NAVEGAÇÃO (NAVBAR)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: var(--glass-border);
}

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

.logo img {
    height: 70px; /* increased logo size for stronger brand presence */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

@media (max-width: 768px) {
    .nav-links, .navbar .btn-outline {
        display: none;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(56, 189, 248, 0.15);
}

.glow-2 {
    bottom: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(37, 99, 235, 0.15);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 30px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title span {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-mockup {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    box-shadow: var(--shadow-glow);
}

.premium-mockup {
    width: 100%;
    max-width: 500px; /* adjust as needed */
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(56,189,248,0.25); /* subtle glow */
    border: 2px solid rgba(56,189,248,0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.premium-mockup:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(56,189,248,0.35);
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
}

/* ==========================================================================
   SEÇÃO DE DOR
   ========================================================================== */
.pain-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.8));
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pain-card {
    background: var(--color-bg-secondary);
    border: var(--glass-border);
    padding: 32px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.9);
}

.pain-card i {
    font-size: 2.5rem;
    color: #EF4444; /* Vermelho para indicar problema */
    opacity: 0.8;
}

.pain-card h3 {
    font-size: 1.125rem;
    font-weight: 500;
}

/* ==========================================================================
   SEÇÃO DE TRANSFORMAÇÃO
   ========================================================================== */
.transformation-section {
    padding: 120px 0;
    overflow: hidden;
}

.transformation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.transformation-content .section-title {
    text-align: left;
}

.transformation-text {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.glass-card {
    background: var(--color-bg-glass);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

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

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
}

.dots span:nth-child(1) { background: #EF4444; }
.dots span:nth-child(2) { background: #F59E0B; }
.dots span:nth-child(3) { background: #10B981; }

.mockup-line {
    height: 12px;
    background: #334155;
    border-radius: 6px;
    margin-bottom: 16px;
}

.w-80 { width: 80%; }
.w-60 { width: 60%; }

.mockup-chart {
    height: 150px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.2) 0%, transparent 100%);
    border-radius: 8px;
    margin-top: 32px;
    border-bottom: 2px solid var(--color-primary);
}

@media (max-width: 992px) {
    .transformation-container {
        grid-template-columns: 1fr;
    }
    .transformation-content .section-title {
        text-align: center;
    }
    .transformation-text {
        text-align: center;
    }
}

/* ==========================================================================
   SEÇÃO DE BENEFÍCIOS
   ========================================================================== */
.benefits-section {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: var(--glass-border);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(56, 189, 248, 0.3);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .icon-box {
    background: var(--gradient-tech);
    color: #fff;
    transform: scale(1.1);
}

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

.benefit-card p {
    color: var(--text-muted);
}

/* ==========================================================================
   VISUAL PREMIUM & IDEAL PARA
   ========================================================================== */
.visual-premium-section {
    padding: 100px 0;
}

.visual-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.visual-item {
    flex: 1;
    min-width: 300px;
}

.mockup-placeholder {
    background: var(--color-bg-secondary);
    height: 300px;
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 1.25rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.ideal-for-section {
    padding: 80px 0;
    text-align: center;
}

.ideal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.ideal-tag {
    padding: 12px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s ease;
}

.ideal-tag:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ==========================================================================
   SEÇÃO DE AUTORIDADE
   ========================================================================== */
.authority-section {
    padding: 120px 0;
}

.authority-container {
    background: linear-gradient(135deg, rgba(30,41,59,0.8), rgba(15,23,42,0.9));
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.authority-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-tech);
}

.authority-seal {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.authority-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ==========================================================================
   OFERTA DE ATIVAÇÃO
   ========================================================================== */
.activation-section {
    padding: 100px 0 0;
}

.activation-card {
    background: linear-gradient(135deg, rgba(30,41,59,0.9), rgba(15,23,42,1));
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-xl);
    padding: 64px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(56, 189, 248, 0.1);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.activation-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.activation-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 24px;
}

.activation-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.old-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.new-price {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1;
}

.activation-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15); /* Verde esmeralda suave */
    color: #34D399; /* Verde esmeralda texto */
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 32px;
}

.activation-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    margin-bottom: 40px;
}

.activation-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
}

.activation-features i {
    color: var(--color-primary);
}

/* ==========================================================================
   PREÇOS
   ========================================================================== */
.pricing-section {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    /* Force three columns on desktop while allowing wrap on smaller screens */
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; /* tighter spacing to keep cards on one line */
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.pricing-card {
    background: var(--color-bg-secondary);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 36px 32px; /* reduced internal spacing */
    position: relative;
    transition: transform 0.3s ease;
    font-size: 0.95rem; /* slightly smaller base font for tighter layout */
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.highlight {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 1) 100%);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(56, 189, 248, 0.2);
    position: relative;
}
/* Savings badge for the Semestral plan */
.pricing-card.highlight::after {
    content: "Economia ≈ 30%";
    position: absolute;
    top: -18px;
    right: -18px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.3);
}


.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-tech);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(56, 189, 248, 0.3);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.pricing-value {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.amount {
    font-size: 3.2rem; /* slightly smaller to fit three cards */
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.cents, .period {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.pricing-sub {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.pricing-features {
    margin-bottom: 32px; /* tighter spacing */
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.pricing-features i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.final-cta {
    padding: 150px 0;
    text-align: center;
    position: relative;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    z-index: -1;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 24px;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

.cta-btn {
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
    border-top: var(--glass-border);
    padding: 64px 0 24px;
    background: #0B1120;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 64px;
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-slogan {
    color: var(--text-muted);
    font-style: italic;
}

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

.footer-link {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
}

/* ==========================================================================
   ANIMAÇÕES (Classes utilizadas no main.js)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1) 0.2s;
}

.reveal-delay.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================================================
   SOCIAL PURCHASE SIMULATION NOTIFICATIONS
   ============================================================== */
.social-notifications {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
    pointer-events: none;
}

.social-notif {
    background: var(--color-bg-secondary);
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.5s ease forwards;
    pointer-events: auto;
}

.social-notif.fade-out {
    animation: slideOut 0.5s ease forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-20px); }
}

/* Ajustes Responsivos - Seção Demonstração */
@media screen and (max-width: 768px) {
  #demonstracao {
    padding: 40px 15px !important;
  }
  #demonstracao h2 {
    font-size: 2rem !important;
  }
  #demonstracao p {
    font-size: 1rem !important;
    text-align: center !important;
    line-height: 1.5 !important;
    padding: 0 10px;
    margin-bottom: 25px !important;
  }
  #demonstracao p span {
    margin: 6px 4px !important;
    display: inline-block !important;
  }
}
