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

:root {
    --bg: #050811;
    --bg-elevated: #090f1d;
    --card: #0c1324;
    --card-hover: #10192e;
    --border: rgba(148, 163, 184, 0.14);
    --border-strong: rgba(148, 163, 184, 0.24);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --primary: #06b6d4;
    --primary-bright: #22d3ee;
    --accent: #10b981;
    --secondary: #3b82f6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code {
    background: #070c18;
    border: 1px solid rgba(56, 189, 248, 0.22);
    padding: 2px 7px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.82em;
    color: #38bdf8;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tabular { font-variant-numeric: tabular-nums; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Subtle architectural background grid for landing */
.bg-grid-pattern {
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(6, 182, 212, 0.16), transparent 65%),
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    background-position: top center, top center, top center;
}

/* ================= TOPBAR ================= */
.topbar {
    position: sticky; top: 0; z-index: 60;
    background: rgba(5, 8, 17, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; gap: 20px;
}
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: #fff;
}
.brand-mark {
    width: 30px; height: 30px; border-radius: 8px;
    background: linear-gradient(135deg, #06b6d4, #10b981);
    display: inline-flex; align-items: center; justify-content: center;
    color: #041016; flex-shrink: 0;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}
.badge-pill {
    font-size: 0.7rem; font-weight: 600; color: #94a3b8;
    background: rgba(148, 163, 184, 0.08); border: 1px solid var(--border);
    padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.nav-links {
    display: flex; align-items: center; gap: 24px;
    font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn {
    display: none; background: transparent; border: 1px solid var(--border);
    color: var(--text); width: 38px; height: 38px; border-radius: 9px;
    align-items: center; justify-content: center; cursor: pointer;
}
.mobile-drawer {
    display: none; flex-direction: column; gap: 10px;
    padding: 16px 24px 20px; background: #070d1a; border-bottom: 1px solid var(--border);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { padding: 8px 0; font-size: 0.94rem; color: var(--text-muted); font-weight: 500; }
.mobile-drawer a:hover { color: #fff; }

/* ================= BUTTONS ================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.88rem;
    border: 1px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap;
    font-family: var(--font-sans);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
    background: #f8fafc; color: #050811;
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.btn-primary:hover { background: #e2e8f0; transform: translateY(-1px); }
.btn-accent {
    background: linear-gradient(135deg, #06b6d4, #10b981); color: #041016; font-weight: 700;
}
.btn-accent:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-secondary {
    background: rgba(148, 163, 184, 0.08); border-color: var(--border-strong); color: #e2e8f0;
}
.btn-secondary:hover { background: rgba(148, 163, 184, 0.14); border-color: rgba(148, 163, 184, 0.4); color: #fff; }
.btn-outline { background: transparent; border-color: var(--border-strong); color: #cbd5e1; }
.btn-outline:hover { border-color: #38bdf8; color: #fff; }
.btn-ghost { background: transparent; color: var(--text-muted); padding: 8px 12px; }
.btn-ghost:hover { color: #fff; }
.btn-danger { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
.btn-sm { padding: 7px 13px; font-size: 0.8rem; border-radius: 8px; }
.btn-lg { padding: 12px 22px; font-size: 0.94rem; border-radius: 10px; }

/* ================= HERO ================= */
.hero { padding: 84px 0 56px; text-align: center; position: relative; }
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(15, 23, 42, 0.8); border: 1px solid var(--border-strong);
    color: #cbd5e1; padding: 6px 14px; border-radius: 999px;
    font-size: 0.78rem; font-weight: 500; margin-bottom: 24px;
}
.hero-badge .dot {
    width: 7px; height: 7px; border-radius: 50%; background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22); display: inline-block;
}
.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.08; letter-spacing: -0.035em;
    color: #ffffff; margin-bottom: 18px;
}
.hero h1 .text-gradient {
    background: linear-gradient(135deg, #f8fafc 15%, #38bdf8 65%, #34d399 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
    color: var(--text-muted); font-size: 1.06rem; line-height: 1.65;
    max-width: 600px; margin: 0 auto 30px; font-weight: 400;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

/* Architectural Metrics Strip */
.metrics-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: rgba(12, 19, 36, 0.65); backdrop-filter: blur(8px);
    overflow: hidden;
}
.metric-item {
    padding: 20px 18px; text-align: center;
    border-right: 1px solid var(--border);
}
.metric-item:last-child { border-right: none; }
.metric-val {
    font-family: var(--font-mono); font-size: 1.35rem; font-weight: 700;
    color: #fff; letter-spacing: -0.02em; display: block; margin-bottom: 2px;
}
.metric-lbl { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ================= SECTIONS ================= */
.section { padding: 76px 0; border-top: 1px solid rgba(148, 163, 184, 0.08); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-eyebrow {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-bright);
    margin-bottom: 10px; display: inline-block;
}
.section-head h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 700;
    letter-spacing: -0.03em; color: #fff; margin-bottom: 10px; line-height: 1.18;
}
.section-head p { color: var(--text-muted); font-size: 0.96rem; }

/* ================= INFRASTRUCTURE CARDS ================= */
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.infra-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: border-color .2s ease, transform .2s ease;
}
.infra-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.infra-media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #070d1c; overflow: hidden; }
.infra-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.infra-card:hover .infra-img { transform: scale(1.03); }
.infra-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12, 19, 36, 0.92) 0%, rgba(12, 19, 36, 0.15) 55%, transparent 100%);
    pointer-events: none;
}
.infra-pill {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
    padding: 4px 9px; border-radius: 6px;
    background: rgba(5, 8, 17, 0.78); backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.22); color: #e2e8f0; white-space: nowrap;
}
.infra-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.infra-body h3 { font-size: 1.05rem; font-weight: 600; color: #fff; letter-spacing: -0.015em; }
.infra-body p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.55; }
.infra-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.infra-tag {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; color: var(--text-muted);
    background: rgba(15, 23, 42, 0.85); border: 1px solid var(--border);
    padding: 3px 8px; border-radius: 6px; white-space: nowrap;
}

/* ================= PRICING (4 CARDS + CALCULATOR) ================= */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan-card {
    position: relative; background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px 22px; display: flex; flex-direction: column;
    transition: border-color .2s ease, transform .2s ease;
}
.plan-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.plan-card.featured {
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, var(--card) 42%);
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 16px 40px -16px rgba(6, 182, 212, 0.28);
}
.plan-badge {
    position: absolute; top: -11px; left: 22px;
    background: #06b6d4; color: #041016;
    font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.04em; padding: 3px 10px; border-radius: 999px;
}
.plan-cx-label {
    font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600;
    color: var(--primary-bright); text-transform: uppercase; letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.plan-card h3 { font-size: 1.08rem; font-weight: 600; color: #fff; letter-spacing: -0.015em; }
.plan-price {
    font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.03em;
    margin: 14px 0 6px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 3px;
}
.plan-price .currency { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.plan-price .period { font-size: 0.84rem; font-weight: 500; color: var(--text-subtle); }
.plan-desc { color: var(--text-muted); font-size: 0.84rem; line-height: 1.5; margin-bottom: 18px; min-height: 40px; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 16px; }
.plan-features {
    list-style: none; display: flex; flex-direction: column; gap: 10px;
    font-size: 0.84rem; color: #cbd5e1; margin-bottom: 22px; flex: 1;
}
.plan-features li { display: flex; align-items: center; gap: 8px; }
.plan-features li svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* Sleek Horizontal On-Demand Calculator */
.slider-box {
    margin-top: 24px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px 28px;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center;
}
.slider-range {
    width: 100%; height: 6px; border-radius: 999px; background: #1e293b;
    accent-color: #06b6d4; cursor: pointer; margin: 16px 0 8px;
}
.slider-summary {
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ================= CHANNEL GRID + CATEGORY FILTER ================= */
.grade-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin-bottom: 20px;
}
.cat-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-pill {
    padding: 7px 13px; border-radius: 999px; font-size: 0.8rem; font-weight: 500;
    background: transparent; border: 1px solid var(--border); color: var(--text-muted);
    cursor: pointer; transition: all .15s ease; font-family: var(--font-sans);
}
.cat-pill:hover { color: #fff; border-color: var(--border-strong); }
.cat-pill.active { background: #f8fafc; color: #050811; border-color: #f8fafc; font-weight: 600; }

.search-wrap { position: relative; min-width: 260px; flex: 0 1 320px; }
.search-wrap svg {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 15px; height: 15px; color: var(--text-subtle); pointer-events: none;
}
.search-wrap input { padding-left: 36px; height: 38px; font-size: 0.85rem; }

.ch-grid-v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); gap: 12px; }
.ch-card-v2 {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 14px; display: flex; flex-direction: column; gap: 12px;
    transition: border-color .18s ease, background .18s ease;
}
.ch-card-v2:hover { border-color: var(--border-strong); background: var(--card-hover); }
.ch-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ch-logo-svg { width: 108px; height: 38px; flex-shrink: 0; display: block; }
.ch-logo-box {
    width: 108px; height: 38px; border-radius: 8px; background: #070c18;
    border: 1px solid rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center;
    padding: 4px 8px; overflow: hidden; flex-shrink: 0;
}
.ch-logo-img { max-width: 100%; max-height: 30px; object-fit: contain; display: block; }
.ch-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: nowrap; }
.ch-sub {
    font-size: 0.8rem; color: var(--text-muted); font-weight: 500;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.ch-badges { display: flex; align-items: center; gap: 5px; flex-shrink: 0; flex-wrap: nowrap; }

.tag, .ch-badge {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 5px;
    white-space: nowrap !important; flex-shrink: 0 !important; line-height: 1.1;
    padding: 3px 7px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
}
.tag-ativo, .ch-badge.live  { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.28); }
.tag-teste, .ch-badge.fps   { background: rgba(6, 182, 212, 0.12); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.25); }
.tag-pendente               { background: rgba(245, 158, 11, 0.14); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }
.tag-bloqueado              { background: rgba(239, 68, 68, 0.14); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.ch-badge.codec             { background: rgba(148, 163, 184, 0.1); color: #cbd5e1; border: 1px solid var(--border); }
.ch-badge.bkp               { background: rgba(99, 102, 241, 0.14); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.26); }

/* ================= TRIAL SPLIT SECTION ================= */
.trial-shell {
    background: var(--card); border: 1px solid var(--border); border-radius: 20px;
    display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden;
}
.trial-info {
    padding: 36px 32px;
    background: linear-gradient(160deg, rgba(6, 182, 212, 0.08) 0%, rgba(12, 19, 36, 0.2) 100%);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.trial-info h2 { font-size: 1.65rem; font-weight: 700; letter-spacing: -0.025em; color: #fff; line-height: 1.2; margin-bottom: 10px; }
.trial-info p { color: var(--text-muted); font-size: 0.9rem; }
.trial-checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.trial-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: #cbd5e1; }
.trial-checklist li svg { width: 16px; height: 16px; color: var(--primary-bright); margin-top: 2px; flex-shrink: 0; }
.trial-form-col { padding: 36px 32px; }

/* ================= SHARED ADMIN & CLIENT COMPONENTS ================= */
.subtabs {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px;
    background: #080d1a; border: 1px solid var(--border); padding: 7px; border-radius: 14px;
}
.subtab {
    padding: 8px 14px; border-radius: 9px; font-size: 0.84rem; font-weight: 600; color: var(--text-muted);
    transition: all .15s ease; display: inline-flex; align-items: center; gap: 6px;
}
.subtab:hover { color: #fff; background: rgba(148, 163, 184, 0.08); }
.subtab.active {
    background: rgba(6, 182, 212, 0.16); border: 1px solid rgba(6, 182, 212, 0.4); color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-box, .stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.stat-box strong, .stat-value { display: block; font-size: 1.5rem; font-weight: 800; color: #38bdf8; font-family: var(--font-mono); }
.stat-box span, .stat-label { font-size: 0.82rem; color: var(--text-muted); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 4px; }
.card p { color: var(--text-muted); font-size: 0.88rem; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; color: #cbd5e1; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea, select, input[type="text"], input[type="password"], input[type="email"], input[type="number"] {
    width: 100%; background: #070c18; border: 1px solid var(--border-strong); color: #fff;
    border-radius: 9px; padding: 10px 12px; font-size: 0.88rem; font-family: var(--font-sans);
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.14);
}
input[type="checkbox"] { width: auto; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row input { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 0.8rem; color: #38bdf8; }

.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 0.88rem; }
.alert-success { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.35); color: #6ee7b7; }
.alert-danger, .alert-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); color: #fca5a5; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em; }

.conn-meter-wrap { width: 100%; height: 10px; background: rgba(148,163,184,0.14); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.conn-meter-bar { height: 100%; background: linear-gradient(90deg, #06b6d4, #10b981); transition: width 0.4s ease; }

.ip-chip {
    display: inline-flex; align-items: center; gap: 8px; background: #070c18;
    border: 1px solid rgba(56, 189, 248, 0.28); padding: 5px 10px; border-radius: 7px;
    font-family: var(--font-mono); font-size: 0.8rem; color: #e2e8f0;
}
.pix-box { background: #070c18; border: 1px solid #10b981; border-radius: 14px; padding: 22px; text-align: center; margin-bottom: 22px; }
.pix-qr { background: #fff; padding: 12px; border-radius: 10px; display: inline-block; margin: 12px 0; }
.pix-qr img { width: 200px; height: 200px; display: block; }

.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-top: 20px; }
.status-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.status-ping {
    font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; color: #34d399;
    background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.32);
    padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

.toast {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    background: #0c1324; border: 1px solid var(--primary); color: #fff;
    padding: 11px 16px; border-radius: 10px; font-size: 0.85rem; font-weight: 500;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5); display: none;
}

/* ================= FOOTER ================= */
.footer {
    border-top: 1px solid var(--border); padding: 42px 0 36px;
    background: #04070f; color: var(--text-muted); font-size: 0.84rem;
}
.footer-grid {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .infra-grid { grid-template-columns: repeat(2, 1fr); }
    .slider-box { grid-template-columns: 1fr; gap: 18px; }
    .trial-shell { grid-template-columns: 1fr; }
    .trial-info { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: inline-flex; }
    .metrics-strip { grid-template-columns: repeat(2, 1fr); }
    .metric-item:nth-child(2) { border-right: none; }
    .metric-item:nth-child(1), .metric-item:nth-child(2) { border-bottom: 1px solid var(--border); }
    .infra-grid, .plans-grid { grid-template-columns: 1fr; }
    .hero { padding: 56px 0 40px; }
    .trial-info, .trial-form-col { padding: 24px 20px; }
}


/* ================= v3 — REAL PNG LOGOS, BOOTSTRAP ICONS & SEARCH FIX ================= */
.brand-logo-img {
    display: block;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.22);
}
.auth-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.auth-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: block;
    box-shadow: 0 10px 26px rgba(6, 182, 212, 0.25);
}
.bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: -0.08em;
}
.plan-features li i.bi {
    color: var(--accent);
    font-size: 0.95rem;
    flex-shrink: 0;
}
.trial-checklist li i.bi {
    color: var(--primary-bright);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Fix definitivo para ícone da busca não sobrepor o texto */
.search-wrap {
    position: relative;
    min-width: 260px;
    flex: 0 1 320px;
}
.search-wrap i.bi-search {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--text-subtle);
    pointer-events: none;
    z-index: 2;
}
.search-wrap input {
    padding-left: 40px !important;
    height: 40px;
    font-size: 0.86rem;
}

/* Logos reais dos canais (via logo_proxy.php) e fallback PNG limpo */
.ch-logo-box {
    width: 118px;
    height: 42px;
    border-radius: 8px;
    background: #070c18;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    overflow: hidden;
    flex-shrink: 0;
    gap: 7px;
}
.ch-logo-img {
    max-width: 100%;
    max-height: 32px;
    object-fit: contain;
    display: block;
}
.ch-logo-fallback {
    justify-content: flex-start;
    padding: 4px 9px;
    background: linear-gradient(135deg, #0b1326, #111c36);
}
.ch-fallback-ico {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.ch-fallback-txt {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #e2e8f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.grade-footer-bar {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.ui-icon-sm { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(56,189,248,0.28); }


/* ================= v4.3 — LOGO LIMPO SEM BORDA + MINIATURA AO VIVO ================= */
.ch-logo-box {
    width: auto !important;
    min-width: 56px;
    height: 48px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    overflow: visible !important;
}
.ch-logo-img {
    max-width: 145px !important;
    max-height: 46px !important;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}
.ch-logo-fallback {
    background: transparent !important;
    padding: 0 !important;
}
.live-ch-ico {
    width: 38px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
    vertical-align: middle;
}


/* ================= v4.4 — PROFESSIONAL UI ICON BADGES & IP WHITELIST CONTROLS ================= */
.ui-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.28);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(15, 23, 42, 0.85));
    color: #38bdf8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(6, 182, 212, 0.12);
}
.ui-icon-badge.blue {
    border-color: rgba(59, 130, 246, 0.34);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.85));
    color: #60a5fa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(59, 130, 246, 0.14);
}
.ui-icon-badge.emerald {
    border-color: rgba(16, 185, 129, 0.34);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(15, 23, 42, 0.85));
    color: #34d399;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(16, 185, 129, 0.14);
}
.ui-icon-badge.sm {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 0.88rem;
}

/* Interactive IP Whitelist chips with Edit & Delete buttons */
.ip-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0a1020;
    border: 1px solid rgba(56, 189, 248, 0.28);
    padding: 5px 8px 5px 11px;
    border-radius: 9px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #e2e8f0;
}
.ip-chip-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 2px;
    padding-left: 7px;
    border-left: 1px solid rgba(148, 163, 184, 0.18);
}
.ip-chip-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.78rem;
    transition: all .15s ease;
    padding: 0;
}
.ip-chip-btn.edit:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}
.ip-chip-btn.del:hover {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}
.ip-edit-inline {
    display: none;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: #0a1224;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.ip-edit-inline.open {
    display: flex;
}


/* ================= v6.1 — MODELO 1: SIDEBAR FIXA ENTERPRISE (LINEAR / VERCEL) ================= */
body.admin-shell-body {
    background: #070a12;
    min-height: 100vh;
}
.admin-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}
.admin-sidebar {
    width: 256px;
    flex-shrink: 0;
    background: #060911;
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 80;
    transition: transform 0.22s ease;
}
.admin-sidebar-brand {
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.admin-sidebar-brand-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.admin-sidebar-brand-txt strong {
    font-size: 0.96rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.admin-sidebar-brand-txt span {
    font-size: 0.7rem;
    color: #64748b;
    font-family: var(--font-mono);
}
.admin-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.admin-nav-group-title {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    padding: 0 10px 6px;
}
.admin-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.admin-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    font-size: 0.86rem;
    font-weight: 500;
    color: #94a3b8;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}
.admin-nav-item-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.admin-nav-item i.bi {
    font-size: 0.96rem;
    color: #64748b;
    transition: color 0.15s ease;
}
.admin-nav-item:hover {
    color: #f1f5f9;
    background: rgba(148, 163, 184, 0.06);
}
.admin-nav-item:hover i.bi {
    color: #cbd5e1;
}
.admin-nav-item.active {
    color: #ffffff;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.16), rgba(16, 185, 129, 0.06));
    border-color: rgba(6, 182, 212, 0.3);
}
.admin-nav-item.active i.bi {
    color: #22d3ee;
}
.admin-nav-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.admin-sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #050810;
}
.admin-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.admin-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.admin-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.admin-user-meta strong {
    font-size: 0.82rem;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-user-meta span {
    font-size: 0.7rem;
    color: #34d399;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.admin-user-meta span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.admin-main-col {
    flex: 1;
    margin-left: 256px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 64px;
    padding: 0 28px;
    background: rgba(7, 10, 18, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 440px;
}
.admin-search-box {
    position: relative;
    flex: 1;
}
.admin-search-box i.bi {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.88rem;
    pointer-events: none;
}
.admin-search-box input {
    width: 100%;
    height: 36px;
    padding: 0 12px 0 36px !important;
    background: #0b101d;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 9px;
    font-size: 0.83rem;
    color: #e2e8f0;
}
.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.status-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    white-space: nowrap;
}
.status-live-pill.offline {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.32);
    color: #fcd34d;
}
.status-live-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}
.admin-icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: #0b101d;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.96rem;
    transition: all 0.15s ease;
}
.admin-icon-btn:hover {
    border-color: rgba(56, 189, 248, 0.45);
    color: #fff;
}
.admin-icon-btn .notif-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    border: 1.5px solid #0b101d;
}
.admin-content {
    padding: 26px 28px 72px;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
}
.admin-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.admin-page-head h1 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 4px;
}
.admin-page-head p {
    font-size: 0.86rem;
    color: #94a3b8;
}

/* Enterprise KPI Cards (Modelo 1) */
.kpi-grid-m1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}
.kpi-card-m1 {
    background: #0b1120;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
.kpi-card-m1:hover {
    border-color: rgba(56, 189, 248, 0.32);
    transform: translateY(-1px);
}
.kpi-card-m1.emerald {
    border-color: rgba(16, 185, 129, 0.28);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, #0b1120 60%);
}
.kpi-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.kpi-card-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
}
.kpi-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
}
.kpi-card-m1.emerald .kpi-card-icon {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
    color: #34d399;
}
.kpi-card-value {
    font-family: var(--font-mono);
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    display: flex;
    align-items: center;
    gap: 8px;
}
.kpi-card-m1.emerald .kpi-card-value {
    color: #34d399;
}
.kpi-card-sub {
    font-size: 0.76rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}
.kpi-card-sub.up {
    color: #34d399;
}

/* Compact horizontal Quick Create Row (Modelo 1) */
.quick-create-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.65fr 1.4fr auto;
    gap: 12px;
    align-items: end;
    margin-top: 14px;
}
.admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 75;
}
.admin-mobile-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #0b101d;
    color: #f1f5f9;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
}

@media (max-width: 1180px) {
    .kpi-grid-m1 { grid-template-columns: repeat(2, 1fr); }
    .quick-create-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-sidebar-backdrop.open { display: block; }
    .admin-main-col { margin-left: 0; }
    .admin-mobile-toggle { display: inline-flex; }
    .admin-topbar { padding: 0 16px; }
    .admin-content { padding: 20px 16px 64px; }
}
@media (max-width: 600px) {
    .kpi-grid-m1 { grid-template-columns: 1fr; }
    .quick-create-grid { grid-template-columns: 1fr; }
    .admin-topbar-right .hide-xs { display: none; }
}


/* ================= v6.2 — CLIENT AREA ENTERPRISE POLISH ================= */
.empty-state-card {
    background: linear-gradient(180deg, rgba(12, 19, 36, 0.9) 0%, #090f1d 100%);
    border: 1px dashed rgba(148, 163, 184, 0.24);
    border-radius: 16px;
    padding: 46px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.empty-state-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #22d3ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.empty-state-card h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}
.empty-state-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    max-width: 460px;
    margin: 0 0 8px;
}
.wallet-top-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.wallet-top-pill:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.5);
}


/* ================= v6.3 — AUTH SPLIT-SCREEN ENTERPRISE ================= */
body.auth-body {
    background: #050811;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
.auth-split {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    min-height: 100vh;
    width: 100%;
}
.auth-hero {
    position: relative;
    background:
        radial-gradient(circle at 30% 25%, rgba(6, 182, 212, 0.16), transparent 55%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.12), transparent 55%),
        linear-gradient(160deg, #060b16 0%, #04070f 100%);
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    overflow: hidden;
}
.auth-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}
.auth-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 480px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.auth-hero-logo-wrap {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.auth-hero-logo-img {
    max-width: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 32px rgba(6, 182, 212, 0.28));
}
.auth-hero-tagline {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 28px;
}
.auth-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    text-align: left;
}
.auth-feat-pill {
    background: rgba(11, 17, 32, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    backdrop-filter: blur(8px);
}
.auth-feat-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.28);
    color: #22d3ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.96rem;
    flex-shrink: 0;
}
.auth-feat-ico.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
    color: #34d399;
}
.auth-feat-txt strong {
    display: block;
    font-size: 0.83rem;
    color: #f1f5f9;
    line-height: 1.25;
}
.auth-feat-txt span {
    display: block;
    font-size: 0.73rem;
    color: #94a3b8;
    margin-top: 2px;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 24px;
    background: #050811;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: #0b1120;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 30px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.auth-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.auth-title {
    font-size: 1.38rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.auth-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
}
.auth-input-wrap {
    position: relative;
}
.auth-input-wrap i.field-ico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.94rem;
    pointer-events: none;
}
.auth-input-wrap input {
    padding-left: 38px !important;
    padding-right: 38px !important;
    height: 42px;
}
.auth-pass-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.auth-pass-toggle:hover {
    color: #e2e8f0;
}
.auth-footer-links {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #94a3b8;
    flex-wrap: wrap;
}
.auth-footer-links a {
    color: #38bdf8;
    font-weight: 500;
}
.auth-footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .auth-split { grid-template-columns: 1fr; }
    .auth-hero { display: none; }
    .auth-panel { padding: 24px 16px; }
}


/* ================= v6.7 — MINHAS FONTES COMPACTO (ACCORDION + ABAS INTERNAS) ================= */
.sources-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.sources-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.source-card {
    background: #0b1120;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.source-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
}
.source-card.open {
    border-color: rgba(6, 182, 212, 0.48);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}
.source-summary {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.source-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    flex: 1;
}
.source-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.source-user-code {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 3px 9px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.source-user-code:hover {
    background: rgba(56, 189, 248, 0.18);
}
.source-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #94a3b8;
}
.source-mini-meter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.source-mini-bar-wrap {
    width: 96px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    overflow: hidden;
    display: inline-block;
}
.source-mini-bar-wrap .live-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #06b6d4, #10b981);
    transition: width 0.3s ease;
}
.source-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.source-toggle-btn i.bi-chevron-down {
    transition: transform 0.2s ease;
}
.source-card.open .source-toggle-btn i.bi-chevron-down {
    transform: rotate(180deg);
}
.source-drawer {
    display: none;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: #070b15;
    padding: 16px 18px 18px;
}
.source-card.open .source-drawer {
    display: block;
}
.source-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.source-tab-btn {
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.14);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}
.source-tab-btn:hover {
    color: #f1f5f9;
    border-color: rgba(56, 189, 248, 0.35);
}
.source-tab-btn.active {
    color: #ffffff;
    background: rgba(6, 182, 212, 0.14);
    border-color: rgba(6, 182, 212, 0.42);
}
.source-tab-pane {
    display: none;
}
.source-tab-pane.active {
    display: block;
}


/* ================= v7.0 — SEÇÃO DE INSTALAÇÃO XUI.ONE & XTREAM UI ================= */
.install-section {
    position: relative;
}
.install-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.install-pillar {
    background: #0b1120;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.install-pillar i.bi {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.28);
    color: #22d3ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    flex-shrink: 0;
}
.install-pillar strong {
    display: block;
    font-size: 0.86rem;
    color: #ffffff;
    margin-bottom: 3px;
}
.install-pillar span {
    display: block;
    font-size: 0.77rem;
    color: #94a3b8;
    line-height: 1.4;
}
.install-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.install-card {
    position: relative;
    background: #0b1120;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.install-card:hover {
    border-color: rgba(56, 189, 248, 0.38);
    transform: translateY(-2px);
}
.install-card.featured {
    border-color: rgba(16, 185, 129, 0.55);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, #0b1120 42%);
    box-shadow: 0 18px 44px rgba(6, 182, 212, 0.12);
}
.install-badge {
    position: absolute;
    top: -11px;
    left: 22px;
    padding: 3px 11px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #06b6d4, #10b981);
    color: #041016;
}
.install-plat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.install-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.install-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 6px 0 4px;
}
.install-price-row .cur {
    font-size: 0.92rem;
    color: #94a3b8;
    font-weight: 600;
}
.install-price-row .val {
    font-family: var(--font-mono);
    font-size: 1.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}
.install-card.featured .install-price-row .val {
    color: #34d399;
}
.install-prazo {
    font-size: 0.77rem;
    color: #34d399;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}
.install-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.install-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}
.install-list li {
    font-size: 0.83rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.38;
}
.install-list li i.bi {
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}
.install-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}
@media (max-width: 1024px) {
    .install-pillars { grid-template-columns: repeat(2, 1fr); }
    .install-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .install-pillars { grid-template-columns: 1fr; }
}


/* ================= v8.0 — CAPTCHA ENTERPRISE ================= */
.captcha-box {
    background: #070c18;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 10px;
    padding: 11px 13px;
    margin-bottom: 14px;
}
.captcha-head {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.captcha-head i.bi {
    color: #34d399;
}
.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-challenge {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #38bdf8;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(16, 185, 129, 0.1));
    border: 1px dashed rgba(56, 189, 248, 0.4);
    border-radius: 8px;
    padding: 8px 14px;
    white-space: nowrap;
    user-select: none;
}
.captcha-input {
    flex: 1;
    min-width: 90px;
    height: 38px !important;
    padding: 6px 12px !important;
    font-family: var(--font-mono);
    font-size: 0.95rem !important;
    text-align: center;
}
.captcha-turnstile-wrap {
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
}
