:root {
  --bg: #0D1B2A;
  --bg-2: #112236;
  --bg-card: #162a40;
  --fg: #F8F4EE;
  --fg-muted: #8898aa;
  --accent: #B4FF4A;
  --accent-dim: rgba(180, 255, 74, 0.12);
  --accent-glow: rgba(180, 255, 74, 0.25);
  --border: rgba(248, 244, 238, 0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

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

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 {
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 600px;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.hero-live-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-glow);
  padding-bottom: 2px;
}
.hero-live-link:hover { opacity: 0.8; }
.hero-live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: live-hero-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-hero-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Orb visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.orb-container {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  position: absolute;
  border-radius: 50%;
}
.orb-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 40% 40%, #1a3a60, #0D1B2A 70%);
  box-shadow: 0 0 80px rgba(180, 255, 74, 0.08), inset 0 0 60px rgba(180, 255, 74, 0.05);
}
.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 50% 50%, rgba(180, 255, 74, 0.15), transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
.orb-3 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 50% 50%, rgba(180, 255, 74, 0.3), transparent 70%);
  animation: pulse 4s ease-in-out infinite 1s;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(180, 255, 74, 0.2);
  animation: spin 20s linear infinite;
}
.ring-1 { width: 300px; height: 300px; border-style: dashed; }
.ring-2 { width: 330px; height: 330px; border-style: solid; opacity: 0.3; animation-direction: reverse; }
.core-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-glow);
  animation: flicker 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes flicker {
  0%, 100% { opacity: 1; box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-glow); }
  50% { opacity: 0.8; box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent-glow); }
}

/* What section */
.what {
  padding: 80px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.what-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.what-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 60px;
  max-width: 500px;
}
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.what-card {
  background: var(--bg-card);
  padding: 40px 36px;
  border: 1px solid var(--border);
  position: relative;
}
.card-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.what-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.what-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* NAGI section */
.nagi {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.nagi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nagi-diagram {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.connections {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
}
.node {
  position: absolute;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  color: var(--fg-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 8px;
}
.node-center {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent-glow);
  padding: 14px 24px;
}
.node-left { top: 50%; left: 0; transform: translateY(-50%); }
.node-right { top: 50%; right: 0; transform: translateY(-50%); }
.node-top { top: 0; left: 50%; transform: translateX(-50%); }
.node-bottom { bottom: 0; left: 50%; transform: translateX(-50%); }

.nagi-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 28px;
}
.nagi-text h2 em {
  font-style: italic;
  color: var(--accent);
}
.nagi-text p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Vision section */
.vision {
  padding: 80px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.vision-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.vision blockquote {
  margin-bottom: 64px;
  padding-left: 32px;
  border-left: 2px solid var(--accent);
}
.vision blockquote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.vision blockquote cite {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: normal;
}
.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pillar {
  background: var(--bg-card);
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.pillar-icon {
  margin-bottom: 20px;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.pillar p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.closing-inner {
  max-width: 680px;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 32px;
}
.closing h2 em {
  font-style: italic;
  color: var(--accent);
}
.closing p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 40px;
  align-items: start;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}
.footer-sub {
  font-size: 13px;
  color: var(--fg-muted);
  display: block;
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-copy {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .hero { padding: 60px 24px; grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .what { padding: 60px 24px; }
  .what-grid { grid-template-columns: 1fr; }
  .nagi { padding: 60px 24px; }
  .nagi-inner { grid-template-columns: 1fr; }
  .nagi-diagram { display: none; }
  .vision { padding: 60px 24px; }
  .vision-pillars { grid-template-columns: 1fr; }
  .closing { padding: 60px 24px; }
  footer { padding: 40px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { display: none; }
}