/* ═══════════════════════════════════════
   LEVEL UP CHARTS — Landing Page Styles
   ═══════════════════════════════════════ */

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --bg-elevated: #16161f;
  --border: #1e1e2e;
  --border-hover: #2a2a3e;
  --text: #e4e4ed;
  --text-muted: #7a7a8e;
  --text-dim: #4a4a5e;
  --accent: #00e5ff;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --accent-glow: rgba(0, 229, 255, 0.25);
  --green: #00d47e;
  --red: #ff4757;
  --gold: #ffc107;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.5px;
}

.logo-icon {
  color: var(--accent);
  font-size: 18px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.9; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

.mobile-menu .nav-cta {
  text-align: center;
  margin-top: 8px;
}

.mobile-menu.open { display: flex; }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.hero-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(30, 30, 46, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 30, 46, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent), #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof-item { text-align: center; }

.proof-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  font-family: var(--mono);
}

.proof-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Terminal */
.hero-visual {
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.terminal {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-dim);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}

.terminal-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
}

.term-line { white-space: nowrap; }
.term-line.dim { opacity: 0.4; }
.term-line.blank { height: 12px; }
.term-prompt { color: var(--accent); }
.term-cmd { color: var(--text); }
.term-arg { color: var(--gold); }
.term-label { color: var(--text-muted); display: inline-block; width: 100px; }
.term-val { color: var(--text); font-weight: 500; }
.term-val.bullish { color: var(--green); }
.term-val.active { color: var(--green); }
.term-val.high { color: var(--gold); }
.term-muted { color: var(--text-dim); font-size: 12px; }
.term-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: 8px;
}
.term-tag.virgin { background: rgba(0, 212, 126, 0.15); color: var(--green); }
.term-tag.unfilled { background: rgba(255, 193, 7, 0.15); color: var(--gold); }
.term-cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--accent);
}
@keyframes blink { 50% { opacity: 0; } }

/* ═══ TICKER BAR ═══ */
.ticker-bar {
  overflow: hidden;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  width: max-content;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.ticker-track em {
  font-style: normal;
  margin-left: 6px;
  font-weight: 700;
}

.ticker-track em.up { color: var(--green); }
.ticker-track em.down { color: var(--red); }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ SECTIONS ═══ */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent-dim);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══ FEATURES ═══ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 24px;
  align-items: start;
}

.feature-card-wide .feature-icon { grid-row: span 2; }

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══ EDGE ═══ */
.edge { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.edge-item { padding: 32px; }

.edge-number {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.edge-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.edge-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══ PERSONAS ═══ */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s;
}

.persona-card:hover { border-color: var(--border-hover); }

.persona-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-dim);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.persona-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.persona-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.persona-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 24px;
  position: relative;
}

.persona-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* ═══ ABOUT ═══ */
.about-layout { max-width: 720px; margin: 0 auto; }

.about-text .section-tag { display: inline-block; margin-bottom: 16px; }

.about-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.value strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.value span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ═══ WAITLIST ═══ */
.waitlist {
  background: var(--bg);
}

.waitlist-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px;
}

.waitlist-content .section-tag { margin-bottom: 16px; }

.waitlist-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.waitlist-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.waitlist-form { display: flex; flex-direction: column; gap: 16px; }

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.form-row input[type="email"]:focus {
  border-color: var(--accent);
}

.form-row input[type="email"]::placeholder { color: var(--text-dim); }

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a7a8e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.2s;
}

.form-field select:focus { border-color: var(--accent); }

.form-field select:invalid,
.form-field select option[value=""] { color: var(--text-dim); }

.form-field select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(0, 212, 126, 0.1);
  border: 1px solid rgba(0, 212, 126, 0.2);
  border-radius: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.form-success.show { display: block; }

.waitlist-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 16px;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 48px;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--text);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-legal {
  text-align: center;
}

.footer-legal p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 500px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .hero {
    flex-direction: column;
    padding-top: 100px;
    min-height: auto;
    gap: 40px;
  }

  .hero-visual { width: 100%; }

  .feature-grid { grid-template-columns: 1fr; }

  .edge-grid { grid-template-columns: 1fr; gap: 20px; }
  .edge-item { padding: 24px 0; }

  .waitlist-box {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .waitlist-stats {
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 90px; }

  .feature-grid { grid-template-columns: 1fr; }

  .persona-grid { grid-template-columns: 1fr; }

  .form-row {
    flex-direction: column;
  }

  .form-row .btn { width: 100%; }

  .waitlist-box { padding: 32px 24px; }

  .waitlist-stats { flex-direction: column; gap: 24px; }

  .hero-proof { gap: 16px; }
  .proof-num { font-size: 24px; }

  .terminal-body { overflow-x: auto; }
}
