/* ============================================================
   PEGCITY SEO GUIDE — Search Universe Design System
   Display: Noto Sans KR 900 (KR) + Orbit (EN/numerals techno)
   Body: Pretendard Variable
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg-0: #040613;
  --bg-1: #080B22;
  --bg-2: #0D1230;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text-1: #EDF1FC;
  --text-2: #A9B4CF;
  --text-3: #66719A;
  --brand: #0028C8;
  --brand-500: #1F43DC;
  --star: #5B9CF5;
  --star-soft: #BDE3FF;
  --google: #6EA8FE;
  --naver: #2BD97C;
  --font-display: 'Noto Sans KR', -apple-system, sans-serif;
  --font-tech: 'Orbit', 'Noto Sans KR', sans-serif;
  --font-body: 'Pretendard Variable', Pretendard, 'Noto Sans KR', -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* per-page planet accent, overridden by body[data-planet] */
  --planet: #5B9CF5;
  --planet-glow: rgba(91, 156, 245, 0.35);
}
body[data-planet="violet"] { --planet: #A78BFA; --planet-glow: rgba(167, 139, 250, 0.35); }
body[data-planet="teal"]   { --planet: #43D9C0; --planet-glow: rgba(67, 217, 192, 0.32); }
body[data-planet="gold"]   { --planet: #F2C46D; --planet-glow: rgba(242, 196, 109, 0.32); }
body[data-planet="rose"]   { --planet: #F47BA4; --planet-glow: rgba(244, 123, 164, 0.32); }

/* ---------- Reset / Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(91, 156, 245, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--star); outline-offset: 3px; border-radius: 4px; }

/* ---------- Cosmic backdrop ---------- */
#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.nebula {
  position: fixed; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(100px); opacity: 0.5;
  animation: drift 34s ease-in-out infinite alternate;
}
.nebula--1 { width: 640px; height: 640px; top: -220px; right: -180px; background: radial-gradient(circle, #14266E 0%, transparent 70%); }
.nebula--2 { width: 560px; height: 560px; bottom: -160px; left: -200px; background: radial-gradient(circle, #2A1A5E 0%, transparent 70%); animation-delay: -12s; }
.nebula--3 { width: 480px; height: 480px; top: 42%; left: 58%; background: radial-gradient(circle, #0C3B4A 0%, transparent 70%); animation-delay: -22s; opacity: 0.35; }
.comet {
  position: fixed; z-index: 0; pointer-events: none;
  width: 150px; height: 1.5px; border-radius: 999px; opacity: 0;
  background: linear-gradient(90deg, rgba(189, 227, 255, 0), #BDE3FF);
  filter: drop-shadow(0 0 6px #9CC6FF);
  animation: comet 11s linear infinite;
}
.comet--1 { top: 12%; left: 70%; animation-delay: 3s; }
.comet--2 { top: 38%; left: 90%; animation-delay: 8.5s; animation-duration: 13s; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- Layout ---------- */
.container { width: min(1160px, 100% - clamp(40px, 8vw, 96px)); margin-inline: auto; }
.section { padding-block: clamp(84px, 11vw, 140px); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-tech); font-size: 12px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--planet);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--planet));
}
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 4.4vw, 48px); line-height: 1.28;
  letter-spacing: -0.015em; color: var(--text-1);
  margin-top: 18px;
}
.sec-lede { margin-top: 18px; font-size: 17.5px; color: var(--text-2); }
.en { font-family: var(--font-tech); letter-spacing: 0.06em; }
.text-star { color: var(--star); }
.text-google { color: var(--google); }
.text-naver { color: var(--naver); }
strong { color: var(--text-1); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: rgba(4, 6, 19, 0.68);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 26px; width: auto; }
.brand-tag {
  font-family: var(--font-tech); font-size: 10px; letter-spacing: 0.28em;
  color: var(--text-3); text-transform: uppercase;
  border-left: 1px solid var(--line-strong); padding-left: 12px;
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  position: relative; padding: 6px 0; transition: color 0.3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--star); transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 0 8px var(--star);
}
.nav-link:hover { color: var(--text-1); }
.nav-link.is-active { color: var(--star-soft); }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.mobile-menu-btn span {
  width: 22px; height: 1.5px; background: var(--text-1);
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 49;
  background: rgba(4, 6, 19, 0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 24px; flex-direction: column;
}
.mobile-nav a { padding: 14px 4px; font-size: 16px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.mobile-nav a.is-active { color: var(--star-soft); }
body.menu-open .mobile-nav { display: flex; }
body.menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand));
  box-shadow: 0 10px 34px -10px rgba(31, 67, 220, 0.7);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px -10px rgba(31, 67, 220, 0.85); }
.btn--ghost {
  color: var(--text-1); border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: rgba(91, 156, 245, 0.55); background: rgba(91, 156, 245, 0.08); }
.btn--small { padding: 9px 20px; font-size: 13.5px; }
.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-tech); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-2);
}
.chip .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--planet);
  box-shadow: 0 0 10px var(--planet); animation: pulse-glow 2.4s ease-in-out infinite;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px; position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 6.6vw, 76px); line-height: 1.16;
  letter-spacing: -0.02em; color: var(--text-1);
  margin-top: 26px;
}
.hero-accent {
  color: var(--star-soft);
  text-shadow: 0 0 44px rgba(91, 156, 245, 0.55);
}
.hero-sub { margin-top: 24px; font-size: 18px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-stats { display: flex; gap: clamp(28px, 4vw, 52px); margin-top: 52px; }
.stat { position: relative; padding-left: 16px; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.stat-value {
  font-family: var(--font-tech); font-size: clamp(24px, 3vw, 34px);
  color: var(--text-1); letter-spacing: 0.02em;
}
.stat-label { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-tech); font-size: 10px; letter-spacing: 0.34em;
  color: var(--text-3); text-transform: uppercase;
}
.scroll-cue .cue-line { width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue .cue-line::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%; background: var(--star);
  animation: cue-drop 2.2s var(--ease-out) infinite;
}

/* ---------- Orbit stage (home hero visual) ---------- */
.orbit-stage { position: relative; width: clamp(300px, 32vw, 440px); aspect-ratio: 1; margin-inline: auto; }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  animation: spin 46s linear infinite;
}
.orbit-ring--2 { inset: 14%; animation: spin 30s linear infinite reverse; border-color: rgba(255, 255, 255, 0.10); }
.orbit-ring--3 { inset: 29%; animation: spin 20s linear infinite; border-color: rgba(255, 255, 255, 0.08); }
.orbit-dot {
  position: absolute; top: -5px; left: 50%; margin-left: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--planet); box-shadow: 0 0 14px var(--planet-glow), 0 0 4px var(--planet);
}
.orbit-dot--b { background: var(--star-soft); box-shadow: 0 0 14px rgba(189, 227, 255, 0.7); }
.orbit-dot--c { background: #F2C46D; box-shadow: 0 0 14px rgba(242, 196, 109, 0.7); width: 8px; height: 8px; }
.orbit-core {
  position: absolute; inset: 41%; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #8FB7FF, #1F43DC 58%, #0A1B66);
  box-shadow: 0 0 60px rgba(31, 67, 220, 0.65), 0 0 120px rgba(91, 156, 245, 0.3);
  animation: core-pulse 4.5s ease-in-out infinite;
}
.float-chip {
  position: absolute; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(8, 11, 34, 0.8);
  backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; color: var(--text-1);
  animation: float 7s ease-in-out infinite; white-space: nowrap;
}
.float-chip small { display: block; font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.2em; color: var(--text-3); font-weight: 400; }
.float-chip--1 { top: 4%; left: -6%; animation-delay: -1s; }
.float-chip--2 { top: 30%; right: -12%; animation-delay: -3s; }
.float-chip--3 { bottom: 12%; left: -10%; animation-delay: -5s; }
.float-chip--4 { bottom: -2%; right: 2%; animation-delay: -2s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 176px 0 clamp(64px, 8vw, 96px); position: relative; }
.page-hero .hero-title { font-size: clamp(34px, 5.4vw, 60px); max-width: 760px; }
.page-hero .hero-sub { max-width: 620px; }
.planet-deco { position: absolute; right: clamp(0px, 6vw, 90px); top: 150px; width: clamp(120px, 16vw, 200px); pointer-events: none; }
.planet {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--planet), color-mix(in srgb, var(--planet) 30%, #0A0F2C) 72%);
  box-shadow: 0 0 70px var(--planet-glow), inset -18px -14px 44px rgba(0, 0, 0, 0.5);
  animation: float 9s ease-in-out infinite;
}
.planet-ring {
  position: absolute; left: 50%; top: 50%;
  width: 190%; height: 34%;
  border: 1.5px solid color-mix(in srgb, var(--planet) 55%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 32px 28px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--planet-glow), transparent);
  opacity: 0; transition: opacity 0.45s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--planet) 45%, transparent);
  box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--planet) 40%, transparent);
}
.card:hover::before { opacity: 1; }
.card-title { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--text-1); letter-spacing: -0.01em; }
.card-desc { margin-top: 12px; font-size: 15px; }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--planet) 35%, transparent);
  background: color-mix(in srgb, var(--planet) 12%, transparent);
  color: var(--planet);
}
.num-card .num {
  font-family: var(--font-tech); font-size: 42px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--planet) 75%, transparent);
  display: block; margin-bottom: 18px; letter-spacing: 0.04em;
}
.card-tag {
  display: inline-block; margin-top: 18px;
  font-family: var(--font-tech); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--planet);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018); padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 56px;
  font-family: var(--font-tech); font-size: 13px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--text-3); white-space: nowrap;
}
.marquee-item::after { content: "✦"; color: var(--planet); font-size: 11px; letter-spacing: 0; }

/* ---------- SERP mockups ---------- */
.serp {
  width: min(600px, 100%); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  font-size: 14px; line-height: 1.6;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.serp:hover { transform: translateY(-6px) scale(1.01); }
.serp-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 18px;
}
.serp-bar i { width: 9px; height: 9px; border-radius: 50%; }
.serp-bar i:nth-child(1) { background: #FF5F57; } .serp-bar i:nth-child(2) { background: #FEBC2E; } .serp-bar i:nth-child(3) { background: #28C840; }
.serp-bar .serp-query {
  margin-left: 12px; flex: 1; padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px;
}
.serp--google { background: #171717; border: 1px solid rgba(255, 255, 255, 0.09); }
.serp--google .serp-bar { background: #202124; }
.serp--google .serp-query { background: #303134; color: #BDC1C6; }
.serp--google .serp-body { padding: 8px 26px 26px; }
.serp--google .serp-url { color: #BDC1C6; font-size: 12.5px; }
.serp--google .serp-url b { color: #8AB4F8; font-weight: 500; }
.serp--google .serp-title { color: #8AB4F8; font-size: 17.5px; font-weight: 500; margin: 3px 0 5px; }
.serp--google .serp-desc { color: #BDC1C6; font-size: 13px; }
.serp--naver { background: #fff; border: 1px solid #E4E7EE; }
.serp--naver .serp-bar { background: #F7F8FA; border-bottom: 1px solid #E4E7EE; }
.serp--naver .serp-query { background: #fff; border: 1px solid #DADCe3; color: #333; }
.serp--naver .serp-body { padding: 18px 24px 24px; }
.serp--naver .serp-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #F0F1F5; }
.serp--naver .serp-thumb {
  flex: none; width: 72px; height: 72px; border-radius: 8px;
  background: linear-gradient(135deg, #DFF7E9, #B9EED0);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.serp--naver .serp-source { color: #03C75A; font-size: 12px; font-weight: 600; }
.serp--naver .serp-title { color: #111; font-size: 15px; font-weight: 700; margin: 2px 0; }
.serp--naver .serp-title mark { background: none; color: #03C75A; font-weight: 700; }
.serp--naver .serp-desc { color: #666; font-size: 12.5px; }
.serp-badge {
  display: inline-block; padding: 2px 9px; border-radius: 4px;
  font-size: 10.5px; font-weight: 700; margin-right: 8px; vertical-align: 2px;
}
.serp--google .serp-badge { background: rgba(138, 180, 248, 0.14); color: #8AB4F8; }
.serp--naver .serp-badge { background: #E8F8EE; color: #03C75A; }

/* ---------- Comparison table ---------- */
.table-wrap {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--surface);
}
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 19px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table thead th {
  font-family: var(--font-tech); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; background: rgba(255, 255, 255, 0.03);
}
.cmp-table thead th:nth-child(2) { color: var(--google); }
.cmp-table thead th:nth-child(3) { color: var(--naver); }
.cmp-table tbody th { font-weight: 700; color: var(--text-1); font-size: 14.5px; white-space: nowrap; }
.cmp-table tbody tr { transition: background 0.3s; }
.cmp-table tbody tr:hover { background: rgba(255, 255, 255, 0.028); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.tab {
  padding: 13px 22px; font-family: var(--font-tech); font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
}
.tab:hover { color: var(--text-1); }
.tab.is-active { color: var(--planet); border-bottom-color: var(--planet); }
.tab-panel { display: none; animation: fade-slide 0.5s var(--ease-out); }
.tab-panel.is-active { display: block; }

/* ---------- Accordion (FAQ) ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 24px 4px; text-align: left;
  font-size: 17px; font-weight: 700; color: var(--text-1);
  transition: color 0.3s; cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--planet); }
.faq-q .faq-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  font-size: 16px; font-weight: 400; color: var(--text-2);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, color 0.3s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); border-color: var(--planet); color: var(--planet); }
.faq-a { padding: 0 4px 26px; max-width: 760px; font-size: 15.5px; animation: fade-slide 0.45s var(--ease-out); }

/* ---------- Checklist ---------- */
.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative; padding: 16px 18px 16px 52px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  font-size: 15px; transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.check-list li::before {
  content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--planet) 65%, transparent);
  background: color-mix(in srgb, var(--planet) 12%, transparent);
}
.check-list li::after {
  content: "✓"; position: absolute; left: 23px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 900; color: var(--planet);
}
.check-list li:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--planet) 45%, transparent); }
.check-list li b { color: var(--text-1); }

/* ---------- Glossary ---------- */
.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gloss-item {
  padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.gloss-item:hover { border-color: color-mix(in srgb, var(--planet) 45%, transparent); transform: translateY(-4px); }
.gloss-term { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--text-1); }
.gloss-en { font-family: var(--font-tech); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--planet); margin-left: 10px; }
.gloss-item p { margin-top: 10px; font-size: 14.5px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 38px; display: grid; gap: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, var(--planet), var(--line) 85%, transparent);
}
.tl-item { position: relative; }
.tl-dot {
  position: absolute; left: -38px; top: 26px; width: 19px; height: 19px; border-radius: 50%;
  border: 2px solid var(--planet); background: var(--bg-0);
  box-shadow: 0 0 16px var(--planet-glow);
}
.tl-dot::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--planet);
  animation: pulse-glow 2.6s ease-in-out infinite;
}
.tl-card { padding: 26px 28px; }
.tl-phase { font-family: var(--font-tech); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--planet); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 26px;
  padding: clamp(44px, 7vw, 80px) clamp(28px, 6vw, 72px);
  background:
    radial-gradient(640px 320px at 78% 0%, color-mix(in srgb, var(--planet) 20%, transparent), transparent 70%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
}
.cta-band::after {
  content: ""; position: absolute; right: -90px; top: -90px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: spin 40s linear infinite;
}
.cta-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(26px, 4vw, 42px); line-height: 1.3;
  color: var(--text-1); letter-spacing: -0.015em; max-width: 640px;
}
.cta-sub { margin-top: 16px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; position: relative; z-index: 1; }
.cta-note { margin-top: 20px; font-size: 13px; color: var(--text-3); }
.cta-note a { color: var(--text-2); border-bottom: 1px solid var(--line-strong); transition: color 0.3s; }
.cta-note a:hover { color: var(--star-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: rgba(4, 6, 19, 0.5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.footer-brand img { height: 24px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-title {
  font-family: var(--font-tech); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 20px;
}
.footer-links { display: grid; gap: 12px; font-size: 14.5px; }
.footer-links a { color: var(--text-2); transition: color 0.3s, transform 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--star-soft); transform: translateX(4px); }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: var(--text-3);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.9s ease, transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.9s ease, transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-scale { opacity: 0; transform: scale(0.93); transition: opacity 0.9s ease, transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in, .reveal-left.in, .reveal-right.in, .reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(31, 67, 220, 0.65), 0 0 120px rgba(91, 156, 245, 0.3); }
  50% { box-shadow: 0 0 80px rgba(31, 67, 220, 0.85), 0 0 170px rgba(91, 156, 245, 0.45); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-50px, 40px) scale(1.12); } }
@keyframes comet {
  0% { transform: rotate(215deg) translateX(0); opacity: 0; }
  4% { opacity: 1; }
  11% { transform: rotate(215deg) translateX(88vw); opacity: 0; }
  100% { transform: rotate(215deg) translateX(88vw); opacity: 0; }
}
@keyframes cue-drop { 0% { top: -40%; } 100% { top: 110%; } }
@keyframes fade-slide { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .orbit-stage { width: min(340px, 80vw); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .planet-deco { display: none; }
  .cmp-table th, .cmp-table td { padding: 15px 16px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gloss { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cmp-table thead th:first-child, .cmp-table tbody th { display: none; }
  .cmp-table td:first-child { font-weight: 700; color: var(--text-1); }
  .float-chip--2, .float-chip--3 { display: none; }
  .brand-tag { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .comet { display: none; }
}
