:root {
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-card: #161618;
  --fg-primary: #e8e8ec;
  --fg-secondary: #8a8a96;
  --fg-muted: #5a5a66;
  --accent-ice: #7dd3fc;
  --accent-chrome: #c0c0c8;
  --accent-glow: rgba(125, 211, 252, 0.15);
  --accent-border: rgba(125, 211, 252, 0.2);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--accent-ice);
  border: 1px solid var(--accent-border);
  padding: 0.4rem 1rem;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--fg-primary) 0%, var(--accent-chrome) 40%, var(--accent-ice) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--fg-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-ice), transparent);
  opacity: 0.3;
  animation: scanDown 6s linear infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes scanDown {
  0% { top: 0%; }
  100% { top: 100%; }
}

/* --- MANIFESTO --- */
.manifesto {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(125, 211, 252, 0.06);
  border-bottom: 1px solid rgba(125, 211, 252, 0.06);
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--fg-secondary);
}

.manifesto-text em {
  color: var(--accent-ice);
  font-style: normal;
  font-weight: 600;
}

/* --- CAPABILITIES --- */
.capabilities {
  padding: 8rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 4rem;
  color: var(--fg-primary);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(125, 211, 252, 0.08);
}

.cap-card {
  background: var(--bg-primary);
  padding: 2.5rem 2rem;
  transition: background 0.3s ease;
}

.cap-card:hover {
  background: var(--bg-card);
}

.cap-number {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-ice);
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
  opacity: 0.7;
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--fg-primary);
}

.cap-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* --- HOW IT WORKS --- */
.how-it-works {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(125, 211, 252, 0.06);
  border-bottom: 1px solid rgba(125, 211, 252, 0.06);
  max-width: 100%;
  overflow: hidden;
}

.how-it-works .section-tag,
.how-it-works .section-title {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.how-it-works .section-title {
  margin-bottom: 4rem;
}

.loop-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.loop-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 140px;
  padding: 1rem;
}

.step-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-ice);
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
  margin-bottom: 1.5rem;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fg-primary);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.loop-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-ice), rgba(125, 211, 252, 0.2));
  flex-shrink: 0;
  margin-top: -2rem;
}

/* --- CLOSING --- */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}

.closing-inner {
  max-width: 750px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--fg-primary), var(--accent-ice));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  margin-bottom: 4rem;
  line-height: 1.7;
}

.closing-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-ice);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* --- FOOTER --- */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(125, 211, 252, 0.06);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fg-primary);
  margin-bottom: 0.5rem;
}

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

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .loop-track {
    flex-direction: column;
    gap: 0;
  }

  .loop-connector {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-ice), rgba(125, 211, 252, 0.2));
    margin-top: 0;
  }

  .closing-stats {
    gap: 2rem;
  }

  .manifesto,
  .capabilities,
  .how-it-works,
  .closing {
    padding: 5rem 1.5rem;
  }

  .stat-value {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .closing-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-badge {
    font-size: 0.6rem;
  }
}