/* ===========================
   IRONCORE — Landing Page Theme
   =========================== */

:root {
  --bg: #0A0A0B;
  --surface: #111114;
  --surface-2: #18181D;
  --border: rgba(255, 255, 255, 0.07);
  --text: #F2F2F2;
  --text-muted: #6E6E7A;
  --text-dim: #3A3A42;
  --accent: #FF4D00;
  --accent-dim: rgba(255, 77, 0, 0.12);
  --accent-border: rgba(255, 77, 0, 0.3);
  --good: #3DFF8F;
  --warn: #FFB800;
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --font-body: 'Outfit', 'Segoe UI', sans-serif;
}

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

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

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark {
  font-size: 1.4rem;
  color: var(--accent);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.nav-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===========================
   HERO
   =========================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  padding: 7rem 3rem 5rem;
  min-height: 82vh;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.75rem;
  width: fit-content;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* HUD Panel */
.hero-hud {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hud-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
}
.hud-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}
.hud-row:last-of-type { border-bottom: none; }
.hud-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.hud-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
}
.hud-value.good { color: var(--good); }
.hud-value.warn { color: var(--warn); }
.hud-value.accent { color: var(--accent); }
.hud-unit {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 1px;
}
.hud-divider {
  height: 1px;
  background: var(--border);
  margin: 0.85rem 0;
}
.hud-insight {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.insight-icon {
  color: var(--accent);
  font-size: 0.7rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.insight-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.hud-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}

/* ===========================
   METRICS BAR
   =========================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 3rem;
}
.metric-block {
  padding: 2.5rem 2rem;
  text-align: center;
}
.metric-block:not(:last-child) { border-right: 1px solid var(--border); }
.metric-value {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric-unit {
  font-size: 1.4rem;
  color: var(--accent);
}
.metric-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.metric-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ===========================
   FEATURES
   =========================== */
.features {
  padding: 7rem 3rem;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  line-height: 0.97;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 4rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
}
.feature-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.feature-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
  padding: 7rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.step-list {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3.5rem;
}
.step {
  display: flex;
  gap: 1.25rem;
  flex: 1;
  align-items: flex-start;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.step-body { padding-top: 0.3rem; }
.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}
.step-connector {
  width: 3rem;
  height: 1px;
  background: var(--border);
  margin: 2.2rem 1.5rem 0;
  flex-shrink: 0;
}

/* ===========================
   CLOSING
   =========================== */
.closing {
  padding: 8rem 3rem 7rem;
}
.closing-content {
  max-width: 760px;
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.closing-vision {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  max-width: 540px;
}
.closing-vision strong { color: var(--accent); font-weight: 600; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 480px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 5rem; min-height: auto; }
  .hero-hud { max-width: 480px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric-block:nth-child(2) { border-right: none; }
  .metric-block:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .metric-block:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

@media (max-width: 680px) {
  .navbar, .hero, .features, .how-it-works, .closing, .footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .metrics { margin: 0 1.5rem; grid-template-columns: 1fr 1fr; }
  .metric-block { padding: 2rem 1.5rem; }
  .metric-block:nth-child(2) { border-right: none; }
  .metric-block:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .metric-block:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .step-list { flex-direction: column; gap: 2rem; }
  .step-connector { width: 40px; height: 1px; margin: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .navbar { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }
}