/* --- Resets e Variáveis do Sistema de Design --- */
:root {
    --bg-main: #0B0F19;
    --bg-alt: #131A2C;
    --bg-card: #1E293B;
    --primary: #2563EB;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --accent: #8B5CF6;
    --accent-neon: #10B981;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: #334155;
    --radius-lg: 16px;
    --radius-md: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Layout Utilitários --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* --- Componentes de Texto --- */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 56px auto;
}

/* --- Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.125rem; }
.btn-full { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

/* --- Cards Gerais --- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3);
}

/* --- Navbar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.logo span { color: var(--primary); }

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover { color: var(--text-main); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: #60A5FA;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Mockup de Interface do Celular */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-container {
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #000;
    border: 10px solid #27272a;
    border-radius: 36px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #18181b;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-header {
    width: 120px;
    height: 20px;
    background: #000;
    border-radius: 0 0 12px 12px;
    margin-top: -20px;
    margin-bottom: 24px;
}

.avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    margin-bottom: 12px;
}

.profile-name { font-weight: 700; font-size: 1.1rem; }
.profile-tag { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px;}

.phone-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-link-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-floating {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    padding: 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 4s ease-in-out infinite;
}

.tag-nfc-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- Seção Benefícios --- */
.beneficio-card .card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.beneficio-card h3 { margin-bottom: 12px; font-size: 1.25rem;}
.beneficio-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Seção Pilles (O que abre) --- */
.features-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.pill-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
}

.pill-item:hover {
    border-color: var(--accent);
    background: rgba(139, 92, 246, 0.05);
}

/* --- Seção Produtos --- */
.produto-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.produto-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37,99,235,0.15);
}

.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.produto-header h3 { font-size: 1.3rem; margin-bottom: 8px; }
.produto-header .price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}
.produto-header .price span {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

.produto-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.produto-features {
    list-style: none;
    margin-bottom: 32px;
}

.produto-features li {
    font-size: 0.875rem;
    margin-bottom: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.produto-features li::before {
    content: "✓";
    color: var(--accent-neon);
    font-weight: bold;
}

/* --- Como Funciona (Steps) --- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 16px auto;
    font-size: 1.25rem;
}

.step-item h4 { margin-bottom: 8px; }
.step-item p { color: var(--text-muted); font-size: 0.875rem; }

/* --- Público Alvo --- */
.publico-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.publico-tags span {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

/* --- Comparativo --- */
.table-responsive {
    overflow-x: auto;
}

.table-compare {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    text-align: left;
}

.table-compare th, .table-compare td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.table-compare th {
    font-weight: 700;
    background: rgba(255,255,255,0.02);
}

.highlight-col {
    background: rgba(37, 99, 235, 0.05);
    color: var(--text-main);
    border-left: 1px solid rgba(37,99,235,0.2);
    border-right: 1px solid rgba(37,99,235,0.2);
}

/* --- Prova de Valor Marquee --- */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.quote-slide {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 48px;
    font-style: italic;
}

/* --- CTA Box --- */
.cta-box {
    background: linear-gradient(135deg, #1E1B4B, #0F172A);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 64px 32px;
    border-radius: var(--radius-lg);
}

.cta-box h2 { font-size: 2.5rem; margin-bottom: 16px; }
.cta-box p { color: var(--text-muted); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.125rem; }

/* --- Footer --- */
.footer {
    background: #070A12;
    padding: 64px 0 32px 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p { color: var(--text-muted); margin-top: 12px; max-width: 360px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; color: var(--text-muted); font-size: 0.875rem; }

/* --- Responsividade (Mobile First Breakpoints) --- */
@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { margin-top: 48px; }
    .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.25rem; }
    .nav-menu { display: none; } /* Menu hamburguer simplificado via JS */
    .mobile-menu-toggle { display: flex; }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
    }
}