/* ═══════════════════════════════════════════════════════════════════
   BrikBot — Futuristic Landing & Auth Stylesheet (landing.css)
   Suporte Completo a Tema Claro & Escuro (Design System 2026)
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ─── TEMA ESCURO (Dark Mode — Padrão) ─────────────────────────── */
:root, [data-theme="dark"] {
    color-scheme: dark;

    /* Cores de Fundo */
    --bg-base: #060810;
    --bg-surface: rgba(14, 18, 30, 0.75);
    --bg-surface-solid: #0e121e;
    --bg-surface-elevated: #141a2b;
    --bg-card: rgba(15, 20, 35, 0.7);
    --bg-card-hover: rgba(22, 30, 52, 0.85);
    --bg-pill: rgba(255, 255, 255, 0.05);

    /* Textos */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #00d4ff;

    /* Acentos & Gradientes Futuristas */
    --brand-cyan: #00d4ff;
    --brand-purple: #7b61ff;
    --brand-emerald: #10b981;
    --brand-rose: #f43f5e;
    --brand-amber: #f59e0b;

    --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #7b61ff 50%, #c084fc 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    --gradient-btn: linear-gradient(135deg, #00d4ff 0%, #7b61ff 100%);
    --gradient-btn-hover: linear-gradient(135deg, #33e0ff 0%, #917cff 100%);

    /* Bordas & Sombras */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(0, 212, 255, 0.35);
    --shadow-glass: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow-cyan: 0 0 35px rgba(0, 212, 255, 0.22);
    --shadow-glow-purple: 0 0 35px rgba(123, 97, 255, 0.22);

    /* Grid & Ambient */
    --grid-line: rgba(255, 255, 255, 0.035);
    --nav-bg: rgba(6, 8, 16, 0.82);
}

/* ─── TEMA CLARO (Light Mode) ──────────────────────────────────── */
[data-theme="light"] {
    color-scheme: light;

    /* Cores de Fundo */
    --bg-base: #f4f6fb;
    --bg-surface: rgba(255, 255, 255, 0.88);
    --bg-surface-solid: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: #ffffff;
    --bg-pill: rgba(0, 0, 0, 0.04);

    /* Textos */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-accent: #0284c7;

    /* Acentos & Gradientes */
    --brand-cyan: #0284c7;
    --brand-purple: #6366f1;
    --brand-emerald: #059669;
    --brand-rose: #e11d48;
    --brand-amber: #d97706;

    --gradient-hero: linear-gradient(135deg, #0284c7 0%, #6366f1 60%, #8b5cf6 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-btn: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
    --gradient-btn-hover: linear-gradient(135deg, #0369a1 0%, #4f46e5 100%);

    /* Bordas & Sombras */
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glass-hover: rgba(2, 132, 199, 0.4);
    --shadow-glass: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
    --shadow-glow-cyan: 0 8px 30px rgba(2, 132, 199, 0.14);
    --shadow-glow-purple: 0 8px 30px rgba(99, 102, 241, 0.14);

    /* Grid & Ambient */
    --grid-line: rgba(0, 0, 0, 0.04);
    --nav-bg: rgba(255, 255, 255, 0.88);
}

/* ─── CORES DO LOGO OMNIASSETS (O e A com cores exclusivas) ────── */
.brand-o, .brand-char-o {
    color: #00d4ff;
    font-weight: 800;
}

.brand-a, .brand-char-a {
    color: #a855f7;
    font-weight: 800;
}

[data-theme="light"] .brand-o, [data-theme="light"] .brand-char-o {
    color: #0284c7;
}

[data-theme="light"] .brand-a, [data-theme="light"] .brand-char-a {
    color: #7c3aed;
}

/* ─── RESET & TIPOGRAFIA BASE ─────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
}

code, pre, .mono {
    font-family: 'JetBrains Mono', monospace;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── BACKGROUND FUTURISTA & ELEMENTOS NEON ────────────────────── */
.cyber-grid-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
    transition: opacity 0.5s ease;
}

.glow-top-left {
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, var(--brand-cyan) 0%, transparent 70%);
}

.glow-center-right {
    top: 30%;
    right: -150px;
    background: radial-gradient(circle, var(--brand-purple) 0%, transparent 70%);
}

/* ─── NAVBAR FUTURISTA ─────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-icon-chip {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(14, 19, 34, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.brand-icon-chip:hover {
    transform: scale(1.06);
    border-color: var(--brand-cyan);
}

.brand-icon-chip img {
    width: 26px;
    height: 26px;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
    transition: filter 0.25s ease;
}

[data-theme="light"] .brand-icon-chip {
    background: #ffffff;
    border: 1px solid rgba(0, 119, 255, 0.22);
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.12), 0 0 1px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .brand-icon-chip:hover {
    border-color: #0284c7;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.22);
}

[data-theme="light"] .brand-icon-chip img {
    filter: drop-shadow(0 2px 6px rgba(0, 119, 255, 0.25)) !important;
}

.badge-live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.12);
    color: var(--brand-emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-emerald);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gradient-btn);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ─── BOTÃO TOGGLE TEMA (CLARO/ESCURO) ─────────────────────────── */
.theme-switch-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-pill);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.25s ease;
}

.theme-switch-btn:hover {
    background: var(--border-glass);
    transform: translateY(-1px);
}

/* ─── BOTÕES & CTAS ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-btn);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
    background: var(--gradient-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.4);
    color: #ffffff;
}

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

.btn-outline:hover {
    background: var(--bg-pill);
    border-color: var(--border-glass-hover);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: 12px;
}

/* ─── HERO SECTION FUTURISTA ───────────────────────────────────── */
.hero-section {
    position: relative;
    z-index: 10;
    padding-top: 130px;
    padding-bottom: 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--bg-pill);
    border: 1px solid var(--border-glass);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-cyan);
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-item span.icon {
    color: var(--brand-emerald);
}

/* ─── MINI WIDGETS EXCLUSIVOS OMNIASSETS (PORTFÓLIO, HEATMAP & IA) ── */
.heatmap-mini-widget {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.heatmap-tile {
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.heatmap-tile:hover {
    transform: scale(0.98);
}

.tile-pos-strong {
    background: rgba(16, 185, 129, 0.22);
    color: var(--brand-emerald);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.tile-pos-medium {
    background: rgba(16, 185, 129, 0.14);
    color: var(--brand-emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.tile-neg-strong {
    background: rgba(244, 63, 94, 0.2);
    color: var(--brand-rose);
    border: 1px solid rgba(244, 63, 94, 0.35);
}

.tile-cyan {
    background: rgba(0, 212, 255, 0.16);
    color: var(--brand-cyan);
    border: 1px solid rgba(0, 212, 255, 0.35);
}

.allocation-bar-track {
    height: 8px;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    gap: 3px;
    margin: 10px 0 6px;
}

.alloc-seg-br { background: #00d4ff; width: 35%; border-radius: 2px; }
.alloc-seg-us { background: #7b61ff; width: 30%; border-radius: 2px; }
.alloc-seg-crypto { background: #f59e0b; width: 20%; border-radius: 2px; }
.alloc-seg-rf { background: #10b981; width: 15%; border-radius: 2px; }

.allocation-legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-secondary);
}

.alloc-tag {
    display: flex;
    align-items: center;
    gap: 4px;
}

.alloc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.preset-chips-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.preset-chip {
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--bg-pill);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.preset-chip.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
}

.ai-diagnosis-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.28);
    font-size: 0.74rem;
    color: var(--text-primary);
}

.ai-score-badge {
    background: var(--brand-purple);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.smart-money-tag {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--brand-emerald);
    font-family: 'JetBrains Mono', monospace;
}

/* ─── TERMINAL HOLOGRÁFICO FUTURISTA (HERO VISUAL) ─────────────── */
.hero-visual-wrapper {
    position: relative;
    width: 100%;
}

.cyber-terminal-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass), var(--shadow-glow-cyan);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cyber-terminal-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.15);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-glass);
}

.terminal-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.tdot-red { background: #ef4444; }
.tdot-yellow { background: #f59e0b; }
.tdot-green { background: #10b981; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-status-ping {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    gap: 4px;
}

.terminal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Módulo 1: Robô Algorítmico Ativo */
.terminal-block {
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px 16px;
}

[data-theme="light"] .terminal-block {
    background: rgba(240, 244, 252, 0.8);
}

.block-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.block-title-sub {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-tag-cyan {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--brand-cyan);
}

.stat-pnl-pos {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-emerald);
}

.block-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.block-details-grid strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Módulo 2: Mini Tickers do Screener */
.screener-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.screener-mini-table th {
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 6px 8px;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.screener-mini-table td {
    padding: 8px 6px;
    border-bottom: 1px solid var(--border-glass);
    font-family: 'JetBrains Mono', monospace;
}

.screener-mini-table tr:last-child td {
    border-bottom: none;
}

.ticker-sym {
    font-weight: 700;
    color: var(--text-primary);
}

.sig-badge-buy {
    background: rgba(16, 185, 129, 0.15);
    color: var(--brand-emerald);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
}

/* Módulo 3: Balão de Notificação Telegram */
.telegram-alert-pill {
    background: rgba(0, 136, 204, 0.12);
    border: 1px solid rgba(0, 136, 204, 0.28);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tg-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tg-text-box {
    font-size: 0.75rem;
    line-height: 1.4;
}

.tg-text-box strong {
    color: var(--text-primary);
    display: block;
}

.tg-text-box span {
    color: var(--text-secondary);
}

/* ─── SEÇÃO "O QUE O PROJETO ENTREGA" (4 PILARES) ─────────────── */
.section-features {
    position: relative;
    z-index: 10;
    padding: 80px 0;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-cyan);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.feature-box {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-box:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glass), var(--shadow-glow-cyan);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: var(--bg-pill);
    border: 1px solid var(--border-glass);
}

.icon-cyan { color: var(--brand-cyan); border-color: rgba(0, 212, 255, 0.3); }
.icon-purple { color: var(--brand-purple); border-color: rgba(123, 97, 255, 0.3); }
.icon-emerald { color: var(--brand-emerald); border-color: rgba(16, 185, 129, 0.3); }
.icon-amber { color: var(--brand-amber); border-color: rgba(245, 158, 11, 0.3); }

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── SEÇÃO "COMO FUNCIONA" EM 3 PASSOS ───────────────────────── */
.section-steps {
    position: relative;
    z-index: 10;
    padding: 60px 0 80px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

[data-theme="light"] .section-steps {
    background: rgba(255, 255, 255, 0.4);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 32px 24px;
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── BANNER DE MÉTRICAS AO VIVO ──────────────────────────────── */
.metrics-strip {
    position: relative;
    z-index: 10;
    padding: 40px 0;
}

.metrics-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 28px 36px;
    text-align: center;
}

.metric-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: var(--brand-cyan);
    margin-bottom: 4px;
}

.metric-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ─── CTA FINAL COM BRILHO HOLOGRÁFICO ─────────────────────────── */
.section-cta {
    position: relative;
    z-index: 10;
    padding: 80px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(123, 97, 255, 0.12) 100%), var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass-hover);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-glass), var(--shadow-glow-purple);
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-box p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-glass);
    padding: 36px 0;
    background: var(--nav-bg);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

/* ═══════════════════════════════════════════════════════════════════
   PRESERVAÇÃO & HARMONIZAÇÃO DE TELAS DE AUTH (login.html)
   ═══════════════════════════════════════════════════════════════════ */
.login-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.login-visual {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(123, 97, 255, 0.05) 100%);
    border-right: 1px solid var(--border-glass);
}

.visual-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.visual-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 85%;
}

.stats-glass {
    display: flex;
    gap: 1.5rem;
}

.stat {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1.25rem;
    border-radius: 14px;
    min-width: 140px;
}

.stat h4 {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.stat p {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-cyan);
    font-family: 'JetBrains Mono', monospace;
}

.login-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 0.82rem;
    color: var(--brand-cyan);
    text-decoration: none;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.forgot-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.form-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0.25rem 0 1.25rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.checkbox-container:hover {
    color: var(--text-primary);
}

.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 1.5px solid var(--border-glass, rgba(255, 255, 255, 0.2));
    border-radius: 4px;
    background: var(--bg-pill, rgba(255, 255, 255, 0.04));
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: inline-grid;
    place-content: center;
    flex-shrink: 0;
}

.custom-checkbox:hover {
    border-color: var(--brand-cyan, #00d4ff);
}

.custom-checkbox:checked {
    background: var(--brand-cyan, #00d4ff);
    border-color: var(--brand-cyan, #00d4ff);
}

.custom-checkbox:checked::before {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translate(1px, -1px);
}

.custom-checkbox:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}

[data-theme="light"] .custom-checkbox {
    border-color: rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

[data-theme="light"] .custom-checkbox:checked {
    background: #0284c7;
    border-color: #0284c7;
}

[data-theme="light"] .checkbox-container {
    color: #475569;
}

[data-theme="light"] .checkbox-container:hover {
    color: #0f172a;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-pill);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.password-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-field-wrapper .form-input {
    padding-right: 3rem;
}

.btn-toggle-password {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s;
}

.btn-toggle-password:hover {
    color: var(--text-primary);
}

.eye-icon {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.login-error {
    color: var(--brand-rose);
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.25);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.form-footer {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--brand-cyan);
    font-weight: 700;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── RESPONSIVIDADE ───────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .metrics-box {
        grid-template-columns: 1fr 1fr;
    }
    .login-layout {
        grid-template-columns: 1fr;
    }
    .login-visual {
        display: none;
    }
    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-lead {
        font-size: 1rem;
    }
    .metrics-box {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 40px 20px;
    }
    .cta-box h2 {
        font-size: 1.9rem;
    }
}
