/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --bg: #07090f;
  --bg2: #0b0f1a;
  --bg3: #0f1525;
  --card: rgba(255,255,255,0.042);
  --card-solid: #101624;
  --card-border: rgba(255,255,255,0.07);
  --text: #ffffff;
  --muted: #8b9cc8;
  --muted2: #c7d2fe;
  --accent: #00E0FF;
  --accent2: #7aa2ff;
  --g1: #3B3B98;
  --g2: #2563EB;
  --grad: linear-gradient(135deg, #3B3B98, #2563EB);
  --grad-wide: linear-gradient(135deg, #7C3AED 0%, #3B3B98 45%, #2563EB 75%, #00E0FF 100%);
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --max: 1220px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: 0; cursor: pointer; font: inherit; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(0,224,255,0.22);
  background: rgba(0,224,255,0.07);
  color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.section-title { font-size: clamp(30px, 4vw, 52px); line-height: 1.04; margin: 14px 0 16px; letter-spacing: -0.04em; font-weight: 900; }
.section-subtitle { font-size: 18px; line-height: 1.72; color: var(--muted); max-width: 680px; margin: 0; }
.gradient-text { background: var(--grad-wide); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--r); font-weight: 700; font-size: 14px;
  transition: all .22s ease; white-space: nowrap; cursor: pointer;
  font-family: "Manrope", sans-serif;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px rgba(37,99,235,0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37,99,235,0.5); }
.btn-secondary {
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--card-border); }
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.btn-lg { padding: 16px 32px; font-size: 15px; border-radius: 18px; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 11px; }

/* ── HEADER / NAV ──────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(20px);
  background: rgba(7,9,15,0.86);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  min-height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 15px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 10px 28px rgba(37,99,235,0.42);
  position: relative; overflow: hidden; flex-shrink: 0;
}
.brand-mark::before { content: ""; position: absolute; inset: 1px; border-radius: 12px; background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02)); }
.brand-mark span { position: relative; z-index: 1; font-size: 15px; font-weight: 900; }
.brand-copy small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: 11px;
  color: var(--muted); font-weight: 600; font-size: 14px; transition: all .15s;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,0.07); color: #fff; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.demo-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 8px;
  background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25);
  color: #fbbf24; font-size: 11px; font-weight: 700;
}
.demo-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: #fbbf24; animation: pulse 2s infinite; }

/* Mobile nav */
.mobile-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,0.06); color: #fff; }
.mobile-nav { display: none; padding: 0 20px 16px; }
.mobile-nav.open { display: grid; gap: 6px; }
.mobile-nav a { padding: 12px 16px; border-radius: 11px; background: rgba(255,255,255,0.04); color: var(--muted); font-weight: 600; display: block; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 90px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(37,99,235,0.14), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,224,255,0.07), transparent),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(59,59,152,0.1), transparent);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.12fr;
  gap: 56px; align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero-title { font-size: clamp(40px, 5.5vw, 72px); line-height: .94; margin: 0 0 22px; letter-spacing: -0.055em; font-weight: 900; }
.hero-sub { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 500px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.trust-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(34,197,94,0.15); display: flex; align-items: center; justify-content: center; font-size: 10px; color: #4ade80; flex-shrink: 0; }

/* ── DASHBOARD MOCK ────────────────────────────────────────── */
.mock-outer {
  position: relative;
}
.mock-outer::before {
  content: ""; position: absolute; inset: -40px;
  background: radial-gradient(ellipse at 50% 30%, rgba(37,99,235,0.2), transparent 65%);
  pointer-events: none; z-index: 0;
}
.mock-window {
  position: relative; z-index: 1;
  background: linear-gradient(160deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
}
.window-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}
.window-dot { width: 9px; height: 9px; border-radius: 50%; }
.window-title { font-size: 11px; font-weight: 700; color: var(--muted); margin-left: 6px; }

/* Mock app grid */
.mock-app { display: grid; grid-template-columns: 140px 1fr; min-height: 430px; }
.mock-sb { background: rgba(0,0,0,0.25); border-right: 1px solid rgba(255,255,255,0.06); padding: 12px 0; }
.mock-sb-item { padding: 8px 12px; font-size: 11px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; border-right: 2px solid transparent; margin: 1px 0; }
.mock-sb-item.a { background: rgba(37,99,235,0.15); color: #fff; border-right-color: var(--g2); }
.mock-sb-icon { font-size: 12px; width: 16px; text-align: center; flex-shrink: 0; }
.mock-main { display: flex; flex-direction: column; overflow: hidden; }
.mock-topbar { background: rgba(0,0,0,0.2); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.mock-topbar-title { font-size: 11.5px; font-weight: 900; }
.mock-topbar-date { font-size: 8.5px; color: var(--muted); }
.mock-topbar-btn { background: var(--grad); border-radius: 7px; padding: 4px 10px; font-size: 9px; font-weight: 800; color: #fff; }
.mock-content { padding: 10px 11px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }

/* Focus strip */
.mock-focus { background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2); border-radius: 7px; padding: 6px 9px; }
.mock-focus-lbl { font-size: 7.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--accent); margin-bottom: 4px; }
.mock-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.mch { padding: 2px 6px; border-radius: 8px; font-size: 7.5px; font-weight: 700; }
.mch-r { background: rgba(239,68,68,.15); color: #fca5a5; }
.mch-a { background: rgba(245,158,11,.12); color: #fcd34d; }
.mch-b { background: rgba(0,224,255,.1); color: #7de9ff; }
.mch-g { background: rgba(34,197,94,.1); color: #86efac; }

/* KPI rows */
.mock-krow-lbl { font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: rgba(255,255,255,.25); }
.mock-krow { display: grid; grid-template-columns: repeat(6,1fr); gap: 4px; }
.mkc { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 5px; padding: 5px 6px; position: relative; overflow: hidden; min-width: 0; }
.mkc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; }
.mkc-p::before { background: #a78bfa; } .mkc-r::before { background: var(--danger); }
.mkc-c::before { background: var(--accent); } .mkc-g::before { background: var(--success); }
.mkc-a::before { background: var(--warning); } .mkc-b::before { background: #60a5fa; }
.mkc-n { font-size: 13px; font-weight: 900; line-height: 1; margin-bottom: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkc-p .mkc-n { color: #a78bfa; } .mkc-r .mkc-n { color: #fca5a5; }
.mkc-c .mkc-n { color: #7de9ff; } .mkc-g .mkc-n { color: #86efac; }
.mkc-a .mkc-n { color: #fcd34d; } .mkc-b .mkc-n { color: #93c5fd; }
.mkc-l { font-size: 6.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkc-s { font-size: 6.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Mock job rows */
.mjr { display: grid; grid-template-columns: 2px 1fr auto auto; gap: 5px; align-items: center; padding: 5px 7px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 5px; }
.mjr-flag { width: 2px; height: 26px; border-radius: 2px; flex-shrink: 0; }
.mjr-name { font-size: 9.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mjr-sub { font-size: 7.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mjr-badge { padding: 1px 5px; border-radius: 7px; font-size: 7px; font-weight: 700; }
.mb-r { background: rgba(239,68,68,.15); color: #fca5a5; }
.mb-a { background: rgba(245,158,11,.12); color: #fcd34d; }
.mb-b { background: rgba(0,224,255,.08); color: #7de9ff; }
.mjr-rev { font-size: 10px; font-weight: 900; color: #86efac; white-space: nowrap; }

/* ── CARDS ─────────────────────────────────────────────────── */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--card-border);
  border-radius: var(--r); padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  transition: all .22s ease;
}
.card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.card-p0 { padding: 0; overflow: hidden; }

/* Feature card */
.feature-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; font-size: 22px; background: linear-gradient(135deg, rgba(59,59,152,0.45), rgba(37,99,235,0.35)); border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.card p { color: var(--muted); line-height: 1.7; margin: 0; font-size: 15px; }
.card small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }

/* ── KPI CARDS ─────────────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.kpi-card {
  position: relative; overflow: hidden;
  padding: 26px; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--card-border);
}
.kpi-card::after { content: ""; position: absolute; inset: auto -10% -35% auto; width: 160px; height: 160px; background: radial-gradient(circle, rgba(0,224,255,0.14), transparent 60%); pointer-events: none; }
.kpi-card strong { display: block; font-size: 36px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.kpi-card small { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kpi-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 8px 0 0; }
.kpi-trend { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; color: var(--accent); background: rgba(0,224,255,0.1); }

/* ── METRICS STRIP ─────────────────────────────────────────── */
.metric-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.06); border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.metric-item { padding: 28px 24px; background: var(--bg2); text-align: center; }
.metric-item strong { display: block; font-size: 32px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 4px; }
.metric-item small { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ── SHOWCASE PANELS ───────────────────────────────────────── */
.showcase-frame {
  background: var(--bg3); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); overflow: hidden; position: relative;
  padding: 20px;
}
.showcase-frame .sf-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 10px; }
.showcase-panel { padding: 12px; border-radius: 11px; background: rgba(255,255,255,0.04); }
.showcase-panel.lg { min-height: 120px; }
.sf-line { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); margin-bottom: 8px; }
.sf-line.s { width: 55%; }
.sf-line.m { width: 78%; }
.sf-line.accent { background: linear-gradient(90deg, rgba(0,224,255,.9), rgba(37,99,235,.6)); }
.sf-bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-top: 12px; }
.sf-bar-chart div { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, rgba(0,224,255,.8), rgba(37,99,235,.5)); }
.sf-bar-chart div:nth-child(1) { height: 48%; }
.sf-bar-chart div:nth-child(2) { height: 65%; }
.sf-bar-chart div:nth-child(3) { height: 56%; }
.sf-bar-chart div:nth-child(4) { height: 84%; }
.sf-bar-chart div:nth-child(5) { height: 73%; }
.sf-bar-chart div:nth-child(6) { height: 92%; }

/* ── JOB TABLE (showcase) ──────────────────────────────────── */
.job-table-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.07); }
.job-table { width: 100%; border-collapse: collapse; }
.job-table th { padding: 13px 16px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); }
.job-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.job-table tr:last-child td { border-bottom: 0; }
.job-table tbody tr { transition: background .1s; }
.job-table tbody tr:hover td { background: rgba(255,255,255,.03); }
.jt-name { font-weight: 800; }
.jt-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Pill styles */
.pill { padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; display: inline-block; }
.pill-success { background: rgba(34,197,94,.14); color: #86efac; }
.pill-warning { background: rgba(245,158,11,.14); color: #fcd34d; }
.pill-danger  { background: rgba(239,68,68,.14); color: #fca5a5; }
.pill-info    { background: rgba(0,224,255,.12); color: #7de9ff; }
.pill-purple  { background: rgba(124,58,237,.15); color: #c4b5fd; }

.date-chip { padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.dc-r { background: rgba(239,68,68,.1); color: #fca5a5; border: 1px solid rgba(239,68,68,.2); }
.dc-a { background: rgba(245,158,11,.1); color: #fcd34d; border: 1px solid rgba(245,158,11,.2); }
.dc-g { background: rgba(34,197,94,.08); color: #86efac; border: 1px solid rgba(34,197,94,.15); }
.dc-b { background: rgba(0,224,255,.08); color: #7de9ff; border: 1px solid rgba(0,224,255,.15); }

/* ── REPLACE LIST ──────────────────────────────────────────── */
.replace-list { display: grid; gap: 10px; margin-top: 20px; }
.replace-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.ri-x    { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(239,68,68,.16); color: #fca5a5; flex-shrink: 0; }
.ri-tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(34,197,94,.16); color: #86efac; flex-shrink: 0; }

/* ── PRICING ───────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.price-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px;
  padding: 32px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
}
.price-card.popular { border-color: rgba(0,224,255,0.22); box-shadow: 0 24px 60px rgba(37,99,235,0.25), 0 0 0 1px rgba(0,224,255,0.1); }
.price-card::after { content: ""; position: absolute; inset: auto -20% -40% auto; width: 200px; height: 200px; background: radial-gradient(circle, rgba(0,224,255,0.12), transparent 60%); pointer-events: none; }
.price-badge { display: inline-flex; align-self: flex-start; border-radius: 999px; padding: 6px 12px; background: rgba(0,224,255,0.1); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.price-name { font-size: 13px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.price-amount { font-size: 50px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.price-amount span { font-size: 16px; color: var(--muted); font-weight: 600; }
.price-desc { color: var(--muted); line-height: 1.65; font-size: 15px; margin: 0; }
.price-features { display: grid; gap: 10px; }
.price-features div { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.price-features div::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: rgba(34,197,94,.16); color: #86efac; font-size: 10px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }

/* ── CTA BOX ───────────────────────────────────────────────── */
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(59,59,152,0.28), rgba(37,99,235,0.18));
  border: 1px solid rgba(37,99,235,0.25);
  position: relative; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,224,255,0.1), transparent 60%); pointer-events: none; }
.cta-box h3 { font-size: clamp(22px,3vw,32px); font-weight: 900; margin: 0 0 12px; letter-spacing: -.03em; }
.cta-box p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 16px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── DEMO SHELL ────────────────────────────────────────────── */
.demo-shell {
  display: grid; grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
}
.demo-sidebar {
  background: rgba(7,9,15,0.95); border-right: 1px solid rgba(255,255,255,0.07);
  padding: 24px 16px; display: flex; flex-direction: column;
}
.demo-sidebar-top { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
.demo-nav { display: grid; gap: 4px; flex: 1; }
.demo-nav-section { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.2); padding: 10px 12px 4px; }
.demo-nav button {
  text-align: left; padding: 11px 14px; border-radius: 12px;
  color: var(--muted); background: transparent; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 10px; transition: all .15s;
}
.demo-nav button:hover { background: rgba(255,255,255,0.05); color: #fff; }
.demo-nav button.active { background: linear-gradient(135deg,rgba(59,59,152,0.38),rgba(37,99,235,0.28)); color: #fff; }
.demo-nav-icon { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.demo-nav-badge { margin-left: auto; background: rgba(239,68,68,.8); color: #fff; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 8px; }
.demo-nav-badge-g { background: rgba(34,197,94,.25); color: #86efac; }
.demo-main { padding: 28px; overflow-y: auto; background: var(--bg2); }
.demo-topbar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; gap: 20px; }
.demo-topbar h1 { margin: 0 0 4px; font-size: clamp(24px,3vw,34px); font-weight: 900; letter-spacing: -.04em; }
.demo-topbar p { margin: 0; color: var(--muted); font-size: 14px; }
.demo-view { display: none; }
.demo-view.active { display: block; }
.demo-kpi-row { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-bottom: 20px; }
.demo-kpi { padding: 18px; border-radius: var(--r); background: linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.07); position: relative; overflow: hidden; }
.demo-kpi::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.dkp::before { background: #a78bfa; } .dkr::before { background: var(--danger); }
.dkc::before { background: var(--accent); } .dkg::before { background: var(--success); }
.dka::before { background: var(--warning); } .dkb::before { background: #60a5fa; }
.demo-kpi strong { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 2px; }
.dkp strong { color: #a78bfa; } .dkr strong { color: #fca5a5; }
.dkc strong { color: #7de9ff; } .dkg strong { color: #86efac; }
.dka strong { color: #fcd34d; } .dkb strong { color: #93c5fd; }
.demo-kpi small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.demo-kpi p { font-size: 11px; color: var(--muted); margin: 4px 0 0; }
.demo-2col { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; }
.demo-card { background: linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r); overflow: hidden; }
.demo-card-head { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; }
.demo-card-head h4 { margin: 0; font-size: 13px; font-weight: 800; }
.demo-card-body { padding: 16px 18px; }
.demo-list-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); gap: 12px; }
.demo-list-item:last-child { border-bottom: 0; }
.act { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.act:last-child { border-bottom: 0; }
.act-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.act-text { font-size: 12px; line-height: 1.45; }
.act-text strong { color: #fff; font-weight: 700; }
.act-time { font-size: 10px; color: var(--muted); margin-top: 2px; }
.sbar { margin-bottom: 12px; }
.sbar-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 5px; }
.sbar-top span:last-child { font-weight: 800; }
.sbar-track { height: 5px; background: rgba(255,255,255,.06); border-radius: 3px; }
.sbar-fill { height: 100%; border-radius: 3px; }
.demo-restricted { padding: 40px; text-align: center; background: rgba(245,158,11,.05); border: 1px solid rgba(245,158,11,.2); border-radius: var(--r); }
.demo-restricted h3 { color: #fcd34d; font-size: 18px; margin: 12px 0 8px; }

/* Form pages */
.form-shell { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 60px 20px; }
.form-card { width: min(100%, 500px); }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.05); color: #fff;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 14px 16px; font: inherit; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(0,224,255,0.32); box-shadow: 0 0 0 3px rgba(0,224,255,0.08); }
.field input::placeholder { color: rgba(255,255,255,.25); }
.field select option { background: #111; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success { display: none; padding: 14px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); border-radius: 11px; color: #86efac; font-size: 14px; font-weight: 600; text-align: center; margin-top: 10px; }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer { padding: 48px 0 100px; color: var(--muted); border-top: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand-name { font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.footer-brand-name span { color: var(--accent); }
.footer-brand-sub { font-size: 11px; color: var(--muted); margin-bottom: 14px; }
.footer-brand-body { font-size: 13px; line-height: 1.7; max-width: 300px; }
.footer-col-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-link { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; transition: color .15s; }
.footer-link:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 8px; }

/* Sticky mobile CTA */
.sticky-mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: none; padding: 12px; border-radius: 18px; background: rgba(7,9,15,0.94); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.sticky-mobile-cta .btn { width: 100%; justify-content: center; }

/* Fade-in animation */
/* reveal: visible by default — JS animation is progressive enhancement only */
.reveal { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }
.reveal.anim { opacity: 0; transform: translateY(22px); }
.reveal.anim.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock-outer { max-width: 620px; margin: 0 auto; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .demo-kpi-row { grid-template-columns: repeat(3,1fr); }
  .demo-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-sidebar { display: none; }
}
@media (max-width: 840px) {
  .header-actions { display: none; }
  .nav { display: none; }
  .mobile-toggle { display: flex; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { flex: 1; justify-content: center; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .demo-kpi-row { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-mobile-cta { display: block; }
  footer { padding-bottom: 120px; }
}
@media (max-width: 540px) {
  .hero-actions .btn { width: 100%; }
  .kpi-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .mock-app { grid-template-columns: 1fr; }
  .mock-sb { display: none; }
}
