/* css/myvexa.css — MyVEXA v6: Obsidian Glass, Spotlight Cursor & Architectural Precision */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-void: #020306;
  --bg-surface: #060912;
  --bg-elevated: #0B101E;
  --border-subtle: rgba(255, 255, 255, 0.065);
  --border-light: rgba(255, 255, 255, 0.13);
  --border-cyan: rgba(56, 189, 248, 0.45);
  --border-gold: rgba(245, 158, 11, 0.55);
  --cyan-400: #38BDF8;
  --cyan-300: #7DD3FC;
  --blue-600: #1D6FE8;
  --gold-500: #F59E0B;
  --gold-400: #FBBF24;
  --emerald-400: #34D399;
  --text-main: #F8FAFC;
  --text-body: #94A3B8;
  --text-dim: #64748B;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-void);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-void);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.stage-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(29, 111, 232, 0.34) 0%, transparent 60%),
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 12% 45%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 25%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 25%, #000 55%, transparent 100%);
}

.telemetry-bar {
  background: rgba(3, 5, 10, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.73rem;
  color: var(--text-body);
}

.telemetry-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  color: var(--emerald-400);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 12px var(--emerald-400);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(2, 3, 6, 0.76);
  backdrop-filter: blur(32px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, #0D172A 0%, #15428A 100%);
  border: 1px solid rgba(56, 189, 248, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(29, 111, 232, 0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}

.brand-title {
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.1;
}

.tag-gold {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(251, 191, 36, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.48);
  color: var(--gold-400);
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-body);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--text-main); }

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

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-cyan);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #D97706 100%);
  background-size: 200% auto;
  color: #030508;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 22px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.24s ease;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-1.5px);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.btn-gold:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-block {
  padding: 112px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 56px;
}

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.title-xl {
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.subtitle-lead {
  color: var(--text-body);
  font-size: 1rem;
  max-width: 540px;
}

.hero-section {
  padding: 90px 0 100px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.38);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--cyan-300);
  margin-bottom: 28px;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.14), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-h1 {
  font-size: clamp(2.5rem, 4.3vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-h1 .t-silver {
  background: linear-gradient(180deg, #FFFFFF 25%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-h1 .t-aura {
  background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 50%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  color: var(--text-body);
  font-size: 1.06rem;
  line-height: 1.72;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, rgba(14, 21, 38, 0.88) 0%, rgba(5, 8, 16, 0.96) 100%);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.09);
}

.metric-cell {
  padding: 18px 20px;
  border-right: 1px solid var(--border-subtle);
}
.metric-cell:last-child { border-right: none; }

.metric-val {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

.metric-lbl {
  font-size: 0.74rem;
  color: var(--text-dim);
}

.terminal-deck {
  background: linear-gradient(180deg, #0B1222 0%, #04070E 100%);
  border: 1px solid rgba(56, 189, 248, 0.36);
  border-radius: 18px;
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.9), 0 0 70px rgba(29, 111, 232, 0.18), inset 0 1px 0 rgba(255,255,255,0.14);
  overflow: hidden;
}

.terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #020408;
  border-bottom: 1px solid var(--border-subtle);
}

.win-dots {
  display: flex;
  gap: 6px;
}
.win-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.term-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  padding: 3px;
  border-radius: 7px;
}

.t-tab {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 5px 11px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.16s;
}
.t-tab.active {
  background: rgba(56, 189, 248, 0.2);
  color: var(--cyan-300);
}

.terminal-body {
  padding: 24px;
}

.code-frame {
  background: #020306;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.79rem;
  line-height: 1.72;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.c-key { color: #38BDF8; }
.c-str { color: #FBBF24; }
.c-ok  { color: #34D399; }

.term-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-dim);
}

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

.spotlight-card {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.94) 0%, rgba(5, 8, 16, 0.98) 100%);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.12);
}

.spotlight-card.gold-tier {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.11) 0%, rgba(6, 10, 18, 0.98) 100%);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.82), 0 0 45px rgba(245, 158, 11, 0.1), inset 0 1px 0 rgba(251, 191, 36, 0.3);
}

.spotlight-card.gold-tier::before {
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(245, 158, 11, 0.18), transparent 45%);
}

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

.mod-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan-400);
}
.mod-tag.gold { color: var(--gold-400); }

.glyph-wrap {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
}
.glyph-wrap.gold {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.38);
  color: var(--gold-400);
}

.spotlight-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.spotlight-card p {
  font-size: 0.91rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.kv-table {
  list-style: none;
  margin-bottom: 24px;
  font-size: 0.84rem;
}
.kv-table li {
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-body);
}
.kv-table li strong {
  color: var(--text-main);
  font-weight: 600;
  text-align: right;
}

.mcp-notice {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.79rem;
  color: var(--cyan-300);
  margin-bottom: 22px;
}

.studio-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.82);
}

.studio-sidebar {
  padding: 30px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #04070E;
}

.studio-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.swatch-btn {
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--text-main);
  cursor: pointer;
  margin-bottom: 8px;
  transition: 0.18s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.swatch-btn.active {
  border-color: var(--border-gold);
  background: rgba(245, 158, 11, 0.1);
}

.swatch-dots {
  display: flex;
  gap: 4px;
}
.swatch-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.arch-btn {
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.16s;
}
.arch-btn.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--border-cyan);
  color: var(--cyan-300);
}

.studio-stage {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #0D1528 0%, #020306 100%);
}

.slide-16x9 {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}

.matrix-wrap {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.matrix-table th, .matrix-table td {
  padding: 19px 26px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table th {
  background: #090F1D;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-body);
}

.matrix-table td { color: var(--text-body); }
.matrix-table td strong { color: var(--text-main); }
.matrix-table tr:last-child td { border-bottom: none; }

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.surface-panel {
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.92) 0%, rgba(5, 8, 16, 0.97) 100%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
}

label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

select, input, textarea {
  width: 100%;
  background: var(--bg-void);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan-400);
}

.price-val {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 10px 0 4px;
}

.price-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}

details.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color 0.18s;
}
details.faq-item[open] {
  border-color: var(--border-cyan);
}
details.faq-item summary {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}
details.faq-item p {
  margin-top: 12px;
  font-size: 0.89rem;
  color: var(--text-body);
}

#portalWorkspaceView, #adminHiddenView {
  display: none;
  min-height: calc(100vh - 100px);
}

.portal-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.portal-nav {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px 16px;
  height: fit-content;
}

.ws-tab-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-body);
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ws-tab-btn.active, .ws-tab-btn:hover {
  background: rgba(29, 111, 232, 0.18);
  border-color: var(--border-cyan);
  color: var(--text-main);
}

.quota-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.lock-banner {
  display: none;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.48);
  color: #FECACA;
  padding: 20px 22px;
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 0.91rem;
}

.console-out {
  background: var(--bg-void);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  min-height: 190px;
  white-space: pre-wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  color: #E2E8F0;
}

.footer {
  padding: 72px 0 46px;
  background: #010204;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.foot-list {
  list-style: none;
  font-size: 0.86rem;
}
.foot-list li { margin-bottom: 10px; }
.foot-list a {
  color: var(--text-body);
  text-decoration: none;
  cursor: pointer;
}
.foot-list a:hover { color: var(--cyan-400); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.79rem;
  color: var(--text-dim);
}

@media (max-width: 1040px) {
  .hero-grid, .bento-grid, .studio-shell, .split-2, .portal-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .studio-sidebar { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .nav-links { display: none; }
}
