/* ── Variables ── */
:root {
  --bg: #141416;
  --bg-light: #F5F0EA;
  --accent: #E03028;
  --accent-dim: rgba(224, 48, 40, 0.12);
  --fg-dark: #141416;
  --fg-light: #F5F0EA;
  --fg-muted: #8A8A8E;
  --fg-muted-light: #6B6B6F;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(20,20,22,0.1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, .hero-headline {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
}

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--fg-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-status {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  align-items: center;
  padding: 80px 64px;
  gap: 80px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(224, 48, 40, 0.06) 0%, transparent 70%),
    var(--bg);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg-light);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 440px;
  font-weight: 300;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.device-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(224, 48, 40, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(224, 48, 40, 0.04) 0%, transparent 70%);
  animation: pulse-ring 3s ease-in-out infinite;
  position: relative;
}

.device-ring::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(224, 48, 40, 0.15) 25%, transparent 50%, rgba(224, 48, 40, 0.08) 75%, transparent 100%);
  animation: rotate-ring 8s linear infinite;
}

@keyframes pulse-ring {
  0%, 100% { border-color: rgba(224, 48, 40, 0.25); }
  50% { border-color: rgba(224, 48, 40, 0.5); }
}

@keyframes rotate-ring {
  to { transform: rotate(360deg); }
}

.device-core {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(224, 48, 40, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(224, 48, 40, 0.05);
}

.device-beam {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(224, 48, 40, 0.6), 0 0 60px rgba(224, 48, 40, 0.3);
}

.device-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── Section Shared ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-headline {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg-dark);
  margin-bottom: 40px;
}

.section-headline em {
  font-style: italic;
  color: var(--accent);
}

/* ── How It Works ── */
.how-it-works {
  background: var(--bg-light);
  padding: 120px 64px;
}

.how-it-works .section-label { color: var(--accent); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-top: 0;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  letter-spacing: -0.03em;
}

.step-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg-dark);
  letter-spacing: -0.01em;
}

.step-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--fg-muted-light);
  font-weight: 300;
}

/* ── Problem ── */
.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.problem-left {
  background: var(--fg-dark);
  padding: 120px 64px;
  display: flex;
  align-items: center;
}

.problem-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.problem-stat {}

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg-light);
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--fg-muted);
  font-weight: 300;
  max-width: 280px;
}

.problem-right {
  background: #1E1E22;
  padding: 120px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.problem-right .section-label { color: var(--accent); }
.problem-right .section-headline { color: var(--fg-light); }
.problem-right .section-headline em { color: var(--accent); }

.problem-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 48px;
  font-weight: 300;
}

.problem-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.method-icon {
  font-size: 0.875rem;
  color: var(--accent);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.method-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-light);
  margin-bottom: 4px;
}

.method-desc {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* ── Ecosystem ── */
.ecosystem {
  background: var(--bg);
  padding: 120px 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ecosystem-content {}

.ecosystem-headline {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg-light);
  margin-bottom: 32px;
}

.ecosystem-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
  max-width: 380px;
}

.ecosystem-nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 40px;
}

.node-ring {
  position: relative;
  width: 340px;
  height: 340px;
}

.node-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 60px rgba(224, 48, 40, 0.35);
}

.node {
  position: absolute;
  background: #1E1E22;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-light);
  white-space: nowrap;
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.node-2 { top: 50%; right: 0; transform: translateY(-50%); }
.node-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* ── Closing ── */
.closing {
  background: var(--bg-light);
  padding: 120px 64px;
}

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

.closing-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.closing-statement {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.3;
  color: var(--fg-dark);
  letter-spacing: -0.02em;
}

/* ── Footer ── */
.footer {
  background: var(--fg-dark);
  padding: 48px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--fg-light);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  font-weight: 300;
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 20px 28px; }
  .hero { padding: 60px 28px; gap: 48px; min-height: auto; flex-direction: column; }
  .hero-right { display: none; }
  .how-it-works { padding: 80px 28px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .problem { grid-template-columns: 1fr; }
  .problem-left { padding: 80px 28px; }
  .problem-right { padding: 80px 28px; }
  .ecosystem { grid-template-columns: 1fr; padding: 80px 28px; gap: 48px; }
  .ecosystem-nodes { display: none; }
  .closing { padding: 80px 28px; }
  .footer { padding: 40px 28px; flex-direction: column; gap: 16px; align-items: flex-start; }
  .stat-number { font-size: 3rem; }
}

@media (max-width: 600px) {
  .section-headline { font-size: 1.75rem; }
  .closing-statement { font-size: 1.5rem; }
  .device-ring { width: 220px; height: 220px; }
}
