
:root {
  --emerald-0: #02130f;
  --emerald-1: #042219;
  --emerald-2: #063d2d;
  --emerald-3: #0b6d50;
  --emerald-4: #13a777;
  --emerald-5: #3be3a6;
  --emerald-6: #9fffd6;
  --ink: #edfdf6;
  --muted: rgba(232, 255, 246, 0.66);
  --glass: rgba(8, 44, 33, 0.34);
  --glass-strong: rgba(9, 56, 42, 0.48);
  --line: rgba(149, 255, 210, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--emerald-0);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(19,167,119,.11), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(59,227,166,.08), transparent 32%),
    linear-gradient(180deg, #02140f 0%, #031b14 55%, #010a08 100%);
  font-family: "DM Sans", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.02), transparent 25%, transparent 72%, rgba(91,255,192,.015));
  pointer-events: none;
  z-index: 2;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.noise, .scanlines, .vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
}

.noise {
  opacity: .11;
  background-image:
    radial-gradient(rgba(255,255,255,.45) 0.45px, transparent .6px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

.scanlines {
  opacity: .08;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.06) 0,
    rgba(255,255,255,.06) 1px,
    transparent 1px,
    transparent 5px
  );
}

.vignette {
  box-shadow: inset 0 0 180px rgba(0,0,0,.82);
}

.cinema-bars span {
  position: fixed;
  left: 0;
  right: 0;
  height: 6vh;
  background: rgba(0,0,0,.92);
  z-index: 95;
  pointer-events: none;
  transform-origin: center;
  animation: cinematicOpen 1.6s cubic-bezier(.22,1,.36,1) .2s forwards;
}

.cinema-bars span:first-child { top: 0; }
.cinema-bars span:last-child { bottom: 0; }

@keyframes cinematicOpen {
  to { transform: scaleY(.28); opacity: .65; }
}

.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(59,227,166,.10), rgba(59,227,166,.03) 35%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(12px);
}

.glass {
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.018)),
    var(--glass);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(255,255,255,.015),
    var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.nav-shell {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 36px));
  min-height: 68px;
  border-radius: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-block;
}

.brand-mark i {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(159,255,214,.75);
  transform: rotate(45deg);
  animation: markPulse 4s ease-in-out infinite;
}

.brand-mark i:nth-child(2) { inset: 10px; animation-delay: -.6s; }
.brand-mark i:nth-child(3) { inset: 15px; animation-delay: -1.2s; }

@keyframes markPulse {
  0%,100% { opacity: .35; filter: drop-shadow(0 0 0 rgba(59,227,166,0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 9px rgba(59,227,166,.55)); }
}

.brand-text {
  display: grid;
  line-height: 1;
  letter-spacing: .16em;
}

.brand-text strong {
  font-family: "Manrope", sans-serif;
  font-size: .9rem;
  font-weight: 600;
}

.brand-text small {
  color: var(--emerald-6);
  font-size: .56rem;
  margin-top: 6px;
  letter-spacing: .46em;
}

.nav-meta {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-5);
  box-shadow: 0 0 14px var(--emerald-5);
  animation: status 1.8s ease-in-out infinite;
}
@keyframes status { 50% { opacity: .3; transform: scale(.72); } }

main {
  position: relative;
  z-index: 3;
}

.section {
  position: relative;
  min-height: 100vh;
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 130px clamp(24px, 6vw, 90px) 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  align-items: center;
  gap: 54px;
}

.hero-copy { position: relative; z-index: 4; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--emerald-6);
  text-transform: uppercase;
}

.glass-chip {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(159,255,214,.14);
  background: rgba(10,55,42,.24);
  backdrop-filter: blur(12px);
}

h1, h2 {
  font-family: "Manrope", sans-serif;
  margin: 0;
  letter-spacing: -.055em;
  font-weight: 300;
}

h1 {
  font-size: clamp(4rem, 8vw, 8.4rem);
  line-height: .88;
  margin-top: 22px;
  max-width: 920px;
}

h2 {
  font-size: clamp(3rem, 5.4vw, 6.5rem);
  line-height: .98;
}

.gradient-text {
  background: linear-gradient(95deg, #f4fff9 0%, #9fffd6 30%, #38d29a 64%, #0c7656 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 30px rgba(43,215,153,.09));
}

.hero-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.75;
  margin: 30px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-btn, .ghost-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 16px;
  padding: 0 22px;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  will-change: transform;
}

.primary-btn {
  color: #02140f;
  font-weight: 600;
  background: linear-gradient(135deg, #9fffd6, #3be3a6 55%, #18ae7c);
  box-shadow: 0 15px 45px rgba(32,209,147,.18), inset 0 1px rgba(255,255,255,.55);
}

.primary-btn b { font-size: 1.15rem; }

.ghost-btn {
  color: var(--ink);
  border: 1px solid rgba(159,255,214,.13);
  background: rgba(11,58,44,.2);
  backdrop-filter: blur(14px);
}

.primary-btn:hover, .ghost-btn:hover { transform: translateY(-3px); }

.hero-sculpture {
  display: grid;
  place-items: center;
  min-height: 620px;
  perspective: 1200px;
}

.portal-wrap {
  position: relative;
  width: min(520px, 80vw);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: portalFloat 6s ease-in-out infinite;
}

@keyframes portalFloat {
  0%,100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-16px) rotateX(2deg) rotateY(-3deg); }
}

.portal-ring {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px solid rgba(115,255,201,.28);
  box-shadow:
    0 0 65px rgba(40,220,151,.08),
    inset 0 0 50px rgba(40,220,151,.05);
}

.ring-1 {
  animation: spin 17s linear infinite;
  border-style: dashed;
}
.ring-2 {
  inset: 20%;
  animation: spinReverse 11s linear infinite;
  border-color: rgba(159,255,214,.45);
}
.ring-3 {
  inset: 30%;
  animation: spin 7s linear infinite;
  box-shadow: 0 0 55px rgba(59,227,166,.18);
}

.portal-ring::before,
.portal-ring::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--emerald-5);
  box-shadow: 0 0 22px var(--emerald-5);
}
.portal-ring::before { top: 9%; left: 17%; }
.portal-ring::after { bottom: 7%; right: 16%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

.portal-core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 42% 38%, rgba(127,255,205,.26), transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(17,133,95,.52), rgba(4,31,23,.88) 64%, rgba(0,0,0,.7));
  box-shadow:
    inset -24px -28px 55px rgba(0,0,0,.45),
    inset 22px 18px 45px rgba(118,255,204,.08),
    0 0 90px rgba(16,183,127,.18);
  overflow: hidden;
}

.planet {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: .42;
  background:
    radial-gradient(ellipse at 28% 38%, transparent 0 10%, rgba(159,255,214,.18) 11% 14%, transparent 15%),
    radial-gradient(ellipse at 70% 60%, transparent 0 11%, rgba(159,255,214,.16) 12% 17%, transparent 18%),
    linear-gradient(35deg, transparent 44%, rgba(159,255,214,.1) 45% 46%, transparent 47%);
  animation: planetSpin 15s linear infinite;
}
@keyframes planetSpin { to { transform: rotate(360deg); } }

.route {
  position: absolute;
  width: 88%;
  height: 28%;
  border: 1px solid transparent;
  border-top-color: rgba(159,255,214,.6);
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(59,227,166,.45));
}
.route-1 { transform: rotate(22deg); }
.route-2 { transform: rotate(-44deg) scale(.82); opacity: .65; }

.travel-node {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d9fff0;
  box-shadow: 0 0 15px #68ffc1;
  animation: nodePulse 2s ease-in-out infinite;
}
.n1 { top: 28%; left: 36%; }
.n2 { right: 23%; top: 51%; animation-delay: -.7s; }
.n3 { left: 31%; bottom: 24%; animation-delay: -1.4s; }
@keyframes nodePulse { 50% { transform: scale(1.8); opacity: .35; } }

.portal-caption {
  position: absolute;
  right: -6%;
  bottom: 16%;
  width: 190px;
  padding: 14px 15px;
  border-radius: 16px;
  transform: translateZ(70px);
}
.portal-caption span {
  display: block;
  font-size: .58rem;
  letter-spacing: .16em;
  color: var(--muted);
}
.portal-caption strong {
  display: block;
  margin-top: 7px;
  letter-spacing: .1em;
  font-size: .82rem;
}

.orbital {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}
.orbital-a {
  width: 36vw; height: 36vw;
  right: -18vw; top: 20vh;
  border: 1px solid rgba(159,255,214,.08);
}
.orbital-b {
  width: 24vw; height: 24vw;
  left: -14vw; bottom: -2vh;
  border: 1px solid rgba(159,255,214,.06);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(229,255,245,.4);
  font-size: .58rem;
  letter-spacing: .2em;
}
.scroll-indicator i {
  width: 1px; height: 42px;
  background: linear-gradient(var(--emerald-5), transparent);
  animation: scrollPulse 1.7s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(.45); transform-origin: top; opacity: .3; }
  50% { transform: scaleY(1); opacity: 1; }
}

.experience {
  min-height: 110vh;
  display: grid;
  align-content: center;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
}

.section-index {
  position: absolute;
  top: 125px;
  left: clamp(24px, 6vw, 90px);
  color: rgba(159,255,214,.24);
  font-size: .72rem;
  letter-spacing: .18em;
}

.experience-copy p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.03rem;
  margin-top: 26px;
}

.floating-grid {
  display: grid;
  gap: 18px;
  perspective: 1200px;
}

.feature-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border-radius: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.feature-card:nth-child(2) { transform: translateX(8%); }
.feature-card:nth-child(3) { transform: translateX(-4%); }

.feature-card h3 {
  margin: 34px 0 8px;
  font-size: 1.5rem;
  font-weight: 500;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 460px;
}
.card-number {
  position: absolute;
  top: 22px; right: 22px;
  font-size: .68rem;
  color: var(--emerald-6);
  letter-spacing: .12em;
}
.card-orbit {
  position: absolute;
  width: 180px; height: 180px;
  border: 1px solid rgba(159,255,214,.08);
  border-radius: 50%;
  right: -70px; bottom: -92px;
}
.card-orbit::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald-5);
  left: 18px; top: 36px;
  box-shadow: 0 0 16px var(--emerald-5);
}

.journey {
  min-height: 95vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.journey-line {
  position: absolute;
  width: min(1200px, 85vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159,255,214,.4), transparent);
  box-shadow: 0 0 18px rgba(59,227,166,.14);
}

.journey-track {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 100px 1fr 100px 1fr;
  align-items: center;
  gap: 18px;
}

.journey-panel {
  min-height: 230px;
  padding: 28px;
  border-radius: 24px;
}
.journey-panel > span {
  color: var(--emerald-5);
  font-size: .7rem;
  letter-spacing: .16em;
}
.journey-panel strong {
  display: block;
  font-family: "Manrope";
  font-size: 2rem;
  margin: 48px 0 8px;
}
.journey-panel p { color: var(--muted); line-height: 1.55; }

.journey-node {
  display: grid;
  place-items: center;
}
.journey-node i {
  width: 16px; height: 16px;
  border: 1px solid rgba(159,255,214,.55);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(59,227,166,.25);
  position: relative;
}
.journey-node i::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--emerald-5);
}

.countdown-section {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.countdown-halo {
  position: absolute;
  width: 68vw;
  height: 68vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,218,151,.12), rgba(6,55,40,.05) 40%, transparent 67%);
  filter: blur(18px);
  animation: haloBreath 5s ease-in-out infinite;
}
@keyframes haloBreath { 50% { transform: scale(1.08); opacity: .7; } }

.countdown-shell {
  position: relative;
  width: min(1040px, 100%);
  padding: clamp(32px, 6vw, 74px);
  border-radius: 34px;
  text-align: center;
  overflow: hidden;
}

.countdown-shell::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 1px;
  left: 25%;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(159,255,214,.72), transparent);
  box-shadow: 0 0 26px rgba(59,227,166,.5);
}

.countdown-shell h2 {
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  margin-top: 18px;
}

.countdown {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  max-width: 820px;
}

.time-box strong {
  display: block;
  font-family: "Manrope";
  font-weight: 300;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  letter-spacing: -.04em;
}
.time-box span {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .2em;
}
.separator {
  color: rgba(159,255,214,.26);
  font-size: 2rem;
  transform: translateY(-12px);
}

.countdown-footer {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .84rem;
}
.countdown-footer a, .footer a {
  color: var(--emerald-6);
  text-decoration: none;
}

.footer {
  position: relative;
  z-index: 4;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 28px;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  color: var(--muted);
  font-size: .78rem;
}
.footer-line { flex: 1; height: 1px; background: var(--line); }

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition:
    opacity .9s cubic-bezier(.22,1,.36,1),
    transform .9s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1000px) {
  .hero, .experience { grid-template-columns: 1fr; }
  .hero { padding-top: 150px; }
  .hero-sculpture { min-height: 500px; margin-top: -40px; }
  .experience { gap: 40px; }
  .journey-track {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
  .journey-node { height: 50px; }
  .journey-line {
    width: 1px;
    height: 70%;
    background: linear-gradient(transparent, rgba(159,255,214,.4), transparent);
  }
  .feature-card:nth-child(2),
  .feature-card:nth-child(3) { transform: none; }
}

@media (max-width: 720px) {
  .nav-shell { top: 12px; width: calc(100% - 20px); min-height: 62px; }
  .nav-meta span:last-child { display: none; }
  .section { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: clamp(3.6rem, 17vw, 6rem); }
  .hero { grid-template-columns: 1fr; gap: 12px; }
  .hero-sculpture { min-height: 420px; }
  .portal-caption { right: 2%; bottom: 10%; width: 165px; }
  .scroll-indicator { display: none; }
  .countdown {
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
  }
  .separator { display: none; }
  .countdown-footer {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .footer { flex-direction: column; text-align: center; }
  .footer-line { width: 100%; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
