:root {
  --bg: #080b14;
  --bg-2: #0d1020;
  --bg-3: #111827;
  --violet: #7c5cfc;
  --violet-dim: rgba(124, 92, 252, 0.15);
  --violet-glow: rgba(124, 92, 252, 0.4);
  --cyan: #00d4ff;
  --text: #e8e8f0;
  --text-dim: rgba(232, 232, 240, 0.5);
  --text-muted: rgba(232, 232, 240, 0.25);
  --border: rgba(124, 92, 252, 0.2);
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--violet);
}

.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 48px;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--violet-dim) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-headline br { display: block; }

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.stat {
  padding: 20px 32px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ── HERO VISUAL (Orbs) ─────────────────────── */
.hero-visual {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.orb-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 200px;
  height: 200px;
  top: 50px;
  left: 50px;
  background: radial-gradient(circle at 40% 40%, var(--violet), #1a0a4a);
  box-shadow: 0 0 80px var(--violet-glow), inset 0 0 40px rgba(124,92,252,0.3);
  animation-duration: 6s;
}

.orb-2 {
  width: 100px;
  height: 100px;
  top: 0;
  right: 0;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.6), transparent);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
  animation-duration: 8s;
  animation-delay: -2s;
}

.orb-3 {
  width: 60px;
  height: 60px;
  bottom: 20px;
  left: 10px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.8), transparent);
  box-shadow: 0 0 30px var(--violet-glow);
  animation-duration: 7s;
  animation-delay: -4s;
}

.node {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.node-1 { top: -10px; left: 120px; animation: pulse 4s ease-in-out infinite; }
.node-2 { top: 100px; right: -20px; animation: pulse 4s ease-in-out infinite 1s; }
.node-3 { bottom: 60px; right: -10px; animation: pulse 4s ease-in-out infinite 2s; }
.node-4 { bottom: -10px; left: 60px; animation: pulse 4s ease-in-out infinite 0.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--violet-dim); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* ── MANIFESTO ──────────────────────────────── */
.manifesto {
  padding: 120px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  padding-top: 8px;
}

.manifesto-content h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 32px;
  color: var(--text);
}

.manifesto-content p {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
}

.manifesto-content p:last-child { margin-bottom: 0; }

/* ── PRINCIPLES ──────────────────────────────── */
.principles {
  padding: 120px 48px;
  background: var(--bg);
}

.principles-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 64px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}

.principle {
  padding: 40px 36px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.principle-number {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.principle h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.principle p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.workflow-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
}

.workflow-step {
  padding: 16px 28px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.workflow-arrow {
  color: var(--violet);
  font-size: 16px;
  opacity: 0.6;
}

/* ── CLOSING ────────────────────────────────── */
.closing {
  padding: 140px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--violet-dim) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 32px;
  color: var(--text);
}

.closing p {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 40px;
}

.closing-note {
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 32px;
  line-height: 1.7;
}

/* ── FOOTER ─────────────────────────────────── */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--violet);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 60px 24px; flex-direction: column; }
  .hero-visual { position: relative; right: auto; top: auto; transform: none; margin-top: 48px; }
  .hero-content { max-width: 100%; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 24px; }
  .principles-grid { grid-template-columns: 1fr; }
  .nav { padding: 20px 24px; }
  .footer { flex-wrap: wrap; gap: 16px; }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 40px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .workflow-bar { flex-wrap: wrap; }
  .manifesto { padding: 80px 24px; }
  .principles { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
}