:root {
  --bg: #080b1a;
  --panel: rgba(20, 24, 52, 0.68);
  --panel-solid: #151a38;
  --line: rgba(191, 205, 255, 0.14);
  --muted: #99a2c9;
  --text: #f7f8ff;
  --blue: #9ab7ff;
  --pink: #edb6ff;
  --cyan: #a5e9ff;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: '';
  background:
    radial-gradient(circle at 72% 12%, rgba(102, 91, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 18% 66%, rgba(38, 144, 207, 0.12), transparent 32rem),
    #080b1a;
}

#universe, #star-trails, .noise {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#universe { z-index: -2; opacity: 0.86; }
#star-trails { z-index: 5; }

.noise {
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

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

.site-header {
  display: flex;
  position: relative;
  z-index: 10;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
}

.brand, .site-nav, .eyebrow, .hero-meta, .timer-date, .site-footer {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #d8ddff;
  font-size: 11px;
  font-weight: 500;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #151a38;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  border-radius: 50%;
  font-size: 13px;
}

.site-nav { display: flex; gap: 34px; color: #aeb5d9; font-size: 10px; }
.site-nav a { transition: color .25s ease; }
.site-nav a:hover { color: white; }
.menu-button { display: none; color: white; background: none; border: 0; cursor: pointer; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  align-items: center;
  min-height: 700px;
  padding: 78px 0 110px;
}

.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; color: var(--blue); font-size: 10px; }
.eyebrow span { display: inline-block; width: 28px; height: 1px; background: linear-gradient(90deg, var(--pink), var(--blue)); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.065em; line-height: 1.08; }
h1 { max-width: 640px; margin-bottom: 25px; font-size: clamp(52px, 7.2vw, 96px); font-weight: 800; }
h2 { margin-bottom: 18px; font-size: clamp(40px, 5vw, 70px); font-weight: 800; }
h1 em, h2 em { color: transparent; background: linear-gradient(100deg, #eff7ff 5%, #b4c7ff 45%, #eab6ff 90%); -webkit-background-clip: text; background-clip: text; font-style: normal; }

.hero-description, .section-heading > p:last-child { max-width: 450px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin: 36px 0 58px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 150px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--mono); font-size: 11px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); border-color: rgba(213, 222, 255, .5); }
.button-primary { color: #0b1024; background: linear-gradient(110deg, #b5ddff, #d7b9ff); border: 0; }
.button-quiet { color: #d3d8f2; background: rgba(255,255,255,.035); }
.profile-line { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 0 0 27px; color: #c0c8eb; font-family: var(--mono); font-size: 10px; letter-spacing: .03em; }
.profile-line b { color: #f1d8ff; font-weight: 500; }
.profile-line i { color: var(--pink); font-size: 15px; font-style: normal; }
.hero-meta { display: flex; gap: 54px; color: var(--muted); font-size: 9px; }
.hero-meta div { display: grid; gap: 8px; }
.hero-meta strong { color: var(--text); font-family: var(--sans); font-size: 25px; letter-spacing: 0; }

.hero-orbit { position: relative; height: 480px; }
.saturn { position: absolute; top: 50%; left: 50%; width: 342px; height: 238px; transform: translate(-50%, -50%) rotate(-8deg); }
.saturn svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 22px rgba(239, 197, 144, .24)); }
.planet-glow { position: absolute; top: 50%; left: 50%; width: 330px; height: 330px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(146, 132, 255, .3), transparent 65%); filter: blur(6px); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(177, 193, 255, .18); border-radius: 50%; transform: translate(-50%, -50%) rotate(-22deg); }
.orbit-one { width: 365px; height: 178px; }
.orbit-two { width: 300px; height: 300px; transform: translate(-50%, -50%) rotate(56deg); border-color: rgba(244, 187, 255, .12); }
.orbit-dot { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 50%; }
.dot-one { margin: -89px 0 0 -182px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.dot-two { margin: -145px 0 0 60px; background: var(--pink); box-shadow: 0 0 18px var(--pink); }
.orbit-caption { display: grid; position: absolute; right: 6%; bottom: 10%; gap: 5px; color: var(--muted); font-family: var(--mono); font-size: 9px; text-align: right; }
.orbit-caption strong { color: #f0d3ff; font-size: 18px; font-weight: 400; letter-spacing: .02em; }

.story, .details { padding: 100px 0; }
.section-heading { max-width: 700px; margin-bottom: 68px; }
.timeline { position: relative; display: grid; gap: 20px; }
.timeline::before { position: absolute; top: 0; bottom: 0; left: 24px; width: 1px; content: ''; background: linear-gradient(var(--blue), rgba(160, 172, 255, 0)); }
.timeline-item { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 22px; align-items: start; }
.timeline-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 49px; height: 49px; color: #e8ddff; background: #11162f; border: 1px solid rgba(201, 214, 255, .4); border-radius: 50%; box-shadow: 0 0 0 7px var(--bg); font-family: var(--mono); font-size: 11px; }
.timeline-card { display: grid; grid-template-columns: 125px minmax(0, 1fr) auto; gap: 24px; align-items: center; min-height: 122px; padding: 25px 28px; background: linear-gradient(110deg, rgba(26, 31, 66, .82), rgba(14, 19, 43, .58)); border: 1px solid var(--line); border-radius: 5px; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.timeline-card:hover { transform: translateX(6px); background: rgba(35, 40, 83, .8); border-color: rgba(191, 205, 255, .34); }
.timeline-date { color: var(--pink); font-family: var(--mono); font-size: 11px; }
.timeline-card h3 { margin: 0 0 7px; font-size: 20px; }
.timeline-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.timeline-arrow { color: var(--blue); font-size: 24px; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 18px; }
.detail-card { position: relative; min-height: 260px; padding: 30px; overflow: hidden; background: rgba(19, 24, 51, .72); border: 1px solid var(--line); border-radius: 5px; }
.detail-card::after { position: absolute; right: -35px; bottom: -80px; width: 180px; height: 180px; content: ''; background: radial-gradient(circle, rgba(160, 199, 255, .2), transparent 68%); border-radius: 50%; }
.detail-card-large { background: linear-gradient(145deg, rgba(38, 38, 82, .85), rgba(17, 22, 48, .68)); }
.accent-card { background: linear-gradient(145deg, rgba(42, 32, 77, .8), rgba(18, 23, 52, .68)); }
.detail-number { color: var(--blue); font-family: var(--mono); font-size: 10px; }
.detail-icon { margin: 38px 0 28px; color: var(--pink); font-size: 34px; }
.detail-card h3 { margin-bottom: 12px; font-size: 20px; }
.detail-card p { max-width: 250px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.quote-card { display: flex; flex-direction: column; justify-content: center; padding: 45px 50px; background: linear-gradient(110deg, rgba(41, 50, 102, .75), rgba(23, 28, 63, .55)); }
.quote-mark { color: var(--cyan); font-family: Georgia, serif; font-size: 70px; line-height: .6; }
.quote-card p { max-width: 390px; color: var(--text); font-size: clamp(19px, 2.1vw, 27px); line-height: 1.55; }
.quote-author { color: var(--muted); font-family: var(--mono); font-size: 10px; }

.timer-section { padding: 120px 0 110px; }
.timer-card { position: relative; padding: 68px 70px 58px; overflow: hidden; background: linear-gradient(115deg, rgba(34, 42, 92, .86), rgba(20, 25, 56, .84)); border: 1px solid rgba(183, 199, 255, .25); border-radius: 5px; }
.timer-card::before, .timer-card::after { position: absolute; content: ''; pointer-events: none; border: 1px solid rgba(202, 186, 255, .16); border-radius: 50%; }
.timer-card::before { right: -140px; bottom: -250px; width: 550px; height: 550px; }
.timer-card::after { right: -75px; bottom: -190px; width: 420px; height: 420px; }
.timer-intro { position: relative; z-index: 1; }
.timer-intro h2 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 55px); }
.timer-intro > p:last-child { color: var(--muted); font-size: 14px; }
.timer-values { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 18px; margin: 46px 0 26px; }
.timer-values div { display: grid; gap: 7px; }
.timer-values strong { font-family: var(--mono); font-size: clamp(32px, 5vw, 62px); font-weight: 400; letter-spacing: -.08em; }
.timer-values span { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.timer-values i { padding-bottom: 21px; color: var(--pink); font-family: var(--mono); font-size: 22px; font-style: normal; }
.timer-date { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 10px; }
.timer-date span { color: #e3caff; }
.closing-line { margin: 75px 0 0; color: #b4bbd8; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; text-align: center; }
.closing-line span { color: #e2c6ff; }
.site-footer { display: flex; justify-content: space-between; padding: 28px 0 38px; color: #66709a; border-top: 1px solid rgba(190, 202, 255, .1); font-size: 9px; }

.reveal { opacity: 0; filter: blur(7px); transform: translateY(28px) scale(.985); transition: opacity .8s ease, filter .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }

@media (max-width: 760px) {
  .site-header { width: min(100% - 34px, 1180px); padding: 20px 0; }
  .site-nav { display: none; position: absolute; top: 65px; right: 0; flex-direction: column; gap: 18px; width: 170px; padding: 20px; background: rgba(16, 21, 47, .96); border: 1px solid var(--line); border-radius: 5px; }
  .site-nav.is-open { display: flex; }
  .menu-button { display: block; font-size: 20px; }
  .section-shell { width: min(100% - 34px, 1180px); }
  .hero { display: block; min-height: auto; padding: 76px 0 90px; }
  .hero-orbit { height: 380px; margin-top: 35px; }
  .saturn { transform: translate(-50%, -50%) rotate(-8deg) scale(.84); }
  .orbit-one { width: 310px; height: 150px; }
  .orbit-two { width: 255px; height: 255px; }
  .profile-line { align-items: flex-start; flex-direction: column; gap: 8px; }
  .profile-line i { display: none; }
  .hero-meta { gap: 28px; }
  .story, .details { padding: 75px 0; }
  .section-heading { margin-bottom: 45px; }
  .timeline-card { grid-template-columns: 1fr auto; gap: 10px 18px; padding: 21px; }
  .timeline-date { grid-column: 1 / -1; }
  .timeline-card p { grid-column: 1 / -1; }
  .timeline-arrow { grid-column: 2; grid-row: 2; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .quote-card { grid-column: 1 / -1; min-height: 230px; }
  .timer-card { padding: 45px 25px 40px; }
  .timer-values { gap: 8px; justify-content: space-between; }
  .timer-values i { padding-bottom: 15px; font-size: 16px; }
  .site-footer { gap: 18px; flex-direction: column; }
}

@media (max-width: 440px) {
  h1 { font-size: 48px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .detail-grid { grid-template-columns: 1fr; }
  .quote-card { grid-column: auto; }
  .timer-values strong { font-size: 28px; }
  .timer-values i { font-size: 12px; }
}

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