/* OpesPulse public marketing pages — shared design system
   Used by: /, /globes, /asset-coverage, /signals, /theses,
            /pricing, /about, /contact, /legal
*/

:root {
  --bg: #05070E; --bg-2: #0A0F1C; --panel: #0B1020; --panel-2: #0E1424;
  --line: #1C2540; --text: #E8ECF7; --muted: #8B95B3; --dim: #5A6586;
  --blue: #3B82F6; --purple: #8B5CF6; --pink: #EC4899;
  --green: #10B981; --red: #EF4444; --amber: #F59E0B;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body {
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(139,92,246,0.15), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(59,130,246,0.10), transparent 60%),
    var(--bg);
  overflow-x: clip;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* NAV - full-width transparent sticky bar, like TradingView */
.nav {
  width: 100%;
  height: 56px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; column-gap: 32px;
  background: rgba(5,7,14,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 101;
}
.logo { display: inline-flex; align-items: center; color: var(--text); height: 28px; justify-self: start; }
.logo img { height: 28px; width: auto; max-width: 200px; display: block; filter: drop-shadow(0 0 10px rgba(99,102,241,0.2)); }
.site-footer .f-brand .logo { height: 24px; }
.site-footer .f-brand .logo img { height: 22px; max-width: 150px; }
.nav-links { display: flex; gap: 4px; justify-self: center; position: relative; }
.nav-links a {
  color: var(--text);
  font-size: 15px; font-weight: 500; line-height: 1;
  padding: 10px 14px;
  border-radius: 24px;
  transition: background 140ms ease, color 140ms ease;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); }
.nav-links a.active { background: rgba(255,255,255,0.06); font-weight: 600; }
.nav-right { justify-self: end; display: flex; gap: 8px; align-items: center; }
.nav-right .btn-primary {
  height: 40px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1;
}
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  color: var(--text); padding: 8px 10px; border-radius: 8px; cursor: pointer;
}

/* Simple nav dropdown (About menu) */
.nav-drop-wrap { position: relative; display: inline-flex; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--text); font-size: 15px; font-weight: 500; line-height: 1;
  padding: 10px 14px; border-radius: 24px;
  text-decoration: none;
  transition: background 140ms ease;
  position: relative;
}
.nav-drop-btn::after {
  content: '';
  position: absolute; top: 100%; left: 0; right: 0; height: 14px;
}
.nav-drop-btn:hover, .nav-drop-wrap:hover .nav-drop-btn { background: rgba(255,255,255,0.08); }
.nav-drop-btn .mm-caret { font-size: 10px; opacity: 0.8; transition: transform 180ms ease; }
.nav-drop-wrap:hover .nav-drop-btn .mm-caret { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: 0; right: auto; min-width: 200px;
  background: rgba(10,14,26,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 10px 8px 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 200;
}
.nav-drop-wrap:hover .nav-drop-panel, .nav-drop-wrap:focus-within .nav-drop-panel {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-drop-panel a {
  display: block; padding: 9px 10px; border-radius: 6px;
  font-size: 13.5px; color: var(--text); text-decoration: none;
  transition: background 120ms ease;
  white-space: normal;
}
.nav-drop-panel a:hover { background: rgba(255,255,255,0.06); }
@media (max-width: 1100px) {
  .nav-drop-wrap { width: 100%; }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 12px 14px; border-radius: 8px; }
  .nav-drop-panel {
    position: static; transform: none; width: 100%;
    opacity: 1; pointer-events: auto;
    background: transparent; border: none; box-shadow: none; backdrop-filter: none;
    padding: 0 0 0 10px;
  }
}

/* ---------- PRODUCTS MEGA-MENU (TradingView-style two-pane) ---------- */
.mm-wrap { position: static; display: inline-flex; }
.mm-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); font-size: 15px; font-weight: 500; line-height: 1;
  padding: 10px 14px; border-radius: 24px;
  background: transparent; border: none; cursor: pointer;
  font-family: inherit;
  transition: background 140ms ease;
  position: relative;
}
.mm-trigger::after {
  content: '';
  position: absolute; top: 100%; left: 0; right: 0; height: 14px;
}
.mm-trigger:hover, .mm-wrap.open .mm-trigger { background: rgba(255,255,255,0.08); }
.mm-caret { font-size: 10px; opacity: 0.8; transition: transform 180ms ease; }
.mm-wrap.open .mm-caret, .mm-wrap:hover .mm-caret { transform: rotate(180deg); }

.mm-panel {
  position: absolute; top: calc(100% + 14px); left: 0;
  width: min(760px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  box-sizing: border-box;
  background: rgba(10,14,26,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 14px 10px 12px;
  opacity: 0; pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 200;
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0;
}
.mm-panel a, .mm-panel button { white-space: normal; }
.mm-wrap:hover .mm-panel, .mm-wrap:focus-within .mm-panel, .mm-wrap.open .mm-panel {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}

.mm-left { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 0 4px 0 0; }
.mm-right {
  position: relative;
  padding: 0 4px 0 14px;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  min-width: 0;
}

.mm-hero {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 14px; margin-bottom: 4px;
  text-decoration: none; color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mm-hero-icon {
  width: 30px; height: 30px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #8B5CF6, #3B82F6);
  color: #fff; font-size: 13px; flex-shrink: 0;
}
.mm-hero > div:last-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.mm-hero strong { display: block; font-size: 13.5px; font-weight: 700; }
.mm-hero span { display: block; font-size: 11.5px; color: rgba(232,236,247,0.6); line-height: 1.4; margin-top: 1px; }

.mm-label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(232,236,247,0.45);
  padding: 10px 10px 6px;
}

.mm-cat {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 6px;
  background: transparent; border: none;
  font-family: inherit; font-size: 13.5px; font-weight: 500;
  color: var(--text); text-align: left; cursor: pointer;
  transition: background 120ms ease;
}
.mm-cat:hover, .mm-cat.active { background: rgba(255,255,255,0.06); }
.mm-cat-ico {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(232,236,247,0.75);
}
.mm-cat-ico svg { width: 16px; height: 16px; }
.mm-cat.active .mm-cat-ico { color: var(--text); }
.mm-chev {
  color: rgba(232,236,247,0.35); font-size: 16px; line-height: 1; font-weight: 400;
  transition: transform 160ms ease;
}
.mm-cat.active .mm-chev, .mm-cat:hover .mm-chev { transform: translateX(2px); }

.mm-sep { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 10px; }

.mm-sub-link {
  display: block; padding: 8px 10px; border-radius: 6px;
  font-size: 13.5px; font-weight: 500; color: var(--text); text-decoration: none;
  transition: background 120ms ease;
}
.mm-sub-link:hover { background: rgba(255,255,255,0.06); }

.mm-sheet { display: none; flex-direction: column; gap: 1px; min-width: 0; }
.mm-sheet.active { display: flex; }

.mm-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 10px; border-radius: 6px;
  text-decoration: none; color: var(--text);
  transition: background 120ms ease;
  min-width: 0; max-width: 100%;
}
.mm-item:hover { background: rgba(255,255,255,0.06); }
.mm-item .mm-ico {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(232,236,247,0.7);
}
.mm-item .mm-ico svg { width: 16px; height: 16px; }
.mm-item .mm-txt { flex: 1 1 0; min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.mm-item .mm-ttl { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; min-width: 0; }
.mm-item .mm-sub { font-size: 11.5px; color: rgba(232,236,247,0.5); line-height: 1.45; margin-top: 2px; display: block; overflow-wrap: anywhere; word-break: break-word; }
.mm-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(245,158,11,0.15); color: #FCD34D;
  border: 1px solid rgba(245,158,11,0.3);
  line-height: 1;
}

@media (max-width: 1100px) {
  .mm-wrap { width: 100%; flex-direction: column; }
  .mm-trigger { width: 100%; justify-content: space-between; padding: 12px 14px; border-radius: 8px; }
  .mm-panel {
    position: static; transform: none; width: 100%;
    opacity: 1; pointer-events: auto;
    background: transparent; border: none; box-shadow: none; backdrop-filter: none;
    padding: 0; margin-top: 6px;
    grid-template-columns: 1fr; gap: 6px;
    display: none;
  }
  .mm-wrap.open .mm-panel { display: grid; }
  .mm-right { padding-left: 0; border-left: none; }
  .mm-sheet { display: flex; }
  .mm-cat { display: none; }
  .mm-left > .mm-label:first-of-type { display: none; }
  .mm-sep { display: none; }
}

/* Button system */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: inherit;
  transition: transform 140ms ease, box-shadow 200ms ease;
}
.btn-ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: rgba(139,92,246,0.45); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #8B5CF6 100%);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.3), 0 8px 24px rgba(59,130,246,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(139,92,246,0.5), 0 12px 32px rgba(59,130,246,0.35); }
.btn-lg { padding: 13px 22px; font-size: 14px; border-radius: 10px; }

/* Page wrapper */
.page {
  max-width: 1440px; margin: 0 auto;
  padding: 0 32px 80px;
}

/* FOOTER */
.site-footer {
  max-width: 1440px; margin: 60px auto 0;
  padding: 48px 32px 36px;
  border-top: 1px solid rgba(28,37,64,0.6);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px;
  color: var(--muted); font-size: 13px;
}
.site-footer .f-brand { display: flex; flex-direction: column; gap: 12px; max-width: 260px; }
.site-footer .f-brand p { color: var(--dim); font-size: 12.5px; line-height: 1.55; }
.site-footer h6 { color: var(--text); font-size: 12px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.site-footer ul a { color: var(--muted); font-size: 13px; transition: color 140ms ease; }
.site-footer ul a:hover { color: var(--text); }
.site-footer .f-bottom {
  grid-column: 1 / -1;
  padding-top: 28px; margin-top: 12px;
  border-top: 1px solid rgba(28,37,64,0.45);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  color: var(--dim); font-size: 12px; font-family: 'JetBrains Mono', monospace;
}

/* Shared type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(139,92,246,0.10);
  border: 1px solid rgba(139,92,246,0.35);
  color: #D8CCFF; font-size: 11.5px; font-family: 'JetBrains Mono', monospace;
}
.eyebrow.amber { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.4); color: #FBBF24; }
.eyebrow.green { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.35); color: #34D399; }
.grad {
  background: linear-gradient(120deg, #3B82F6, #8B5CF6, #EC4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- PLATFORM / LANDING ---------- */
.hero-compact { padding: 56px 0 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-compact h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin-top: 18px; }
.hero-compact p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 520px; }
.hero-cta-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-viz {
  aspect-ratio: 4/3; border-radius: 16px;
  background:
    radial-gradient(400px 200px at 30% 30%, rgba(139,92,246,0.25), transparent),
    radial-gradient(400px 200px at 70% 70%, rgba(59,130,246,0.2), transparent),
    linear-gradient(180deg, #0B1226, #070B18);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero-viz-img {
  aspect-ratio: 16/10; border-radius: 16px;
  border: 1px solid var(--line); overflow: hidden; position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}
.hero-viz-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.step {
  padding: 24px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(18,26,46,0.85), rgba(14,20,36,0.85));
  border: 1px solid var(--line); position: relative;
}
.step-num {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.4);
  color: #C4B5FD; font-family: 'JetBrains Mono', monospace; font-weight: 700;
}
.step h4 { margin-top: 16px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.step-icon {
  position: absolute; top: 24px; right: 24px;
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(59,130,246,0.14); border: 1px solid rgba(59,130,246,0.35);
}

.section-head { margin-top: 56px; margin-bottom: 22px; }
.section-head .kicker { color: #A78BFA; font-size: 12px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.section-head h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.section-head p { color: var(--muted); margin-top: 12px; max-width: 620px; font-size: 15px; line-height: 1.55; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  padding: 22px; border-radius: 12px;
  background: rgba(10,15,28,0.7); border: 1px solid var(--line);
}
.feat h5 { font-size: 15px; font-weight: 700; color: var(--text); }
.feat p { color: var(--muted); font-size: 13px; margin-top: 8px; line-height: 1.5; }
.feat .dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 14px; }

/* ---------- ASSET COVERAGE ---------- */
.coverage-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.cf-chip {
  padding: 8px 16px; border-radius: 8px;
  background: rgba(10,15,28,0.7); border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
}
.cf-chip.active { background: rgba(59,130,246,0.12); color: #93C5FD; border-color: rgba(59,130,246,0.4); }
.cf-chip .cnt { color: var(--dim); margin-left: 6px; font-size: 12px; }
.coverage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.asset-card {
  padding: 14px; border-radius: 10px;
  background: rgba(10,15,28,0.8); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.asset-card .tick-ico {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #fff;
  flex-shrink: 0; font-size: 13px;
}
.asset-card .info { flex: 1; min-width: 0; }
.asset-card .nm { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px; }
.asset-card .sub { font-size: 10px; color: var(--dim); font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.asset-card .px { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.asset-card .px .pct { font-size: 10px; }
.coverage-gate {
  margin-top: 20px; position: relative;
  height: 180px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10,15,28,0.3), rgba(10,15,28,0.95)),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(139,92,246,0.04) 80px 160px);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(139,92,246,0.25);
}
.coverage-gate-inner { text-align: center; }
.coverage-gate h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.coverage-gate p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.coverage-gate .btn { margin-top: 16px; }

/* ---------- LIVE SIGNALS ---------- */
.signals-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; margin-top: 28px; }
.signals-feed { display: flex; flex-direction: column; gap: 8px; }
.signal-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 120px minmax(0, 1fr) minmax(0, 1fr) 120px;
  gap: 20px; align-items: center;
  padding: 14px 20px; border-radius: 12px;
  background: rgba(10,15,28,0.7); border: 1px solid rgba(28,37,64,0.5);
  text-decoration: none; color: var(--text);
  transition: background 140ms ease, border-color 140ms ease;
}
.signal-row:hover { background: rgba(15,22,42,0.95); border-color: rgba(60,80,130,0.7); }
.sr-asset { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sr-logo {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
  background: rgba(10,15,28,0.6);
}
.sr-logo svg, .sr-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.sr-name { min-width: 0; }
.sr-name strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.sr-name span { display: block; font-size: 11.5px; color: var(--dim); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-spark { width: 100%; height: 30px; color: #6B7280; }
.sr-spark.pos { color: #34D399; }
.sr-spark.neg { color: #F87171; }
.sr-price { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 700; color: var(--text); text-align: right; }
.sr-prev { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--dim); text-align: right; }
.sr-change { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; text-align: right; }
.sr-change.pos { color: #34D399; }
.sr-change.neg { color: #F87171; }
.signal-item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 11px;
  background: rgba(10,15,28,0.8); border: 1px solid var(--line);
}
.signal-item .ts { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--dim); }
.signal-item .sig-body { min-width: 0; }
.signal-item h5 { font-size: 14px; font-weight: 700; }
.signal-item p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.signal-item .side-pill {
  padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.side-pill.long { background: rgba(34,197,94,0.15); color: #4ADE80; border: 1px solid rgba(34,197,94,0.4); }
.side-pill.short { background: rgba(239,68,68,0.15); color: #F87171; border: 1px solid rgba(239,68,68,0.4); }
.side-pill.neu { background: rgba(245,158,11,0.12); color: #FBBF24; border: 1px solid rgba(245,158,11,0.35); }
.signals-side {
  padding: 22px; border-radius: 12px;
  background: rgba(10,15,28,0.85); border: 1px solid var(--line);
  height: fit-content;
}
.signals-side h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.side-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(28,37,64,0.5); font-size: 12.5px; }
.side-row:last-child { border: none; }
.side-row span:first-child { color: var(--muted); }
.side-row span:last-child { font-family: 'JetBrains Mono', monospace; font-weight: 600; }

/* ---------- GLOBES / GEOLOCK ---------- */
.globe-hero { padding: 52px 0 28px; max-width: 920px; }
.globe-hero h1 { font-size: 58px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.globe-hero p { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 720px; }

.layer-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 24px; }
.lchip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10,15,28,0.8); border: 1px solid var(--line);
  font-size: 12.5px; font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
}
.lchip .ld { width: 8px; height: 8px; border-radius: 50%; }
.lchip.on { background: rgba(59,130,246,0.10); color: #E8ECF7; border-color: rgba(59,130,246,0.3); }

.globe-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.globe-stage {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 20px;
  background: linear-gradient(180deg, #06091A, #020408);
  border: 1px solid var(--line);
  overflow: hidden;
}
.globe-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.geo-callout {
  position: absolute; top: 42%; left: 58%;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(10,15,28,0.95); border: 1px solid rgba(245,158,11,0.6);
  min-width: 230px;
  box-shadow: 0 8px 32px rgba(245,158,11,0.2);
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
}
.geo-callout .tt { color: #FBBF24; font-weight: 700; letter-spacing: 0.08em; font-size: 10px; }
.geo-callout .nm { color: #E8ECF7; font-size: 14px; margin-top: 5px; font-weight: 600; }
.geo-callout .rule { color: var(--muted); margin-top: 5px; }
.geo-callout .notif { margin-top: 7px; color: #4ADE80; font-size: 10.5px; }

.geo-panels { display: flex; flex-direction: column; gap: 16px; }
.geo-card {
  padding: 22px; border-radius: 14px;
  background: rgba(10,15,28,0.85); border: 1px solid var(--line);
}
.geo-card h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.geo-card .lead { color: var(--muted); margin-top: 4px; font-size: 12.5px; }

.rule-form { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.rule-field {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 8px;
  background: #070B18; border: 1px solid var(--line);
  font-size: 12.5px; font-family: 'JetBrains Mono', monospace;
}
.rule-field .lbl { color: var(--dim); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.rule-field .val { color: #E8ECF7; }
.rule-field .val .pill {
  display: inline-block; padding: 2px 8px; border-radius: 5px;
  background: rgba(59,130,246,0.14); border: 1px solid rgba(59,130,246,0.35);
  color: #93C5FD; font-size: 11px; margin-left: 6px;
}

.chan-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.chan {
  padding: 12px 10px; border-radius: 9px;
  background: #070B18; border: 1px solid var(--line);
  text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted); position: relative;
}
.chan.on { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.35); color: #34D399; }
.chan .ic {
  width: 22px; height: 22px; border-radius: 5px; margin: 0 auto 6px;
  background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #D8CCFF;
}
.chan.on .ic { background: rgba(16,185,129,0.14); border-color: rgba(16,185,129,0.4); color: #34D399; }

.alert-feed { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.alert-row {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 14px; border-radius: 9px;
  background: #070B18; border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.alert-row .ts { color: var(--dim); font-size: 11px; }
.alert-row .msg { color: #E8ECF7; }
.alert-row .msg b { color: #FBBF24; }
.alert-row .msg .sm { color: var(--muted); font-size: 10.5px; display: block; margin-top: 2px; }
.alert-row .lat { color: #34D399; font-size: 11px; }

.sla-row { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sla-card {
  padding: 18px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(18,26,46,0.85), rgba(14,20,36,0.85));
  border: 1px solid var(--line);
}
.sla-card .lbl { font-size: 10px; color: var(--dim); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.sla-card .val { margin-top: 8px; font-size: 28px; font-weight: 800; font-family: 'JetBrains Mono', monospace; letter-spacing: -0.02em; }
.sla-card .sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.sla-card.a .val { color: #60A5FA; }
.sla-card.b .val { color: #A78BFA; }
.sla-card.c .val { color: #34D399; }

/* Energy layer */
.emap-section { margin-top: 56px; }
.emap-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; flex-wrap: wrap; }
.emap-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.emap-head h2 .grad { background: linear-gradient(90deg, #22D3EE, #A78BFA, #F472B6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.emap-head .sub { color: var(--muted); font-size: 13.5px; max-width: 520px; margin-top: 6px; }
.emap-head .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.emap-head .chips .pill {
  padding: 5px 10px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.35); color: #D8CCFF;
}
.emap-image-wrap {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: #04060F;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}
.emap-image { display: block; width: 100%; height: auto; opacity: 0.98; }
.emap-geolock {
  position: absolute; right: 22px; top: 22px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(10,15,28,0.94); border: 1px solid rgba(245,158,11,0.55);
  box-shadow: 0 10px 30px rgba(245,158,11,0.18);
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted);
  max-width: 280px;
}
.emap-geolock .tt { color: #FBBF24; letter-spacing: 0.08em; font-size: 10px; font-weight: 700; }
.emap-geolock .rw { margin-top: 5px; color: #E8ECF7; font-size: 12px; }
.emap-geolock .nt { margin-top: 7px; color: #4ADE80; font-size: 11px; }

/* Aircraft layer */
.amap-section { margin-top: 48px; }
.amap-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; flex-wrap: wrap; }
.amap-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.amap-head h2 .grad { background: linear-gradient(90deg, #60A5FA, #22D3EE, #93C5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.amap-head .sub { color: var(--muted); font-size: 13.5px; max-width: 540px; margin-top: 6px; }
.amap-head .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.amap-head .chips .pill {
  padding: 5px 10px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  background: rgba(34,211,238,0.10); border: 1px solid rgba(34,211,238,0.35); color: #7DD3FC;
}
.amap-image-wrap {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: #04060F;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}
.amap-image { display: block; width: 100%; height: auto; opacity: 0.98; }
.amap-geolock {
  position: absolute; left: 22px; bottom: 22px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(10,15,28,0.94); border: 1px solid rgba(34,211,238,0.55);
  box-shadow: 0 10px 30px rgba(34,211,238,0.18);
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted);
  max-width: 280px;
}
.amap-geolock .tt { color: #22D3EE; letter-spacing: 0.08em; font-size: 10px; font-weight: 700; }
.amap-geolock .rw { margin-top: 5px; color: #E8ECF7; font-size: 12px; }
.amap-geolock .nt { margin-top: 7px; color: #4ADE80; font-size: 11px; }

/* ---------- THESES ---------- */
.thesis-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.thesis-filter {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(17,24,44,0.7);
  border: 1px solid rgba(60,80,130,0.3);
  color: rgba(232,236,247,0.7);
  font-family: inherit;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.thesis-filter:hover { background: rgba(30,42,70,0.85); color: var(--text); border-color: rgba(100,130,200,0.4); }
.thesis-filter.is-active {
  background: rgba(232,236,247,0.95);
  color: #0A0F1C;
  border-color: rgba(232,236,247,0.95);
}
.thesis-empty {
  margin: 32px 0 0;
  color: rgba(232,236,247,0.55);
  font-size: 14px;
  text-align: center;
}
.theses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 960px) { .theses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .theses { grid-template-columns: 1fr; } }
.theses.theses-loading > .thesis { visibility: hidden; }

.thesis-pagination {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 36px auto 8px;
  flex-wrap: wrap;
  padding: 0;
}
.thesis-pagination[hidden] { display: none !important; }
.tp-pages {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 6px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(22,30,52,0.7), rgba(14,20,36,0.7));
  border: 1px solid rgba(60,80,130,0.35);
  box-shadow: 0 4px 18px rgba(8,12,24,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tp-page,
.tp-nav {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(232,236,247,0.72);
  font-size: 14px;
  font-weight: 600;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1;
  box-sizing: border-box;
}
.tp-page:hover,
.tp-nav:hover:not(:disabled) {
  color: #fff;
  background: rgba(139,92,246,0.18);
  border-color: rgba(139,92,246,0.4);
}
.tp-page.is-active {
  color: #fff;
  background: linear-gradient(135deg, #A855F7 0%, #6366F1 55%, #3B82F6 100%);
  border-color: rgba(139,92,246,0.55);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 0 0 1px rgba(99,102,241,0.4),
    0 6px 16px rgba(99,102,241,0.35);
}
.tp-nav {
  min-width: 44px;
  border: 1px solid rgba(60,80,130,0.35);
  background: linear-gradient(180deg, rgba(22,30,52,0.7), rgba(14,20,36,0.7));
  box-shadow: 0 4px 12px rgba(8,12,24,0.35);
}
.tp-nav svg {
  width: 18px;
  height: 18px;
  display: block;
}
.tp-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
@media (max-width: 520px) {
  .tp-page, .tp-nav { min-width: 36px; height: 36px; font-size: 13px; }
  .tp-nav { min-width: 40px; }
}
.thesis {
  position: relative;
  padding: 20px 22px 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17,24,44,0.92), rgba(8,12,24,0.96));
  border: 1px solid rgba(60,80,130,0.28);
  box-shadow: 0 22px 48px -28px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 250px;
  transition: transform 180ms ease, border-color 180ms ease;
}
.thesis:hover { transform: translateY(-2px); border-color: rgba(100,130,200,0.4); }
.thesis::after {
  content: ''; position: absolute; left: -20%; right: -20%; bottom: -50%; height: 200px;
  pointer-events: none; z-index: 0;
}
.thesis.pos::after { background: radial-gradient(ellipse at center, rgba(52,211,153,0.14), transparent 70%); }
.thesis.neg::after { background: radial-gradient(ellipse at center, rgba(248,113,113,0.13), transparent 70%); }
.thesis > * { position: relative; z-index: 1; }

.thesis-head { display: flex; align-items: center; gap: 12px; }
.thesis-logo {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(8,12,24,0.6);
  border: 1px solid rgba(60,80,130,0.4);
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.thesis-logo svg, .thesis-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.thesis-logo.thesis-logo-fallback {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  color: rgba(232,236,247,0.85);
  letter-spacing: 0.02em;
  text-align: center;
}
.thesis-ttl { display: flex; flex-direction: column; min-width: 0; }
.thesis-tag { font-size: 11px; font-weight: 600; color: rgba(232,236,247,0.5); letter-spacing: 0.01em; }
.thesis-name { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.thesis-arr {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20,27,50,0.85); border: 1px solid rgba(60,80,130,0.3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(232,236,247,0.75); flex-shrink: 0; text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}
.thesis-arr:hover { background: rgba(40,52,90,0.9); color: var(--text); }

.thesis-metric { margin-top: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.thesis-metric-stack {
  display: inline-flex; flex-direction: column; gap: 4px; align-items: flex-start;
}
.thesis-sub-lbl {
  font-size: 10px; font-weight: 600;
  color: rgba(232,236,247,0.45);
  text-transform: uppercase; letter-spacing: 0.08em;
  line-height: 1;
}
.thesis-sub-sep {
  align-self: stretch;
  width: 1px; min-height: 30px;
  background: rgba(140,155,195,0.18);
  margin: 0 4px;
}
.thesis-ath {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 600;
  color: rgba(232,236,247,0.72);
  background: rgba(140,155,195,0.08);
  border: 1px solid rgba(140,155,195,0.18);
}
.thesis-ath.pos { color: #34D399; background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.3); }
.thesis-ath.neg { color: #F87171; background: rgba(248,113,113,0.12); border-color: rgba(248,113,113,0.3); }
.thesis-label {
  font-size: 12px; color: rgba(232,236,247,0.55); flex-basis: 100%;
  display: inline-flex; align-items: center; gap: 6px;
}
.thesis-info {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px;
  padding: 0; margin: 0;
  border: none; background: transparent;
  color: rgba(160,175,205,0.55);
  cursor: help;
}
.thesis-info:hover, .thesis-info:focus-visible { color: rgba(200,210,230,0.95); outline: none; }
.thesis-info svg { display: block; }
.thesis-info-tip {
  position: fixed;
  width: 230px;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(10,15,28,0.98);
  border: 1px solid rgba(80,100,150,0.45);
  font-family: var(--font), 'Inter', system-ui, sans-serif;
  font-size: 11.5px; font-weight: 400;
  line-height: 1.5;
  color: rgba(232,236,247,0.88);
  text-align: left; text-transform: none; letter-spacing: 0;
  white-space: normal;
  opacity: 0; pointer-events: none;
  transition: opacity 0.14s ease;
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
  z-index: 9999;
  left: 0; top: 0;
}
.thesis-info-tip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(80,100,150,0.45);
}
.thesis-info-tip.is-open { opacity: 1; }
.thesis-big { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.thesis-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.thesis-badge.pos { color: #34D399; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3); }
.thesis-badge.neg { color: #F87171; background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.3); }

.thesis-chart {
  position: relative; margin: 28px -22px 0 -22px; height: 200px;
}
.thesis-chart svg { width: 100%; height: 100%; display: block; }
.thesis-callout {
  position: absolute;
  padding: 4px 9px 5px;
  border-radius: 8px;
  background: rgba(10,15,28,0.96);
  border: 1px solid rgba(125,255,197,0.45);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transform: translate(-100%, -50%);
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  animation: thesis-callout-pulse 2.4s ease-out infinite;
}
.thesis-callout::before {
  content: 'NOW';
  display: block;
  font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #7DFFC5; line-height: 1; margin-bottom: 2px; font-weight: 600;
}
.thesis.neg .thesis-callout {
  border-color: rgba(255,154,165,0.45);
}
.thesis.neg .thesis-callout::before {
  color: #FF9AA5;
}
@keyframes thesis-callout-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
  50%      { box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 0 3px rgba(125,255,197,0.22); }
}
.thesis.neg .thesis-callout {
  animation-name: thesis-callout-pulse-neg;
}
@keyframes thesis-callout-pulse-neg {
  0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
  50%      { box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 0 3px rgba(255,154,165,0.22); }
}

/* Pulse-issued marker — anchored at ~7d ago in the 14-day sparkline.
   Dot sits on the data point, card floats above with an arrow pointing down. */
.thesis-pulse-mark {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  /* Tail between the card bottom and the dot — live-quotes.js updates this
     per card based on how far down the dot sits in the chart, so the card
     floats up into whatever headroom is available (tg 3943). */
  --tpm-tail-h: 6px;
}
.thesis-pulse-mark .tpm-dot {
  position: relative; width: 11px; height: 11px; border-radius: 50%;
  background: #A78BFA;
  box-shadow: 0 0 14px rgba(167,139,250,0.9), 0 0 0 2px rgba(10,15,28,0.9);
  margin: 0 auto;
}
.thesis-pulse-mark .tpm-dot::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(167,139,250,0.55);
  animation: tpm-ring 2s ease-out infinite;
}
@keyframes tpm-ring {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.thesis-pulse-mark .tpm-card {
  position: absolute;
  bottom: calc(100% + 2px + var(--tpm-tail-h));
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px 5px;
  border-radius: 8px;
  background: rgba(10,15,28,0.96);
  border: 1px solid rgba(167,139,250,0.45);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.thesis-pulse-mark .tpm-card::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  width: 1px; height: var(--tpm-tail-h);
  background: rgba(167,139,250,0.55);
  transform: translateX(-50%);
}
.thesis-pulse-mark .tpm-eyebrow {
  display: block;
  font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #A78BFA; line-height: 1; margin-bottom: 2px; font-weight: 600;
}
.thesis-pulse-mark .tpm-price {
  font-size: 11.5px; font-weight: 700; color: var(--text); line-height: 1;
}

/* pulse counts + locked timeframe strip */
.thesis-pulses {
  margin: 0 -22px; padding: 14px 22px 16px;
  background: linear-gradient(180deg, rgba(8,12,24,0.4), rgba(8,12,24,0.85));
  border-top: 1px solid rgba(60,80,130,0.25);
}
.pulses-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.pulses-total { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.pulses-num { font-family: 'JetBrains Mono', monospace; font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; line-height: 1; }
.pulses-sub { font-size: 10.5px; color: rgba(232,236,247,0.48); letter-spacing: 0.02em; margin-top: 4px; }
.pulses-split {
  display: flex; flex-direction: row; gap: 6px;
  align-items: center; flex-wrap: wrap; justify-content: flex-end;
  min-width: 0; flex: 1;
}
.pulses-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  padding: 2px 7px; border-radius: 999px;
}
.pulses-chip.pos { color: #34D399; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); }
.pulses-chip.neg { color: #F87171; background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.25); }
.pulses-arr { font-size: 10px; line-height: 1; }
.pulses-bar {
  flex-basis: 100%; height: 4px; border-radius: 2px;
  background: rgba(248,113,113,0.22);
  overflow: hidden; position: relative;
}
.pulses-bar-up { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #34D399, #7DFFC5); border-radius: 2px; }

.pulses-track {
  margin-top: 10px;
  padding: 9px 12px 10px;
  border-radius: 10px;
  background: rgba(8,12,24,0.55);
  border: 1px solid rgba(60,80,130,0.25);
}
.pulses-track-eyebrow {
  display: block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  color: rgba(232,236,247,0.45);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pulses-track-count {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-bottom: 7px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(60,80,130,0.22);
}
.pt-count-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em; line-height: 1;
}
.pt-count-dir {
  font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 6px;
  white-space: nowrap;
}
.pt-count-dir.pos { color: #7DFFC5; background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.3); }
.pt-count-dir.neg { color: #FF9AA5; background: rgba(248,113,113,0.14); border: 1px solid rgba(248,113,113,0.3); }
.pt-count-lbl {
  font-size: 12px; color: rgba(232,236,247,0.6);
}
.pulses-track-prices {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 10px;
  row-gap: 8px;
}
.pt-price-col {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.pt-price-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(232,236,247,0.45);
  text-transform: uppercase;
}
.pt-price-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700;
  color: rgba(232,236,247,0.82);
  letter-spacing: -0.01em;
}
.pt-price-val.bright { color: var(--text); }
.pt-price-arrow {
  color: rgba(139,92,246,0.7);
  font-size: 16px; font-weight: 700;
  line-height: 1;
}
.pulses-track-pnl {
  grid-column: 1 / 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
  margin-top: 2px;
}
.pulses-track-pnl.pos { color: #34D399; }
.pulses-track-pnl.neg { color: #F87171; }
.pulses-track-flag {
  grid-column: 3 / 4;
  justify-self: end;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 5px;
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}
.pulses-track-flag.win { color: #34D399; background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.4); }
.pulses-track-flag.loss { color: #F87171; background: rgba(248,113,113,0.14); border: 1px solid rgba(248,113,113,0.4); }

/* HIT/MISS flag hoisted into the card head, next to the open-pulse arrow. */
.thesis-head .pulses-track-flag {
  margin-left: auto; margin-top: 0;
  grid-column: auto; justify-self: auto;
  padding: 4px 9px;
  letter-spacing: 0.12em;
}
.thesis-head .pulses-track-flag + .thesis-arr { margin-left: 0; }

/* Track Record (closed) card layout: 3-col snap → peak → HIT, with a full-width Closed row below. */
.pulses-track-prices.closed {
  grid-template-columns: 1fr auto 1.2fr auto;
  row-gap: 10px;
}
.pulses-track-prices.closed .pt-price-arrow { grid-column: 2 / 3; }
.pulses-track-prices.closed .pt-price-col.peak {
  grid-column: 3 / 4;
  position: relative;
  padding: 7px 10px 7px 12px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(52,211,153,0.08), rgba(52,211,153,0));
  border: 1px solid rgba(52,211,153,0.28);
}
.thesis.neg .pulses-track-prices.closed .pt-price-col.peak {
  background: linear-gradient(180deg, rgba(248,113,113,0.08), rgba(248,113,113,0));
  border-color: rgba(248,113,113,0.28);
}
.pulses-track-prices.closed .pt-price-col.peak .pt-price-val {
  font-size: 17px; color: var(--text);
}
.pulses-track-prices.closed .pt-price-delta {
  display: inline-block;
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: -0.01em;
}
.pulses-track-prices.closed .pt-price-delta.pos { color: #34D399; }
.pulses-track-prices.closed .pt-price-delta.neg { color: #F87171; }
.pulses-track-prices.closed .pulses-track-flag {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
  align-self: center;
  margin-top: 0;
}
.pulses-track-prices.closed .pt-closed-row {
  grid-column: 1 / -1;
  display: flex; align-items: baseline; gap: 10px;
  padding-top: 9px;
  border-top: 1px dashed rgba(60,80,130,0.3);
  flex-wrap: wrap;
}
.pt-closed-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(232,236,247,0.5);
  text-transform: uppercase;
}
.pt-closed-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 700;
  color: rgba(232,236,247,0.82);
  letter-spacing: -0.01em;
}
.pt-closed-delta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 700;
  margin-left: auto;
}
.pt-closed-delta.pos { color: #34D399; }
.pt-closed-delta.neg { color: #F87171; }

/* Track Record / Active Pulses tab strip */
.pulse-tabs {
  display: flex; gap: 10px; margin: 26px 0 18px;
  flex-wrap: wrap;
}
.ptab {
  flex: 1; min-width: 200px;
  display: flex; flex-direction: column; gap: 3px;
  text-align: left;
  padding: 13px 16px 12px;
  border-radius: 12px;
  background: rgba(10,15,28,0.55);
  border: 1px solid rgba(60,80,130,0.3);
  color: rgba(232,236,247,0.72);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.ptab:hover { border-color: rgba(139,92,246,0.5); color: var(--text); }
.ptab.is-active {
  background: linear-gradient(180deg, rgba(139,92,246,0.14), rgba(139,92,246,0.04));
  border-color: rgba(139,92,246,0.55);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.15), 0 8px 24px -12px rgba(139,92,246,0.4);
}
.ptab-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text);
}
.ptab-lock-ico {
  color: rgba(167,139,250,0.85);
  flex-shrink: 0;
}
.ptab-meta {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(232,236,247,0.55);
  font-family: 'JetBrains Mono', monospace;
}
.ptab.is-locked .ptab-title { color: rgba(232,236,247,0.78); }

/* Active Pulses locked pane (shown when Active tab is selected without auth) */
.pulse-track-empty {
  margin: 18px 0 20px;
  padding: 44px 28px 36px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 600px 280px at 50% 0%, rgba(139,92,246,0.15), transparent 70%),
    linear-gradient(180deg, rgba(12,17,32,0.85), rgba(8,12,24,0.85));
  border: 1px dashed rgba(139,92,246,0.38);
  text-align: center;
}
.pulse-track-empty .pal-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.35);
  color: #C4B5FD;
}
.pulse-track-empty h3 {
  margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text);
}
.pulse-track-empty p {
  margin: 0 auto 22px; max-width: 540px;
  color: rgba(232,236,247,0.68); font-size: 14.5px; line-height: 1.55;
}
.pulse-track-empty .pal-actions {
  display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.pal-countdown {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 4px auto 24px;
}
.pal-cd-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(196,181,253,0.82);
}
.pal-cd-blocks {
  display: inline-flex; align-items: center; gap: 6px;
}
.pal-cd-block {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 14px 8px;
  min-width: 64px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(139,92,246,0.12), rgba(139,92,246,0.04));
  border: 1px solid rgba(139,92,246,0.3);
}
.pal-cd-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); line-height: 1; font-variant-numeric: tabular-nums;
}
.pal-cd-u {
  margin-top: 4px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(232,236,247,0.58); text-transform: uppercase;
}
.pal-cd-sep {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 800;
  color: rgba(139,92,246,0.55);
  line-height: 1;
  padding-bottom: 14px;
}
.pal-cd-date {
  font-size: 12px; color: rgba(232,236,247,0.55);
}
.pal-cd-date time { color: rgba(232,236,247,0.82); font-weight: 600; }

/* Peak + Closed chart markers — mirror .thesis-pulse-mark structure with own accent colours.
   .tpm-card.bottom flips the card below the dot so low/trough markers don't clip off the top. */
.thesis-peak-mark, .thesis-close-mark {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}
.thesis-peak-mark .tpm-dot,
.thesis-close-mark .tpm-dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(10,15,28,0.9);
  margin: 0 auto;
}
.thesis-peak-mark .tpm-dot {
  background: #34D399;
  box-shadow: 0 0 10px rgba(52,211,153,0.75), 0 0 0 2px rgba(10,15,28,0.9);
}
.thesis.neg .thesis-peak-mark .tpm-dot {
  background: #F87171;
  box-shadow: 0 0 10px rgba(248,113,113,0.75), 0 0 0 2px rgba(10,15,28,0.9);
}
.thesis-close-mark .tpm-dot {
  background: #7DFFC5;
  box-shadow: 0 0 10px rgba(125,255,197,0.6), 0 0 0 2px rgba(10,15,28,0.9);
}
.thesis.neg .thesis-close-mark .tpm-dot {
  background: #FF9AA5;
  box-shadow: 0 0 10px rgba(255,154,165,0.6), 0 0 0 2px rgba(10,15,28,0.9);
}
.thesis-peak-mark .tpm-card,
.thesis-close-mark .tpm-card {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px 5px;
  border-radius: 8px;
  background: rgba(10,15,28,0.96);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.thesis-peak-mark .tpm-card { border: 1px solid rgba(52,211,153,0.45); }
.thesis.neg .thesis-peak-mark .tpm-card { border-color: rgba(248,113,113,0.45); }
.thesis-close-mark .tpm-card { border: 1px solid rgba(125,255,197,0.45); }
.thesis.neg .thesis-close-mark .tpm-card { border-color: rgba(255,154,165,0.45); }
.thesis-peak-mark .tpm-card.bottom,
.thesis-close-mark .tpm-card.bottom {
  bottom: auto; top: calc(100% + 7px);
}
/* Keep marker cards inside the chart: pin to the dot's nearest edge instead of centering when near a side. */
.thesis-pulse-mark.edge-left .tpm-card,
.thesis-peak-mark.edge-left .tpm-card,
.thesis-close-mark.edge-left .tpm-card {
  left: 0; right: auto; transform: translateX(-4px);
}
.thesis-pulse-mark.edge-right .tpm-card,
.thesis-peak-mark.edge-right .tpm-card,
.thesis-close-mark.edge-right .tpm-card {
  left: auto; right: 0; transform: translateX(4px);
}
.thesis-pulse-mark.edge-left .tpm-card::after { left: 6px; transform: none; }
.thesis-pulse-mark.edge-right .tpm-card::after { left: auto; right: 6px; transform: none; }
.thesis-peak-mark .tpm-eyebrow { color: #34D399; }
.thesis.neg .thesis-peak-mark .tpm-eyebrow { color: #FF9AA5; }
.thesis-close-mark .tpm-eyebrow { color: #7DFFC5; }
.thesis.neg .thesis-close-mark .tpm-eyebrow { color: #FF9AA5; }
.thesis-peak-mark .tpm-eyebrow,
.thesis-close-mark .tpm-eyebrow {
  display: block;
  font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1; margin-bottom: 2px; font-weight: 600;
}
.thesis-peak-mark .tpm-price,
.thesis-close-mark .tpm-price {
  font-size: 11px; font-weight: 700; color: var(--text); line-height: 1;
}

.pulses-tfs {
  margin-top: 12px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(10,15,28,0.75);
  border: 1px dashed rgba(139,92,246,0.38);
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease;
}
.pulses-tfs:hover { border-color: rgba(139,92,246,0.7); background: rgba(20,15,38,0.9); }
.pulses-lock { color: rgba(139,92,246,0.8); flex-shrink: 0; }
.pulses-tf-strip {
  flex: 1; min-width: 0;
  display: flex; gap: 4px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}
.pulses-tf-strip span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 600;
  color: rgba(232,236,247,0.55);
  padding: 3px 7px; border-radius: 5px;
  background: rgba(40,52,90,0.4);
  border: 1px solid rgba(60,80,130,0.35);
  white-space: nowrap;
}
.pulses-cta {
  font-size: 11.5px; font-weight: 700;
  color: #C4B5FD; letter-spacing: 0.01em;
  flex-shrink: 0; white-space: nowrap;
}

.thesis-cta {
  position: relative;
  margin-top: 40px;
  padding: 44px 40px 40px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 600px 320px at 20% 0%, rgba(59,130,246,0.18), transparent 70%),
    radial-gradient(ellipse 600px 320px at 80% 100%, rgba(139,92,246,0.22), transparent 70%),
    linear-gradient(180deg, rgba(14,20,40,0.96), rgba(8,12,24,0.96));
  border: 1px solid rgba(139,92,246,0.35);
  box-shadow: 0 30px 80px -40px rgba(139,92,246,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: center;
  overflow: hidden;
}
.thesis-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 40% at 50% -10%, rgba(139,92,246,0.25), transparent 60%);
  pointer-events: none;
}
.thesis-cta > * { position: relative; }
.thesis-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(139,92,246,0.14);
  border: 1px solid rgba(139,92,246,0.35);
  color: #C4B5FD;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.thesis-cta-title {
  margin: 18px auto 10px; max-width: 720px;
  font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.thesis-cta-sub {
  margin: 0 auto 22px; max-width: 560px;
  color: rgba(232,236,247,0.7); font-size: 15px; line-height: 1.55;
}
.thesis-cta-tfs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin: 0 auto 28px; max-width: 720px;
}
.thesis-cta-tfs span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(232,236,247,0.75);
  padding: 7px 13px; border-radius: 8px;
  background: rgba(20,27,50,0.7);
  border: 1px solid rgba(100,130,200,0.28);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}
.thesis-cta-tfs span:hover {
  transform: translateY(-2px);
  border-color: rgba(139,92,246,0.6);
  color: #fff;
}
.thesis-cta-actions {
  display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.btn.btn-lg {
  padding: 14px 28px; font-size: 15px; font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(139,92,246,0.6);
}
.thesis-cta-login {
  color: rgba(232,236,247,0.6); font-size: 14px; text-decoration: none;
  transition: color 140ms ease;
}
.thesis-cta-login span {
  color: #C4B5FD; font-weight: 600;
  border-bottom: 1px solid rgba(196,181,253,0.35);
  padding-bottom: 1px;
  transition: border-color 140ms ease;
}
.thesis-cta-login:hover { color: var(--text); }
.thesis-cta-login:hover span { border-bottom-color: #C4B5FD; }
@media (max-width: 640px) {
  .thesis-cta { padding: 32px 20px; }
  .thesis-cta-title { font-size: 26px; }
  .thesis-cta-tfs span { padding: 6px 10px; font-size: 11px; }
}

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.plan {
  padding: 24px; border-radius: 16px;
  background: rgba(10,15,28,0.85); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.plan.featured {
  border-color: rgba(139,92,246,0.55);
  background: linear-gradient(180deg, rgba(139,92,246,0.10), rgba(10,15,28,0.85));
  box-shadow: 0 0 0 1px rgba(139,92,246,0.2), 0 8px 32px rgba(139,92,246,0.15);
}
.plan.featured::before {
  content: "MOST POPULAR"; position: absolute; top: -11px; left: 24px;
  padding: 4px 10px; border-radius: 6px;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  color: #fff; font-size: 9.5px; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
}
.plan-head { display: flex; align-items: center; gap: 10px; }
.plan-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.plan h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.plan .taglet { font-size: 11px; color: var(--dim); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.plan .price { font-size: 32px; font-weight: 800; font-family: 'JetBrains Mono', monospace; letter-spacing: -0.02em; line-height: 1; }
.plan .price .u { font-size: 12px; color: var(--dim); font-weight: 500; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.plan ul li { font-size: 12.5px; color: var(--muted); display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.plan ul li::before { content: "✓"; color: #34D399; font-weight: 700; flex-shrink: 0; }
.plan ul li.dim { color: var(--dim); filter: blur(2px); }
.plan ul li.dim::before { content: "▓"; color: var(--dim); filter: none; }
.plan .uc {
  padding: 10px; border-radius: 7px; text-align: center;
  background: rgba(245,158,11,0.10); border: 1px dashed rgba(245,158,11,0.40);
  color: #FBBF24; font-size: 10.5px; font-family: 'JetBrains Mono', monospace; font-weight: 600;
  letter-spacing: 0.06em;
}
.plan-btn {
  padding: 11px; font-size: 13px; border-radius: 8px; font-weight: 600;
  text-align: center; cursor: pointer;
  margin-top: auto;
  font-family: inherit;
}
.plan-btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.plan-btn.primary { background: linear-gradient(135deg, #3B82F6, #8B5CF6); color: #fff; border: none; }
.plan-btn.outline { background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.4); color: #D8CCFF; }

.tier-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 4px;
  background: rgba(10,15,28,0.6);
  margin: 18px auto 0;
  font-family: 'JetBrains Mono', monospace;
}
.tier-toggle button {
  padding: 8px 18px; border: none; background: transparent;
  color: var(--muted); font-size: 12.5px; font-weight: 600; border-radius: 7px; cursor: pointer;
  letter-spacing: 0.04em;
  font-family: inherit;
}
.tier-toggle button.active {
  background: rgba(139,92,246,0.15); color: #D8CCFF;
  border: 1px solid rgba(139,92,246,0.35);
}

.b2b-block { margin-top: 44px; }
.b2b-block .section-head { margin-top: 0; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-top: 30px; }
.about-txt p { color: #C9D1E8; font-size: 15px; line-height: 1.7; margin-top: 14px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.principle {
  padding: 18px; border-radius: 12px;
  background: rgba(10,15,28,0.7); border: 1px solid var(--line);
}
.principle h5 { font-size: 14px; font-weight: 700; }
.principle p { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 30px; }
.contact-form {
  padding: 28px; border-radius: 14px;
  background: rgba(10,15,28,0.85); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.field-2 { display: flex; flex-direction: column; gap: 6px; }
.field-2 label { font-size: 11.5px; color: var(--dim); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.field-2 input, .field-2 textarea {
  padding: 12px 14px; border-radius: 8px;
  background: #0A0F1C; border: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 14px;
}
.field-2 textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.contact-info {
  padding: 28px; border-radius: 14px;
  background: rgba(10,15,28,0.5); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.ci-row { display: flex; gap: 14px; align-items: flex-start; }
.ci-row .ic {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(232,236,247,0.7);
  margin-top: 1px;
}
.ci-row .ic svg { width: 20px; height: 20px; }
.ci-row h5 { font-size: 13px; font-weight: 700; }
.ci-row p { color: var(--muted); font-size: 13px; margin-top: 3px; }
.ci-row p a { color: #93C5FD; }

.auth-btn {
  padding: 12px; font-size: 14px; border-radius: 8px; font-weight: 600;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  color: #fff; border: none; cursor: pointer; margin-top: 4px;
  font-family: inherit;
}

/* ---------- LEGAL ---------- */
.legal-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.legal-item {
  padding: 22px; border-radius: 12px;
  background: rgba(10,15,28,0.7); border: 1px solid var(--line);
}
.legal-item h4 { font-size: 15px; font-weight: 700; }
.legal-item p { color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.5; }
.legal-item .meta { margin-top: 12px; font-size: 11px; color: var(--dim); font-family: 'JetBrains Mono', monospace; }

/* ---------- HOMEPAGE LIVE BLOCKS ---------- */

/* 4-up animated counter strip */
.live-strip {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.live-cell {
  position: relative; padding: 18px 18px 16px;
  background: linear-gradient(145deg, rgba(11,16,32,0.9), rgba(14,20,36,0.9));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.live-cell::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(400px 80px at 100% 0%, rgba(139,92,246,0.10), transparent 60%);
  pointer-events:none;
}
.live-cell .lc-lbl { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.12em; text-transform: uppercase; display:flex; align-items:center; gap:6px; }
.live-cell .lc-dot { width:6px; height:6px; border-radius:50%; background:#34D399; box-shadow:0 0 10px #34D399; animation: livepulse 1.8s ease-in-out infinite; }
@keyframes livepulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
.live-cell .lc-num { margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing:-0.02em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, #E8ECF7, #93C5FD); -webkit-background-clip:text; background-clip:text; color: transparent; }
.live-cell .lc-sub { margin-top: 4px; font-size: 12px; color: var(--dim); }
.live-cell .lc-row { display:flex; align-items:flex-end; gap: 10px; margin-top: 10px; }
.live-cell .lc-row .lc-num { margin-top: 0; flex: 0 0 auto; }
.live-cell .lc-delta {
  display:inline-flex; align-items:center; gap:3px;
  font: 600 11px/1 'JetBrains Mono', monospace;
  padding: 3px 7px; border-radius: 999px;
  margin-bottom: 6px;
}
.live-cell .lc-delta.pos { color:#7DFFC5; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.28); }
.live-cell .lc-delta.neg { color:#FF9AA5; background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.28); }
.live-cell .lc-spark {
  margin-top: 10px;
  width: 100%; height: 34px;
  display: block;
}
.live-cell .lc-spark polyline { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.live-cell .lc-spark polygon { opacity: 0.18; }
.live-cell.pos .lc-spark polyline { stroke: #7DFFC5; filter: drop-shadow(0 0 4px rgba(125,255,197,0.55)); }
.live-cell.pos .lc-spark polygon { fill: url(#lc-grad-pos); }
.live-cell.neg .lc-spark polyline { stroke: #FF9AA5; filter: drop-shadow(0 0 4px rgba(248,113,113,0.55)); }
.live-cell.neg .lc-spark polygon { fill: url(#lc-grad-neg); }

/* Consensus snapshot */
.snap-section { margin-top: 64px; }
.snap-head { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.snap-head h3 { font-size: 22px; font-weight: 700; letter-spacing:-0.01em; }
.snap-head .meta-line { font-size: 12px; color: var(--dim); font-family: 'JetBrains Mono', monospace; display:flex; align-items:center; gap:8px; }
.snap-head .meta-line .lc-dot { width:6px; height:6px; border-radius:50%; background:#34D399; box-shadow:0 0 8px #34D399; animation: livepulse 1.8s ease-in-out infinite; }
.snap-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.snap-cell {
  padding: 14px; border-radius: 12px;
  background: rgba(11,16,32,0.72); border: 1px solid var(--line);
}
.snap-cell .sc-top { display:flex; justify-content:space-between; align-items:center; }
.snap-cell .sc-sym { font-weight: 700; font-size: 14px; letter-spacing:-0.01em; }
.snap-cell .sc-side { font-size: 10.5px; font-family:'JetBrains Mono',monospace; padding: 3px 7px; border-radius: 5px; letter-spacing: 0.08em; }
.snap-cell .sc-side.long { background: rgba(16,185,129,0.12); color: #34D399; border:1px solid rgba(16,185,129,0.3); }
.snap-cell .sc-side.short { background: rgba(239,68,68,0.12); color: #F87171; border:1px solid rgba(239,68,68,0.3); }
.snap-cell .sc-side.watch { background: rgba(245,158,11,0.12); color: #FBBF24; border:1px solid rgba(245,158,11,0.35); }
.snap-cell .sc-bar { margin-top: 10px; height: 5px; border-radius: 3px; background: rgba(28,37,64,0.7); overflow: hidden; }
.snap-cell .sc-bar span { display:block; height:100%; border-radius: 3px; }
.snap-cell .sc-bar.bull span { background: linear-gradient(90deg, #10B981, #34D399); }
.snap-cell .sc-bar.bear span { background: linear-gradient(90deg, #EF4444, #F87171); }
.snap-cell .sc-bar.amber span { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.snap-cell .sc-pct { margin-top: 7px; font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* Pulse stream */
.pulse-section { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.pulse-stream {
  padding: 18px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(11,16,32,0.85), rgba(14,20,36,0.85));
  border: 1px solid var(--line);
}
.pulse-stream h4 { font-size: 14px; display:flex; align-items:center; gap:8px; }
.pulse-stream h4 .lc-dot { width:7px; height:7px; border-radius:50%; background:#60A5FA; box-shadow:0 0 10px #60A5FA; animation: livepulse 1.6s ease-in-out infinite; }
.pulse-row {
  display: grid; grid-template-columns: 60px 70px 1fr 80px; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid rgba(28,37,64,0.5); font-size: 12.5px;
  align-items: center;
}
.pulse-row:last-child { border-bottom: 0; }
.pulse-row .pt-time { color: var(--dim); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; }
.pulse-row .pt-sym { font-weight: 700; letter-spacing:-0.01em; }
.pulse-row .pt-txt { color: var(--muted); }
.pulse-row .pt-tag { text-align:right; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; padding: 3px 7px; border-radius: 5px; }
.pulse-row .pt-tag.long { color:#34D399; background: rgba(16,185,129,0.10); border:1px solid rgba(16,185,129,0.3); }
.pulse-row .pt-tag.short { color:#F87171; background: rgba(239,68,68,0.10); border:1px solid rgba(239,68,68,0.3); }
.pulse-row .pt-tag.flip { color:#FBBF24; background: rgba(245,158,11,0.10); border:1px solid rgba(245,158,11,0.35); }

.metrics-card {
  padding: 22px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(59,130,246,0.07), rgba(139,92,246,0.08));
  border: 1px solid rgba(139,92,246,0.25);
}
.metrics-card h5 { font-size: 13px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.metrics-card .mc-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.metrics-card .mc-row { display:flex; justify-content:space-between; align-items:baseline; padding: 10px 0; border-bottom: 1px solid rgba(139,92,246,0.12); }
.metrics-card .mc-row:last-child { border-bottom: 0; }
.metrics-card .mc-label { color: var(--muted); font-size: 12.5px; }
.metrics-card .mc-value { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; background: linear-gradient(135deg, #E8ECF7, #A5B4FC); -webkit-background-clip:text; background-clip:text; color: transparent; }
.metrics-card .mc-note { margin-top: 14px; font-size: 11.5px; color: var(--dim); line-height: 1.55; }

/* Coverage teaser */
.cov-teaser { margin-top: 56px; }
.cov-teaser .head { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:10px; }
.cov-teaser h3 { font-size: 22px; font-weight: 700; }
.cov-teaser .see-all { font-size: 13px; color: #93C5FD; }
.cov-bars { margin-top: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cov-cat {
  padding: 16px; border-radius: 12px;
  background: rgba(11,16,32,0.7); border: 1px solid var(--line);
}
.cov-cat .cc-top { display:flex; justify-content:space-between; align-items:center; }
.cov-cat .cc-name { font-size: 13px; font-weight: 600; }
.cov-cat .cc-count { font-size: 11px; color: var(--dim); font-family:'JetBrains Mono',monospace; }
.cov-cat .cc-bar { margin-top: 10px; height: 4px; border-radius: 2px; background: rgba(28,37,64,0.7); overflow:hidden; }
.cov-cat .cc-bar span { display:block; height:100%; background: linear-gradient(90deg, #3B82F6, #8B5CF6); }
.cov-cat .cc-examples { margin-top: 10px; font-size: 11px; color: var(--muted); font-family:'JetBrains Mono',monospace; }

/* CTA band */
.cta-band {
  margin-top: 64px; padding: 40px 32px;
  border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.10) 0%, rgba(139,92,246,0.14) 50%, rgba(236,72,153,0.08) 100%);
  border: 1px solid rgba(139,92,246,0.3);
}
.cta-band h3 { font-size: 30px; font-weight: 800; letter-spacing:-0.02em; }
.cta-band p { margin: 10px auto 22px; color: var(--muted); max-width: 560px; font-size: 14.5px; line-height: 1.55; }
.cta-band .cta-row { display:inline-flex; gap: 12px; flex-wrap: wrap; justify-content:center; }

/* ---------- AUTH (login / signup) ---------- */
.auth-wrap { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 48px 0 80px; }
.auth-card {
  width: 100%; max-width: 440px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(11,16,32,0.92), rgba(14,20,36,0.92));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,92,246,0.1);
  position: relative;
}
.auth-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 18px; padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(139,92,246,0.15) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.auth-head p { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.auth-socials { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.auth-soc {
  width: 100%; padding: 12px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--line); cursor: pointer;
  background: rgba(14,20,36,0.8); color: var(--text);
  font-family: inherit;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.auth-soc:hover { transform: translateY(-1px); border-color: rgba(139,92,246,0.45); }
.auth-soc svg { width: 18px; height: 18px; flex-shrink: 0; }
.auth-soc.x { background: #000; border-color: #000; color: #fff; }
.auth-soc.x:hover { background: #111; border-color: #222; }
.auth-soc.telegram { background: #2AABEE; border-color: #2AABEE; color: #fff; }
.auth-soc.telegram:hover { background: #229ED9; border-color: #229ED9; }
.auth-div { display: flex; align-items: center; gap: 12px; margin: 16px 0 18px; }
.auth-div::before, .auth-div::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-div span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); font-family: 'JetBrains Mono', monospace; }
.auth-form-g { display: flex; flex-direction: column; gap: 12px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.auth-field .field-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth-field input {
  width: 100%; padding: 12px 14px; font-size: 13.5px; font-family: inherit;
  background: rgba(5,7,14,0.8); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.auth-field input::placeholder { color: var(--dim); }
.auth-field input:focus { outline: none; border-color: rgba(139,92,246,0.5); box-shadow: 0 0 0 3px rgba(139,92,246,0.15); }
.auth-link { font-size: 11.5px; font-weight: 600; color: #93C5FD; }
.auth-link:hover { color: #bfdbfe; }
.auth-submit {
  width: 100%; padding: 13px; margin-top: 4px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  color: #fff; cursor: pointer;
  border: 1px solid transparent; border-radius: 10px;
  background: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #8B5CF6 100%);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.3), 0 8px 24px rgba(59,130,246,0.25);
  transition: transform 140ms ease, box-shadow 200ms ease;
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(139,92,246,0.5), 0 12px 32px rgba(59,130,246,0.35); }
.auth-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.auth-foot { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.auth-foot a { color: #93C5FD; font-weight: 600; }
.auth-note {
  padding: 11px 13px; margin-bottom: 14px;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.35);
  color: #FCA5A5; font-size: 12.5px; border-radius: 8px;
  text-align: center;
}
.auth-note.amber { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.35); color: #FCD34D; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero-compact { grid-template-columns: 1fr; }
  .globe-layout { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: repeat(3, 1fr); }
  .theses { grid-template-columns: 1fr; }
  .principles, .legal-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .signals-layout { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .live-strip { grid-template-columns: repeat(2, 1fr); }
  .snap-grid { grid-template-columns: repeat(3, 1fr); }
  .pulse-section { grid-template-columns: 1fr; }
  .cov-bars { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .nav {
    display: flex; align-items: center; gap: 10px;
    grid-template-columns: none; column-gap: 10px; padding: 0 14px;
  }
  .nav-links { display: none !important; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    order: 0; width: 38px; height: 38px; padding: 0;
    background: transparent; border: 0; color: var(--text); cursor: pointer;
    font-size: 20px; line-height: 1;
  }
  .nav-toggle:hover { background: rgba(255,255,255,0.08); border-radius: 8px; }
  .logo { order: 1; }
  .nav-right { order: 3; margin-left: auto; justify-self: auto; gap: 6px; }
  .nav-right .btn-primary { display: none; }
  .user-menu { display: none; }
  .lang-switch { display: none; }
}
@media (max-width: 760px) {
  .nav { column-gap: 8px; padding: 0 12px; }
  .logo { height: 26px; }
  .logo img { height: 24px; max-width: 170px; }
  .lang-btn { padding: 0 8px; height: 38px; }
  .page { padding: 0 18px 60px; }
  .hero-compact h1, .globe-hero h1 { font-size: 38px; }
  .hero-compact p, .globe-hero p { font-size: 14.5px; }
  .section-head h2 { font-size: 26px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features, .coverage-grid, .principles, .legal-list, .steps { grid-template-columns: 1fr; }
  .steps { gap: 10px; margin-top: 20px; }
  .step { padding: 14px 16px; border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 11px; row-gap: 6px; }
  .step-icon { display: none; }
  .step-num { width: 28px; height: 28px; border-radius: 7px; font-size: 12px; flex-shrink: 0; }
  .step h4 { margin: 0; font-size: 15px; flex: 1; min-width: 0; }
  .step p { margin: 0; font-size: 13px; line-height: 1.5; flex-basis: 100%; color: var(--muted); }
  .site-footer { grid-template-columns: 1fr; gap: 24px; padding: 36px 18px 28px; }
  .emap-head h2, .amap-head h2 { font-size: 24px; }
  .emap-geolock, .amap-geolock { position: relative; inset: auto; max-width: 100%; margin: 12px; }
  .live-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .live-cell .lc-num { font-size: 26px; }
  .snap-grid { grid-template-columns: repeat(2, 1fr); }
  .cov-bars { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 28px 18px; }
  .cta-band h3 { font-size: 22px; }
  .pulse-row { grid-template-columns: 52px 64px 1fr 66px; gap: 8px; font-size: 12px; }
  .auth-card { padding: 24px 20px; }
  .auth-wrap { padding: 24px 0 48px; }
}

/* ---------- NAV SEARCH + GET STARTED CTA ---------- */
.nav-search {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  background: transparent; border: 0;
  color: rgba(232,236,247,0.78);
  border-radius: 8px; cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.nav-search:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.nav-search svg { width: 18px; height: 18px; }

.btn.btn-gradient {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, #A855F7 0%, #6366F1 48%, #3B82F6 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 0 0 1px rgba(99,102,241,0.4),
    0 6px 18px rgba(99,102,241,0.35),
    0 2px 4px rgba(17,24,44,0.4);
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.16s ease;
  overflow: hidden;
}
.btn.btn-gradient::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn.btn-gradient .btn-arrow {
  display: inline-flex;
  transition: transform 0.18s ease;
}
.btn.btn-gradient .btn-arrow svg { width: 14px; height: 14px; }
.btn.btn-gradient:hover {
  transform: translateY(-1px);
  filter: saturate(1.1) brightness(1.05);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.28) inset,
    0 0 0 1px rgba(139,92,246,0.6),
    0 10px 24px rgba(99,102,241,0.5),
    0 2px 6px rgba(17,24,44,0.45);
}
.btn.btn-gradient:hover::before { transform: translateX(100%); }
.btn.btn-gradient:hover .btn-arrow { transform: translateX(3px); }
.btn.btn-gradient:active { transform: translateY(0); }
@media (max-width: 760px) {
  .btn.btn-gradient { height: 36px; padding: 0 14px; font-size: 13px; gap: 5px; }
  .btn.btn-gradient .btn-arrow svg { width: 12px; height: 12px; }
  .nav-search { width: 36px; height: 36px; }
}

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 10vh 16px 16px;
  box-sizing: border-box;
}
.search-overlay[hidden] { display: none; }
.so-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,8,16,0.72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.so-card {
  position: relative;
  width: min(760px, 100%);
  background: linear-gradient(180deg, rgba(17,24,44,0.98), rgba(10,15,28,0.98));
  border: 1px solid rgba(80,100,150,0.35);
  border-radius: 16px;
  padding: 16px 16px 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.so-topbar {
  display: flex; align-items: center; gap: 12px;
}
.so-input-wrap {
  position: relative;
  flex: 1;
}
.so-input-ico {
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted);
  display: inline-flex; pointer-events: none;
}
.so-input-ico svg { width: 16px; height: 16px; }
.so-input {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  font: 600 16px 'Inter', system-ui, sans-serif;
  padding: 10px 14px 10px 40px;
  outline: none;
  box-sizing: border-box;
}
.so-input::placeholder { color: rgba(160,170,195,0.55); font-weight: 500; }
.so-input::-webkit-search-cancel-button { display: none; }
.so-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(140,155,195,0.2);
  color: rgba(232,236,247,0.85);
  font: 600 12px 'Inter', system-ui, sans-serif;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.so-clear:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.so-close {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: transparent; border: 0;
  color: rgba(200,210,230,0.75); cursor: pointer;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.so-close:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.so-tabs {
  display: flex; gap: 8px;
  margin: 14px 0 0 0;
  padding: 0 4px;
  flex-wrap: wrap;
}
.so-tab {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(140,155,195,0.22);
  color: rgba(200,210,230,0.8);
  font: 600 13px 'Inter', system-ui, sans-serif;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.so-tab:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.so-tab.is-active {
  background: rgba(52,211,153,0.15);
  border-color: rgba(52,211,153,0.45);
  color: #7DFFC5;
}

.so-section {
  margin-top: 14px;
  background: rgba(8,12,22,0.55);
  border: 1px solid rgba(80,100,150,0.22);
  border-radius: 12px;
  padding: 12px;
}
.so-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(200,210,230,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 0 4px;
}
.so-label .so-count { color: rgba(200,210,230,0.9); }
.so-results {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 52vh; overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,110,255,0.32) transparent;
  padding-right: 4px;
}
.so-results::-webkit-scrollbar { width: 6px; }
.so-results::-webkit-scrollbar-track { background: transparent; }
.so-results::-webkit-scrollbar-thumb { background: rgba(139,110,255,0.32); border-radius: 6px; }
.so-results::-webkit-scrollbar-thumb:hover { background: rgba(139,110,255,0.55); }
.so-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--text);
  border: 1px solid transparent; cursor: pointer;
  background: rgba(255,255,255,0.01);
}
.so-item:hover, .so-item.is-active {
  background: rgba(139,92,246,0.08);
  border-color: rgba(139,92,246,0.28);
}
.so-logo {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(140,155,195,0.12);
  overflow: hidden; flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 10px; color: rgba(232,236,247,0.85);
}
.so-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.so-logo.so-logo-fallback img { display: none; }
.so-ttl { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.so-ttl-row { display: flex; align-items: center; gap: 8px; }
.so-ttl .so-sym {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 14px;
  color: var(--text);
}
.so-ttl .so-cat {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(200,210,230,0.7);
  letter-spacing: 0.1em;
}
.so-ttl-sub {
  font-size: 12px;
  color: rgba(200,210,230,0.55);
}
.so-price {
  text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  white-space: nowrap;
}
.so-price-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700; color: var(--text);
}
.so-price-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 600;
}
.so-price-pct.pos { color: #34D399; }
.so-price-pct.neg { color: #F87171; }
.so-open {
  background: transparent;
  border: 1px solid rgba(139,92,246,0.5);
  color: #A78BFA;
  font: 600 12px 'Inter', system-ui, sans-serif;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.so-open:hover { background: rgba(139,92,246,0.14); color: #C4B5FD; }
.so-open-empty {
  display: inline-flex; align-items: center;
  background: rgba(156,163,175,0.08);
  border: 1px solid rgba(156,163,175,0.28);
  color: rgba(200,210,230,0.55);
  font: 600 12px 'Inter', system-ui, sans-serif;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: not-allowed;
  white-space: nowrap;
  user-select: none;
}
.so-item.is-empty { cursor: default; }
.so-item.is-empty:hover { background: transparent; }
.so-item.is-empty .so-sym, .so-item.is-empty .so-ttl-sub { opacity: 0.72; }
.so-empty {
  padding: 18px 12px;
  color: rgba(200,210,230,0.6);
  font-size: 13.5px;
  text-align: center;
}
@media (max-width: 760px) {
  .search-overlay { padding-top: 6vh; }
  .so-card { padding: 12px; width: 100%; }
  .so-item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .so-price { display: none; }
}

/* ---------- MOBILE DRAWER (TV-style) ---------- */
.md-backdrop {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(0,0,0,0.72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
}
.md-backdrop.open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(380px, 86vw); z-index: 200;
  background: #05070E;
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open { transform: translateX(0); }
.md-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #05070E; z-index: 2;
}
.md-logo { display: inline-flex; align-items: center; }
.md-logo img { height: 22px; display: block; }
.md-close {
  width: 38px; height: 38px; border-radius: 8px;
  background: transparent; border: 1px solid var(--line);
  color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 140ms ease;
}
.md-close:hover { background: rgba(255,255,255,0.08); }
.md-body { flex: 1; padding: 6px 0; }
.md-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 15px 20px;
  background: transparent; border: 0;
  color: var(--text); font-size: 15px; font-weight: 500; line-height: 1;
  text-align: left; cursor: pointer;
  transition: background 120ms ease;
}
.md-row:hover, .md-row:focus-visible { background: rgba(255,255,255,0.05); outline: none; }
.md-row .md-chev {
  color: var(--muted); opacity: 0.7;
  transition: transform 220ms ease;
}
.md-section.open > .md-row .md-chev { transform: rotate(180deg); }
.md-sub {
  max-height: 0; overflow: hidden;
  background: rgba(255,255,255,0.015);
  transition: max-height 280ms ease;
}
.md-section.open > .md-sub { max-height: 720px; }
.md-sub-item {
  display: block; padding: 11px 20px 11px 36px;
  color: var(--text); font-size: 14px; line-height: 1.35;
  border-left: 2px solid transparent;
}
.md-sub-item:hover { background: rgba(255,255,255,0.04); border-left-color: rgba(139,92,246,0.55); }
.md-sub-item strong { display: block; font-weight: 600; margin-bottom: 2px; }
.md-sub-item span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.md-sub-item.md-sub-plain { padding: 12px 20px 12px 36px; }
.md-foot {
  padding: 12px 18px 20px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.md-foot-link {
  display: block; padding: 13px 16px; text-align: center;
  border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); font-size: 14px; font-weight: 500;
}
.md-foot-link:hover { background: rgba(255,255,255,0.06); }
.md-cta {
  display: block; padding: 13px 16px; text-align: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  color: #fff; font-weight: 600; font-size: 14px; line-height: 1;
  box-shadow: 0 10px 30px rgba(139,92,246,0.32);
}
.md-cta:hover { filter: brightness(1.08); }

/* ---------- LANGUAGE SWITCHER ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  background: transparent; border: 0;
  color: var(--text); font: 500 14px/1 inherit; cursor: pointer;
  transition: background 140ms ease;
}
.lang-btn:hover { background: rgba(255,255,255,0.08); }
.lang-btn svg { width: 18px; height: 18px; opacity: 0.9; }
.lang-btn .caret { font-size: 10px; opacity: 0.7; margin-left: 2px; }
.lang-drop {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 140px; padding: 6px;
  background: rgba(10,15,28,0.98); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  display: none; z-index: 100;
}
.lang-drop.open { display: block; }
.lang-drop button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 10px; background: transparent; border: 0;
  color: var(--text); font: 500 13px/1 inherit; cursor: pointer;
  border-radius: 7px; text-align: left;
}
.lang-drop button:hover:not(:disabled) { background: rgba(139,92,246,0.12); }
.lang-drop button.active { color: #A5B4FC; }
.lang-drop button:disabled { cursor: not-allowed; opacity: 0.55; }
.lang-drop button:disabled:hover { background: transparent; }
.lang-drop .flag { font-size: 14px; }
.lang-drop .lang-soon {
  margin-left: auto; font-size: 10px; letter-spacing: 0.06em;
  color: #FBBF24; background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.35);
  padding: 2px 6px; border-radius: 999px; text-transform: uppercase;
}

/* ---------- USER ICON DROPDOWN ---------- */
.user-menu { position: relative; }
.user-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 0;
  color: var(--text); cursor: pointer;
  transition: background 140ms ease;
}
.user-chip:hover { background: rgba(255,255,255,0.08); }
.user-chip svg { width: 20px; height: 20px; opacity: 0.95; }
.user-drop {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 220px; padding: 8px;
  background: rgba(10,15,28,0.98); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  display: none; z-index: 100;
}
.user-drop.open { display: block; }
.user-drop .ud-head {
  padding: 10px 12px 12px;
  border-bottom: 1px solid rgba(28,37,64,0.7);
  margin-bottom: 6px;
}
.user-drop .ud-head strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.user-drop .ud-head span { font-size: 11.5px; color: var(--dim); }
.user-drop a, .user-drop button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 12px; background: transparent; border: 0;
  color: var(--text); font: 500 13px/1 inherit; cursor: pointer;
  border-radius: 8px; text-align: left; text-decoration: none;
}
.user-drop a:hover, .user-drop button:hover { background: rgba(139,92,246,0.12); }
.user-drop .ud-sep { height: 1px; background: rgba(28,37,64,0.7); margin: 6px 0; }
.user-drop .ud-cta {
  margin: 6px 4px 2px; padding: 10px 12px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  color: #fff; font-weight: 700; border-radius: 8px;
  justify-content: center;
}

/* ---------- LOGIN SPLIT / COSMIC HERO ---------- */
.login-shell {
  position: relative;
  min-height: calc(100vh - 66px);
  overflow: hidden;
  margin: 0 -32px;
}
.login-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(5,7,14,0.85) 0%, rgba(5,7,14,0.55) 50%, rgba(10,15,28,0.9) 100%),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2400&q=85');
  background-size: cover; background-position: center;
  z-index: 0;
}
.login-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(139,92,246,0.18), transparent 55%),
    radial-gradient(700px 400px at 10% 85%, rgba(59,130,246,0.12), transparent 55%);
  pointer-events: none;
}
.login-split {
  position: relative; z-index: 1;
  max-width: 1440px; margin: 0 auto;
  padding: 80px 32px 100px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
  min-height: calc(100vh - 66px);
}
.login-hero { color: var(--text); }
.login-hero .eyebrow {
  display: inline-block; padding: 5px 12px;
  background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.35);
  border-radius: 999px; color: #C4B5FD;
  font: 600 10.5px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.login-hero h1 {
  font-size: 58px; font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.02; margin-bottom: 18px;
}
.login-hero h1 .slash {
  background: linear-gradient(135deg, #60A5FA, #A78BFA, #F472B6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400; padding: 0 4px;
}
.login-hero p {
  font-size: 16px; color: var(--muted); max-width: 460px; line-height: 1.55;
  margin-bottom: 28px;
}
.login-hero .hero-bullets {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px;
}
.login-hero .hero-bullets li {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-size: 13.5px;
  list-style: none;
}
.login-hero .hero-bullets li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  box-shadow: 0 0 10px rgba(139,92,246,0.6);
  flex-shrink: 0;
}
.login-auth { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.login-auth .auth-card {
  max-width: 420px;
  width: 100%;
  background: linear-gradient(145deg, rgba(8,12,24,0.88), rgba(12,18,34,0.88));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- DESKTOP APP DOWNLOAD SECTION ---------- */
.desktop-apps {
  width: 100%;
  max-width: 420px;
  padding: 16px 18px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18,26,46,0.72), rgba(14,20,36,0.72));
  border: 1px solid rgba(60,80,130,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-sizing: border-box;
}
.da-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(167,139,250,0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.da-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.da-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #0A0F1C;
  border: 1px solid rgba(60,80,130,0.35);
  color: var(--text);
  text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
  min-height: 54px;
}
.da-btn:hover {
  background: #121830;
  border-color: rgba(139,92,246,0.45);
  transform: translateY(-1px);
}
.da-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.da-ico svg { width: 28px; height: 28px; color: rgba(232,236,247,0.98); }
.da-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.15; }
.da-meta {
  font-size: 10px;
  color: rgba(167,139,250,0.85);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.da-name { font-weight: 600; font-size: 14px; color: #fff; letter-spacing: 0.01em; }
@media (max-width: 520px) {
  .da-buttons { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .login-split { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 80px; text-align: center; }
  .login-hero h1 { font-size: 44px; }
  .login-hero p { margin-left: auto; margin-right: auto; }
  .login-hero .hero-bullets { align-items: center; }
  .login-auth { width: 100%; }
}
@media (max-width: 760px) {
  .login-shell { margin: 0 -18px; }
  .login-split { padding: 40px 18px 60px; gap: 32px; }
  .login-hero h1 { font-size: 34px; }
  .login-hero p { font-size: 14px; }
  .lang-btn .lang-label { display: none; }
  .nav-right { gap: 8px; }
}

/* ---------- AURORA HERO (homepage) ---------- */
.hero-cosmic {
  position: relative;
  min-height: calc(100vh - 66px);
  width: 100%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 32px 100px;
  background:
    radial-gradient(ellipse 1400px 800px at 70% 18%, rgba(139,92,246,0.28), transparent 55%),
    radial-gradient(ellipse 1200px 700px at 15% 80%, rgba(59,130,246,0.22), transparent 55%),
    radial-gradient(ellipse 800px 500px at 90% 88%, rgba(236,72,153,0.18), transparent 55%),
    linear-gradient(135deg, rgba(5,7,14,0.72) 0%, rgba(10,15,28,0.55) 50%, rgba(8,11,22,0.85) 100%),
    url('https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=2880&q=92');
  background-size: cover, cover, cover, cover, cover;
  background-position: center, center, center, center, center;
  background-repeat: no-repeat;
  animation: heroDrift 60s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { background-position: center, center, center, center, 50% 46%; }
  to   { background-position: center, center, center, center, 52% 54%; }
}
.hero-cosmic::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 7% 14%, rgba(255,255,255,0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 18% 42%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 32% 7%, rgba(255,255,255,0.8) 50%, transparent 100%),
    radial-gradient(1px 1px at 47% 64%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 63% 22%, rgba(255,255,255,0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 58%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1.3px 1.3px at 88% 12%, rgba(255,255,255,0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 93% 77%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(0.8px 0.8px at 12% 78%, rgba(255,255,255,0.5) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 28% 88%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 55% 91%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 72% 85%, rgba(255,255,255,0.75) 50%, transparent 100%),
    radial-gradient(0.8px 0.8px at 4% 55%, rgba(255,255,255,0.45) 50%, transparent 100%),
    radial-gradient(1px 1px at 96% 34%, rgba(255,255,255,0.65) 50%, transparent 100%);
  background-size: 900px 900px;
  opacity: 0.85;
  animation: herostars 140s linear infinite;
  pointer-events: none; z-index: 0;
}
@keyframes herostars { from { background-position: 0 0; } to { background-position: 900px 900px; } }
.hero-cosmic::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 340px at 50% 100%, rgba(5,7,14,0.7), transparent 65%),
    linear-gradient(180deg, transparent 45%, rgba(5,7,14,0.55) 78%, #05070E 100%);
  pointer-events: none; z-index: 0;
}
.hero-cosmic .hc-inner {
  position: relative; z-index: 1;
  max-width: 960px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-cosmic .eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.4);
  border-radius: 999px; color: #C4B5FD;
  font: 600 11px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.hero-cosmic h1 {
  font-size: 92px; font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.98;
  margin-bottom: 22px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.hero-cosmic h1 .slash {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400; padding: 0 6px;
  text-shadow: none;
}
.hero-cosmic h1 .grad {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.hero-cosmic .hc-sub {
  font-size: 18px; color: rgba(232,236,247,0.85);
  max-width: 620px; line-height: 1.5;
  margin-bottom: 32px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-cosmic .hc-cta-row {
  display: inline-flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}
.hero-cosmic .hc-note {
  margin-top: 18px; font-size: 12.5px;
  color: rgba(232,236,247,0.65);
  letter-spacing: 0.04em;
}
.hero-cosmic .hc-btn-white {
  background: #fff; color: #0A0F1C;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
  transition: transform 140ms ease, box-shadow 200ms ease;
  text-decoration: none;
}
.hero-cosmic .hc-btn-white:hover { transform: translateY(-1px); box-shadow: 0 12px 40px rgba(255,255,255,0.3); }
.hero-cosmic .hc-btn-ghost {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(6px);
  color: #fff; padding: 14px 28px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 600; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 140ms ease, border-color 140ms ease;
  text-decoration: none;
}
.hero-cosmic .hc-btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); }

@media (max-width: 1100px) {
  .hero-cosmic h1 { font-size: 64px; }
  .hero-cosmic .hc-sub { font-size: 16px; }
}
@media (max-width: 760px) {
  .hero-cosmic { margin: 0 -18px 40px; padding: 40px 18px; min-height: calc(100vh - 66px); }
  .hero-cosmic h1 { font-size: 42px; }
  .hero-cosmic .eyebrow { margin-bottom: 18px; }
  .hero-cosmic .hc-sub { font-size: 14.5px; margin-bottom: 24px; }
  .hero-cosmic .hc-btn-white, .hero-cosmic .hc-btn-ghost { padding: 12px 22px; font-size: 13.5px; }
}

/* ---------- PRICING HERO (shorter variant of aurora, anchors the plans grid below) ---------- */
.pricing-hero {
  position: relative; width: 100%; overflow: hidden;
  padding: 100px 32px 160px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 1400px 700px at 75% 12%, rgba(139,92,246,0.28), transparent 55%),
    radial-gradient(ellipse 1200px 600px at 10% 75%, rgba(59,130,246,0.24), transparent 55%),
    linear-gradient(135deg, rgba(5,7,14,0.80) 0%, rgba(10,15,28,0.60) 50%, rgba(8,11,22,0.90) 100%),
    url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?auto=format&fit=crop&w=2880&q=92');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  animation: heroDriftPricing 90s ease-in-out infinite alternate;
}
@keyframes heroDriftPricing {
  from { background-position: center, center, center, 48% 50%; }
  to   { background-position: center, center, center, 54% 50%; }
}
.pricing-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 7% 14%, rgba(255,255,255,0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 18% 42%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 32% 7%, rgba(255,255,255,0.8) 50%, transparent 100%),
    radial-gradient(1px 1px at 47% 64%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 63% 22%, rgba(255,255,255,0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 58%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1.3px 1.3px at 88% 12%, rgba(255,255,255,0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 93% 77%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(0.8px 0.8px at 12% 78%, rgba(255,255,255,0.5) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 28% 88%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 55% 91%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 72% 85%, rgba(255,255,255,0.75) 50%, transparent 100%);
  background-size: 900px 900px;
  opacity: 0.85;
  animation: herostars 140s linear infinite;
  pointer-events: none; z-index: 0;
}
.pricing-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 420px at 50% 100%, rgba(5,7,14,0.85), transparent 60%),
    linear-gradient(180deg, transparent 40%, rgba(5,7,14,0.7) 72%, #05070E 100%);
  pointer-events: none; z-index: 0;
}
.pricing-hero .ph-inner {
  position: relative; z-index: 1;
  max-width: 920px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.pricing-hero h1 {
  font-size: 72px; font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.02;
  margin: 0 0 36px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  color: #fff;
}
.pricing-hero .ph-sub {
  font-size: 17px; color: rgba(232,236,247,0.82);
  max-width: 640px; line-height: 1.55;
  margin: -18px 0 32px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ---------- BILLING TOGGLE (Monthly / Annually + save pill) ---------- */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  position: relative; z-index: 1;
}
.billing-toggle button {
  appearance: none; background: transparent; border: 0;
  padding: 8px 18px; border-radius: 999px;
  color: rgba(232,236,247,0.85);
  font: 500 14px/1 'Inter', sans-serif;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 160ms ease, color 160ms ease;
}
.billing-toggle button .dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(232,236,247,0.5);
  flex-shrink: 0;
  transition: border-color 160ms ease, background 160ms ease;
  position: relative;
}
.billing-toggle button.active .dot {
  border-color: #A78BFA;
  background: radial-gradient(circle, #A78BFA 40%, transparent 44%);
}
.billing-toggle button.active {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.billing-toggle .save-pill {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 2px;
  padding: 4px 10px; border-radius: 999px;
  background: #FFB038; color: #0A0F1C;
  font: 700 11.5px/1 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

/* ---------- PLANS GRID (4 cards, sits overlapping the hero bottom) ---------- */
.plans-wrap {
  position: relative; z-index: 2;
  max-width: 1440px; margin: -120px auto 0; padding: 0 32px 80px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(13,17,28,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 22px;
  display: flex; flex-direction: column;
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  --tier-glow-a: rgba(167,139,250,0.34);
  --tier-glow-b: rgba(139,92,246,0.12);
}
.plan-card:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.plan-card[data-tier="grey"] {
  --tier-glow-a: rgba(40,46,58,0.55);
  --tier-glow-b: rgba(18,22,30,0.18);
}
.plan-card[data-tier="bronze"] {
  --tier-glow-a: rgba(220,145,65,0.42);
  --tier-glow-b: rgba(150,80,25,0.15);
}
.plan-card[data-tier="silver"] {
  --tier-glow-a: rgba(205,215,235,0.40);
  --tier-glow-b: rgba(135,150,180,0.14);
}
.plan-card[data-tier="gold"] {
  --tier-glow-a: rgba(255,188,40,0.62);
  --tier-glow-b: rgba(205,140,12,0.22);
}
.plan-card::before {
  content: "";
  position: absolute;
  top: -90px; right: -110px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--tier-glow-a) 0%, var(--tier-glow-b) 34%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}
.plan-card::after {
  content: "";
  position: absolute;
  top: -24px; right: -44px;
  width: 210px; height: 210px;
  background: url("/logo.svg") no-repeat;
  background-size: 820px auto;
  background-position: -8px center;
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(circle at 36% 50%, #000 0%, rgba(0,0,0,0.55) 42%, transparent 76%);
  mask-image: radial-gradient(circle at 36% 50%, #000 0%, rgba(0,0,0,0.55) 42%, transparent 76%);
}
.plan-card > * { position: relative; z-index: 1; }
.plan-card.featured {
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.plan-card .pc-badge {
  position: absolute; top: 18px; right: 18px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(20,24,36,0.85);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(232,236,247,0.92);
  font: 600 11px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.01em; text-transform: none;
  backdrop-filter: blur(8px);
}
.plan-card .pc-name {
  font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
  color: #fff; margin-bottom: 14px;
}
.plan-card .pc-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 4px;
}
.plan-card .pc-price .amount {
  font-size: 38px; font-weight: 800; letter-spacing: -0.025em;
  color: #fff; line-height: 1;
}
.plan-card .pc-price .per {
  font-size: 13px; color: rgba(232,236,247,0.55);
  font-weight: 500;
}
.plan-card .pc-billing {
  font-size: 12.5px; color: rgba(232,236,247,0.6);
  margin-bottom: 6px;
}
.plan-card .pc-save {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: rgba(232,236,247,0.7);
  margin-bottom: 20px;
}
.plan-card .pc-save .info-i {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  color: rgba(232,236,247,0.85);
}
.plan-card .pc-cta {
  display: block; text-align: center;
  padding: 13px 18px; border-radius: 10px;
  background: #fff; color: #0A0F1C;
  font-weight: 700; font-size: 14px;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 200ms ease;
}
.plan-card .pc-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,0.18); }
.plan-card.featured .pc-cta {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
  color: #fff;
}
.plan-card .pc-skip {
  display: block; text-align: center;
  font-size: 12px; color: rgba(232,236,247,0.55);
  margin-top: 10px; margin-bottom: 18px;
}
.plan-card .pc-skip a {
  color: rgba(232,236,247,0.85); text-decoration: underline;
  text-decoration-color: rgba(232,236,247,0.25);
}
.plan-card .pc-skip a:hover { text-decoration-color: rgba(232,236,247,0.7); }
.plan-card .pc-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.plan-card .pc-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: rgba(232,236,247,0.88);
  line-height: 1.35;
}
.plan-card .pc-features li:last-child { border-bottom: 0; }
.plan-card .pc-features li.off {
  color: rgba(232,236,247,0.35);
}
.plan-card .pc-features .ico {
  width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px;
  color: rgba(232,236,247,0.85);
}
.plan-card .pc-features li.off .ico { color: rgba(232,236,247,0.3); }

/* tg 12068/12075 — preview-pricing notice. Matches the .plan-card
   chrome (same bg / border / radius scale) so it reads as part of
   the same block family rather than a foreign chip. */
.plans-footnote {
  max-width: 1100px; margin: 32px auto 0; padding: 18px 24px;
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.45);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  font-size: 14px; color: rgba(232,236,247,0.92);
  text-align: center; line-height: 1.6; letter-spacing: 0.01em;
}
.plans-footnote strong {
  display: inline-block;
  background: rgba(167,139,250,0.22);
  color: #d6c9ff;
  padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-right: 8px;
}

/* ---------- PRICING — B2B TAB SWITCH ---------- */
.pricing-tabs {
  display: inline-flex; gap: 4px; padding: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  margin: 40px auto 28px;
  position: relative; z-index: 2;
}
.pricing-tabs button {
  appearance: none; border: 0; background: transparent;
  padding: 8px 20px; border-radius: 999px;
  color: rgba(232,236,247,0.7);
  font: 500 13px/1 'Inter', sans-serif; cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.pricing-tabs button.active {
  background: rgba(255,255,255,0.12); color: #fff;
}
.pricing-tabs-wrap { text-align: center; background: #05070E; position: relative; z-index: 3; padding-top: 20px; }

@media (max-width: 1200px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pricing-hero h1 { font-size: 56px; }
}
@media (max-width: 760px) {
  .pricing-hero { padding: 60px 18px 120px; }
  .pricing-hero h1 { font-size: 38px; margin-bottom: 24px; }
  .pricing-hero .ph-sub { font-size: 14.5px; margin: -12px 0 22px; }
  .plans-wrap { padding: 0 16px 60px; margin-top: -90px; }
  .plans-grid { grid-template-columns: 1fr; gap: 14px; }
  .plan-card { padding: 24px 20px; }
  .plan-card .pc-price .amount { font-size: 34px; }
  .billing-toggle button { padding: 7px 14px; font-size: 13px; }
  .billing-toggle .save-pill { padding: 3px 8px; font-size: 10.5px; }
}

/* ---------- ABOUT PAGE — mission hero, stats, pillars, do/dont ---------- */
.about-hero {
  position: relative; width: 100%; overflow: hidden;
  padding: 120px 32px 100px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 1400px 700px at 75% 15%, rgba(139,92,246,0.26), transparent 55%),
    radial-gradient(ellipse 1200px 600px at 10% 80%, rgba(59,130,246,0.22), transparent 55%),
    linear-gradient(135deg, rgba(5,7,14,0.78) 0%, rgba(10,15,28,0.55) 50%, rgba(8,11,22,0.88) 100%),
    url('https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?auto=format&fit=crop&w=2880&q=92');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  animation: heroDriftAbout 75s ease-in-out infinite alternate;
}
@keyframes heroDriftAbout {
  from { background-position: center, center, center, 46% 50%; }
  to   { background-position: center, center, center, 54% 50%; }
}
.about-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 7% 14%, rgba(255,255,255,0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 18% 42%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 32% 7%, rgba(255,255,255,0.8) 50%, transparent 100%),
    radial-gradient(1px 1px at 47% 64%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 63% 22%, rgba(255,255,255,0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 58%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1.3px 1.3px at 88% 12%, rgba(255,255,255,0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 93% 77%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(0.8px 0.8px at 12% 78%, rgba(255,255,255,0.5) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 28% 88%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 55% 91%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 72% 85%, rgba(255,255,255,0.75) 50%, transparent 100%);
  background-size: 900px 900px;
  opacity: 0.85;
  animation: herostars 140s linear infinite;
  pointer-events: none; z-index: 0;
}
.about-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 380px at 50% 100%, rgba(5,7,14,0.8), transparent 62%),
    linear-gradient(180deg, transparent 45%, rgba(5,7,14,0.6) 75%, #05070E 100%);
  pointer-events: none; z-index: 0;
}
.about-hero .ah-inner {
  position: relative; z-index: 1;
  max-width: 920px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.about-hero .eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.4);
  border-radius: 999px; color: #C4B5FD;
  font: 600 11px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.about-hero h1 {
  font-size: 72px; font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.02;
  margin: 0 0 22px; color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.about-hero h1 .grad {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.about-hero .ah-sub {
  font-size: 18px; color: rgba(232,236,247,0.85);
  max-width: 680px; line-height: 1.55;
  margin: 0 0 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Numbers strip — overlaps the hero bottom */
.about-numbers {
  position: relative; z-index: 2;
  max-width: 1200px; margin: -60px auto 0; padding: 0 32px;
}
.about-numbers-inner {
  background: rgba(13,17,28,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-numbers .stat {
  display: flex; flex-direction: column; gap: 6px;
  text-align: left; position: relative;
}
.about-numbers .stat:not(:last-child)::after {
  content: ""; position: absolute;
  right: -12px; top: 10%; bottom: 10%; width: 1px;
  background: rgba(255,255,255,0.07);
}
.about-numbers .stat-num {
  font-size: 36px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 60%, #F472B6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.about-numbers .stat-label {
  font: 600 11px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(232,236,247,0.55);
}
.about-numbers .stat-desc {
  font-size: 13px; color: rgba(232,236,247,0.75);
  line-height: 1.4; margin-top: 4px;
}

/* About body sections */
.about-body { max-width: 1200px; margin: 80px auto 0; padding: 0 32px; }
.about-section { margin-bottom: 72px; }
.about-section-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.about-section-head .eyebrow {
  display: inline-block; padding: 5px 12px;
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.3);
  border-radius: 999px; color: #C4B5FD;
  font: 600 10.5px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.about-section-head h2 {
  font-size: 36px; font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.1; color: #fff;
  margin: 0 0 12px;
}
.about-section-head p {
  font-size: 15.5px; color: rgba(232,236,247,0.78);
  line-height: 1.6;
}

/* Pillars (upgraded principles with icon tiles) */
.about-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.pillar-card {
  background: rgba(13,17,28,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 26px 22px;
  transition: border-color 180ms ease, transform 180ms ease;
}
.pillar-card:hover { border-color: rgba(139,92,246,0.35); transform: translateY(-2px); }
.pillar-card .ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.25));
  border: 1px solid rgba(139,92,246,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: #C4B5FD;
}
.pillar-card .ico svg { width: 20px; height: 20px; }
.pillar-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.pillar-card p { font-size: 13.5px; color: rgba(232,236,247,0.72); line-height: 1.55; margin: 0; }

/* Do / Don't split */
.about-dodo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dodo-card {
  background: rgba(13,17,28,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px 26px;
}
.dodo-card.do { border-top: 2px solid #34D399; }
.dodo-card.dont { border-top: 2px solid #F87171; }
.dodo-card h3 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin: 0 0 18px;
}
.dodo-card.do h3 { color: #34D399; }
.dodo-card.dont h3 { color: #F87171; }
.dodo-card ul { list-style: none; padding: 0; margin: 0; }
.dodo-card li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px; color: rgba(232,236,247,0.88); line-height: 1.4;
}
.dodo-card li:last-child { border-bottom: 0; }
.dodo-card li .ico { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.dodo-card.do li .ico { color: #34D399; }
.dodo-card.dont li .ico { color: #F87171; }

/* CTA band */
.about-cta {
  position: relative; overflow: hidden;
  max-width: 1200px; margin: 0 auto 80px; padding: 0 32px;
}
.about-cta-inner {
  background:
    radial-gradient(ellipse 600px 300px at 80% 50%, rgba(139,92,246,0.25), transparent 65%),
    radial-gradient(ellipse 500px 250px at 20% 50%, rgba(59,130,246,0.2), transparent 65%),
    linear-gradient(135deg, #0D1120 0%, #141834 100%);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 22px;
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.about-cta h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0 0 6px; }
.about-cta p { font-size: 14.5px; color: rgba(232,236,247,0.75); margin: 0; max-width: 480px; }
.about-cta .cta-btns { display: flex; gap: 12px; flex-shrink: 0; }
.about-cta .cta-btns .hc-btn-white,
.about-cta .cta-btns .hc-btn-ghost {
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 140ms ease, box-shadow 200ms ease, background 140ms ease;
}
.about-cta .cta-btns .hc-btn-white { background: #fff; color: #0A0F1C; }
.about-cta .cta-btns .hc-btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,0.25); }
.about-cta .cta-btns .hc-btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.about-cta .cta-btns .hc-btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); }

@media (max-width: 1100px) {
  .about-hero h1 { font-size: 56px; }
  .about-numbers-inner { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .about-numbers .stat:nth-child(2)::after { display: none; }
  .about-pillars { grid-template-columns: 1fr; }
  .about-section-head h2 { font-size: 30px; }
}
@media (max-width: 760px) {
  .about-hero { padding: 80px 18px 80px; }
  .about-hero h1 { font-size: 38px; }
  .about-hero .ah-sub { font-size: 14.5px; }
  .about-numbers { padding: 0 16px; margin-top: -48px; }
  .about-numbers-inner { grid-template-columns: 1fr; padding: 22px 20px; gap: 16px; }
  .about-numbers .stat::after { display: none !important; }
  .about-numbers .stat-num { font-size: 30px; }
  .about-body { padding: 0 16px; margin-top: 56px; }
  .about-section { margin-bottom: 56px; }
  .about-dodo { grid-template-columns: 1fr; }
  .about-cta { padding: 0 16px; }
  .about-cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .about-cta .cta-btns { width: 100%; }
  .about-cta .cta-btns a { flex: 1; justify-content: center; }
}

/* tg 5580 — primary CTA button in nav-right (canonical header). */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #8B6EFF 0%, #6E44FF 100%);
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 4px 14px rgba(110, 68, 255, 0.35);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 6px 18px rgba(110, 68, 255, 0.5); }
.nav-cta:active { transform: translateY(0); }
.nav-cta-arrow { transition: transform .15s ease; }
.nav-cta:hover .nav-cta-arrow { transform: translateX(2px); }

@media (max-width: 1100px) {
  .nav-cta { padding: 8px 14px; font-size: 12.5px; }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
}

/* tg 8349 (Dennis): hero video on opespulse, mirroring opesdata pattern. */
.hero-cosmic > video.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; pointer-events: none;
}
.hero-cosmic > .hero-video-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(5,7,14,0.55) 0%, rgba(5,7,14,0.35) 40%, rgba(5,7,14,0.78) 100%);
  pointer-events: none;
}
/* When video is present, suppress the unsplash bg image + the heroDrift
   animation; the video has the full canvas. Keep the star overlay (::before)
   and the bottom fade (::after) for atmosphere. */
.hero-cosmic:has(video.hero-video) {
  animation: none;
  background:
    radial-gradient(ellipse 1400px 800px at 70% 18%, rgba(139,92,246,0.18), transparent 55%),
    radial-gradient(ellipse 1200px 700px at 15% 80%, rgba(59,130,246,0.14), transparent 55%),
    radial-gradient(ellipse 800px 500px at 90% 88%, rgba(236,72,153,0.10), transparent 55%),
    #05070E;
}
.hero-cosmic .hc-inner { z-index: 2; }
