/* BASE */
:root {
  --bg: #080c14;
  --bg-2: #0d1420;
  --surface: #111927;
  --border: rgba(94, 234, 212, 0.12);
  --teal: #5eead4;
  --teal-dim: rgba(94, 234, 212, 0.6);
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--teal-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin-bottom: 1.5rem;
}

.hero-accent {
  color: var(--teal);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-cta-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-cta-arrow {
  color: var(--teal);
  font-size: 1.2rem;
}

/* RELAY ORB */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.relay-orb {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.relay-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.relay-ring-1 { width: 100%; height: 100%; animation: spin 8s linear infinite; }
.relay-ring-2 { width: 75%; height: 75%; border-color: rgba(94,234,212,0.2); animation: spin 6s linear infinite reverse; }
.relay-ring-3 { width: 50%; height: 50%; border-color: rgba(94,234,212,0.3); animation: spin 4s linear infinite; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.relay-core {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid var(--teal-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* STATS */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 2.5rem 2rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* HOW */
.how {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.how-header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.how-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.integration-chip svg { opacity: 0.7; }

.how-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 160px;
  text-align: center;
}

.how-step-active {
  border-color: var(--teal-dim);
  background: rgba(94, 234, 212, 0.04);
}

.how-step-text {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.how-arrow {
  color: var(--teal-dim);
  flex-shrink: 0;
}

/* CAPABILITIES */
.capabilities {
  padding: 4rem 2rem 5rem;
  background: var(--bg-2);
}

.capabilities-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.capabilities-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  line-height: 1.15;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.cap-card {
  padding: 2.5rem 2rem;
  background: var(--bg-2);
}

.cap-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cap-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.cap-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* PROOF */
.proof {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.proof-header {
  margin-bottom: 3rem;
}

.proof-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.proof-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.proof-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.proof-entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.proof-entry:last-child { border-bottom: none; }

.proof-entry-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 0.2rem;
}

.proof-entry-action {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.proof-entry-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CLOSING */
.closing {
  padding: 5rem 2rem 6rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.closing-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.closing-link {
  color: var(--teal-dim);
  text-decoration: none;
}

.closing-link:hover { color: var(--teal); }

/* FOOTER */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    gap: 3rem;
  }

  .hero-visual { display: none; }

  .stats-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider { display: none; }

  .how-diagram {
    flex-direction: column;
  }

  .how-arrow {
    transform: rotate(90deg);
  }

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

  .proof-entry {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}