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

:root {
    --bg: #06080f;
    --bg-elevated: #0c1019;
    --surface: #111827;
    --surface-2: #1a2234;
    --surface-3: #232d42;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f4f7fb;
    --muted: #8b97ad;
    --primary: #f97316;
    --primary-2: #fb923c;
    --blue: #3b82f6;
    --blue-soft: rgba(59, 130, 246, 0.14);
    --orange-soft: rgba(249, 115, 22, 0.14);
    --green: #22c55e;
    --red: #ef4444;
    --yellow: #eab308;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.25);
    --gradient-hero: radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.18), transparent 28%),
                     radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.16), transparent 24%),
                     linear-gradient(180deg, #06080f 0%, #0a0f1a 100%);
    --gradient-brand: linear-gradient(135deg, #f97316 0%, #fb923c 45%, #3b82f6 100%);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(760px, 92%); margin: 0 auto; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: rgba(7, 11, 20, 0.88);
    backdrop-filter: blur(16px);
}
.site-header-compact { position: sticky; }
.nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: .2s;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -.02em;
}
.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--gradient-brand);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo span { color: var(--primary); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.nav-links a:not(.btn) {
    color: var(--muted);
    font-weight: 500;
    font-size: .95rem;
    transition: color .2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .78rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--primary);
    color: #111;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.28);
}
.btn-primary:hover { background: #fb923c; box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35); }
.btn-lg { padding: .9rem 1.5rem; font-size: .95rem; }
.btn-outline {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}
.btn-outline:hover { border-color: rgba(249, 115, 22, 0.45); background: rgba(249, 115, 22, 0.06); }
.btn-ghost {
    background: transparent;
    color: var(--muted);
    padding-inline: .9rem;
}
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: .55rem .95rem; font-size: .84rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
    padding: 5rem 0 4.5rem;
    background:
        radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.12), transparent 32%),
        radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.1), transparent 28%);
}
.hero h1 { max-width: none; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: .5rem;
}
.hero-trust > div { min-width: 100px; }
.hero-trust strong {
    display: block;
    font-size: 1.35rem;
    color: var(--text);
    line-height: 1.2;
}
.hero-trust span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    margin-top: .15rem;
}
.page-alert { padding-top: 1rem; }
.sidebar-user { color: var(--muted); font-size: .78rem; }
.sidebar-plan {
    margin-top: 1.2rem;
    padding: .9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.05);
}
.sidebar-plan-label { font-size: .75rem; color: var(--muted); }
.sidebar-plan-meta { font-size: .75rem; color: var(--muted); margin-top: .35rem; }
.footer-logo { margin-bottom: 1rem; }
.app-shell { background: var(--bg); }
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: #93c5fd;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    margin: 0 0 1.2rem;
    max-width: 12ch;
}
.hero h1 .gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 54ch;
    margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: var(--muted);
    font-size: .9rem;
}
.hero-trust strong { color: var(--text); display: block; font-size: 1.1rem; }

.hero-visual {
    position: relative;
}
.shield-card {
    background: linear-gradient(180deg, rgba(17,24,39,.95), rgba(12,16,25,.98));
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 1.4rem;
    box-shadow: var(--shadow);
}
.shield-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.status-pill::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.status-protected { background: rgba(34,197,94,.12); color: #86efac; }
.status-uam { background: rgba(234,179,8,.12); color: #fde047; }
.status-blocked { background: rgba(239,68,68,.12); color: #fca5a5; }

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
}
.metric {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
}
.metric-label { color: var(--muted); font-size: .8rem; margin-bottom: .35rem; }
.metric-value { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.metric-value.blue { color: #93c5fd; }
.metric-value.orange { color: #fdba74; }

.traffic-bars {
    margin-top: 1rem;
    display: grid;
    gap: .55rem;
}
.traffic-row {
    display: grid;
    grid-template-columns: 90px 1fr 50px;
    gap: .7rem;
    align-items: center;
    font-size: .82rem;
    color: var(--muted);
}
.bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    overflow: hidden;
}
.bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3b82f6, #f97316);
}

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}
.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -.03em;
    margin: 0 0 .8rem;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.feature-card, .card {
    background: linear-gradient(180deg, rgba(17,24,39,.88), rgba(12,16,25,.95));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: border-color .2s, transform .2s;
}
.feature-card:hover, .pricing-card:hover {
    border-color: rgba(249, 115, 22, 0.28);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: var(--orange-soft);
    color: #fdba74;
    font-size: 1.2rem;
}
.feature-icon.blue { background: var(--blue-soft); color: #93c5fd; }
.feature-card h3, .card h3 { margin: 0 0 .6rem; font-size: 1.1rem; }
.feature-card p, .card p { margin: 0; color: var(--muted); }

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    counter-reset: step;
}
.step-card {
    position: relative;
    padding: 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.02);
}
.step-card::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gradient-brand);
    color: #081018;
    font-weight: 800;
    margin-bottom: .9rem;
}

/* Pricing */
.pricing-card {
    background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(12,16,25,.98));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.8rem;
    position: relative;
}
.pricing-card.featured {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.12), var(--shadow-soft);
}
.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-brand);
    color: #081018;
    font-size: .72rem;
    font-weight: 800;
    padding: .3rem .55rem;
    border-radius: 999px;
}
.price {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -.04em;
    margin: .4rem 0 .8rem;
}
.price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.features { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; }
.features li {
    padding: .45rem 0;
    color: var(--muted);
    display: flex;
    gap: .55rem;
    align-items: flex-start;
}
.features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
}

/* CTA */
.cta-band {
    margin: 0 auto;
    max-width: 980px;
    padding: 2.2rem;
    border-radius: 24px;
    border: 1px solid rgba(249, 115, 22, 0.22);
    background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(59,130,246,.1));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Auth */
.auth-shell {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.auth-showcase {
    padding: 3rem;
    background: var(--gradient-hero);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-showcase h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -.03em;
    margin: 0 0 1rem;
    max-width: 14ch;
}
.auth-showcase p { color: var(--muted); max-width: 42ch; }
.auth-panel {
    display: grid;
    place-items: center;
    padding: 2rem;
}
.auth-card {
    width: min(420px, 100%);
    background: rgba(17,24,39,.7);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}
.auth-card h1 { margin: 0 0 .35rem; font-size: 1.7rem; }
.auth-sub { color: var(--muted); margin: 0 0 1.5rem; }

label {
    display: block;
    margin-bottom: 1rem;
    font-size: .88rem;
    font-weight: 600;
    color: #c6d0e0;
}
input, select, textarea {
    width: 100%;
    margin-top: .45rem;
    padding: .82rem .95rem;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: rgba(255,255,255,.03);
    color: var(--text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}
textarea { min-height: 120px; resize: vertical; }

/* Alerts */
.alert {
    padding: .9rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: .92rem;
    border: 1px solid transparent;
}
.alert-error { background: rgba(239,68,68,.1); color: #fecaca; border-color: rgba(239,68,68,.2); }
.alert-success { background: rgba(34,197,94,.1); color: #bbf7d0; border-color: rgba(34,197,94,.2); }
.alert-info { background: rgba(59,130,246,.1); color: #bfdbfe; border-color: rgba(59,130,246,.2); }

/* Panel layout */
.panel-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: calc(100vh - var(--header-height));
}
.panel-sidebar {
    border-right: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 1.4rem 1rem;
}
.panel-sidebar .sidebar-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .4rem .6rem 1.2rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .72rem .85rem;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
    font-size: .92rem;
    margin-bottom: .2rem;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(249, 115, 22, 0.08);
    color: var(--text);
}
.sidebar-nav a.active { border: 1px solid rgba(249, 115, 22, 0.18); }
.panel-main { padding: 1.6rem 1.8rem 2.5rem; }
.page-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.page-top h1 { margin: 0; font-size: 1.8rem; letter-spacing: -.03em; }
.page-top p { margin: .35rem 0 0; color: var(--muted); }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-card {
    background: linear-gradient(180deg, rgba(17,24,39,.9), rgba(12,16,25,.95));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
}
.stat-card span { color: var(--muted); font-size: .84rem; }
.stat-card strong {
    display: block;
    margin-top: .35rem;
    font-size: 1.65rem;
    letter-spacing: -.03em;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(17,24,39,.55);
}
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th, .table td {
    padding: .95rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.table th {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: rgba(255,255,255,.02);
}
.table tr:last-child td { border-bottom: none; }
.table td a { color: #93c5fd; font-weight: 600; }

.status {
    display: inline-flex;
    align-items: center;
    padding: .28rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.status-active, .status-paid, .status-accepted { background: rgba(34,197,94,.12); color: #86efac; }
.status-pending, .status-draft, .status-sent { background: rgba(234,179,8,.12); color: #fde047; }
.status-blocked, .status-rejected, .status-failed { background: rgba(239,68,68,.12); color: #fca5a5; }

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}
.toggle-row > div:first-child { flex: 1; min-width: 0; }
.toggle-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
    border: none;
    transition: background .2s;
}
.toggle-row input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    transition: transform .2s;
}
.toggle-row input[type="checkbox"]:checked {
    background: rgba(249, 115, 22, 0.55);
}
.toggle-row input[type="checkbox"]:checked::after {
    transform: translateX(20px);
}
.toggle-row input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(249, 115, 22, 0.5);
    outline-offset: 2px;
}
.toggle {
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    position: relative;
    flex-shrink: 0;
}
.toggle.on { background: rgba(249, 115, 22, 0.55); }
.toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}
.toggle.on::after { transform: translateX(20px); }

/* UAM Challenge */
.uam-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(59,130,246,.12), transparent 30%),
        linear-gradient(180deg, #05070d 0%, #0a0f1a 100%);
}
.uam-card {
    width: min(520px, 100%);
    text-align: center;
    background: rgba(12,16,25,.92);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow);
}
.uam-logo { margin: 0 auto 1.2rem; }
.uam-card h1 { margin: 0 0 .6rem; font-size: 1.55rem; }
.uam-card p { color: var(--muted); margin: 0 0 1.4rem; }
.uam-box {
    min-height: 78px;
    border: 1px dashed var(--border-strong);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--muted);
    margin-bottom: 1rem;
    background: rgba(255,255,255,.02);
}
.uam-domain {
    margin-top: 1.2rem;
    font-size: .85rem;
    color: var(--muted);
}

/* Admin */
.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: #070b12;
    border-right: 1px solid var(--border);
    padding: 1.4rem 1rem;
}
.admin-sidebar h2 {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin: 0 0 1rem;
    padding: 0 .5rem;
}
.admin-sidebar a {
    display: block;
    padding: .7rem .8rem;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: .15rem;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.04); color: var(--text); }
.admin-sidebar a.active { border: 1px solid rgba(249,115,22,.18); background: rgba(249,115,22,.08); }
.admin-content { padding: 1.8rem; }

/* Extended UI */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; color: var(--muted); font-size: .86rem; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span { color: #64748b; }

.tabs { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.tab {
    padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--border);
    color: var(--muted); font-weight: 600; font-size: .86rem; background: transparent;
}
.tab.active, .tab:hover { color: var(--text); border-color: rgba(249,115,22,.35); background: rgba(249,115,22,.08); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }

.code-block {
    background: #070b12; border: 1px solid var(--border); border-radius: 12px;
    padding: 1rem 1.1rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .86rem; color: #cbd5e1; overflow-x: auto;
}
.code-block .copy-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.dns-row { display: grid; grid-template-columns: 80px 1fr 120px; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.dns-row:last-child { border-bottom: none; }

.chart-card { padding: 1.2rem; }
.chart-bars { display: flex; align-items: flex-end; gap: .55rem; height: 160px; margin-top: 1rem; }
.chart-bar { flex: 1; background: rgba(255,255,255,.06); border-radius: 8px 8px 0 0; position: relative; min-height: 12px; }
.chart-bar span { position: absolute; inset: auto 0 0 0; border-radius: inherit; background: linear-gradient(180deg, #60a5fa, #f97316); }
.chart-labels { display: flex; justify-content: space-between; margin-top: .55rem; color: var(--muted); font-size: .75rem; }

.empty-state {
    text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--border-strong);
    border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.02);
}
.empty-state .icon { font-size: 2rem; margin-bottom: .6rem; }

.info-list { display: grid; gap: .75rem; }
.info-item {
    display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem;
    border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02);
}
.info-item strong { font-size: .92rem; }
.info-item span:last-child { color: var(--muted); text-align: right; }

.pill-group { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill {
    padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--border);
    font-size: .8rem; color: var(--muted); background: rgba(255,255,255,.02);
}
.pill.on { border-color: rgba(34,197,94,.35); color: #86efac; background: rgba(34,197,94,.08); }
.pill.warn { border-color: rgba(234,179,8,.35); color: #fde047; background: rgba(234,179,8,.08); }
.pill.bad { border-color: rgba(239,68,68,.35); color: #fca5a5; background: rgba(239,68,68,.08); }

.split-cards { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.notice {
    padding: .9rem 1rem; border-radius: 12px; border: 1px solid rgba(59,130,246,.25);
    background: rgba(59,130,246,.08); color: #bfdbfe; font-size: .92rem;
}
.notice.warn { border-color: rgba(234,179,8,.25); background: rgba(234,179,8,.08); color: #fde68a; }

.progress-line { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress-line span { display: block; height: 100%; background: var(--gradient-brand); border-radius: inherit; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.faq details {
    border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: .7rem;
    background: rgba(255,255,255,.02);
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: .7rem 0 0; }

.status-page-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem; border-bottom: 1px solid var(--border);
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: .45rem; }
.status-dot.ok { background: var(--green); box-shadow: 0 0 12px rgba(34,197,94,.55); }
.status-dot.warn { background: var(--yellow); }
.status-dot.bad { background: var(--red); }

.user-chip {
    display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .6rem;
    border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.02);
}
.avatar {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gradient-brand); color: #081018; font-weight: 800; font-size: .82rem;
}

.rule-card { border: 1px solid var(--border); border-radius: 14px; padding: 1rem; margin-bottom: .75rem; background: rgba(255,255,255,.02); }
.rule-card-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }

.spinner-ring {
    width: 42px; height: 42px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.08); border-top-color: var(--primary);
    animation: spin 1s linear infinite; margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.page-actions { display: flex; gap: .55rem; flex-wrap: wrap; }

@media (max-width: 980px) {
    .form-grid, .split-cards, .contact-grid { grid-template-columns: 1fr; }
}

/* removed duplicate mobile block */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    background: var(--bg-elevated);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-grid h4 { margin: 0 0 .8rem; font-size: .95rem; }
.footer-grid a, .footer-grid p {
    display: block;
    color: var(--muted);
    margin-bottom: .45rem;
    font-size: .92rem;
}
.footer-bottom {
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .88rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Preview banner */
.preview-banner {
    background: linear-gradient(90deg, rgba(249,115,22,.18), rgba(59,130,246,.18));
    border-bottom: 1px solid var(--border);
    padding: .65rem 0;
    text-align: center;
    font-size: .88rem;
    color: #fcd9b6;
}

@media (max-width: 980px) {
    .hero-grid, .grid-3, .grid-2, .stats, .steps, .footer-grid,
    .panel-layout, .admin-layout, .auth-shell { grid-template-columns: 1fr; }
    .auth-showcase { display: none; }
    .panel-sidebar, .admin-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(var(--header-height) - 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--bg-elevated);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: .75rem;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .65rem .5rem; }
    .form-grid, .split-cards, .contact-grid { grid-template-columns: 1fr; }
}

button.pill, .pill-group button.pill {
    cursor: pointer;
    font: inherit;
}
label.toggle-row { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
label.toggle-row input[type="checkbox"] { flex-shrink: 0; }
.page-actions form { display: inline-block; }
