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

:root {
  --bg: #111111;
  --bg-2: #1a1a1a;
  --bg-3: #222222;
  --fg: #f0f0f0;
  --fg-muted: #888888;
  --accent: #c8ff00;
  --accent-dim: rgba(200, 255, 0, 0.08);
  --border: #2a2a2a;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

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

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.logo-mark { color: var(--accent); }
.logo-text { color: var(--fg); }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* === HERO === */
.hero {
  padding: 6rem 2rem 5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 460px;
  line-height: 1.7;
}

/* Node network visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.node-network {
  position: relative;
  width: 320px;
  height: 240px;
}
.node-network svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.node-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.node-inner {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  color: #111;
  letter-spacing: 0.06em;
}
.node {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.node-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.node-1 { top: 10px; left: 30px; }
.node-2 { top: 10px; right: 30px; }
.node-3 { bottom: 10px; left: 30px; }
.node-4 { bottom: 10px; right: 30px; }

/* === PROBLEM === */
.problem {
  padding: 6rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.stat-number {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.stat-number span { font-size: 3rem; }
.stat-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 280px;
  line-height: 1.65;
}
.problem-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* === SERVICES === */
.services {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.services-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.services-intro {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin-top: 0.5rem;
}
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
}
.service-card {
  background: var(--bg-2);
  padding: 2.5rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-3); }
.service-icon {
  margin-bottom: 1.25rem;
  display: flex;
}
.service-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === HOW === */
.how {
  padding: 6rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  padding-top: 0.2rem;
}
.step-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 560px;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  background: var(--bg);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

/* === FOOTER === */
.footer {
  padding: 4rem 2rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--fg);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.footer-links {
  display: flex;
  gap: 4rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col span {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.footer-col-label {
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg) !important;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner,
  .problem-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 2rem; }
}
