/* ─── Google Font: Inter ──────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --brand: #6C63FF;
  --brand-dark: #5348d4;
  --brand-glow: rgba(108, 99, 255, 0.25);
  --bg: #080811;
  --bg-2: #0f0f1a;
  --bg-card: #12121e;
  --text: #eeeef5;
  --text-muted: #7777a0;
  --text-faint: #44445a;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(108, 99, 255, 0.35);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --green: #22c55e;
  --red: #f87171;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: italic;
  color: var(--text);
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* ─── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(8, 8, 17, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #6C63FF, #9b87fa);
  color: #fff;
  box-shadow: 0 0 0 0 var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--brand-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Pulsing location rings */
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 20px var(--brand), 0 0 40px var(--brand-glow);
  z-index: 2;
  position: relative;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid rgba(108, 99, 255, 0.9);
  box-shadow: 0 0 40px rgba(108, 99, 255, 0.6);
  animation: pulse-out 4s ease-out infinite;
  z-index: 1;
}

.ring-1 {
  width: 160px;
  height: 160px;
  animation-delay: 0s;
}

.ring-2 {
  width: 340px;
  height: 340px;
  animation-delay: 1.2s;
}

.ring-3 {
  width: 560px;
  height: 560px;
  animation-delay: 2.4s;
}

@keyframes pulse-out {
  0% {
    opacity: 0.7;
    transform: scale(0.92);
  }

  70% {
    opacity: 0.15;
  }

  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

/* Radial glow behind text */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(108, 99, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(108, 99, 255, 0.4);
  background: rgba(108, 99, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a78bfa;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #ffffff 0%, #d4d0ff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 10px;
  line-height: 1.75;
  justify-content: left;
}

.hero-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.idea-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 120px 24px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.idea-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(108, 99, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.idea-section h2 {
  font-size: clamp(2.8rem, 7vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #ffffff 0%, #d4d0ff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.section-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 100px 28px;
}



/* ─── How Section ──────────────────────────────────────────────────────────── */
.how-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 120px 24px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

}

.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(108, 99, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.how-section h2 {
  font-size: clamp(2.8rem, 7vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #ffffff 0%, #d4d0ff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.steps {
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: start;
}

.step-number {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: var(--radius-sm);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.step-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step-body p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.97rem;
}

.step-connector {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(108, 99, 255, 0.3), transparent);
  margin: 8px 0 8px 23px;
}

/* ─── Relay Mechanic Section ───────────────────────────────────────────────────── */
.relay-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 120px 24px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

}

.relay-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(108, 99, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.relay-section h2 {
  font-size: clamp(2.8rem, 7vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #ffffff 0%, #d4d0ff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}



/* ─── CTA Section ──────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg);
}

.cta-box {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(167, 139, 250, 0.08) 100%);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 4px;
}

.cta-inner {
  background: rgba(8, 8, 17, 0.6);
  border-radius: calc(var(--radius-lg) - 4px);
  padding: 80px 48px;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-coming-soon {
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 28px;
}

.footer-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-faint);
  font-size: 0.825rem;
  margin-left: auto;
}

/* ─── Relay mechanic Section ───────────────────────────────────────────────── */
.relay-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.relay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.relay-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.relay-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.relay-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.relay-body {
  margin-top: 32px;
}

.relay-body p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.relay-body p:last-child {
  margin-bottom: 0;
}

/* ── The animated propagation diagram ── */
.relay-diagram {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

/* Subtle inner glow */
.relay-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 20%, rgba(108, 99, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Node row */
.rnode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}

/* Individual node */
.rnode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rnode-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(108, 99, 255, 0.5);
  background: rgba(108, 99, 255, 0.15);
  position: relative;
  transition: all 0.3s;
}

.rnode--origin .rnode-dot {
  width: 24px;
  height: 24px;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 16px var(--brand-glow), 0 0 32px var(--brand-glow);
  animation: node-breathe 2s ease-in-out infinite;
}

.rnode--hop1 .rnode-dot {
  animation: node-light 3s ease-in-out 0.7s infinite;
}

.rnode--hop2 .rnode-dot {
  animation: node-light 3s ease-in-out 1.4s infinite;
}

.rnode--hop3 .rnode-dot {
  animation: node-light 3s ease-in-out 2.1s infinite;
}

@keyframes node-breathe {

  0%,
  100% {
    box-shadow: 0 0 12px var(--brand-glow), 0 0 24px var(--brand-glow);
  }

  50% {
    box-shadow: 0 0 24px var(--brand-glow), 0 0 48px var(--brand-glow);
  }
}

@keyframes node-light {

  0%,
  60%,
  100% {
    background: rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: none;
  }

  70% {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 12px var(--brand-glow);
  }

  85% {
    background: rgba(108, 99, 255, 0.3);
    border-color: rgba(108, 99, 255, 0.6);
    box-shadow: none;
  }
}

.rnode-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.rnode--origin .rnode-label {
  color: var(--brand);
}

/* Connecting lines between nodes */
.rnode-line {
  flex: 1;
  height: 2px;
  background: rgba(108, 99, 255, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  margin: 0 6px;
  margin-bottom: 28px;
  /* align with dot not label */
}

.rnode-pulse {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: line-sweep 3s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes line-sweep {
  0% {
    left: -40%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Range rings below node row — shows geographic spread */
.rnode-rings {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 16px;
  position: relative;
  z-index: 2;
}

.rring {
  flex: 1;
  height: 32px;
  border: 1.5px solid rgba(108, 99, 255, 0.2);
  border-radius: 50%;
  animation: ring-grow 3s ease-out infinite;
}

.rring--1 {
  border-color: rgba(108, 99, 255, 0.55);
  animation-delay: 0s;
}

.rring--2 {
  border-color: rgba(108, 99, 255, 0.4);
  animation-delay: 0.6s;
}

.rring--3 {
  border-color: rgba(108, 99, 255, 0.28);
  animation-delay: 1.2s;
}

.rring--4 {
  border-color: rgba(108, 99, 255, 0.15);
  animation-delay: 1.8s;
}

@keyframes ring-grow {
  0% {
    transform: scaleX(0.7) scaleY(0.5);
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scaleX(1.05) scaleY(1.1);
    opacity: 0.1;
  }
}

.relay-diagram-caption {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.03em;
  font-weight: 500;
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .idea-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .cta-inner {
    padding: 52px 28px;
  }

  .footer-copy {
    margin-left: 0;
    width: 100%;
  }

  .step {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  .rnode-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-pills {
    gap: 8px;
  }

  .section-container {
    padding: 72px 20px;
  }
}