:root {
  --bg: #070511;
  --bg-soft: #120a20;
  --panel: rgba(14, 9, 27, 0.88);
  --panel-strong: rgba(18, 12, 33, 0.96);
  --line: rgba(194, 153, 255, 0.14);
  --line-strong: rgba(183, 132, 255, 0.28);
  --text: #f3edff;
  --muted: #b7a9d8;
  --brand: #b88cff;
  --brand-strong: #7f52ff;
  --accent: #d8a8ff;
  --warn: #ffd76a;
  --danger: #ff8f97;
  --ok: #72ffb2;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Inter", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(175, 118, 255, 0.12), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(115, 80, 255, 0.11), transparent 26%),
    linear-gradient(180deg, #070511 0%, #0b0719 44%, #120b25 100%);
  min-height: 100vh;
  color-scheme: dark;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent);
}

.cursor-enhanced,
.cursor-enhanced * {
  cursor: none !important;
}

.cursor-enhanced select,
.cursor-enhanced option,
.cursor-enhanced optgroup,
.cursor-enhanced select:focus,
.cursor-enhanced select:active {
  cursor: none !important;
}

.custom-cursor-ring,
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.18s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.custom-cursor-ring {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1.5px solid rgba(196, 143, 255, 0.78);
  background: radial-gradient(circle at center, rgba(179, 115, 255, 0.18), rgba(179, 115, 255, 0.03) 70%);
  box-shadow: 0 0 22px rgba(132, 81, 255, 0.32);
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #cb9bff, #8a5dff);
  box-shadow: 0 0 12px rgba(160, 104, 255, 0.55);
}

.custom-cursor-ring.is-active {
  width: 42px;
  height: 42px;
  border-color: rgba(220, 184, 255, 0.96);
  background: radial-gradient(circle at center, rgba(189, 133, 255, 0.24), rgba(189, 133, 255, 0.03) 72%);
}

.custom-cursor-dot.is-active {
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, #d8b4ff, #9e72ff);
}

.custom-cursor-ring.is-pressed {
  width: 24px;
  height: 24px;
}

.custom-cursor-dot.is-pressed {
  width: 7px;
  height: 7px;
}

.custom-cursor-ring.is-hidden,
.custom-cursor-dot.is-hidden {
  opacity: 0;
}
.launch-body {
  background:
    radial-gradient(circle at 20% 12%, rgba(162, 104, 255, 0.14), transparent 32%),
    radial-gradient(circle at 86% 82%, rgba(113, 72, 255, 0.11), transparent 28%),
    #04030b;
}

.launch-body::before {
  content: none;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.secure-data {
  filter: blur(8px);
  transition: filter 0.18s ease, opacity 0.18s ease;
  opacity: 0.86;
}

.secure-data:hover,
.secure-data:focus,
.secure-data:focus-visible,
.secure-data:active {
  filter: blur(0);
  opacity: 1;
}
.blur-disabled .secure-data {
  filter: blur(0);
  opacity: 1;
}

.launch-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.launch-stage {
  width: min(940px, 100%);
  text-align: center;
}

.launch-copy {
  margin: 0 auto 52px;
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.launch-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.launch-title {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(2.2rem, 8.5vw, 5.1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(174, 128, 255, 0.2);
}

.launch-countdown {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
  max-width: 760px;
}

.launch-unit {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  padding: 24px 12px 18px;
}

.launch-unit strong {
  font-size: clamp(3.8rem, 8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.launch-unit span {
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
}

.launch-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.launch-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(180, 136, 255, 0.42);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(236, 245, 255, 0.96);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.launch-discord-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 136, 255, 0.78);
  background: rgba(180, 136, 255, 0.16);
}

.launch-auth-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(177, 138, 255, 0.24);
  background: rgba(16, 12, 32, 0.92);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.36);
}

.launch-auth-head {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.launch-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dev-auth-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  text-align: left;
}

.dev-auth-copy {
  display: grid;
  gap: 16px;
}

.dev-auth-title {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  letter-spacing: -0.02em;
  text-transform: none;
}

.dev-auth-lead {
  margin: 0;
  color: rgba(226, 235, 255, 0.75);
  line-height: 1.7;
  max-width: 560px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 18px 80px;
}

.topbar, .hero-panel, .section-card, .card, .auth-card, .dash-sidebar, .dash-topbar, .stat-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(6, 12, 22, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #04111d;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-copy span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav, .topbar-actions, .auth-links, .lang-switch, .hero-actions, .feature-band, .feature-grid, .pricing-grid, .dashboard-grid, .metric-grid {
  display: grid;
  gap: 16px;
}
.nav, .auth-links, .lang-switch, .hero-actions { grid-auto-flow: column; align-items: center; }
.nav { color: var(--muted); }
.nav a, .ghost-link { transition: color 0.2s ease; }
.nav a:hover, .ghost-link:hover { color: var(--text); }
.topbar-actions { grid-auto-flow: column; align-items: center; }
.topbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lang-switch {
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.lang-switch button, .auth-tabs button, .btn, .ghost-link {
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button {
  padding: 10px 12px;
  background: transparent;
  color: var(--muted);
  position: relative;
  overflow: hidden;
  transition:
    color 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lang-switch button:hover {
  color: var(--text);
  transform: translateY(-1px);
}
.lang-switch button.active {
  background: rgba(184, 126, 255, 0.18);
  color: var(--text);
  border-color: rgba(184, 126, 255, 0.28);
}
.privacy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.privacy-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.privacy-toggle-track {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  transition: background 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.privacy-toggle-thumb {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f4ecff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}
.privacy-toggle input:checked + .privacy-toggle-track {
  background: rgba(184, 126, 255, 0.26);
  border-color: rgba(184, 126, 255, 0.42);
}
.privacy-toggle input:checked + .privacy-toggle-track .privacy-toggle-thumb {
  transform: translateX(16px);
  background: #ffffff;
}
.privacy-toggle-text {
  user-select: none;
}

.ghost-link {
  background: transparent;
  color: var(--muted);
  padding: 12px 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #eaf4ff;
  background: linear-gradient(135deg, #6b3cd9, #8f5bff);
  border-color: rgba(179, 130, 255, 0.34);
}
.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.028);
}

.hero-panel {
  margin-top: 26px;
  padding: 42px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: start;
}
.hero-copy { padding-top: 8px; max-width: 700px; }

.eyebrow, .pill, .plan-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow { color: var(--accent); background: rgba(255, 255, 255, 0.04); }
.pill { color: var(--brand); background: rgba(184, 126, 255, 0.18); }
.plan-tag { color: var(--warn); background: rgba(255, 215, 106, 0.14); }

h1, h2, h3, p { margin: 0; }
h1 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 7.6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}
h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
h3 { font-size: 1.2rem; }
p { line-height: 1.65; }
.lead, .muted { color: var(--muted); }
.lead { margin-top: 20px; font-size: 18px; max-width: 620px; }
.hero-actions { margin-top: 26px; }
.hero-stack { display: grid; gap: 20px; }

.hero-visual, .auth-card, .section-card, .card, .dash-sidebar, .dash-topbar, .stat-card { border-radius: var(--radius-lg); }
.card, .auth-card, .section-card, .stat-card { padding: 24px; }

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 0;
  background:
    radial-gradient(circle at center, rgba(184, 126, 255, 0.22), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
}
.hero-visual-glow {
  position: absolute;
  inset: auto 10% 8% 10%;
  height: 40%;
  background: radial-gradient(circle, rgba(155, 96, 255, 0.44), transparent 65%);
  filter: blur(34px);
}
.hero-art-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

.auth-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--panel-strong);
}
.auth-head { display: grid; gap: 10px; margin-bottom: 16px; }
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 6px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.auth-tabs button {
  padding: 12px 14px;
  color: var(--muted);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition:
    color 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.auth-tabs button:hover {
  color: var(--text);
  transform: translateY(-1px);
}
.auth-tabs button.active {
  color: var(--text);
  background: rgba(184, 126, 255, 0.18);
  border-color: rgba(184, 126, 255, 0.28);
  box-shadow: 0 8px 24px rgba(132, 82, 255, 0.24);
}
.coming-card {
  display: grid;
  gap: 14px;
}
.coming-item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}
.coming-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}
.coming-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form, .field, .list, .trust-row, .preview-sidebar-list, .sidebar-nav, .sidebar-actions {
  display: grid;
  gap: 14px;
}
.field label { font-size: 14px; color: var(--muted); }
.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-top: -2px;
}
.remember-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}
.field-hint {
  margin: 6px 2px 0;
  font-size: 12px;
  color: var(--muted);
}

.license-mask-preview {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mask-token {
  min-width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mask-token-upper {
  color: #f1e7ff;
  background: rgba(181, 132, 255, 0.22);
}

.mask-token-lower {
  color: #c9b6e8;
  background: rgba(24, 17, 43, 0.92);
  border-color: rgba(131, 103, 173, 0.4);
}

.mask-token-sep {
  color: #9a88bf;
  background: rgba(255, 255, 255, 0.03);
}
.field input, .field select {
  width: 100%;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  outline: 0;
}
.field textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  outline: 0;
  resize: vertical;
  min-height: 120px;
}
.field select {
  appearance: none;
  color: var(--text);
  background-color: rgba(18, 12, 33, 0.96);
}
.field select option {
  color: var(--text);
  background-color: #180f2b;
}
.field input:focus, .field select:focus {
  border-color: rgba(184, 126, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(184, 126, 255, 0.16);
}
.field textarea:focus {
  border-color: rgba(184, 126, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(184, 126, 255, 0.16);
}
.turnstile-slot { min-height: 66px; }
.status {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}
.status:empty {
  display: none;
}
.status.success { color: var(--ok); }
.status.error { color: var(--danger); }

.trust-row, .feature-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-row { margin-top: 30px; }
.trust-card, .preview-sidebar-item, .feature-card, .pricing-card, .preview-card, .metric-card, .list-item, .sidebar-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}
.trust-card, .feature-card, .pricing-card, .preview-card, .metric-card, .list-item, .sidebar-card, .preview-sidebar-item {
  padding: 18px;
}
.trust-card strong, .feature-card h3, .metric-card .kpi { display: block; margin-bottom: 8px; }

.feature-band { margin-top: 26px; }
.stat-card { padding: 24px; }
.stat-card span { display: block; color: var(--muted); margin-bottom: 10px; }
.stat-card strong { display: block; font-size: 2rem; margin-bottom: 10px; }

.section-card { margin-top: 24px; }
.section-head, .card-head, .dash-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.section-copy { max-width: 760px; display: grid; gap: 12px; }

.feature-grid, .pricing-grid, .preview-grid, .dashboard-grid-top, .dashboard-grid-main, .dashboard-grid-lists {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-grid, .pricing-grid, .preview-grid { margin-top: 26px; }
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(155, 96, 255, 0.2), rgba(255, 255, 255, 0.02) 40%),
    rgba(255, 255, 255, 0.04);
}
.pricing-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: block; font-size: 2.4rem; font-weight: 900; margin: 16px 0 10px; }

.preview-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  margin-top: 28px;
}
.preview-sidebar {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(184, 126, 255, 0.14), rgba(255, 255, 255, 0.015) 42%),
    rgba(255, 255, 255, 0.025);
}
.preview-sidebar strong { display: block; margin: 14px 0 10px; font-size: 1.3rem; }
.preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preview-card { display: grid; align-content: start; gap: 12px; }

.dash-shell {
  max-width: 1420px;
  margin: 0 auto;
  padding: 24px 20px 36px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  min-height: 100vh;
}
.dash-sidebar {
  position: sticky;
  top: 22px;
  align-self: start;
  padding: 28px;
  display: grid;
  gap: 24px;
  background:
    linear-gradient(180deg, rgba(184, 126, 255, 0.055), rgba(255, 255, 255, 0.008) 24%),
    rgba(7, 13, 23, 0.94);
}
.brand-sidebar { align-items: start; }
.sidebar-block, .sidebar-card { display: grid; gap: 12px; }
.sidebar-block h1 { margin-top: 0; font-size: clamp(2.2rem, 4vw, 3rem); }
.sidebar-nav { position: relative; }
.sidebar-nav a {
  position: relative;
  overflow: hidden;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  background:
    linear-gradient(125deg, rgba(176, 130, 255, 0), rgba(176, 130, 255, 0) 60%),
    rgba(255, 255, 255, 0.025);
  transform: translateY(0);
  transition:
    color 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sidebar-nav a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 4px;
  height: 58%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(216, 184, 255, 0.95), rgba(127, 82, 255, 0.9));
  transform: translateY(-50%) scaleY(0.35);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sidebar-nav a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background:
    linear-gradient(125deg, rgba(176, 130, 255, 0.11), rgba(176, 130, 255, 0) 66%),
    rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(9, 4, 20, 0.34);
}
.sidebar-nav a:hover::before {
  opacity: 0.78;
  transform: translateY(-50%) scaleY(0.72);
}
.sidebar-nav a.active {
  color: var(--text);
  border-color: rgba(184, 126, 255, 0.42);
  background:
    linear-gradient(125deg, rgba(184, 126, 255, 0.3), rgba(184, 126, 255, 0.08) 72%),
    rgba(184, 126, 255, 0.2);
  box-shadow:
    0 10px 26px rgba(10, 5, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.sidebar-nav a.active::before { opacity: 1; transform: translateY(-50%) scaleY(1); }
.sidebar-nav a:active { transform: translateY(0); }
.sidebar-actions .btn, .sidebar-actions a { width: 100%; }

.dash-content { display: grid; gap: 24px; }
.dash-topbar {
  padding: 18px 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(184, 126, 255, 0.05), rgba(255, 255, 255, 0.008) 44%),
    rgba(7, 13, 23, 0.96);
}
.dash-topbar-copy { display: grid; gap: 8px; justify-items: end; }
.dashboard-stage { display: grid; gap: 22px; }
.dashboard-grid-top {
  grid-template-columns: 1.18fr 0.82fr;
  align-items: start;
  gap: 22px;
}
.dashboard-grid-main, .dashboard-grid-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-grid-main {
  align-items: start;
  gap: 18px;
}
.page-section {
  animation: pageFadeIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.spotlight-card, .quick-card, .workspace-card, .list-card { padding: 28px; }
.spotlight-card {
  background:
    linear-gradient(180deg, rgba(184, 126, 255, 0.06), rgba(255, 255, 255, 0.015) 46%),
    rgba(255, 255, 255, 0.02);
}
.spotlight-copy { display: grid; gap: 12px; margin-bottom: 20px; }
.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-card span { color: var(--muted); }
.kpi { display: block; font-size: 2rem; font-weight: 900; margin-top: 10px; }
.list-item p { margin-top: 6px; }
.workspace-card .form {
  gap: 16px;
  margin-top: 4px;
}
.collapsible-card {
  padding: 28px;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.collapsible-card .card-head {
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
  min-height: 0;
}
.collapse-panel {
  max-height: none;
  overflow: visible;
  opacity: 1;
  margin-top: 0;
  transition: none;
}
.collapsible-card .card-head[role="button"] { cursor: default; user-select: text; }

#settings-password-form {
  margin-bottom: 18px;
}

#settings-sessions-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

#settings-sessions-list .list-item {
  padding: 16px 18px;
}

#settings-sessions-list .action-row {
  margin-top: 8px;
}
.workspace-card .btn,
.quick-card .list-item,
.list-card .list-item {
  width: 100%;
}
.list-card .list {
  gap: 12px;
}
.list-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.list-search {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.list-search:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 2px rgba(183, 132, 255, 0.16);
}
.list-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.list-bulk-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.list-bulk-actions .btn {
  padding: 10px 12px;
}
.page-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 10px;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  cursor: pointer;
  transition:
    color 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.page-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.page-btn.active {
  color: var(--text);
  background: rgba(184, 126, 255, 0.22);
  border-color: rgba(184, 126, 255, 0.4);
}
code {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 12px;
  color: var(--warn);
  background: rgba(255, 255, 255, 0.06);
  word-break: break-all;
}
.empty { color: var(--muted); }
.hide { display: none !important; }
.footer { margin-top: 28px; padding-bottom: 14px; text-align: center; color: var(--muted); }

.toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

.action-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.action-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  min-width: 0;
}

.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.action-row-wrap {
  flex-wrap: wrap;
}

.action-row .btn {
  flex: 1 1 150px;
  min-width: 0;
}
#apps-list .action-row .btn {
  flex: 1 1 130px;
}
#users-list .action-card .action-card-head {
  cursor: pointer;
}
#users-list .action-card > :not(.action-card-head) {
  display: none;
}
#users-list .action-card.is-open > :not(.action-card-head) {
  display: block;
}
.user-card-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}
.user-card-summary-main {
  min-width: 0;
}
.user-card-summary-main strong {
  display: block;
}
.user-card-details {
  display: none;
  margin-top: 10px;
}
.action-card.is-open .user-card-details {
  display: block;
}

.dropzone {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(116, 216, 255, 0.26);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.dropzone.is-over {
  border-color: rgba(116, 216, 255, 0.6);
  background: rgba(116, 216, 255, 0.08);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 7, 14, 0.78);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 18px;
}

.support-thread {
  display: grid;
  gap: 10px;
  max-height: 440px;
  overflow: auto;
  padding-right: 6px;
}

.support-msg {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 6px;
}

.support-msg.support-msg-owner {
  border-color: rgba(183, 132, 255, 0.34);
  background: rgba(183, 132, 255, 0.12);
}

.support-msg.support-msg-admin {
  border-color: rgba(255, 255, 255, 0.12);
}

.support-msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-msg-head strong {
  font-size: 0.9rem;
}

.support-msg-head span {
  font-size: 0.78rem;
  color: var(--muted);
}

.support-msg p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.modal-card {
  width: min(760px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(132, 183, 255, 0.26);
  background: rgba(8, 17, 30, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.license-export-text {
  width: 100%;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px;
  resize: vertical;
  font-family: "Consolas", "Courier New", monospace;
  line-height: 1.5;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.996);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1180px) {
  .hero-panel, .preview-shell, .dashboard-grid-top, .dashboard-grid-main, .dashboard-grid-lists, .feature-grid, .pricing-grid, .preview-grid, .feature-band, .trust-row, .metric-grid, .dash-shell {
    grid-template-columns: 1fr;
  }
  .dash-shell { padding-top: 18px; }
  .dash-sidebar { position: static; }
  .topbar { border-radius: 28px; flex-wrap: wrap; }
  .nav, .topbar-actions, .auth-links, .hero-actions { grid-auto-flow: row; }
  .dev-auth-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .dev-auth-copy {
    justify-items: center;
  }
}

@media (max-width: 760px) {
  .shell, .dash-shell { padding: 14px 14px 42px; }
  .hero-panel, .section-card, .card, .auth-card, .dash-sidebar, .dash-topbar, .spotlight-card, .quick-card, .workspace-card, .list-card, .stat-card { padding: 18px; }
  h1 { font-size: 2.8rem; }
  .section-head, .card-head, .dash-topbar { flex-direction: column; align-items: start; }
  .dash-topbar-copy { justify-items: start; }
  .topbar { border-radius: 24px; }
  .coming-actions {
    flex-direction: column;
  }
  .launch-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .launch-copy {
    margin-bottom: 34px;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-enhanced,
  .cursor-enhanced * {
    cursor: auto !important;
  }

  .custom-cursor-ring,
  .custom-cursor-dot {
    display: none !important;
  }
}
