/*
LEVELFORECAST DESIGN SYSTEM v1
Core visual language for LevelForecast_VER_02
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --lf-bg: #020617;
  --lf-surface: rgba(15, 23, 42, .62);
  --lf-surface-solid: #0f172a;
  --lf-border: rgba(255,255,255,.06);
  --lf-border-strong: #1e293b;

  --lf-text: #f8fafc;
  --lf-muted: #94a3b8;
  --lf-dim: #64748b;

  --lf-indigo: #6366f1;
  --lf-teal: #14b8a6;
  --lf-blue: #3b82f6;
  --lf-amber: #f59e0b;
  --lf-red: #ef4444;

  --lf-radius-xl: 1rem;
  --lf-radius-2xl: 1.5rem;
  --lf-radius-3xl: 1.75rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--lf-bg);
  color: var(--lf-text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.mono { font-family: 'JetBrains Mono', monospace; }

.lf-glass {
  background: var(--lf-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--lf-border);
}

.lf-grid {
  background-image:
    linear-gradient(#1e293b 1px, transparent 1px),
    linear-gradient(90deg, #1e293b 1px, transparent 1px);
  background-size: 40px 40px;
}

.lf-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: .42;
  pointer-events: none;
}

.lf-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #1e293b;
}

.lf-container {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.lf-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.lf-badge-indigo { background: rgba(99,102,241,.10); color: #818cf8; border: 1px solid rgba(99,102,241,.20); }
.lf-badge-teal { background: rgba(20,184,166,.10); color: #2dd4bf; border: 1px solid rgba(20,184,166,.20); }
.lf-badge-amber { background: rgba(245,158,11,.10); color: #fbbf24; border: 1px solid rgba(245,158,11,.20); }
.lf-badge-slate { background: #1e293b; color: #cbd5e1; border: 1px solid #334155; }

.lf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-weight: 800;
  transition: .2s ease;
}

.lf-btn-indigo { background: #4f46e5; color: white; box-shadow: 0 20px 50px rgba(79,70,229,.22); }
.lf-btn-indigo:hover { background: #6366f1; }

.lf-btn-teal { background: #0d9488; color: white; box-shadow: 0 20px 50px rgba(13,148,136,.22); }
.lf-btn-teal:hover { background: #14b8a6; }

.lf-btn-amber { background: #f59e0b; color: #020617; box-shadow: 0 20px 50px rgba(245,158,11,.22); }
.lf-btn-amber:hover { background: #fbbf24; }

.lf-btn-outline { border: 2px solid #334155; color: white; }
.lf-btn-outline:hover { border-color: #64748b; }

.lf-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--lf-radius-3xl);
  padding: 2rem;
  transition: .25s ease;
}

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

.lf-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 35%);
  pointer-events: none;
}

.lf-node {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 20px 80px rgba(15,23,42,.65);
}

.lf-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.lf-section-line {
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  background: rgba(15,23,42,.30);
}

.lf-title-xl {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.lf-title-lg {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.lf-subtitle {
  font-size: 1.125rem;
  color: var(--lf-muted);
  line-height: 1.75;
  font-weight: 300;
}

.lf-thin-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.55), transparent);
}

.lf-code-screen {
  background: linear-gradient(180deg, rgba(11,16,33,.98), rgba(2,6,23,.99));
  border: 1px solid #1e293b;
  border-radius: var(--lf-radius-3xl);
  padding: 1.5rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .lf-section { padding-top: 4rem; padding-bottom: 4rem; }
  .lf-card { padding: 1.5rem; }
}
