:root {
  --ink: #02050f;
  --text: #e8eef8;
  --muted: #7c8aa6;
  --accent: #3ad4ff;
  --accent-soft: #6ae2ff;
  --warm: #e8b875;
  --surface: #0a1226;
  --surface-2: #050a18;
  --line: #1c3359;
  --line-active: #142646;
  --line-strong: #2a4778;
  --bg-top: #020613;
  --bg-mid: #030815;
  --bg-bot: #05102a;
  --grid-halo: #0a1d3d;
  --grid-dot: #3ad4ff;
  --grid-line: #1a6fb855;
  --horizon-glow: #0a2a5a55;
  --ray-color: #3ad4ff;
  --saturn-ring: #3ad4ff;
  --btn-primary-bg: linear-gradient(180deg, #fff 0%, #d8e4f0 100%);
  --btn-primary-fg: #02050f;
}

/* theme overrides via data attribute */
[data-theme="auroral"] {
  --text: #eaf7ef;
  --muted: #87a8a0;
  --accent: #6ee7c8;
  --accent-soft: #95f2d9;
  --warm: #b39bff;
  --surface: #0b1a1f;
  --surface-2: #050f14;
  --line: #1a3a3f;
  --line-active: #10272c;
  --line-strong: #235055;
  --bg-top: #040a0c;
  --bg-mid: #050d12;
  --bg-bot: #081c22;
  --grid-halo: #0a2a2a;
  --grid-dot: #6ee7c8;
  --grid-line: #1e544e55;
  --horizon-glow: #0a3a3655;
  --ray-color: #6ee7c8;
  --saturn-ring: #b39bff;
}
[data-theme="solstice"] {
  --text: #f5edd8;
  --muted: #a6947a;
  --accent: #d99a4a;
  --accent-soft: #f0b566;
  --warm: #f5edd8;
  --surface: #1a1613;
  --surface-2: #0f0c0a;
  --line: #3a2e22;
  --line-active: #221a14;
  --line-strong: #5a4530;
  --bg-top: #0a0907;
  --bg-mid: #110d0a;
  --bg-bot: #1f170f;
  --grid-halo: #2a1e12;
  --grid-dot: #d99a4a;
  --grid-line: #5a3a2055;
  --horizon-glow: #3a240d55;
  --ray-color: #f0b566;
  --saturn-ring: #d99a4a;
  --btn-primary-bg: linear-gradient(180deg, #f5edd8 0%, #d9c9a0 100%);
  --btn-primary-fg: #1a1613;
}
[data-theme="helios"] {
  --text: #fafaf7;
  --muted: #9a9a94;
  --accent: #f5d547;
  --accent-soft: #ffe578;
  --warm: #e89b3c;
  --surface: #111110;
  --surface-2: #070706;
  --line: #2a2a28;
  --line-active: #161615;
  --line-strong: #444441;
  --bg-top: #050504;
  --bg-mid: #0a0a08;
  --bg-bot: #121210;
  --grid-halo: #1a1a10;
  --grid-dot: #f5d547;
  --grid-line: #4a441655;
  --horizon-glow: #2d240a55;
  --ray-color: #f5d547;
  --saturn-ring: #f5d547;
  --btn-primary-bg: linear-gradient(180deg, #f5d547 0%, #e89b3c 100%);
  --btn-primary-fg: #050504;
}
[data-theme="terracotta"] {
  --text: #eee4d2;
  --muted: #a08874;
  --accent: #c2542e;
  --accent-soft: #e07348;
  --warm: #eee4d2;
  --surface: #2a1e15;
  --surface-2: #140c08;
  --line: #5a3a28;
  --line-active: #2a1a10;
  --line-strong: #7a5030;
  --bg-top: #0e0806;
  --bg-mid: #14100c;
  --bg-bot: #24170f;
  --grid-halo: #3a1e10;
  --grid-dot: #c2542e;
  --grid-line: #7a3a2055;
  --horizon-glow: #4a1a0a55;
  --ray-color: #e07348;
  --saturn-ring: #c2542e;
}
[data-theme="cassini"] {
  --text: #1a1812;
  --muted: #6a6554;
  --accent: #0f2340;
  --accent-soft: #1f3d70;
  --warm: #b8893e;
  --surface: #eae5da;
  --surface-2: #dfd8c8;
  --line: #cfc6b5;
  --line-active: #e5ddc8;
  --line-strong: #a89e88;
  --bg-top: #f6f3ed;
  --bg-mid: #efe9db;
  --bg-bot: #e5dcc8;
  --grid-halo: #c8bfa8;
  --grid-dot: #0f2340;
  --grid-line: #8a7a5055;
  --horizon-glow: #a08a5555;
  --ray-color: #b8893e;
  --saturn-ring: #b8893e;
  --btn-primary-bg: linear-gradient(180deg, #0f2340 0%, #1f3d70 100%);
  --btn-primary-fg: #f6f3ed;
}

/* PURPLE FAMILY */
/* 1. Deep cosmic violet */
[data-theme="cosmic"] {
  --text: #efeaff;
  --muted: #8b82b8;
  --accent: #a78bff;
  --accent-soft: #c7b5ff;
  --warm: #f2c56e;
  --surface: #14102b;
  --surface-2: #09071a;
  --line: #2a2354;
  --line-active: #1a1640;
  --line-strong: #3d3470;
  --bg-top: #06041a;
  --bg-mid: #0a0724;
  --bg-bot: #140a3a;
  --grid-halo: #2a1a5a;
  --grid-dot: #a78bff;
  --grid-line: #4a2fa855;
  --horizon-glow: #3a1f8055;
  --ray-color: #b59cff;
  --saturn-ring: #a78bff;
  --btn-primary-bg: linear-gradient(180deg, #fff 0%, #d8cfff 100%);
  --btn-primary-fg: #09071a;
}

/* 2. Nebula magenta */
[data-theme="nebula"] {
  --text: #ffeaf5;
  --muted: #b88aa6;
  --accent: #f04bb8;
  --accent-soft: #ff7ad0;
  --warm: #ff9ec6;
  --surface: #1f0a22;
  --surface-2: #10040f;
  --line: #3d1538;
  --line-active: #281028;
  --line-strong: #5a1f50;
  --bg-top: #0d0410;
  --bg-mid: #140620;
  --bg-bot: #2a0a30;
  --grid-halo: #4a1050;
  --grid-dot: #f04bb8;
  --grid-line: #8a2a7055;
  --horizon-glow: #6a1a6055;
  --ray-color: #ff7ad0;
  --saturn-ring: #f04bb8;
  --btn-primary-bg: linear-gradient(180deg, #ff7ad0 0%, #c0398e 100%);
  --btn-primary-fg: #10040f;
}

/* 3. Twilight lavender */
[data-theme="twilight"] {
  --text: #f0ecff;
  --muted: #9a95b8;
  --accent: #c7b5ff;
  --accent-soft: #dccfff;
  --warm: #f5d8e8;
  --surface: #1a1630;
  --surface-2: #0d0b1c;
  --line: #2e2a48;
  --line-active: #1e1b34;
  --line-strong: #443f64;
  --bg-top: #0a0818;
  --bg-mid: #0f0d22;
  --bg-bot: #1e1840;
  --grid-halo: #2a2450;
  --grid-dot: #c7b5ff;
  --grid-line: #5a4f8a55;
  --horizon-glow: #3a2f6055;
  --ray-color: #dccfff;
  --saturn-ring: #c7b5ff;
  --btn-primary-bg: linear-gradient(180deg, #fff 0%, #e5dcff 100%);
  --btn-primary-fg: #0d0b1c;
}

/* 4. Ultraviolet neon */
[data-theme="uv"] {
  --text: #f4e8ff;
  --muted: #7d6ba8;
  --accent: #b026ff;
  --accent-soft: #d266ff;
  --warm: #e6b8ff;
  --surface: #0d0420;
  --surface-2: #06020f;
  --line: #25104a;
  --line-active: #150830;
  --line-strong: #3d1a70;
  --bg-top: #030108;
  --bg-mid: #07021a;
  --bg-bot: #0f0530;
  --grid-halo: #2a0a70;
  --grid-dot: #b026ff;
  --grid-line: #5a10b055;
  --horizon-glow: #3a0a8055;
  --ray-color: #d266ff;
  --saturn-ring: #b026ff;
  --btn-primary-bg: linear-gradient(180deg, #d266ff 0%, #8a10c8 100%);
  --btn-primary-fg: #06020f;
}

/* 5. Royal + gold */
[data-theme="royal"] {
  --text: #f5eedf;
  --muted: #a89668;
  --accent: #8a4fc8;
  --accent-soft: #b080e5;
  --warm: #e8b860;
  --surface: #1a0f30;
  --surface-2: #0d0620;
  --line: #33224a;
  --line-active: #201538;
  --line-strong: #4d3a70;
  --bg-top: #08040f;
  --bg-mid: #100828;
  --bg-bot: #1a0d40;
  --grid-halo: #2a1858;
  --grid-dot: #e8b860;
  --grid-line: #5a3a8a55;
  --horizon-glow: #3d2a7055;
  --ray-color: #e8b860;
  --saturn-ring: #e8b860;
  --btn-primary-bg: linear-gradient(180deg, #e8b860 0%, #b88530 100%);
  --btn-primary-fg: #08040f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  background: var(--bg-top);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  overflow-x: hidden;
  transition: background 0.4s;
}
body {
  min-height: 100vh;
}

.stage {
  min-height: 100vh;
  width: 100%;
}

/* Theme switcher */
.theme-switcher {
  display: none !important; /* Hidden */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  gap: 6px;
  padding: 6px;
  background: rgba(5, 10, 24, 0.7);
  border: 1px solid var(--line);
  max-width: calc(100vw - 40px);
  overflow-x: auto;
  scrollbar-width: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
}
.theme-switcher::-webkit-scrollbar {
  display: none;
}
.theme-switcher button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s;
}
.theme-switcher button:hover {
  color: var(--text);
}
.theme-switcher button.active {
  background: var(--line-active);
  color: var(--text);
  border-color: var(--line-strong);
}
.theme-switcher .swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 6px currentColor;
}
.theme-switcher .tw-div {
  width: 1px;
  align-self: stretch;
  background: var(--line-strong);
  margin: 2px 4px;
  opacity: 0.6;
}

/* Light ray from above — subtle */
.rays {
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 90%;
  z-index: 2;
  pointer-events: none;
  opacity: var(--rays-opacity, 0.5);
  mix-blend-mode: screen;
}

/* Saturn arc — upper right, very faint */
.saturn {
  position: absolute;
  top: calc(-32vw + var(--saturn-y, 0) * 1vw);
  right: calc(-24vw + var(--saturn-x, 0) * 1vw);
  width: 80vw;
  height: 80vw;
  z-index: 1;
  pointer-events: none;
  opacity: 0.10;
}
.saturn svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Tweaks panel */
#tweaks-panel {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 260px;
  background: rgba(10, 18, 38, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 200;
  font-family: "Geist", sans-serif;
  color: var(--text);
  box-shadow: 0 20px 60px -10px #000;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
#tweaks-panel .tw-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  position: sticky;
  top: 0;
  background: inherit;
}
#tweaks-panel .tw-close {
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  padding: 0 4px;
}
#tweaks-panel .tw-close:hover {
  color: var(--text);
}
#tweaks-panel .tw-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#tweaks-panel label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}
#tweaks-panel input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
#tweaks-panel input[type="text"] {
  width: 100%;
  padding: 6px 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-family: "Geist", sans-serif;
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
}
#tweaks-panel input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
}
#tweaks-panel .tw-val {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--text);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
}

/* Nav */
nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Figtree", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-mark {
  width: 32px;
  height: 32px;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  color: #ffffff;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid #1c3359;
  border-radius: 999px;
  background: rgba(10, 24, 48, 0.4);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.nav-cta:hover {
  border-color: #3ad4ff88;
  background: rgba(15, 40, 80, 0.6);
}

/* Hero */
.hero {
  position: relative;
  z-index: 100;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px 0;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 24, 48, 0.55);
  border: 1px solid #1c3359;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-soft);
  backdrop-filter: blur(10px);
}
.eyebrow .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 26px auto 0;
  max-width: 14ch;
  text-wrap: balance;
}
h1 em {
  font-style: italic;
  background: linear-gradient(180deg, var(--text) 0%, var(--warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sub {
  margin: 22px auto 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 300;
}
.cta-row {
  margin: 30px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.waitlist-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.waitlist-source-row {
  width: 100%;
  max-width: 400px;
  margin-top: 4px;
}
.waitlist-source-row .custom-select-wrapper {
  min-width: 100%;
}
.waitlist-source-row .custom-select-trigger {
  font-size: 13px;
  opacity: 0.9;
}
.waitlist-input {
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #1c3359;
  color: var(--text);
  outline: none;
  transition: all 0.2s;
  flex: 1;
  min-width: 200px;
}
.waitlist-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.waitlist-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(58, 212, 255, 0.1);
}
select.waitlist-input {
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%237c8aa6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.waitlist-hint {
  margin: 16px auto 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Custom dropdown */
.custom-select-wrapper {
  position: relative;
  min-width: 240px;
  flex-shrink: 0;
}
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  padding: 13px 40px 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid #1c3359;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.custom-select-trigger::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%237c8aa6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
  pointer-events: none;
}

.custom-select.open .custom-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}
.custom-select-trigger:hover {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.12);
}
.custom-select.open .custom-select-trigger {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(58, 212, 255, 0.1);
}
.custom-select-placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.custom-select-trigger.has-value .custom-select-placeholder {
  color: var(--text);
  opacity: 1;
}
.custom-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #0a1226 0%, #050a18 100%);
  border: 1px solid #1c3359;
  border-radius: 10px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 10000;
  display: none;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  scrollbar-width: thin;
  scrollbar-color: #2a4778 transparent;
}
.custom-options::-webkit-scrollbar {
  width: 6px;
}
.custom-options::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}
.custom-options::-webkit-scrollbar-thumb {
  background: #2a4778;
  border-radius: 10px;
}
.custom-options::-webkit-scrollbar-thumb:hover {
  background: #3ad4ff;
}
.custom-select.open .custom-options {
  display: block;
}
.custom-option {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}
.custom-option:hover {
  background: rgba(58, 212, 255, 0.1);
}
.custom-option:first-child {
  border-radius: 10px 10px 0 0;
}
.custom-option:last-child {
  border-radius: 0 0 10px 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 10px 40px -10px #3ad4ff88;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 14px 50px -10px #3ad4ffaa;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid #1c3359;
}
.btn-ghost:hover {
  border-color: #3ad4ff77;
  background: rgba(15, 40, 80, 0.4);
}

.coords {
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a5a78;
}
.coords span::before {
  content: "◆ ";
  color: var(--accent);
}
.coords span {
  font-family: "Geist Mono", monospace;
}

/* Dashboard floats on grid */
.dashboard-wrap {
  font-family: Geist;
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 40px 40px;
}
.dashboard {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1226 0%, #050a18 100%);
  border: 1px solid #1c3359;
  box-shadow:
    0 0 0 1px #3ad4ff0a,
    0 20px 50px -20px #00000088,
    0 60px 120px -40px #000;
}
.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 100% at 50% -20%,
    #3ad4ff08,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
}

.db-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #1c3359;
}
.db-top .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.db-top .dot:nth-child(1) {
  background: #ff5f56;
  opacity: 0.7;
}
.db-top .dot:nth-child(2) {
  background: #ffbd2e;
  opacity: 0.7;
}
.db-top .dot:nth-child(3) {
  background: #27c93f;
  opacity: 0.7;
}
.db-url {
  margin-left: 16px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: #6a7a96;
  padding: 4px 10px;
  background: #0a1226;
  border-radius: 5px;
  flex: 1;
  max-width: 320px;
}

.db-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
}
.db-sidebar {
  border-right: 1px solid #1c3359;
  padding: 18px 14px;
  background: #060c1c;
}
.db-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 15px;
  margin-bottom: 24px;
  padding: 0 6px;
}
.db-brand .mini-mark {
  width: 18px;
  height: 18px;
}
.db-section {
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #455273;
  padding: 0 8px;
  margin: 16px 0 6px;
}
.db-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #9aa8c2;
  cursor: default;
}
.db-item.active {
  background: #142646;
  color: var(--text);
  box-shadow: inset 0 0 0 1px #2a4778;
}
.db-item .ic {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #1a2a4a;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.db-item.active .ic {
  background: var(--accent);
  box-shadow: 0 0 8px #3ad4ff77;
}
.db-item .ic svg {
  width: 9px;
  height: 9px;
}

.db-main {
  padding: 22px 26px;
}
.db-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.db-title {
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.db-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 300;
}
.db-tabs {
  display: flex;
  gap: 4px;
  background: #0a1226;
  border-radius: 7px;
  padding: 3px;
  font-size: 11px;
  border: 1px solid #1c3359;
}
.db-tab {
  padding: 5px 12px;
  border-radius: 5px;
  color: #6a7a96;
  cursor: default;
  font-family: "Geist Mono", monospace;
  letter-spacing: 0.05em;
}
.db-tab.active {
  background: #142646;
  color: var(--text);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.kpi {
  border: 1px solid #1c3359;
  background: linear-gradient(180deg, #0c1530 0%, #070c1e 100%);
  border-radius: 10px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.kpi-label {
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5a6a8a;
}
.kpi-val {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.kpi-delta {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: #6ae8a8;
  margin-top: 2px;
}
.kpi-delta.neg {
  color: #e8b875;
}
.kpi .spark {
  position: absolute;
  right: 10px;
  top: 12px;
  width: 48px;
  height: 22px;
  opacity: 0.9;
}

.panels {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
}
.panel {
  border: 1px solid #1c3359;
  background: linear-gradient(180deg, #0b1228 0%, #060b1c 100%);
  border-radius: 10px;
  padding: 14px 16px;
}
.panel h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel h3 .tag {
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #142646;
  color: var(--accent-soft);
  letter-spacing: 0.1em;
}
.chart {
  margin-top: 14px;
  width: 100%;
  height: 150px;
}
.chart svg {
  width: 100%;
  height: 100%;
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #1c3359;
  font-size: 12px;
}
.feed-row:last-child {
  border-bottom: none;
}
.feed-row .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px #3ad4ff99;
}
.feed-row .bullet.warm {
  background: var(--warm);
  box-shadow: 0 0 6px #e8b87599;
}
.feed-row .who {
  color: var(--text);
  font-weight: 500;
  font-family: Geist;
  letter-spacing: -0.7px;
}
.feed-row .what {
  color: var(--muted);
  flex: 1;
}
.feed-row .when {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: #4a5a78;
}

.footer {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 32px 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(28, 51, 89, 0.5);
}

.footer-brand {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.footer-copyright {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #4a5a78;
}

/* Waitlist confirmation modal */
.waitlist-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.waitlist-modal-overlay.show {
  display: flex;
  opacity: 1;
}
.waitlist-modal {
  position: relative;
  background: linear-gradient(180deg, #0a1226 0%, #050a18 100%);
  border: 1px solid #1c3359;
  border-radius: 16px;
  padding: 48px 56px;
  max-width: 480px;
  box-shadow:
    0 0 0 1px #3ad4ff0a,
    0 20px 50px -20px #00000088,
    0 60px 120px -40px #000;
  text-align: center;
}
.waitlist-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s;
  background: transparent;
  border: none;
  padding: 0;
}
.waitlist-modal-close:hover {
  color: var(--text);
}
.waitlist-modal-title {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.waitlist-modal-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

/* Integrations section (frameworks + features) */
.integrations-section {
  text-align: center;
  margin: 100px auto 0;
  max-width: 1200px;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.integrations-section h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

/* Frameworks section */
.frameworks {
  padding: 0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.frameworks-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.frameworks-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 12px;
}

.frameworks-list {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.framework-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.framework-item:hover {
  color: var(--text);
}

.framework-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.65;
  color: var(--accent);
}

.frameworks-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
}

/* Features section */
.features {
  padding: 80px 40px 60px;
  position: relative;
  z-index: 1;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(13, 17, 23, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.feature-card:nth-child(1) {
  border: 1px solid rgba(34, 167, 238, 0.3);
}

.feature-card:nth-child(2) {
  border: 1px solid rgba(109, 40, 217, 0.3);
}

.feature-card:nth-child(3) {
  border: 1px solid rgba(29, 78, 216, 0.3);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card:nth-child(1):hover {
  border-color: rgba(34, 167, 238, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(34, 167, 238, 0.201);
}

.feature-card:nth-child(2):hover {
  border-color: rgba(109, 40, 217, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(109, 40, 217, 0.2);
}

.feature-card:nth-child(3):hover {
  border-color: rgba(29, 78, 216, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(29, 78, 216, 0.2);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.feature-card:nth-child(1) h3 {
  color: #67e8f9;
}

.feature-card:nth-child(2) h3 {
  color: #ddd6fe;
}

.feature-card:nth-child(3) h3 {
  color: #bfdbfe;
}

.feature-card p {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .features-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Dashboard section */
.dashboard-section {
  text-align: center;
  margin: 140px auto 40px;
  max-width: 1200px;
  padding: 0 40px;
}

.dashboard-section h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.dashboard-section .section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 60px;
  font-weight: 300;
}
