:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #0c192b;
  --card: rgba(13, 28, 48, 0.78);
  --card-solid: #0d1c30;
  --line: rgba(148, 163, 184, 0.18);
  --text: #e8eef7;
  --muted: #9aa9bf;
  --cyan: #76d7ff;
  --gold: #ffc868;
  --coral: #ff7b8d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-lg: 30px;
  --radius-md: 20px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(118, 215, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(255, 200, 104, 0.18), transparent 26rem),
    radial-gradient(circle at 46% 92%, rgba(255, 123, 141, 0.12), transparent 30rem),
    linear-gradient(135deg, #07101d 0%, #08111f 44%, #0d1424 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 48%, transparent 56%);
  transform: translateX(-80%);
  animation: page-sheen 12s ease-in-out infinite;
}

@keyframes page-sheen {
  0%, 45% { transform: translateX(-90%); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateX(90%); opacity: 0; }
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 200, 104, 0.48);
  border-radius: 16px;
  color: #1a1306;
  background: linear-gradient(135deg, #ffe2a4, #ffb84f);
  box-shadow: 0 12px 32px rgba(255, 184, 79, 0.24);
  font-size: 22px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.54);
  backdrop-filter: blur(18px);
}

.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  outline: none;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.hero {
  min-height: 660px;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

h1::after {
  display: block;
  width: 104px;
  height: 7px;
  margin-top: 30px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--coral));
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: #bdc9da;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: #121826;
  background: linear-gradient(135deg, #d9f5ff, #78d9ff 48%, #ffc868);
  box-shadow: 0 16px 36px rgba(118, 215, 255, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 20px 44px rgba(118, 215, 255, 0.28);
}

.button.ghost {
  border-color: rgba(255,255,255,0.16);
  color: #d7e1ee;
  background: rgba(255,255,255,0.06);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(255,255,255,0.3);
}

.identity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.identity-list li {
  padding: 9px 13px;
  border: 1px solid rgba(118, 215, 255, 0.18);
  border-radius: 999px;
  color: #b7c7dc;
  background: rgba(118, 215, 255, 0.06);
  font-size: 13px;
}

.hero-card {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(118, 215, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit::before,
.orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.orbit::before {
  width: 13px;
  height: 13px;
  background: var(--gold);
  box-shadow: 0 0 26px rgba(255, 200, 104, 0.85);
}

.orbit::after {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(118, 215, 255, 0.8);
}

.orbit-one {
  width: min(92vw, 470px);
  height: min(92vw, 470px);
  animation: slow-spin 22s linear infinite;
}

.orbit-one::before {
  top: 44px;
  left: 60px;
}

.orbit-one::after {
  right: 34px;
  bottom: 104px;
}

.orbit-two {
  width: min(76vw, 360px);
  height: min(76vw, 360px);
  border-color: rgba(255, 200, 104, 0.2);
  animation: slow-spin 30s linear infinite reverse;
}

.orbit-two::before {
  top: 72px;
  right: 32px;
}

.orbit-two::after {
  bottom: 26px;
  left: 108px;
}

@keyframes slow-spin {
  to { transform: rotate(342deg); }
}

.now-card {
  position: relative;
  width: min(100%, 380px);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045)),
    rgba(9, 19, 34, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.now-card::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(118,215,255,0.42), transparent 36%, rgba(255,200,104,0.42));
  filter: blur(2px);
}

.now-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #101725;
  background: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.now-card h2 {
  margin: 22px 0 20px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.now-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.now-card li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  color: #c8d3e3;
  line-height: 1.7;
}

.now-card li span {
  color: rgba(118, 215, 255, 0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 92px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2,
.friends-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.friends-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.three-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.085), rgba(255,255,255,0.026));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card::after {
  position: absolute;
  width: 170px;
  height: 170px;
  right: -76px;
  bottom: -82px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(118,215,255,0.22), transparent 66%);
}

.feature-card:hover {
  border-color: rgba(118, 215, 255, 0.36);
  background: linear-gradient(160deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035));
  transform: translateY(-6px);
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 56px;
  place-items: center;
  border-radius: 18px;
  color: #111827;
  background: linear-gradient(135deg, #dcf7ff, #ffc868);
  font-size: 22px;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin-bottom: 0;
  color: #aebdd1;
  font-size: 15px;
  line-height: 1.86;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 36px;
  margin-bottom: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.timeline::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 14px;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, var(--cyan), rgba(255,255,255,0.12), var(--gold));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
}

.timeline-dot {
  z-index: 1;
  width: 29px;
  height: 29px;
  margin-top: 22px;
  border: 7px solid var(--bg);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 0 24px rgba(118,215,255,0.34);
}

.timeline-item > div {
  padding: 25px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.055);
}

.timeline-item small {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.timeline-item h3 {
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.timeline-item p {
  margin-bottom: 0;
  color: #aebdd1;
  line-height: 1.82;
}

.friends-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: 52px 0 78px;
  padding: clamp(32px, 6vw, 58px);
  border: 1px solid rgba(255, 200, 104, 0.22);
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 200, 104, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(118, 215, 255, 0.12), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
}

.friends-panel > div {
  max-width: 790px;
}

.button.light {
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #8798ae;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #aab8cc;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}

@media (max-width: 900px) {
  .section-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-card {
    min-height: 430px;
  }

  .three-cards {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .card-icon {
    margin-bottom: 34px;
  }

  .sticky-heading {
    position: static;
  }

  .friends-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
  }

  h1 {
    font-size: clamp(46px, 16vw, 72px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .now-card {
    padding: 26px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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