/* ═══════════ INFLUXIA — The Journey of an Idea ═══════════ */
:root {
  --bg: #07061a;
  --ink: #f2f1ff;
  --ink-dim: rgba(242, 241, 255, 0.62);
  --lime: #c9f24b;
  --violet: #8d83f0;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lime); color: var(--bg); }
a { color: inherit; text-decoration: none; }

/* ───── Intro overlay ───── */
.intro {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(ellipse at 50% 70%, #161244 0%, var(--bg) 65%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem; text-align: center; padding: 2rem;
  transition: opacity 1.1s ease, visibility 1.1s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.03em;
}
.intro__logo span { color: var(--lime); font-size: 0.5em; vertical-align: super; }
.intro__line { color: var(--ink-dim); max-width: 420px; line-height: 1.7; }
.intro__btn {
  margin-top: 1rem; cursor: pointer;
  font-family: var(--font-display); font-size: 1rem; font-weight: 500;
  color: var(--lime); background: none;
  border: 1px solid rgba(201, 242, 75, 0.5); border-radius: 99px;
  padding: 1rem 2.4rem;
  transition: background 0.35s, color 0.35s, transform 0.35s;
}
.intro__btn:hover { background: var(--lime); color: var(--bg); transform: translateY(-2px); }

/* ───── World canvas ───── */
#world { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

/* ───── Nav ───── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
}
.nav__logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav__reg { color: var(--lime); font-size: 0.6em; vertical-align: super; }
.nav__sub { font-size: 0.5em; font-weight: 400; letter-spacing: 0.35em; color: var(--ink-dim); margin-left: 0.5em; }
.nav__cta {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  padding: 0.6rem 1.4rem; border: 1px solid rgba(201, 242, 75, 0.5);
  border-radius: 99px; color: var(--lime);
  transition: background 0.35s, color 0.35s;
}
.nav__cta:hover { background: var(--lime); color: var(--bg); }

/* ───── Progress ───── */
.progress {
  position: fixed; bottom: 1.6rem; left: clamp(1.25rem, 4vw, 3rem); z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  transition: opacity 0.6s ease;
}
.progress__track { width: 140px; height: 1px; background: rgba(242, 241, 255, 0.18); }
.progress__fill { width: 0%; height: 100%; background: var(--lime); transition: width 0.2s linear; }
.progress__label {
  font-family: var(--font-display); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim);
}

/* ───── Stations ───── */
.stations { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.station {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(1.5rem, 7vw, 7rem);
  opacity: 0; visibility: hidden;
  will-change: opacity, transform;
}
.station--right { align-items: flex-end; text-align: right; }
.station--center { align-items: center; text-align: center; }
.station a { pointer-events: auto; }
.station__kicker {
  font-family: var(--font-display); font-size: 0.78rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 1.4rem;
}
.station__mega {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 10vw, 8.5rem); line-height: 1.0; letter-spacing: -0.04em;
}
.station__mega em, .station__title em, .station__quote em { font-style: italic; font-weight: 300; }
.lime { color: var(--lime); }
.station__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(7, 6, 26, 0.8);
}
.station__body {
  max-width: 480px; margin-top: 1.8rem;
  color: var(--ink-dim); line-height: 1.75;
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  text-shadow: 0 2px 24px rgba(7, 6, 26, 0.9);
}
.station--right .station__body { margin-left: auto; }
.station--hero .station__body { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.station__hint {
  margin-top: 3rem; font-family: var(--font-display);
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim);
}
.station__hint-arrow { display: inline-block; animation: bob 1.6s ease-in-out infinite; margin-left: 0.5rem; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.station__quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 4.5vw, 3.6rem); line-height: 1.25; letter-spacing: -0.02em;
  max-width: 1000px;
  text-shadow: 0 4px 40px rgba(7, 6, 26, 0.8);
}
.station__team { display: flex; flex-direction: column; gap: 1.2rem; align-items: center; }
.station__team a {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: -0.02em;
  transition: color 0.3s, transform 0.4s; display: inline-block;
}
.station__team a span { color: var(--lime); font-size: 0.7em; }
.station__team a:hover { color: var(--lime); transform: translateY(-3px); }
.station__mega--end { font-size: clamp(2.6rem, 8vw, 7rem); }
.station__cta {
  pointer-events: auto; margin-top: 2.6rem;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
  padding: 1.15rem 2.6rem; border-radius: 99px;
  border: 1px solid rgba(201, 242, 75, 0.55); color: var(--lime);
  transition: background 0.4s, color 0.4s, transform 0.4s;
}
.station__cta:hover { background: var(--lime); color: var(--bg); transform: translateY(-3px); }
.station__foot {
  position: absolute; bottom: 1.6rem; left: 0; right: 0;
  text-align: center; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--ink-dim);
}

/* ───── Scroll length ───── */
.journey-track { height: 1100vh; }

@media (max-width: 700px) {
  .station--right { align-items: flex-start; text-align: left; }
  .station--right .station__body { margin-left: 0; }
  .progress__track { width: 80px; }
}
