:root {
  --bg: #0d0d0d;
  --surface: #141414;
  --surface2: #1c1c1c;
  --border: #2a2a2a;
  --fg: #f5f5f0;
  --fg-muted: #888;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.2);
  --green: #22c55e;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--fg);
}
.wordmark .accent { color: var(--accent); }
.tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(245,158,11,0.05) 0%, transparent 70%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 5.5vw, 88px);
  line-height: 1;
  letter-spacing: 2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-dashboard-mini {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  width: fit-content;
}
.mini-stat { display: flex; flex-direction: column; }
.mini-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--fg-muted); }
.mini-val { font-size: 22px; font-weight: 600; color: var(--fg); font-family: 'DM Sans', sans-serif; }
.mini-divider { width: 1px; height: 32px; background: var(--border); }

/* Dashboard frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.dash-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px var(--accent-dim);
  overflow: hidden;
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green { background: #28c840; }
.dash-title { font-size: 12px; color: var(--fg-muted); margin-left: 8px; }
.dash-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  grid-template-rows: auto auto;
}
.metric-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fg-muted); }
.metric-big { font-size: 24px; font-weight: 600; color: var(--fg); }
.metric-delta { font-size: 11px; color: var(--green); font-weight: 500; }
.metric-delta.up::before { content: '↑ '; }
.metric-chart {
  grid-column: 1 / -1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.chart-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fg-muted); display: block; margin-bottom: 12px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.bar { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; opacity: 0.7; min-height: 8px; }
.bar:last-child { opacity: 1; }

/* Floating tags */
.floating-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.tag-1 { bottom: 20px; left: -20px; }
.tag-2 { top: 80px; right: -10px; }
.tag-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fg-muted); }
.tag-val { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ── STATS ── */
.stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 48px; }
.stats-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 0; }
.stat-item { flex: 1; text-align: center; padding: 0 40px; }
.stat-number { font-family: 'Bebas Neue', sans-serif; font-size: 64px; color: var(--accent); display: block; line-height: 1; margin-bottom: 8px; }
.stat-desc { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.stat-divider { width: 1px; height: 80px; background: var(--border); flex-shrink: 0; }

/* ── SERVICES ── */
.services { padding: 100px 48px; background: var(--bg); }
.services-inner { max-width: 1280px; margin: 0 auto; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 4vw, 64px); letter-spacing: 2px; color: var(--fg); margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--fg-muted); margin-bottom: 64px; max-width: 500px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--accent); }
.service-icon { margin-bottom: 20px; }
.service-name { font-size: 20px; font-weight: 600; color: var(--fg); margin-bottom: 12px; }
.service-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.6; margin-bottom: 20px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li { font-size: 14px; color: var(--fg-muted); padding-left: 16px; position: relative; }
.service-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ── PROCESS ── */
.process { padding: 100px 48px; background: var(--surface); }
.process-inner { max-width: 1280px; margin: 0 auto; }
.process-steps { display: flex; align-items: flex-start; gap: 0; margin-top: 64px; }
.step { flex: 1; padding: 0 32px; }
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 80px; color: var(--accent); opacity: 0.3; line-height: 1; margin-bottom: 20px; }
.step-content h3 { font-size: 20px; font-weight: 600; color: var(--fg); margin-bottom: 12px; }
.step-content p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }
.step-connector { width: 60px; height: 2px; background: linear-gradient(90deg, var(--border), var(--accent), var(--border)); align-self: center; flex-shrink: 0; margin-top: -40px; }

/* ── CLOSING ── */
.closing { padding: 120px 48px; background: var(--bg); }
.closing-inner { max-width: 1280px; margin: 0 auto; }
.closing-headline { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5vw, 80px); line-height: 1.05; letter-spacing: 2px; color: var(--fg); margin-bottom: 24px; }
.closing-sub { font-size: 18px; color: var(--fg-muted); max-width: 600px; line-height: 1.7; margin-bottom: 48px; }
.closing-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--accent-dim); border: 1px solid rgba(245,158,11,0.2); color: var(--accent); font-size: 13px; padding: 8px 16px; border-radius: 100px; font-weight: 500; }

/* ── FOOTER ── */
.footer { padding: 40px 48px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 14px; color: var(--fg-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .topbar { padding: 14px 24px; }
  .tagline { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .dash-frame { max-width: 100%; }
  .floating-tag { display: none; }
  .hero-headline { font-size: 52px; }
  .stats { padding: 40px 24px; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 80px; height: 1px; }
  .service-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-connector { width: 2px; height: 40px; margin: 16px 0; }
  .services, .process, .closing { padding: 60px 24px; }
}
