:root {
  --bg: #06080f;
  --surface: rgba(15, 19, 32, 0.72);
  --surface-solid: #0f1320;
  --surface-2: rgba(23, 29, 48, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(139, 92, 246, 0.45);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #8b95b0;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #38bdf8;
  --emerald: #34d399;
  --rose: #f43f5e;
  --amber: #fbbf24;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
  color: #c4b5fd;
}

/* Ambient Futuristic Mesh Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
}

.orb-1 {
  width: 640px;
  height: 640px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
}

.orb-2 {
  width: 580px;
  height: 580px;
  bottom: -180px;
  right: -120px;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
}

.grid-overlay {
  position: absolute;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse at top, black 20%, transparent 80%);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 272px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: rgba(10, 13, 23, 0.84);
  backdrop-filter: blur(22px);
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 4px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.2), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.version-chip {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 2px 7px;
  border-radius: 999px;
}

.server-card {
  background: rgba(20, 26, 44, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.server-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tier-pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ddd6fe;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.25), rgba(56, 189, 248, 0.18));
  border: 1px solid rgba(139, 92, 246, 0.45);
  padding: 3px 9px;
  border-radius: 999px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 160ms ease;
  text-align: left;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-btn.active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.22), rgba(99, 102, 241, 0.08));
  border-color: rgba(139, 92, 246, 0.42);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mini-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 1px 6px;
  border-radius: 999px;
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
}

.user-role {
  font-size: 11px;
  color: var(--muted);
}

/* Main Content */
.main-content {
  padding: 28px 34px 48px;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #a78bfa;
  margin-bottom: 6px;
}

.topbar h1 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.topbar p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.tab-panel {
  display: none;
  animation: fadeIn 180ms ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Glass Cards & Grids */
.bento-builder {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  align-items: start;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
}

.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 44px rgba(0, 0, 0, 0.32);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card-head h2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.step-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #7dd3fc;
  margin-bottom: 4px;
}

.live-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
}

.muted {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.muted-xs {
  color: var(--muted);
  font-size: 12px;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

/* Template Cards */
.template-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.template-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  cursor: grab;
  transition: all 160ms ease;
}

.template-card:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-1px);
}

.tpl-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.tpl-icon.violet { background: rgba(139, 92, 246, 0.18); border: 1px solid rgba(139, 92, 246, 0.35); }
.tpl-icon.cyan { background: rgba(56, 189, 248, 0.18); border: 1px solid rgba(56, 189, 248, 0.35); }
.tpl-icon.emerald { background: rgba(52, 211, 153, 0.18); border: 1px solid rgba(52, 211, 153, 0.35); }
.tpl-icon.pink { background: rgba(232, 121, 249, 0.18); border: 1px solid rgba(232, 121, 249, 0.35); }
.tpl-icon.slate { background: rgba(148, 163, 184, 0.14); border: 1px solid rgba(148, 163, 184, 0.25); }

.tpl-body {
  min-width: 0;
  flex: 1;
}

.tpl-title {
  font-weight: 600;
  font-size: 13.5px;
}

.tpl-meta {
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpl-arrow {
  color: var(--muted);
  font-size: 14px;
}

.dropzone.drag-over {
  border-color: var(--violet);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.35), 0 24px 48px rgba(124, 58, 237, 0.18);
}

/* Live Discord + EchoRoom HUD Mockup */
.discord-stage {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 12px;
  background: #090b12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
}

.dc-sidebar {
  background: #141722;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dc-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7c859e;
  margin-bottom: 2px;
}

.dc-ch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12.5px;
  color: #8b95b0;
  padding: 6px 8px;
  border-radius: 7px;
  overflow: hidden;
}

.dc-ch.active {
  background: rgba(139, 92, 246, 0.2);
  color: #ffffff;
  font-weight: 600;
}

.dc-ch span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-user-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 999px;
  flex-shrink: 0;
}

.dc-hud-mini {
  background: linear-gradient(145deg, #0c101d, #15122b);
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hud-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hud-wave {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b5cf6, #38bdf8);
  flex-shrink: 0;
  opacity: 0.9;
}

.hud-room-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-sub {
  font-size: 10px;
  color: #8b95b0;
  letter-spacing: 0.06em;
}

.hud-pill {
  font-size: 10px;
  font-weight: 700;
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.28);
  border: 1px solid rgba(139, 92, 246, 0.55);
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.hud-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hud-box {
  background: rgba(20, 25, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 8px 10px;
}

.hud-box span {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.06em;
}

.hud-box strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

/* Inputs, Selects, Pill Switches, Buttons */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-grid label > span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.select-input,
.text-input {
  width: 100%;
  background: rgba(11, 15, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.select-input:focus,
.text-input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.switch-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-soft);
  user-select: none;
}

.switch-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-slider {
  position: relative;
  width: 38px;
  height: 22px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: background 180ms ease;
  flex-shrink: 0;
}

.switch-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 180ms ease;
}

.switch-control input:checked + .switch-slider {
  background: linear-gradient(90deg, var(--violet), var(--indigo));
}

.switch-control input:checked + .switch-slider::after {
  transform: translateX(16px);
}

.btn-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 160ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.11);
  color: var(--text);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.14);
  border-color: rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.24);
}

.btn-sm {
  padding: 6px 11px;
  font-size: 12px;
  border-radius: 8px;
}

.btn-full {
  width: 100%;
}

/* Lists & Feed */
.list-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.scroll-feed {
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
}

.item-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* Importer Hero */
.hero-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
}

.import-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.import-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 13.5px;
}

.import-step span {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.2);
  padding: 4px 8px;
  border-radius: 8px;
}

/* KPIs & Heatmap */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.kpi-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.kpi-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0.7;
}

.kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.kpi-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.kpi-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
}

.heatmap-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--violet);
}

.heatmap-grid {
  display: grid;
  grid-template-columns: 46px repeat(24, 1fr);
  gap: 5px;
  font-size: 11px;
}

.hm-cell {
  height: 24px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #e2e8f0;
  transition: transform 120ms ease;
}

.hm-cell:hover {
  transform: scale(1.12);
  outline: 1px solid rgba(255, 255, 255, 0.35);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 16px;
}

.price-card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(139, 92, 246, 0.6);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(15, 19, 32, 0.88));
  box-shadow: 0 24px 48px rgba(124, 58, 237, 0.18);
}

.popular-tag {
  position: absolute;
  top: -10px;
  right: 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  color: #06080f;
  padding: 3px 10px;
  border-radius: 999px;
}

.tier-head {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  margin: 8px 0 2px;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  color: var(--text-soft);
  flex: 1;
}

.price-card li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  margin-right: 8px;
}

.alert-warn {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  margin-bottom: 14px;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 19, 32, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  z-index: 99;
}

.hidden {
  display: none !important;
}

.mb-20 { margin-bottom: 20px; }

.promo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(167, 139, 250, 0.42);
  font-size: 13px;
  color: #e2e8f0;
}

.promo-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  color: #06080f;
}

.free-tag {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
}

.sidebar-legal {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}

.sidebar-legal a,
.footer-links a,
.link-plain {
  color: var(--muted);
  text-decoration: none;
}

.sidebar-legal a:hover,
.footer-links a:hover,
.link-plain:hover {
  color: var(--text);
}

/* Public Landing View */
.landing-shell {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-hero {
  text-align: center;
  padding: 46px 20px 26px;
  max-width: 820px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #ddd6fe;
  margin-bottom: 20px;
}

.landing-hero h1 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-lead {
  margin: 18px auto 0;
  max-width: 660px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 38px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.hero-stats span {
  font-size: 12px;
  color: var(--muted);
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.landing-features h3 {
  margin: 4px 0 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
}

.landing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.price s {
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
  margin-right: 4px;
}

/* Legal Pages */
.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.legal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.legal-card h1 {
  margin: 6px 0 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
}

.legal-card h2 {
  margin: 24px 0 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
}

.legal-list {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  padding-left: 20px;
}

@media (max-width: 1080px) {
  .bento-builder,
  .hero-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
  }
  .discord-stage,
  .row-2,
  .row-3 {
    grid-template-columns: 1fr;
  }
}
