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

:root {
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --fg: #0f172a;
  --fg-muted: #64748b;
  --fg-subtle: #94a3b8;
  --accent: #3b82f6;
  --accent-dim: #dbeafe;
  --navy: #0d1f3c;
  --navy-mid: #1e3a5f;
  --copper: #c8956c;
  --green: #059669;
  --green-dim: #d1fae5;
  --red: #dc2626;
  --border: #e2e8f0;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta 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: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}

/* === HERO === */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 80px 32px 96px;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 48px;
}

/* Workflow Diagram */
.workflow-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.workflow-node {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  flex: 1;
}

.workflow-node.node-active {
  background: rgba(59,130,246,0.2);
  border-color: var(--accent);
}

.node-icon { color: rgba(255,255,255,0.6); flex-shrink: 0; }
.node-active .node-icon { color: var(--accent); }

.node-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.workflow-arrow { color: rgba(255,255,255,0.25); flex-shrink: 0; }

/* AI Badge */
.ai-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.badge-pulse {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.badge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.badge-stat {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.badge-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-alt);
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.manifesto-mark span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  white-space: nowrap;
}

.manifesto-mark-right { justify-content: flex-end; }
.manifesto-mark-center { justify-content: center; }

.mark-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.manifesto-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
  font-style: italic;
  margin-bottom: 16px;
  padding: 0 0 16px 24px;
  border-left: 3px solid var(--border);
}

.manifesto-solution {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  text-align: center;
  padding: 32px 0;
}

/* === STATS === */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 96px 32px;
}

.stats-header {
  max-width: 1100px;
  margin: 0 auto 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}

.stats-heading {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat-highlight {
  color: var(--copper);
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  padding: 36px 32px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  margin-bottom: 12px;
}

.stat-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

/* === SOLUTIONS === */
.solutions {
  background: var(--bg);
  padding: 96px 32px;
}

.solutions-heading {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 16px;
}

.solutions-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 64px;
  line-height: 1.65;
}

.solutions-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.solution-card {
  background: var(--bg-alt);
  padding: 40px 36px;
  position: relative;
}

.solution-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.solution-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.solution-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.solution-metric {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.metric-delta {
  font-weight: 800;
}

.solution-card-vision {
  background: var(--navy);
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 48px;
}

.solution-vision-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--copper);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  align-self: start;
}

.solution-card-vision .solution-title {
  color: #fff;
  font-size: 22px;
}

.solution-card-vision .solution-desc {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

/* === PROCESS === */
.process {
  background: var(--bg-alt);
  padding: 96px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-heading {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 72px;
}

.process-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}

.step-number {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.process-connector {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-connector::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--border);
}

/* === VISION === */
.vision {
  background: var(--navy);
  padding: 96px 32px;
}

.vision-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.vision-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}

.vision-heading {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}

.vision-body {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 48px;
}

.vision-callout {
  display: flex;
  align-items: center;
  gap: 24px;
}

.callout-rule {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.callout-text {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  white-space: nowrap;
}

/* === FOOTER === */
.footer {
  background: #060f1e;
  padding: 64px 32px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  max-width: 360px;
  line-height: 1.65;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  text-align: right;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .ai-badge { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card-vision { grid-column: span 1; grid-template-columns: 1fr; gap: 16px; }
  .process-steps { grid-template-columns: 1fr; gap: 16px; }
  .process-connector { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-tagline { text-align: left; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 24px 72px; }
  .manifesto, .stats, .solutions, .process, .vision { padding: 72px 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}