/* SKX HUB Portal — graphite operator console with lime accent. */
:root {
  --bg: #070b0f;
  --bg-2: #0a1117;
  --panel: #0d151c;
  --panel-2: #111b23;
  --line: #1d2c36;
  --line-2: #2a3d4a;
  --text: #eaf2f9;
  --muted: #8aa0b2;
  --muted-2: #6e8292;
  --accent: #c7f36b;
  --accent-2: #a9d84f;
  --accent-ink: #0a1006;
  --cyan: #67d8ff;
  --violet: #b18cff;
  --amber: #ffc46b;
  --rose: #ff8fa3;
  --blue: #78bfff;
  --danger: #ff7f95;
  --ok: #6ee7a8;
  --radius: 18px;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 84% -12%, rgba(199, 243, 107, .09), transparent 62%),
    radial-gradient(760px 460px at -8% 28%, rgba(103, 216, 255, .06), transparent 60%),
    var(--bg);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.08; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark svg, .demo-brand svg { fill: currentColor; stroke: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; transition: top .15s ease;
}
.skip-link:focus { top: 16px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
.center { text-align: center; margin-inline: auto; }
.inline-form { display: inline-flex; margin: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(199, 243, 107, .05);
}
.tag.muted { color: var(--muted); background: transparent; }
.pill {
  display: inline-flex; align-items: center; padding: 2px 8px;
  border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; background: var(--line); color: var(--muted);
}
.pill.admin { background: rgba(199, 243, 107, .14); color: var(--accent); }
.pill.online { background: rgba(110, 231, 168, .13); color: var(--ok); }
.badge {
  display: inline-flex; align-items: center; padding: 3px 8px;
  border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: var(--line); color: var(--muted);
}
.badge.ok { background: rgba(110, 231, 168, .13); color: var(--ok); }
.badge.danger { background: rgba(255, 127, 149, .13); color: var(--danger); }
.badge.muted { background: var(--line); color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 11, 15, .82);
  border-bottom: 1px solid rgba(29, 44, 54, .7);
  backdrop-filter: blur(18px);
}
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.brand b { font-weight: 800; color: var(--accent); }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: linear-gradient(145deg, rgba(199, 243, 107, .16), rgba(199, 243, 107, .03));
  color: var(--accent);
}
.brand-mark svg { width: 22px; height: 22px; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: 10px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-login { color: var(--muted); font-size: 14px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; place-items: center;
  margin-left: auto; border: 1px solid var(--line); border-radius: 11px;
  background: var(--panel); color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 16px; border: 1px solid transparent;
  border-radius: 12px; font-weight: 700; font-size: 14px; line-height: 1;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #d6ff7f; color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-quiet { color: var(--muted); padding-inline: 8px; }
.btn-quiet:hover { color: var(--text); }
.btn-danger { background: var(--danger); color: #18070b; }
.btn-danger:hover { background: #ff9daf; color: #18070b; }
.btn-sm { min-height: 36px; padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn-xs { min-height: 28px; padding: 5px 9px; font-size: 11px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Flash */
.flash-wrap { position: relative; z-index: 20; }
.flash {
  display: flex; align-items: center; gap: 10px; margin: 14px 0;
  padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
  font-size: 14px;
}
.flash svg { flex: 0 0 auto; }
.flash-ok { color: var(--ok); background: rgba(110, 231, 168, .07); border-color: rgba(110, 231, 168, .28); }
.flash-error { color: var(--danger); background: rgba(255, 127, 149, .07); border-color: rgba(255, 127, 149, .28); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  color: var(--accent); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(110, 231, 168, .45); animation: live 2.2s infinite; }
.hero h1 { font-size: clamp(2.8rem, 5.5vw, 4.9rem); font-weight: 800; letter-spacing: -.055em; max-width: 12ch; }
.hero h1 span { color: var(--accent); }
.lead { max-width: 58ch; margin-top: 20px; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-chips span {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 12px; background: rgba(255, 255, 255, .015);
}
.hero-chips svg { width: 14px; height: 14px; color: var(--accent); }
.hero-visual { position: relative; }
.hero-glow {
  position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 55% 45%, rgba(199, 243, 107, .18), transparent 58%);
  filter: blur(24px);
}
.dashboard-demo {
  display: grid; grid-template-columns: 58px 1fr; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel);
  box-shadow: var(--shadow); transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg);
}
.demo-sidebar { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; background: #090f14; border-right: 1px solid var(--line); }
.demo-brand { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 9px; color: var(--accent); background: rgba(199, 243, 107, .08); }
.demo-brand .brand-mark { width: 32px; height: 32px; border: 0; background: transparent; }
.demo-brand svg { width: 20px; height: 20px; }
.demo-nav { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--muted-2); }
.demo-nav svg { width: 16px; height: 16px; }
.demo-nav.active { color: var(--accent); background: rgba(199, 243, 107, .12); }
.demo-main { padding: 16px; }
.demo-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.demo-top b { display: block; font-size: 15px; }
.demo-kicker { display: block; color: var(--muted-2); font-size: 9px; letter-spacing: .13em; }
.demo-status { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.demo-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.demo-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi { padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .015); }
.kpi span { display: block; color: var(--muted-2); font-size: 10px; }
.kpi b { display: block; margin-top: 3px; font-size: 17px; letter-spacing: -.03em; }
.kpi small { color: var(--ok); font-size: 10px; }
.demo-chart { margin-top: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .01); }
.chart-head { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.chart-head b { color: var(--ok); }
.chart-svg { width: 100%; height: auto; }
.chart-grid line { stroke: var(--line); stroke-width: 1; }
.chart-line { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 760; stroke-dashoffset: 760; animation: draw 1.7s .2s ease forwards; }
.chart-point { fill: var(--accent); stroke: var(--bg); stroke-width: 3; }
.chart-area { stroke: none; }
.demo-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 10px; }
.demo-services span { display: inline-flex; align-items: center; gap: 5px; }
.demo-services i { width: 6px; height: 6px; border-radius: 50%; }
.demo-services i.ok { background: var(--ok); }
.demo-services b { color: var(--text); font-weight: 600; }
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: 54px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.trust-strip b { color: var(--accent); font-size: 16px; }

/* Sections */
section[id] { scroll-margin-top: 92px; }
.section { padding: 92px 0; }
.section-alt { background: rgba(255, 255, 255, .014); border-block: 1px solid rgba(29, 44, 54, .55); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; }
.section h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; }
.section-lead { max-width: 68ch; margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; }
.feature-icon svg { width: 21px; height: 21px; }
.feature-icon.lime { color: var(--accent); background: rgba(199, 243, 107, .1); }
.feature-icon.cyan { color: var(--cyan); background: rgba(103, 216, 255, .1); }
.feature-icon.violet { color: var(--violet); background: rgba(177, 140, 255, .1); }
.feature-icon.amber { color: var(--amber); background: rgba(255, 196, 107, .1); }
.feature-icon.rose { color: var(--rose); background: rgba(255, 143, 163, .1); }
.feature-icon.blue { color: var(--blue); background: rgba(120, 191, 255, .1); }
.feature-card h3 { font-size: 18px; }
.feature-card p { color: var(--muted); font-size: 14px; }
.feature-tag { margin-top: auto; padding-top: 12px; color: var(--muted-2); font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.ticks { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 3px; color: var(--accent); }
.ticks.compact { font-size: 13px; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.portfolio-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); display: flex; flex-direction: column;
}
.portfolio-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.portfolio-screen { min-height: 230px; padding: 14px; background: #090f14; border-bottom: 1px solid var(--line); }
.portfolio-wide .portfolio-screen { border-right: 1px solid var(--line); border-bottom: 0; min-height: 330px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.screen-top span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; }
.screen-top i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.screen-body { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-top: 14px; }
.screen-side { display: flex; flex-direction: column; gap: 7px; }
.screen-side span { display: block; height: 22px; border-radius: 6px; background: var(--line); }
.screen-side span.active { background: rgba(199, 243, 107, .2); }
.screen-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.screen-kpis span { display: flex; flex-direction: column; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.screen-kpis b { color: var(--text); font-size: 13px; letter-spacing: -.02em; }
.screen-chart { width: 100%; margin-top: 12px; }
.screen-rows { display: grid; gap: 6px; margin-top: 10px; }
.screen-rows span { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.screen-rows span:nth-child(2) { width: 76%; }
.screen-rows span:nth-child(3) { width: 88%; }
.screen-table { margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; font-size: 9px; }
.screen-table-head, .screen-table-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.screen-table-head { color: var(--muted-2); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .02); }
.screen-table-row:last-child { border-bottom: 0; }
.screen-table-row span:last-child { color: var(--text); }
.screen-services { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; color: var(--muted); font-size: 8px; }
.screen-services span { display: inline-flex; align-items: center; gap: 4px; }
.screen-services i { width: 5px; height: 5px; border-radius: 50%; }
.screen-services i.ok { background: var(--ok); }
.screen-funpay { display: flex; flex-direction: column; gap: 7px; }
.lot-row { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 10px; }
.lot-row b { margin-left: auto; color: var(--text); font-size: 11px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.dot.lime { background: var(--accent); }
.dot.cyan { background: var(--cyan); }
.dot.amber { background: var(--amber); }
.chat-line { display: flex; align-items: flex-start; gap: 6px; margin-top: 3px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .025); color: var(--muted); font-size: 9px; }
.chat-line.right { margin-left: 18px; background: rgba(199, 243, 107, .07); color: var(--text); }
.avatar-mini { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 6px; background: var(--line); color: var(--text); font-size: 8px; font-weight: 700; }
.avatar-mini.lime { background: var(--accent); color: var(--accent-ink); }
.progress { display: block; width: 100%; height: 7px; overflow: hidden; border: 0; border-radius: 999px; background: var(--line); }
.progress::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
.progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.progress span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.w-100 { width: 100%; }
.w-35 { width: 35%; }
.w-30 { width: 30%; }
.portfolio-info { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.portfolio-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.portfolio-info h3 { font-size: 23px; }
.portfolio-info p { color: var(--muted); font-size: 14px; }
.portfolio-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 20px 24px; border: 1px solid rgba(199, 243, 107, .25); border-radius: 16px; background: linear-gradient(110deg, rgba(199, 243, 107, .08), rgba(103, 216, 255, .03)); }
.portfolio-cta b { display: block; font-size: 18px; }
.portfolio-cta span { color: var(--muted); font-size: 13px; }
.portfolio-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 8px; color: var(--accent); font-size: 13px; font-weight: 700; }
.text-link svg { width: 15px; height: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 26px; border-left: 1px solid var(--line-2); }
.step-num { color: var(--accent); font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: .12em; }
.step h3 { margin-top: 16px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* Security */
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.security-list { display: grid; gap: 14px; }
.security-item { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .015); }
.security-item h3 { font-size: 16px; }
.security-item p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.security-note { display: flex; gap: 10px; margin-top: 22px; padding: 14px; border: 1px solid rgba(199, 243, 107, .2); border-radius: 12px; color: var(--muted); background: rgba(199, 243, 107, .04); font-size: 13px; }
.security-note svg { flex: 0 0 auto; color: var(--accent); }

/* Pricing */
.pricing-page { padding-top: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .006));
}
.plan-featured { border-color: rgba(199, 243, 107, .55); background: linear-gradient(180deg, rgba(199, 243, 107, .08), rgba(255, 255, 255, .01)); box-shadow: 0 18px 50px rgba(199, 243, 107, .06); }
.plan-badge { position: absolute; top: -11px; left: 20px; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan-head h3 { font-size: 20px; }
.plan-head p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 30px; letter-spacing: -.04em; }
.plan-price span { color: var(--muted); font-size: 12px; }
.plan-features { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plan-features li { display: flex; gap: 7px; color: var(--muted); font-size: 13px; }
.plan-features svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 3px; color: var(--accent); }
.plan-action { margin-top: auto; }
.current-plan { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto 24px; padding: 16px; border: 1px solid rgba(199, 243, 107, .25); border-radius: 14px; background: rgba(199, 243, 107, .04); }
.current-plan div { display: flex; flex-direction: column; }
.current-plan span { color: var(--muted); font-size: 12px; }
.current-plan .btn { margin-left: auto; }
.pricing-bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; text-align: center; }
.pricing-note { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.pricing-note svg { color: var(--accent); }
.pricing-page .section-head { margin-bottom: 30px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* CTA */
.cta-band { margin: 0; padding: 54px 0; border-block: 1px solid rgba(199, 243, 107, .18); background: linear-gradient(110deg, rgba(199, 243, 107, .1), rgba(103, 216, 255, .04)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-inner p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.site-footer { padding: 54px 0 24px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .16); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr .9fr; gap: 30px; }
.footer-brand p { max-width: 34ch; margin-top: 12px; color: var(--muted); font-size: 13px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h3 { margin-bottom: 4px; color: var(--text); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a, .footer-note { color: var(--muted); font-size: 13px; }
.footer-col a:hover { color: var(--accent); }
.footer-status { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: 13px; }
.footer-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 11px; }

/* Auth */
.auth-page { display: grid; grid-template-columns: 1fr .9fr; gap: 34px; width: min(1040px, calc(100% - 40px)); margin: 48px auto 80px; align-items: stretch; }
.auth-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
.auth-card-wide { align-self: start; }
.auth-head { margin-bottom: 24px; }
.auth-head .brand-mark { margin-bottom: 18px; }
.auth-head h1 { font-size: 34px; font-weight: 800; }
.auth-head p:last-child { margin-top: 8px; color: var(--muted); font-size: 14px; }
.auth-side { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 480px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(150deg, rgba(199, 243, 107, .13), rgba(103, 216, 255, .04) 55%, rgba(13, 21, 28, .9)); }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(199, 243, 107, .18), transparent 55%); }
.auth-side-card { position: relative; z-index: 1; }
.auth-side-card h2 { margin: 18px 0 10px; font-size: 34px; }
.auth-side-card p { max-width: 30ch; color: var(--muted); font-size: 14px; }
.auth-side-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.auth-side-stats div { padding: 10px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(0, 0, 0, .12); }
.auth-side-stats b { display: block; font-size: 18px; }
.auth-side-stats span { color: var(--muted); font-size: 10px; }
.auth-alt { display: flex; justify-content: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.auth-alt a { color: var(--accent); font-weight: 700; }
.auth-note { display: flex; gap: 7px; margin-top: 18px; color: var(--muted-2); font-size: 11px; }
.auth-note svg { flex: 0 0 auto; color: var(--accent); }

/* Forms */
.form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; }
.field > span, .field legend { color: var(--muted); font-size: 12px; font-weight: 600; }
.input {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: rgba(0, 0, 0, .18); color: var(--text); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(199, 243, 107, .13); }
.input[readonly] { color: var(--muted); background: rgba(255, 255, 255, .02); }
.password-wrap { position: relative; display: block; }
.password-wrap .input { padding-right: 82px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 700; }
.check { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.form-hint { color: var(--muted-2); font-size: 11px; }
.form-error { padding: 10px 12px; border: 1px solid rgba(255, 127, 149, .3); border-radius: 9px; color: var(--danger); background: rgba(255, 127, 149, .06); font-size: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-label { position: relative; cursor: pointer; }
.swatch-label input { position: absolute; opacity: 0; pointer-events: none; }
.swatch { display: block; width: 26px; height: 26px; border: 2px solid transparent; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); }
.swatch-label input:checked + .swatch { border-color: var(--text); transform: scale(1.08); }
.swatch-lime, .avatar-lime { background: var(--accent); color: var(--accent-ink); }
.swatch-cyan, .avatar-cyan { background: var(--cyan); color: #061014; }
.swatch-violet, .avatar-violet { background: var(--violet); color: #100818; }
.swatch-amber, .avatar-amber { background: var(--amber); color: #171005; }
.swatch-rose, .avatar-rose { background: var(--rose); color: #19070b; }
.swatch-blue, .avatar-blue { background: var(--blue); color: #06111a; }
.swatch-mint, .avatar-mint { background: #7ef0c0; color: #061510; }
.swatch-coral, .avatar-coral { background: #ff9d7a; color: #190b06; }

/* App header / account */
.app-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(7, 11, 15, .86); backdrop-filter: blur(18px); }
.app-header-inner { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.app-links { display: flex; gap: 18px; margin-left: 12px; }
.app-links a { color: var(--muted); font-size: 13px; }
.app-links a:hover { color: var(--text); }
.app-header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.app-user { color: var(--muted); font-size: 13px; }
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 32px 0 80px; align-items: start; }
.account-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.account-user { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.account-user b { margin-top: 8px; font-size: 16px; }
.account-user > span:not(.avatar):not(.pill) { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.account-user .pill { margin-top: 6px; }
.avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.account-nav { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-block: 1px solid var(--line); }
.account-nav a { padding: 7px 9px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.account-nav a:hover, .account-nav a.active { color: var(--text); background: rgba(255, 255, 255, .04); }
.account-nav a.active { color: var(--accent); }
.account-meta { display: flex; flex-direction: column; gap: 4px; color: var(--muted-2); font-size: 11px; }
.account-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 4px; }
.account-head h1 { font-size: clamp(2rem, 3vw, 2.7rem); }
.account-head p:last-child { margin-top: 6px; color: var(--muted); font-size: 14px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel-head h2 { font-size: 22px; }
.panel-kicker { display: block; margin-bottom: 4px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.panel-head .muted { font-size: 11px; }
.subscription-grid { display: grid; grid-template-columns: 1fr 210px; gap: 20px; }
.subscription-main { min-width: 0; }
.subscription-price { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.subscription-price span { color: var(--muted); font-size: 13px; font-weight: 400; }
.subscription-main .progress { margin: 14px 0 6px; }
.subscription-main .muted { font-size: 12px; }
.subscription-side { display: grid; gap: 8px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .015); }
.mini-stat { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.mini-stat b { color: var(--text); font-size: 12px; }
.subscription-side .btn { margin-top: 4px; }
.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; vertical-align: middle; }
.table th { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; background: rgba(255, 255, 255, .02); }
.table tr:last-child td { border-bottom: 0; }
.table td { color: var(--muted); }
.table td:first-child, .table td:nth-child(2) { color: var(--text); }
.empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted); font-size: 13px; }
.danger-zone { display: grid; grid-template-columns: 1fr 320px; gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 127, 149, .25); }
.danger-zone h3 { color: var(--danger); font-size: 17px; }
.danger-zone p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.danger-form { padding: 14px; border: 1px solid rgba(255, 127, 149, .22); border-radius: 12px; background: rgba(255, 127, 149, .03); }

/* Admin */
.admin-page { padding: 32px 0 80px; display: flex; flex-direction: column; gap: 18px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.stat-card span { display: block; color: var(--muted); font-size: 11px; }
.stat-card b { display: block; margin-top: 4px; font-size: 26px; letter-spacing: -.04em; }
.stat-card small { color: var(--muted-2); font-size: 10px; }
.admin-page .table td { font-size: 11px; }
.admin-page .table th { font-size: 9px; }

/* Error */
.error-page { display: grid; place-items: center; min-height: 62vh; padding: 40px 0; }
.error-card { max-width: 560px; padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); text-align: center; box-shadow: var(--shadow); }
.error-code { display: block; color: var(--accent); font-size: 72px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.error-card h1 { margin-top: 14px; font-size: 26px; }
.error-card > p:not(.kicker) { margin-top: 10px; color: var(--muted); font-size: 14px; }
.error-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }

/* Animations */
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(110, 231, 168, .42); } 70% { box-shadow: 0 0 0 7px rgba(110, 231, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 231, 168, 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .plan-featured { transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { max-width: 14ch; }
  .dashboard-demo { transform: none; }
  .hero-visual { max-width: 680px; }
  .security-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-wide { grid-template-columns: 1fr; }
  .portfolio-wide .portfolio-screen { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line-2); padding: 20px 0; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { position: static; }
  .account-nav { flex-direction: row; flex-wrap: wrap; border-block: 0; padding: 0; }
  .account-meta { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .site-nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 64px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 10px;
    border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow);
  }
  .site-nav a { padding: 9px 10px; border-radius: 8px; }
  .site-nav a:hover { background: rgba(255, 255, 255, .04); }
  .nav-toggle { display: grid; }
  .nav-actions { margin-left: 0; }
  .nav-actions .nav-login { display: none; }
  body.nav-open .site-nav { display: flex; }
  .auth-page { grid-template-columns: 1fr; width: min(620px, calc(100% - 32px)); margin-top: 30px; }
  .auth-side { min-height: 300px; }
  .subscription-grid { grid-template-columns: 1fr; }
  .danger-zone { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .portfolio-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 44px; }
  .trust-strip { margin-top: 34px; gap: 10px 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .account-head { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .admin-stats { grid-template-columns: 1fr; }
  .app-user { display: none; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-chips span { font-size: 10px; }
  .dashboard-demo { grid-template-columns: 44px 1fr; }
  .demo-main { padding: 11px; }
  .demo-kpis { grid-template-columns: 1fr; }
  .demo-chart { display: none; }
  .auth-card { padding: 22px; }
  .auth-head h1 { font-size: 28px; }
  .auth-side { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .account-layout { padding-top: 20px; }
  .table { min-width: 520px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
}
