/* Blazbyte.com — design system */
:root {
    --bg:            #070B14;
    --bg-elev:       #0C1220;
    --card:          #0F172A;
    --card-2:        #141E36;
    --surface-hi:    #1B2540;
    --border:        rgba(148, 163, 184, 0.12);
    --border-hi:     rgba(148, 163, 184, 0.24);
    --text:          #E2E8F0;
    --text-muted:    #94A3B8;
    --text-dim:      #64748B;
    --primary:       #00E5FF;
    --primary-2:     #38BDF8;
    --primary-ink:   #031A1F;
    --accent:        #FF6B35;
    --accent-2:      #FF9A35;
    --success:       #22C55E;
    --warning:       #F59E0B;
    --danger:        #EF4444;
    --shadow-sm:     0 1px 2px rgba(0,0,0,0.2);
    --shadow-md:     0 8px 24px rgba(0,229,255,0.08), 0 2px 6px rgba(0,0,0,0.35);
    --shadow-lg:     0 30px 80px rgba(0,0,0,0.55);
    --glow:          0 0 0 1px rgba(0,229,255,0.35), 0 0 40px rgba(0,229,255,0.15);
    --radius-sm:     8px;
    --radius:        14px;
    --radius-lg:     22px;
    --radius-pill:   999px;
    --font-body:     "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display:  "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-mono:     "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: radial-gradient(1200px 800px at 80% -20%, rgba(0,229,255,0.08), transparent 60%),
                radial-gradient(900px 600px at -10% 30%, rgba(255,107,53,0.07), transparent 55%),
                var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #F8FAFC;
    margin: 0;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 3.5vw, 4.6rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--text-muted); margin: 0 0 1rem; }
a  { color: var(--primary-2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1320px; }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 32px;
}
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff;
    letter-spacing: -0.02em;
}
.brand-mark {
    width: 32px; height: 32px;
    background: conic-gradient(from 210deg, var(--primary), var(--accent), var(--primary));
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,229,255,0.4);
    position: relative;
}
.brand-mark::after {
    content: ""; position: absolute; inset: 4px;
    background: var(--bg); border-radius: 7px;
    display: grid; place-items: center;
}
.brand-mark-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; z-index: 1; }

.nav-links { display: flex; gap: 28px; align-items: center; font-weight: 500; font-size: 0.94rem; }
.nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

@media (max-width: 900px) {
    .nav-links { display: none; }
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid transparent;
    font-weight: 600; font-size: 0.92rem; cursor: pointer;
    transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .2s;
    font-family: inherit; gap: 8px; line-height: 1; white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-hi); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--border-hi); }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--primary); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: var(--primary-ink); box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,229,255,0.25); color: var(--primary-ink); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; box-shadow: none; }
.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #24110A; box-shadow: 0 8px 24px rgba(255,107,53,0.2);
}
.btn-accent:hover { transform: translateY(-1px); color: #24110A; }
.btn-danger { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.4); color: #FCA5A5; }
.btn-danger:hover { background: rgba(239,68,68,0.2); }
.btn-block { width: 100%; }

/* Hero */
.hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse 900px 400px at 50% 0%, rgba(0,229,255,0.15), transparent 60%);
    pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: var(--radius-pill);
    background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2);
    color: var(--primary); font-size: 0.85rem; font-weight: 500; margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.hero h1 .grad {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 20px; font-size: 1.15rem; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.hero-stat .v { font-size: 1.6rem; font-family: var(--font-display); font-weight: 600; color: #fff; }
.hero-stat .l { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 0.9;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0,229,255,0.05), rgba(255,107,53,0.03));
    border: 1px solid var(--border);
    overflow: hidden;
}
.hero-server-card {
    position: absolute; padding: 18px 20px; border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(12px);
    border: 1px solid var(--border-hi);
    box-shadow: var(--shadow-md);
    font-size: 0.88rem;
    width: 240px;
}
.hero-server-card .head { display:flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hero-server-card .head strong { font-family: var(--font-display); font-weight: 600; }
.hero-server-card .metric { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 4px 0; color: var(--text-muted); }
.hero-server-card .metric b { color: #fff; font-weight: 500; }
.hero-server-card .bar { height: 4px; background: rgba(255,255,255,0.05); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.hero-server-card .bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 99px; }

.hero-card-1 { top: 8%;  left: 5%;  animation: float 6s ease-in-out infinite; }
.hero-card-2 { top: 35%; right: 5%; animation: float 7s ease-in-out infinite 1s; }
.hero-card-3 { bottom: 8%; left: 15%; animation: float 8s ease-in-out infinite 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 99px; background: var(--success); }
.pulse-dot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 99px;
    border: 2px solid var(--success); opacity: 0.4;
    animation: pulse 1.5s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
}

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { aspect-ratio: 1 / 0.7; }
}

/* Section */
.section { padding: 80px 0; position: relative; }
.section-lead { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-lead h2 { margin-bottom: 14px; }
.section-lead p { font-size: 1.08rem; }
.section-eyebrow { color: var(--primary); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; margin-bottom: 14px; }

/* Cards */
.card {
    background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.card:hover { border-color: var(--border-hi); }
.card.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-header { display:flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-header h3 { font-family: var(--font-display); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,229,255,0.18), rgba(255,107,53,0.12));
    display: grid; place-items: center; margin-bottom: 18px;
    color: var(--primary);
}

/* Plan card */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .plan-grid { grid-template-columns: 1fr; } }

.plan {
    position: relative;
    display: flex; flex-direction: column; gap: 14px;
    background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px 24px 24px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: var(--shadow-md); }
.plan.popular { border-color: rgba(0,229,255,0.35); box-shadow: var(--glow); }
.plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    padding: 5px 14px; border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--primary-ink); font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.plan-head { display:flex; justify-content: space-between; align-items: flex-start; }
.plan-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; }
.plan-tagline { font-size: 0.88rem; color: var(--text-muted); margin-top: 2px; }
.plan-price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; margin-top: 6px; }
.plan-price small { font-family: var(--font-body); font-size: 0.92rem; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.plan-price .cents { font-size: 1.4rem; font-weight: 600; color: var(--text-muted); vertical-align: super; margin-left: 2px; }
.plan-meta { display: grid; gap: 10px; padding: 16px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.plan-meta .row { display:flex; justify-content: space-between; align-items: center; }
.plan-meta .row .l { color: var(--text-muted); }
.plan-meta .row .v { font-weight: 500; color: #fff; }
.plan-cta { margin-top: auto; }

/* Tabs */
.tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.tab-btn {
    padding: 8px 16px; border-radius: var(--radius-pill);
    font-weight: 500; font-size: 0.9rem; color: var(--text-muted);
    background: transparent; border: 0; cursor: pointer; font-family: inherit;
    transition: color .15s, background .15s;
}
.tab-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--primary-ink); }

/* Badge */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-neutral  { background: rgba(148,163,184,0.12); color: var(--text-muted); }
.badge-primary  { background: rgba(0,229,255,0.14); color: var(--primary); border: 1px solid rgba(0,229,255,0.2); }
.badge-accent   { background: rgba(255,107,53,0.14); color: var(--accent); }
.badge-success  { background: rgba(34,197,94,0.14); color: #4ADE80; }
.badge-warn     { background: rgba(245,158,11,0.14); color: #FBBF24; }
.badge-danger   { background: rgba(239,68,68,0.14); color: #FCA5A5; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--border-hi); background: rgba(255,255,255,0.02); margin-bottom: 16px; }
.alert-success { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #BBF7D0; }
.alert-danger  { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #FECACA; }
.alert-info    { background: rgba(0,229,255,0.08); border-color: rgba(0,229,255,0.28); color: #BAE6FD; }
.alert-warn    { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); color: #FDE68A; }

/* Forms */
.field { margin-bottom: 16px; }
.field > label { display:block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.input, .select, textarea.input {
    width: 100%; padding: 12px 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-hi);
    border-radius: 10px;
    color: var(--text); font-family: inherit; font-size: 0.95rem;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.input:focus, .select:focus, textarea.input:focus {
    outline: 0; border-color: var(--primary);
    background: rgba(0,229,255,0.04);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}
.input::placeholder { color: var(--text-dim); }
.checkbox, .radio { display: flex; align-items: flex-start; gap: 10px; width: 100%; cursor: pointer; font-size: 0.94rem; color: var(--text); line-height: 1.5; }
.checkbox input[type="checkbox"], .radio input[type="radio"] { flex: 0 0 auto; accent-color: var(--primary); margin-top: 4px; }
.checkbox-copy { display: block; flex: 1 1 auto; min-width: 0; }
.summary-consent { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.summary-consent h3 { margin-bottom: 12px; }
.checkout-consent-alert { margin: 0 0 12px; font-size: 0.9rem; }
.embedded-payment {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.embedded-payment h3 { margin-bottom: 8px; }
.stripe-element-box {
    margin-top: 12px;
    padding: 14px;
    min-height: 240px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border-hi);
    border-radius: 12px;
}
.stripe-element-box:empty {
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--text-muted);
}
.stripe-element-box:empty::before {
    content: "Fill customer details, accept consent, then click Load card fields.";
    max-width: 260px;
}
.checkout-payment-alert { margin: 12px 0 0; font-size: 0.9rem; }
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

/* Table */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.table th { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.08em; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(255,255,255,0.02); }

/* Dashboard layout */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar {
    background: linear-gradient(180deg, var(--card) 0%, var(--bg) 100%);
    border-right: 1px solid var(--border);
    padding: 24px 14px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .brand { margin-bottom: 32px; padding: 0 10px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
    display:flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 10px; color: var(--text-muted); font-size: 0.93rem; font-weight: 500;
}
.side-nav a:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.side-nav a.active { background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(255,107,53,0.05)); color: var(--primary); border: 1px solid rgba(0,229,255,0.2); }
.side-nav .section-label { padding: 18px 12px 8px; font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }

.main { padding: 28px 36px 60px; min-width: 0; }
.main-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.main-head h1 { font-size: 2rem; }
.main-head p { margin: 4px 0 0; }

@media (max-width: 900px) {
    .app { grid-template-columns: 1fr; }
    .sidebar { position: relative; height: auto; }
}

/* Stat tiles */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
}
.stat .l { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.stat .v { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: #fff; margin-top: 6px; }
.stat .d { font-size: 0.82rem; color: var(--success); margin-top: 4px; }

/* Configurator */
.config-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; }
@media (max-width: 1000px) { .config-grid { grid-template-columns: 1fr; } }

.options { display: grid; gap: 10px; }
.option {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 14px 18px; border-radius: 12px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    cursor: pointer; transition: border-color .15s, background .15s;
}
.option:hover { border-color: var(--border-hi); }
.option.selected { border-color: var(--primary); background: rgba(0,229,255,0.06); }
.option input[type=radio], .option input[type=checkbox] { display: none; }
.option .meta { display: flex; flex-direction: column; }
.option .meta strong { font-weight: 600; }
.option .meta small { color: var(--text-muted); }
.option .price { font-weight: 600; color: #fff; }
.option .price.free { color: var(--success); font-weight: 500; }

.summary {
    position: sticky; top: 90px;
    background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 22px;
}
.summary h3 { margin-bottom: 16px; }
.summary .line { display:flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; }
.summary .line b { font-weight: 500; color: var(--text); }
.summary .line.muted { color: var(--text-muted); }
.summary .line.total {
    padding: 14px 0 0; border-top: 1px solid var(--border); margin-top: 10px;
    font-size: 1.15rem; color: #fff; font-weight: 600;
}
.summary .cycle-note { font-size: 0.8rem; color: var(--text-muted); margin: 6px 0 16px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 0 30px; margin-top: 80px; background: var(--bg-elev); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { font-family: var(--font-display); color: #fff; margin-bottom: 14px; font-size: 0.95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--text-muted); font-size: 0.9rem; }
.footer a:hover { color: var(--primary); }
.footer-legal { padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.83rem; color: var(--text-muted); }

/* Cookie banner */
.cookie {
    position: fixed; bottom: 20px; left: 20px; right: 20px;
    max-width: 680px; margin: 0 auto; z-index: 100;
    padding: 18px 22px;
    background: rgba(15,23,42,0.96); backdrop-filter: blur(16px);
    border: 1px solid var(--border-hi); border-radius: var(--radius);
    display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}
.cookie[hidden], .cookie.is-hidden { display: none !important; }
.cookie p { margin: 0; font-size: 0.88rem; color: var(--text); flex: 1 1 260px; }
.cookie .actions { display: flex; gap: 8px; margin-left: auto; }

/* Magic-link / auth card */
.auth-wrap { min-height: calc(100vh - 100px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 460px; padding: 36px; background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 8px; }
.auth-card .sub { color: var(--text-muted); margin-bottom: 28px; }

/* Legal pages */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-wrap h1 { font-size: 2.4rem; margin-bottom: 8px; }
.legal-wrap h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal-wrap h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal-wrap p, .legal-wrap li { color: var(--text); line-height: 1.75; }
.legal-wrap ul, .legal-wrap ol { padding-left: 24px; margin: 0 0 16px; }
.legal-wrap .meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi { padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.testi p { color: var(--text); margin-bottom: 16px; }
.testi .author { display: flex; align-items: center; gap: 12px; }
.testi .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: grid; place-items: center; color: var(--primary-ink); font-weight: 700; font-family: var(--font-display); }
.testi .who strong { display:block; color: #fff; font-weight: 600; }
.testi .who small { color: var(--text-muted); }

/* FAQ */
.faq { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 500; color: #fff; font-size: 1rem; }
.faq-q::after { content: "+"; color: var(--primary); font-size: 1.4rem; transition: transform .2s; }
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-a { padding: 0 24px 20px; color: var(--text-muted); }

/* CTA Banner */
.cta-banner {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(255,107,53,0.08));
    border: 1px solid rgba(0,229,255,0.25);
    border-radius: var(--radius-lg);
    padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta-banner h2 { max-width: 560px; }
.cta-banner::before {
    content: ""; position: absolute; inset: -40%; background: radial-gradient(circle, rgba(0,229,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Utility */
.muted { color: var(--text-muted); }
.strong { color: #fff; font-weight: 600; }
.center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.wrap { flex-wrap: wrap; }
.hidden { display: none; }
.grid-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-cols-2, .grid-cols-3 { grid-template-columns: 1fr; } }

/* Mobile nav toggle */
.nav-burger { display: none; padding: 8px; background: none; border: 0; color: var(--text); cursor: pointer; }
@media (max-width: 900px) { .nav-burger { display: inline-flex; } }

.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Status dot */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; margin-right: 6px; }
.status-active      { background: var(--success); box-shadow: 0 0 8px var(--success); }
.status-provisioning{ background: var(--warning); }
.status-suspended   { background: var(--danger); }
.status-terminated  { background: var(--text-dim); }
