/* ═══════════════════════════════════════════════════════════
   NIGHT FURY — Design System
   Dark glass aesthetic • Neon purple brand • Space Grotesk
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #08070d;
  --bg-2: #0c0a14;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f4fa;
  --muted: #a39fbe;
  --dim: #6f6a85;
  --brand: #8a2be2;
  --brand-bright: #a95cff;
  --brand-soft: rgba(138, 43, 226, 0.16);
  --brand-line: rgba(138, 43, 226, 0.42);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.12);
  --sky: #38bdf8;
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-glow: 0 0 40px rgba(138, 43, 226, 0.25);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(60% 42% at 50% -8%, rgba(138, 43, 226, 0.17), transparent 62%),
    radial-gradient(40% 30% at 85% 12%, rgba(88, 28, 135, 0.10), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Subtle grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, black 30%, transparent 75%);
  z-index: 0;
}

main { position: relative; z-index: 1; }

::selection { background: rgba(138, 43, 226, 0.4); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--brand-bright);
  display: inline-block;
}

.section-title { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 560px; font-size: 15px; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 7, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.brand svg { width: 26px; height: 26px; }
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--panel-2); }
.nav-links a.active { color: var(--ink); background: var(--panel-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nav-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 600;
}
.nav-user img { width: 28px; height: 28px; border-radius: 50%; }

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  display: inline-block;
}
.status-dot.off { background: var(--red); box-shadow: 0 0 8px var(--red); }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 38px; height: 38px;
  color: var(--ink);
  font-size: 18px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 13, 0.96);
}
.mobile-menu a { padding: 10px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.mobile-menu a:hover { background: var(--panel-2); color: var(--ink); }
.mobile-menu.open { display: flex; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: linear-gradient(135deg, #8a2be2, #6d1fc0);
  color: #fff;
  box-shadow: 0 4px 22px rgba(138, 43, 226, 0.35);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(138, 43, 226, 0.55); transform: translateY(-1px); }

.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #4752f0; transform: translateY(-1px); }

.btn-ghost {
  background: var(--panel);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--panel-2); border-color: var(--brand-line); }

.btn-danger { background: var(--red-soft); border-color: rgba(248,113,113,.35); color: var(--red); }
.btn-danger:hover { background: rgba(248,113,113,.2); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 96px 0 70px; text-align: center; position: relative; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-bright);
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.grad {
  background: linear-gradient(100deg, #c084fc 0%, #8a2be2 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 620px;
  margin: 0 auto 34px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-stat {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 12px;
  backdrop-filter: blur(8px);
}
.hero-stat b {
  font-family: var(--font-display);
  font-size: 26px;
  display: block;
  letter-spacing: -0.02em;
}
.hero-stat span { font-size: 12px; color: var(--dim); font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

/* ── Marquee ────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 13px 0;
  background: rgba(12, 10, 20, 0.5);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span::before { content: '◆ '; color: var(--brand-bright); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 84px 0; }
.section-head { margin-bottom: 44px; }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s, background .2s;
}
.card:hover { border-color: var(--brand-line); transform: translateY(-3px); background: var(--panel-2); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-bright);
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-bright);
  letter-spacing: .12em;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ── Product / pricing cards ────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.plan:hover { border-color: var(--brand-line); transform: translateY(-4px); }
.plan.featured {
  border-color: var(--brand-line);
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.10), rgba(138, 43, 226, 0.02) 55%), var(--panel);
  box-shadow: var(--shadow-glow);
}
.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #8a2be2, #6d1fc0);
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.plan-badge.alt { background: var(--panel-2); border: 1px solid var(--line-strong); color: var(--muted); }
.plan h3 { font-size: 17px; margin-bottom: 4px; }
.plan .tagline { color: var(--dim); font-size: 12.5px; margin-bottom: 16px; min-height: 20px; }
.plan .price { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.plan .price small { font-size: 13px; color: var(--dim); font-weight: 500; font-family: var(--font-body); }
.plan ul { list-style: none; margin: 18px 0 22px; flex: 1; }
.plan li {
  color: var(--muted);
  font-size: 13.5px;
  padding: 5px 0 5px 24px;
  position: relative;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 2px; top: 11px;
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a95cff' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ── FAQ accordion ──────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--brand-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--brand-bright);
  font-size: 18px;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 14px; }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band {
  text-align: center;
  border: 1px solid var(--brand-line);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(138, 43, 226, 0.18), transparent 70%),
    var(--panel);
  border-radius: 20px;
  padding: 64px 30px;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 34px;
  margin-top: 40px;
  background: rgba(8, 7, 13, 0.6);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.footer-brand { max-width: 300px; }
.footer-brand p { color: var(--dim); font-size: 13px; margin-top: 10px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--brand-bright); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 13px;
}

/* ── Forms ──────────────────────────────────────────────── */
.input, select.input, textarea.input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.18); }
.input::placeholder { color: var(--dim); }
select.input option { background: #12101c; }
textarea.input { resize: vertical; min-height: 74px; }
label.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 6px 2px;
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.badge.green { color: var(--green); border-color: rgba(52,211,153,.4); background: var(--green-soft); }
.badge.amber { color: var(--amber); border-color: rgba(251,191,36,.4); background: var(--amber-soft); }
.badge.red { color: var(--red); border-color: rgba(248,113,113,.4); background: var(--red-soft); }
.badge.purple { color: var(--brand-bright); border-color: var(--brand-line); background: var(--brand-soft); }

.mono { font-family: var(--font-mono); }

/* ── Toasts ─────────────────────────────────────────────── */
#toast-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 40px));
}
.toast {
  border: 1px solid var(--line-strong);
  background: rgba(18, 15, 28, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: toast-in .25s ease;
}
.toast.ok { border-color: rgba(52, 211, 153, 0.45); }
.toast.err { border-color: rgba(248, 113, 113, 0.5); }
.toast .t-icon { flex-shrink: 0; margin-top: 1px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ── Dashboard ──────────────────────────────────────────── */
.dash-wrap { display: flex; min-height: calc(100vh - 66px); }
.dash-side {
  width: 232px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 26px 16px;
  background: rgba(10, 8, 16, 0.5);
}
.dash-side .side-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 10px;
  margin-bottom: 8px;
}
.dash-nav { display: flex; flex-direction: column; gap: 3px; }
.dash-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s;
}
.dash-nav button svg { width: 17px; height: 17px; flex-shrink: 0; }
.dash-nav button:hover { color: var(--ink); background: var(--panel-2); }
.dash-nav button.active {
  color: var(--ink);
  background: var(--brand-soft);
  border-color: var(--brand-line);
}
.dash-nav button.active svg { color: var(--brand-bright); }
.dash-main { flex: 1; padding: 34px; min-width: 0; }
.dash-main > .pane { display: none; }
.dash-main > .pane.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.pane-head h2 { font-size: 22px; }
.pane-head p { color: var(--muted); font-size: 14px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
}
.stat-card b { font-family: var(--font-display); font-size: 24px; display: block; letter-spacing: -0.02em; }
.stat-card span { font-size: 11.5px; color: var(--dim); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.stat-card.accent b { color: var(--brand-bright); }

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.panel h3 { font-size: 16px; margin-bottom: 4px; }
.panel .panel-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }

.announce {
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.announce svg { color: var(--brand-bright); flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; }

/* License rows */
.lic-list { display: flex; flex-direction: column; gap: 12px; }
.lic {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.lic .lic-main { flex: 1; min-width: 220px; }
.lic .lic-key {
  font-family: var(--font-mono);
  font-size: 14.5px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.lic .lic-key button {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--dim);
  font-size: 11px;
  padding: 2px 8px;
  font-family: var(--font-mono);
}
.lic .lic-key button:hover { color: var(--ink); border-color: var(--brand-line); }
.lic .lic-meta { color: var(--dim); font-size: 12.5px; display: flex; gap: 14px; flex-wrap: wrap; }
.lic .lic-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.dl-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 12px;
}
.dl-card h3 { font-size: 16px; margin-bottom: 3px; }
.dl-card .dl-sub { color: var(--dim); font-size: 13px; }

/* Login card */
.auth-hero { min-height: calc(100vh - 66px); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card {
  width: 100%;
  max-width: 430px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45), var(--shadow-glow);
}
.auth-card .logo-big { width: 62px; height: 62px; margin: 0 auto 20px; display: block; }
.auth-card h1 { font-size: 24px; margin-bottom: 8px; }
.auth-card p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-note { font-size: 12.5px; color: var(--dim); margin-top: 20px !important; margin-bottom: 0 !important; }
.auth-note a { color: var(--muted); text-decoration: underline; }
.auth-error {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  border-radius: 9px;
  padding: 10px 13px;
  margin-bottom: 18px;
  text-align: left;
}

/* Tables (admin) */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: var(--panel); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.tbl th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td { padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.045); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: rgba(255, 255, 255, 0.02); }
.tbl .actions { display: flex; gap: 6px; flex-wrap: wrap; }

.empty {
  text-align: center;
  color: var(--dim);
  padding: 46px 20px;
  font-size: 14px;
}
.empty b { color: var(--muted); display: block; font-size: 15px; margin-bottom: 4px; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .input { width: auto; min-width: 170px; flex: 1; max-width: 300px; }
.toolbar select.input { flex: 0 0 auto; width: auto; }

/* Product editor cards */
.ped {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
  margin-bottom: 16px;
}
.ped-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }

/* Legal page */
.legal-doc { max-width: 780px; margin: 0 auto; }
.legal-doc h2 { font-size: 22px; margin: 34px 0 12px; }
.legal-doc h3 { font-size: 16px; margin: 24px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.legal-doc ul { padding-left: 22px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn-ghost, .nav-actions .hide-m { display: none; }
  .nav-burger { display: flex; align-items: center; justify-content: center; }
  .dash-side {
    position: static;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
  }
  .dash-wrap { flex-direction: column; }
  .dash-nav { flex-direction: row; overflow-x: auto; }
  .dash-nav button { white-space: nowrap; }
  .dash-main { padding: 22px 18px; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 50px; }
}
