/* ============ MARTZ FORGE ============ */
:root {
  --navy-950: #060912;
  --navy-900: #0b0f19;
  --navy-800: #111827;
  --navy-700: #1f2937;
  --navy-600: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --green: #22c55e;
  --green-light: #4ade80;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --grad: linear-gradient(135deg, #22c55e 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(34,197,94,0.12) 0%, rgba(6,182,212,0.12) 100%);
  --shadow-sm: 0 1px 2px rgba(11,15,25,0.04), 0 1px 3px rgba(11,15,25,0.06);
  --shadow-md: 0 4px 12px rgba(11,15,25,0.06), 0 2px 4px rgba(11,15,25,0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11,15,25,0.12), 0 8px 16px -8px rgba(11,15,25,0.08);
  --shadow-xl: 0 32px 64px -16px rgba(11,15,25,0.18);
  --shadow-glow: 0 8px 32px -8px rgba(34,197,94,0.35);
  --bg: #ffffff;
  --bg-rgb: 255, 255, 255;
  --bg-soft: #f9fafb;
  --bg-alt: #0b0f19;
  --fg: #0b0f19;
  --fg-soft: #4b5563;
  --fg-muted: #6b7280;
  --border: rgba(11,15,25,0.08);
  --border-strong: rgba(11,15,25,0.14);
}


* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
}
.nav-logo {
  height: 34px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  color: var(--fg-soft);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover { color: var(--fg); }
.nav-cta {
  display: flex;
  gap: 18px;
  align-items: center;
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(34,197,94,0.5);
}
.btn-secondary {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--fg-soft);
  padding: 8px 14px;
}
.btn-ghost:hover { color: var(--fg); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--fg-soft);
  transition: all 0.2s;
}
.theme-toggle:hover { background: var(--bg-soft); color: var(--fg); }

/* === HERO === */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 400px at 80% 20%, rgba(34,197,94,0.10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(6,182,212,0.08), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--grad-soft);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0 0 32px;
  max-width: 540px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--fg-muted);
  font-size: 13.5px;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta-item svg { color: var(--green); }

/* === HERO VISUAL (network) === */
/* === HERO DASHBOARD (live product panel) === */
.nc-card {
  position: relative;
  aspect-ratio: 1.05 / 1;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 55% at 78% 12%, rgba(6,182,212,0.16), transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 88%, rgba(34,197,94,0.16), transparent 62%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(255,255,255,0.09);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.nc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.nc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nc-overlay { position: absolute; inset: 0; pointer-events: none; color: #fff; }

.nc-top {
  position: absolute; top: 20px; left: 22px; right: 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.nc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  font-family: 'JetBrains Mono', monospace;
  backdrop-filter: blur(12px);
}
.nc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.8s infinite; }
.nc-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}
.nc-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 8px var(--green); animation: pulse 1.2s infinite; }

.nc-chart-head {
  position: absolute; top: 20.5%; left: 26px; right: 26px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.nc-chart-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(255,255,255,0.5); font-weight: 600;
}
.nc-chart-delta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 700;
  color: var(--green-light);
  font-variant-numeric: tabular-nums;
}

.nc-tiles {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.nc-tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 12px 13px;
}
.nc-tile .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.52); font-weight: 500; margin-bottom: 5px; white-space: nowrap; }
.nc-tile .v { display: flex; align-items: baseline; gap: 2px; font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.nc-tile .v .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nc-tile .v .u { font-size: 12px; font-weight: 600; opacity: 0.65; }
.nc-tile .v .d {
  display: inline-flex; align-items: center; margin-left: auto;
  color: var(--green-light);
}
.nc-tile .v .d.down { color: var(--green-light); }

/* === SECTION === */
.section { padding: 96px 0; position: relative; }
.section-dark {
  background: var(--navy-950);
  color: #fff;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,0.6); }
.section-soft { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head.left { text-align: left; margin: 0 0 56px; }
.section-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 18px;
  color: var(--fg-soft);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
}

/* === TRUST === */
.trust { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label { text-align: center; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-muted); margin: 0 0 28px; font-weight: 600; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
  opacity: 0.7;
}
.trust-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg-soft);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  filter: grayscale(1);
  transition: filter 0.3s, opacity 0.3s;
}
.trust-logo:hover { filter: grayscale(0); }
.trust-logo .mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
}

/* === METRICS === */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 880px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.metric {
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.section-dark .metric { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
.metric::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad);
}
.metric .num { font-size: 40px; font-weight: 700; letter-spacing: -0.025em; line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.metric .num .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .lbl { font-size: 14px; color: var(--fg-muted); }
.section-dark .metric .lbl { color: rgba(255,255,255,0.6); }

/* === PROBLEM === */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}
.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(239,68,68,0.08);
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.problem-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.problem-card p { color: var(--fg-soft); margin: 0; font-size: 14.5px; line-height: 1.55; }

/* === SOLUTION === */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .solution-grid { grid-template-columns: 1fr; } }
.solution-card {
  padding: 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.solution-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-2px);
}
.solution-card .num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.solution-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px -6px rgba(34,197,94,0.4);
}
.solution-card h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.015em; }
.solution-card p { color: rgba(255,255,255,0.65); margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.solution-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.08);
}

/* === HOW IT WORKS === */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.step {
  padding: 32px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.step-num .grad-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  margin-right: 8px;
  vertical-align: middle;
}
.step h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.015em; }
.step p { color: var(--fg-soft); margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; }
.step-visual {
  height: 96px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* === FEATURES === */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature {
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.3s ease;
}
.feature:hover {
  border-color: rgba(34,197,94,0.4);
  box-shadow: 0 12px 32px -12px rgba(34,197,94,0.2);
  transform: translateY(-2px);
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature h4 { font-size: 16px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.feature p { color: var(--fg-soft); margin: 0; font-size: 13.5px; line-height: 1.5; }

/* === DASHBOARD MOCKUP === */
.dash-wrap {
  margin-top: 64px;
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.dash-bar {
  height: 38px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.r { background: #ef4444; }
.dash-dot.y { background: #f59e0b; }
.dash-dot.g { background: var(--green); }
.dash-url {
  margin-left: auto;
  margin-right: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
  padding: 4px 14px;
  border-radius: 6px;
}
.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 440px;
  color: #fff;
}
@media (max-width: 880px) { .dash-body { grid-template-columns: 1fr; } .dash-side { display: none; } }
.dash-side {
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 20px 14px;
}
.dash-logo-row {
  display: flex; align-items: center; gap: 10px;
  padding: 0 8px 18px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-logo-mark { width: 24px; height: 24px; border-radius: 7px; background: var(--grad); display:flex; align-items:center; justify-content:center; color:#fff; font-size:11px; font-weight:700; }
.dash-logo-name { font-size: 13.5px; font-weight: 600; }
.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: rgba(255,255,255,0.6);
  cursor: pointer; transition: all 0.15s;
}
.dash-nav-item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.dash-nav-item.active { background: rgba(34,197,94,0.1); color: var(--green-light); }
.dash-section-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35); padding: 14px 10px 6px; font-weight: 600;
}
.dash-main { padding: 24px; }
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.dash-head h3 { margin: 0; font-size: 17px; font-weight: 600; }
.dash-head-meta { font-size: 12px; color: rgba(255,255,255,0.5); }
.dash-kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 880px) { .dash-kpi-row { grid-template-columns: repeat(2, 1fr); } }
.dash-kpi {
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.dash-kpi .l { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.dash-kpi .v { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dash-kpi .d { font-size: 11px; color: var(--green-light); margin-top: 2px; font-family: 'JetBrains Mono', monospace; }
.dash-kpi .d.down { color: #f87171; }
.dash-chart {
  height: 180px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 14px;
  margin-bottom: 16px;
  position: relative;
}
.dash-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dash-chart-head .t { font-size: 12.5px; font-weight: 500; }
.dash-chart-head .legend { display: flex; gap: 12px; font-size: 11px; color: rgba(255,255,255,0.55); }
.dash-chart-head .legend span { display: inline-flex; align-items: center; gap: 5px; }
.dash-chart-head .legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.dash-rows { display: flex; flex-direction: column; gap: 6px; }
.dash-row {
  display: grid; grid-template-columns: 28px 1fr auto auto; gap: 12px;
  align-items: center; padding: 10px 12px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; font-size: 12.5px;
}
.dash-row .av { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-size: 10px; font-weight: 600; }
.dash-row .nm { color: rgba(255,255,255,0.85); }
.dash-row .ag { font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.5); font-size: 11px; }
.dash-row .st {
  font-size: 10.5px; padding: 3px 8px; border-radius: 100px;
  background: rgba(34,197,94,0.12); color: var(--green-light);
  font-weight: 500;
}
.dash-row .st.warn { background: rgba(245,158,11,0.12); color: #fbbf24; }
.dash-row .st.info { background: rgba(6,182,212,0.12); color: var(--cyan-light); }

.dash-ai {
  position: absolute;
  right: 16px; bottom: 60px;
  width: 280px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(34,197,94,0.3);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(34,197,94,0.15);
  color: #fff;
  z-index: 2;
}
.dash-ai-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dash-ai-head .ic {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.dash-ai-head .t { font-size: 12.5px; font-weight: 600; }
.dash-ai-head .ping { width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-left: auto; box-shadow: 0 0 8px var(--green); animation: pulse 1.6s infinite; }
.dash-ai-text { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 0; }
.dash-ai-text .hl { color: var(--green-light); font-weight: 500; }
.dash-ai-cursor::after { content:'▍'; color: var(--green); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 880px) { .dash-ai { display: none; } }

/* === CASES === */
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 980px) { .cases { grid-template-columns: 1fr; } }
.case-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34,197,94,0.4);
}
.case-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(34,197,94,0.2);
}
.case-card h3 { font-size: 22px; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.015em; }
.case-step {
  padding: 12px 14px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border);
  margin-bottom: 8px; font-size: 13.5px; line-height: 1.45;
  display: flex; gap: 10px; align-items: flex-start;
}
.case-step .l {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 2px 6px; border-radius: 4px;
  background: var(--bg); border: 1px solid var(--border-strong);
  color: var(--fg-muted); flex-shrink: 0;
  margin-top: 1px;
}
.case-step.r { background: var(--grad-soft); border-color: rgba(34,197,94,0.25); }
.case-step.r .l { background: var(--grad); color: #fff; border-color: transparent; }

/* === BIG CTA === */
.big-cta {
  position: relative;
  padding: 96px 0;
  text-align: center;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
}
.big-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(34,197,94,0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(6,182,212,0.14), transparent 60%);
}
.big-cta .container { position: relative; }
.big-cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 20px;
  text-wrap: balance;
}
.big-cta h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-cta p { font-size: 19px; color: rgba(255,255,255,0.65); margin: 0 auto 36px; max-width: 600px; line-height: 1.55; }

/* === FOOTER === */
.footer {
  padding: 64px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-logo { height: 28px; margin-bottom: 16px; }
.footer-tag { color: var(--fg-muted); font-size: 14px; margin: 0 0 18px; max-width: 280px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-soft); transition: all 0.2s;
}
.footer-social:hover { background: var(--grad); color: #fff; border-color: transparent; }
.footer-col h5 { font-size: 13px; font-weight: 600; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--fg-soft); font-size: 14px; transition: color 0.15s; }
.footer-col a:hover { color: var(--fg); }
.footer-bot {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  color: var(--fg-muted); font-size: 13px;
}

/* === REVEAL ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* === MARQUEE === */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ COMPREHENSIVE MOBILE RESPONSIVE ============ */

/* Mobile typography scaling */
@media (max-width: 640px) {
  h1 { font-size: clamp(28px, 8vw, 40px) !important; }
  h2 { font-size: clamp(24px, 6vw, 32px) !important; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 48px 0; }
  .big-cta { padding: 64px 0; }
  .big-cta h2 { font-size: clamp(28px, 8vw, 48px); }
  .big-cta p { font-size: 16px; }
}

/* Convert 2-column grids to 1 column on mobile */
@media (max-width: 768px) {
  /* Hero and content grids */
  [style*="gridTemplateColumns: '1fr 1fr'"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Stats grids - keep 2 columns but smaller */
  [style*="gridTemplateColumns: 'repeat(2, 1fr)'"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  /* 3 and 4 column grids to 2 columns */
  [style*="gridTemplateColumns: 'repeat(3, 1fr)'"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  [style*="gridTemplateColumns: 'repeat(4, 1fr)'"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* ROI section */
  .roi-grid { grid-template-columns: 1fr !important; }
  
  /* Big number grids */
  .big-num-grid { grid-template-columns: repeat(2, 1fr) !important; }
  
  /* Process tabs */
  .proc-tabs { 
    flex-wrap: wrap; 
    gap: 8px;
  }
  .proc-tab { 
    flex: 1 1 calc(50% - 4px); 
    min-width: 140px;
  }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .footer-bot { flex-direction: column; text-align: center; }
}

/* Extra small screens */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  
  /* All multi-column to single */
  [style*="gridTemplateColumns: 'repeat(2, 1fr)'"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Big numbers stack */
  .big-num-grid { grid-template-columns: 1fr !important; }
  .big-num .n { font-size: 36px; }
  
  /* Hero actions stack */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  
  /* Process tabs single column */
  .proc-tab { flex: 1 1 100%; }
  
  /* Footer single column */
  .footer-grid { grid-template-columns: 1fr !important; }
  
  /* Contact form */
  .form-row { grid-template-columns: 1fr !important; }
  
  /* Reduce sticky card top position */
  [style*="position: sticky"] {
    position: static !important;
  }
  
  /* Timeline adjustments */
  .tl-stage { padding-left: 32px; }
  .tl-stage::before { left: 8px; }
  
  /* Section headings */
  .section-head { margin-bottom: 32px; }
  .section-eyebrow { font-size: 12px; }
  .section-title { font-size: clamp(24px, 6vw, 32px); }
  
  /* Card padding reduction */
  .svc-card, .form-card { padding: 20px !important; }
  
  /* Case stats */
  .case-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .case-stat .v { font-size: 20px; }
  
  /* Hero dashboard */
  .nc-card { min-height: 340px; }
  .nc-tiles { gap: 7px; }
  .nc-tile { padding: 10px 10px; border-radius: 12px; }
  .nc-tile .k { font-size: 8.5px; letter-spacing: 0.04em; }
  .nc-tile .v { font-size: 16px; }
  .nc-tile .v .u { font-size: 10px; }
  .nc-tile .v .d svg { width: 8px; height: 8px; }
}

/* Handle inline style grids in JSX components */
@media (max-width: 768px) {
  /* Industry and case detail sections */
  div[style*="gridTemplateColumns: '1fr 1fr'"] > div,
  div[style*="grid-template-columns: 1fr 1fr"] > div {
    width: 100%;
  }
}
