/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0c;
  --bg-2: #111115;
  --bg-3: #18181e;
  --fg: #f0f0f0;
  --fg-muted: #888;
  --accent: #39ff14;
  --accent-dim: rgba(57,255,20,0.12);
  --amber: #ffb340;
  --amber-dim: rgba(255,179,64,0.12);
  --red: #ff4d4d;
  --red-dim: rgba(255,77,77,0.12);
  --border: rgba(255,255,255,0.07);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-badge {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 28px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  min-width: 80px;
}
.hero-stat-label {
  font-size: 14px;
  color: var(--fg-muted);
}

/* === DASHBOARD MOCKUP === */
.hero-right {
  display: flex;
  justify-content: flex-end;
}
.dash-mock {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 380px;
  box-shadow:
    0 0 0 1px rgba(57,255,20,0.06),
    0 32px 64px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dash-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
}
.dash-subtitle {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: monospace;
}
.dash-ov {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--accent-dim);
  border-radius: 10px;
  border: 1px solid rgba(57,255,20,0.15);
}
.dash-score-big {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.score-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.score-denom {
  font-size: 18px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}
.dash-ov-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-ov-label {
  font-size: 12px;
  color: var(--fg-muted);
}
.dash-ov-tag {
  font-size: 11px;
  color: var(--amber);
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--amber-dim);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255,179,64,0.2);
  width: fit-content;
}
.dash-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.dash-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-bar-label {
  font-size: 12px;
  color: var(--fg-muted);
  width: 90px;
  flex-shrink: 0;
}
.dash-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.dash-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(57,255,20,0.4);
  transition: width 0.8s ease;
}
.dash-bar-fill-amber { background: var(--amber); box-shadow: 0 0 8px rgba(255,179,64,0.4); }
.dash-bar-val {
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  width: 24px;
  text-align: right;
}
.dash-bar-amber { color: var(--amber); }
.dash-alerts { display: flex; flex-direction: column; gap: 8px; }
.dash-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.4;
}
.dash-alert-warn {
  background: var(--amber-dim);
  color: #e0a030;
  border: 1px solid rgba(255,179,64,0.15);
}
.dash-alert-bad {
  background: var(--red-dim);
  color: #e06060;
  border: 1px solid rgba(255,77,77,0.15);
}

/* === SCORECARD SECTION === */
.scorecard-section {
  padding: 100px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sc-inner { max-width: 1200px; margin: 0 auto; }
.sc-header { text-align: center; margin-bottom: 64px; }
.sc-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.sc-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}
.sc-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sc-step {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 260px;
  flex: 1;
}
.sc-step-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.sc-step-content h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sc-step-content p { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }
.sc-step-arrow { display: flex; align-items: center; }

/* === DIMENSIONS === */
.dimensions { padding: 100px 32px; }
.dim-inner { max-width: 1200px; margin: 0 auto; }
.dim-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  text-align: center;
}
.dim-sub {
  font-size: 17px;
  color: var(--fg-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}
.dim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dim-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}
.dim-card:hover { border-color: rgba(57,255,20,0.2); }
.dim-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(57,255,20,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.dim-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.dim-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; margin-bottom: 16px; }
.dim-tag {
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(57,255,20,0.12);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* === PHILOSOPHY === */
.philosophy {
  padding: 100px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.phil-inner { max-width: 1200px; margin: 0 auto; }
.phil-quote {
  max-width: 800px;
  margin: 0 auto 72px;
  text-align: center;
}
.phil-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 600;
  color: var(--fg-muted);
  line-height: 1.5;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  text-align: left;
}
.phil-body { max-width: 1000px; margin: 0 auto; }
.phil-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.phil-body p { font-size: 17px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 20px; }
.phil-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.phil-col { padding: 28px; border-radius: 14px; }
.phil-col-bad { background: rgba(255,77,77,0.06); border: 1px solid rgba(255,77,77,0.12); }
.phil-col-good { background: var(--accent-dim); border: 1px solid rgba(57,255,20,0.15); }
.phil-col h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.phil-col-bad h4 { color: #e06060; }
.phil-col-good h4 { color: var(--accent); }
.phil-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.phil-col li { font-size: 14px; color: var(--fg-muted); padding-left: 20px; position: relative; }
.phil-col li::before { content: '—'; position: absolute; left: 0; }
.phil-col-bad li::before { color: #e06060; }
.phil-col-good li::before { color: var(--accent); }

/* === CLOSING === */
.closing-section {
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cl-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.cl-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(57,255,20,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cl-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.cl-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.cl-final {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-muted);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
}
.footer-tagline { font-size: 14px; color: var(--fg-muted); }
.footer-copy { font-size: 12px; color: #555; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { justify-content: center; }
  .dash-mock { max-width: 420px; }
  .dim-grid { grid-template-columns: repeat(2, 1fr); }
  .phil-vs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 100px 20px 60px; }
  .hero-headline { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .sc-steps { flex-direction: column; }
  .sc-step-arrow { transform: rotate(90deg); }
  .dim-grid { grid-template-columns: 1fr; }
  .scorecard-section, .dimensions, .philosophy, .closing-section { padding: 64px 20px; }
  .nav-inner { padding: 14px 20px; }
  .nav-badge { display: none; }
}