/* landing.css · v5.4.2 — public-facing landing page
 *
 * Design language:
 *   · Dark background (matches authenticated pages)
 *   · Gold accents for hero/CTAs
 *   · Cinzel for brand & section titles
 *   · Inter for body
 *   · JetBrains Mono for stats
 *   · Subtle background glow
 */

:root {
  --bg:        #06060F;
  --bg-2:      #0B0B1A;
  --panel:     #12122A;
  --panel-2:   #191939;
  --panel-3:   #22224A;
  --line:      #2A2658;
  --line-2:    #3A3474;
  --text:      #F5EED6;
  --text-dim:  #D8D0B0;
  --muted:     #9A92C2;
  --gold:      #D4AF37;
  --gold-2:    #F4D56E;
  --gold-dim:  #8B6F1E;
  --indigo:    #6366F1;
  --up:        #5FD39A;
  --down:      #E06B6B;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.lp-body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.muted { color: var(--muted); }
a { color: inherit; text-decoration: none; }

/* Atmospheric background */
.lp-bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.lp-bg-glow {
  position: fixed; inset: 0;
  background:
    radial-gradient(800px 500px at 15% 20%, rgba(99,102,241,0.10), transparent 60%),
    radial-gradient(900px 600px at 85% 25%, rgba(212,175,55,0.08), transparent 55%),
    radial-gradient(700px 500px at 50% 100%, rgba(154,146,194,0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Topbar */
.lp-topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto;
  padding: 24px 32px;
}
.lp-brand { display: flex; align-items: center; gap: 14px; }
.lp-logo { width: 40px; height: 40px; display: inline-flex; filter: drop-shadow(0 4px 12px rgba(212,175,55,0.25)); }
.lp-logo svg { width: 100%; height: 100%; display: block; }
.lp-brand h1 {
  margin: 0; font-family: 'Cinzel', serif; font-size: 22px;
  font-weight: 700; letter-spacing: 2.5px; line-height: 1;
}
.lp-the { color: var(--text-dim); font-weight: 500; }
.lp-eye {
  background: linear-gradient(180deg, #F4D56E 0%, #D4AF37 55%, #8B6F1E 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lp-access-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 1px solid var(--gold-2);
  padding: 10px 20px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(244,213,110,0.18);
}
.lp-access-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(244,213,110,0.30);
}

/* Hero */
.lp-hero {
  position: relative; z-index: 5;
  max-width: 1080px; margin: 40px auto 60px;
  padding: 60px 32px 40px;
  text-align: center;
}
.lp-hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: 1px;
  margin: 0 0 24px;
}
.lp-gold {
  background: linear-gradient(180deg, #F4D56E 0%, #D4AF37 70%, #8B6F1E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
}
.lp-hero-actions {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.lp-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  padding: 14px 28px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 24px rgba(244,213,110,0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}
.lp-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(244,213,110,0.36);
}
.lp-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 14px 24px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: background 0.15s, color 0.15s;
}
.lp-cta-ghost:hover { background: rgba(255,255,255,0.06); color: var(--text); }

/* Live stats */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  max-width: 900px; margin: 0 auto 12px;
}
.lp-stat {
  background: rgba(18,18,42,0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  text-align: left;
  backdrop-filter: blur(8px);
}
.lp-stat-k {
  display: block;
  font-size: 11px; letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.lp-stat-v {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px; font-weight: 600;
  color: var(--text);
}
.lp-stat-v.up   { color: var(--up); }
.lp-stat-v.down { color: var(--down); }
.lp-stats-note { text-align: center; font-size: 11px; margin-top: 16px; }

/* Sections */
.lp-features, .lp-arch, .lp-roadmap, .lp-credits {
  position: relative; z-index: 5;
  max-width: 1280px; margin: 0 auto;
  padding: 80px 32px 40px;
}
.lp-section-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 1.5px;
  color: var(--gold-2);
  margin: 0 0 8px;
}
.lp-section-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

/* Feature grid */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.lp-feature {
  background: linear-gradient(180deg, rgba(20,22,36,0.85), rgba(13,14,24,0.85));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-feature:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.lp-feature-ic { font-size: 24px; }
.lp-feature h4 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.lp-feature p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.lp-feature-live { border-left: 3px solid var(--down); }
.lp-feature-new  { border-left: 3px solid var(--gold-2); }
.lp-feature-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.4px;
  background: var(--gold-2); color: var(--bg);
  padding: 2px 8px;
  border-radius: 3px;
}

/* Architecture flow */
.lp-arch-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}
.lp-arch-node {
  background: rgba(18,18,42,0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.lp-arch-ic { font-size: 28px; margin-bottom: 6px; }
.lp-arch-node h5 {
  font-family: 'Cinzel', serif;
  font-size: 13px; font-weight: 700;
  color: var(--gold-2);
  letter-spacing: 1.2px;
  margin: 8px 0 6px;
}
.lp-arch-node p { font-size: 11px; line-height: 1.45; margin: 0; }
.lp-arch-arrow {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold-dim);
  font-size: 20px;
  text-align: center;
}
@media (max-width: 900px) {
  .lp-arch-flow {
    grid-template-columns: 1fr;
  }
  .lp-arch-arrow { transform: rotate(90deg); padding: 4px 0; }
}

.lp-arch-stack {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.lp-tech {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--panel-2);
  color: var(--text-dim);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* Roadmap */
.lp-rm-heading {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-2);
  text-transform: uppercase;
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.lp-rm-heading:first-of-type { margin-top: 0; }
.lp-rm {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 8px;
}
.lp-rm-row {
  display: grid;
  grid-template-columns: 110px 28px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  background: rgba(18,18,42,0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
  border-left: 3px solid var(--line-2);
  transition: background 0.15s;
}
.lp-rm-row:hover { background: rgba(18,18,42,0.65); }
.lp-rm-row.done    { border-left-color: var(--up);   }
.lp-rm-row.done.current {
  background: rgba(95,211,154,0.05);
  border-left-color: var(--gold-2);
  box-shadow: 0 0 0 1px rgba(244,213,110,0.15);
}
.lp-rm-row.planned { border-left-color: var(--gold-2); }
.lp-rm-row.future  { border-left-color: var(--muted); opacity: 0.7; }
.lp-rm-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold-2);
  font-weight: 600;
  padding-top: 2px;
}
.lp-rm-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; font-weight: 700;
  text-align: center;
  padding-top: 0;
}
.lp-rm-row.done    .lp-rm-icon { color: var(--up); }
.lp-rm-row.planned .lp-rm-icon { color: var(--gold-2); }
.lp-rm-row.future  .lp-rm-icon { color: var(--muted); }
.lp-rm-text strong {
  display: block;
  font-size: 16px; font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.lp-rm-text p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Credits */
.lp-cred-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-cred-list li {
  background: rgba(18,18,42,0.4);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-dim);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
}
.lp-cred-list b { color: var(--text); }

/* Footer */
.lp-footer {
  position: relative; z-index: 5;
  max-width: 1280px; margin: 60px auto 0;
  padding: 36px 32px 48px;
  border-top: 1px solid var(--line);
}
.lp-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 14px;
}
.lp-footer-brand {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.lp-footer p {
  margin: 0;
  font-size: 12px;
  text-align: left;
}

@media (max-width: 720px) {
  .lp-topbar { padding: 16px 20px; }
  .lp-hero { padding: 40px 20px; }
  .lp-features, .lp-arch, .lp-roadmap, .lp-credits { padding: 60px 20px; }
  .lp-rm-row { grid-template-columns: 1fr; }
  .lp-rm-tag, .lp-rm-icon { padding: 0; }
}
