:root {
  --bg: #13111f;
  --bg-soft: #1a1530;
  --bg-panel: #221c3d;
  --ink: #f8f5ff;
  --muted: #c5bddb;
  --line: rgba(255, 255, 255, 0.1);
  --card: #241f43;
  --card-strong: #2c2550;
  --accent: #ff8a2a;
  --accent-soft: rgba(255, 138, 42, 0.18);
  --accent-deep: #ffb56f;
  --purple: #875cff;
  --purple-soft: rgba(135, 92, 255, 0.22);
  --shadow-dark: rgba(7, 5, 16, 0.7);
  --shadow-light: rgba(86, 66, 150, 0.32);
  --shadow-dark-strong: rgba(5, 4, 14, 0.82);
  --shadow-light-strong: rgba(110, 79, 197, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 138, 42, 0.22), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(135, 92, 255, 0.3), transparent 28%),
    radial-gradient(circle at 50% 85%, rgba(255, 138, 42, 0.12), transparent 32%),
    linear-gradient(180deg, #171324 0%, #120f1f 40%, #1a1330 100%);
  font-family: "Space Grotesk", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.5;
}

.site-shell::before {
  top: -5rem;
  left: -3rem;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 138, 42, 0.28);
}

.site-shell::after {
  right: -2rem;
  top: 20rem;
  width: 18rem;
  height: 18rem;
  background: rgba(135, 92, 255, 0.3);
}

.glass {
  background:
    linear-gradient(145deg, rgba(52, 41, 92, 0.95), rgba(30, 24, 56, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    18px 18px 38px var(--shadow-dark),
    -12px -12px 28px var(--shadow-light);
}

.glass-strong {
  background:
    linear-gradient(145deg, rgba(60, 46, 108, 0.98), rgba(34, 27, 64, 1));
  box-shadow:
    20px 20px 44px var(--shadow-dark-strong),
    -14px -14px 32px var(--shadow-light-strong);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(54, 43, 95, 0.94), rgba(26, 22, 48, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-deep);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.06),
    inset -1px -1px 0 rgba(0, 0, 0, 0.18),
    10px 10px 22px rgba(6, 5, 15, 0.38),
    -8px -8px 18px rgba(98, 70, 178, 0.18);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 2.25rem 2.25rem;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.metric-card,
.feature-card,
.timeline-card,
.quote-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.metric-card:hover,
.feature-card:hover,
.timeline-card:hover,
.quote-card:hover {
  transform: translateY(-3px);
  box-shadow:
    24px 24px 44px rgba(6, 5, 15, 0.62),
    -14px -14px 30px rgba(98, 70, 178, 0.22);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 138, 42, 0.7), rgba(135, 92, 255, 0.78));
  box-shadow:
    1px 0 0 rgba(255, 255, 255, 0.18),
    -1px 0 0 rgba(0, 0, 0, 0.16);
}

.timeline-dot {
  position: absolute;
  left: 0.42rem;
  top: 1.35rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  border: 3px solid rgba(45, 36, 81, 0.95);
  background: linear-gradient(145deg, #ff9e48, #8358ff);
  box-shadow:
    10px 10px 18px rgba(6, 5, 15, 0.48),
    -6px -6px 12px rgba(126, 91, 228, 0.26),
    inset 2px 2px 5px rgba(255, 255, 255, 0.28),
    inset -2px -2px 5px rgba(0, 0, 0, 0.22);
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: linear-gradient(145deg, rgba(57, 44, 102, 0.98), rgba(28, 22, 53, 0.98));
  color: #efe9ff;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    8px 8px 18px rgba(6, 5, 15, 0.34),
    -6px -6px 14px rgba(98, 70, 178, 0.18);
}

.accent-text {
  background: linear-gradient(135deg, var(--accent), #ffb14d 42%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-line {
  border-top: 1px solid var(--line);
}

.neo-button {
  background: linear-gradient(145deg, #3e2f73, #211a40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    12px 12px 24px rgba(5, 4, 14, 0.46),
    -10px -10px 22px rgba(103, 74, 190, 0.24);
}

.neo-button:hover {
  box-shadow:
    inset 6px 6px 12px rgba(0, 0, 0, 0.2),
    inset -6px -6px 12px rgba(124, 89, 228, 0.24);
}

.neo-inset {
  background: linear-gradient(145deg, #1d1834, #2e2553);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 8px 8px 16px rgba(0, 0, 0, 0.26),
    inset -8px -8px 16px rgba(110, 79, 197, 0.16);
}

.spot-gradient {
  position: relative;
  overflow: hidden;
}

.spot-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 42, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(135, 92, 255, 0.2), transparent 42%);
  pointer-events: none;
}

.text-soft {
  color: var(--muted);
}

.surface-strong {
  background:
    linear-gradient(145deg, rgba(46, 36, 85, 0.98), rgba(24, 19, 46, 1));
}

.topbar {
  background: rgba(19, 16, 34, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px rgba(5, 4, 14, 0.22);
}

@media (max-width: 767px) {
  .timeline::before {
    left: 0.75rem;
  }

  .timeline-dot {
    left: 0.17rem;
  }
}
