/* ───────────────────────────────────────────
   UnifiedQuantum Landing Page — Styles
   Aesthetic: quantum realm, precise, ethereal
   Fonts are self-hosted (latin subsets); CJK
   text falls back to system fonts.
   ─────────────────────────────────────────── */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('assets/fonts/sora.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('assets/fonts/jetbrainsmono.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #06060d;
  --bg-elevated: #0c0c18;
  --surface: #0f0f1d;
  --surface-hover: #151528;
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --accent: #8b5cf6;
  --accent-strong: #7c3aed;
  --accent-light: #a78bfa;
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.12);
  --text: #f2f2f8;
  --text-secondary: #a5a5c4;
  --text-dim: #6b6b8a;
  --code-bg: #0b0b17;
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: 'Sora', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(6, 6, 13, 0.72);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 100px;
  background: var(--accent-strong);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 6, 13, 0.96);
  backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }

.mobile-link {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--text); }

.mobile-cta {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 100px;
  background: var(--accent-strong);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: max(660px, 100svh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 90px;
  overflow: hidden;
}

/* fine grid, radially faded */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(closest-side at 50% 42%, black, transparent);
  mask-image: radial-gradient(closest-side at 50% 42%, black, transparent);
  pointer-events: none;
}

/* aurora orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 560px;
  height: 560px;
  left: -180px;
  top: -120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 65%);
  animation: orb-drift 16s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 480px;
  height: 480px;
  right: -160px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 65%);
  animation: orb-drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

/* quantum circuit line-art, right hand side, texture level */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='320' viewBox='0 0 460 320' fill='none' stroke='%23a78bfa' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M0 70h460M0 160h460M0 250h460' opacity='.45'/%3E%3Crect x='46' y='48' width='44' height='44' rx='9'/%3E%3Cpath d='M60 62l16 16m0-16l-16 16'/%3E%3Cpath d='M170 70v180'/%3E%3Ccircle cx='170' cy='70' r='8' fill='%23a78bfa' stroke='none'/%3E%3Ccircle cx='170' cy='160' r='8' fill='%23a78bfa' stroke='none'/%3E%3Ccircle cx='170' cy='250' r='17'/%3E%3Cpath d='M159 239l22 22m0-22l-22 22'/%3E%3Crect x='250' y='138' width='44' height='44' rx='9'/%3E%3Cpath d='M272 146v28m-14-14h28'/%3E%3Crect x='345' y='228' width='54' height='44' rx='9' stroke='%2322d3ee'/%3E%3Cpath d='M355 258a17 17 0 0 1 34 0' stroke='%2322d3ee'/%3E%3Cpath d='M372 258l11-15' stroke='%2322d3ee'/%3E%3C/svg%3E") right center no-repeat;
  background-size: min(42vw, 500px) auto;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 45%);
  mask-image: linear-gradient(90deg, transparent 0%, black 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.5vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 18px;
}

.hero-title-accent {
  background: linear-gradient(120deg, var(--accent-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.6vw, 22px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 540px;
  margin: 0 auto 36px;
}

.install-block { margin-bottom: 34px; }

.install-row {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.install-cmd {
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 13px 18px;
  color: var(--cyan);
  white-space: nowrap;
}
.install-cmd .dollar { color: var(--text-dim); user-select: none; }

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.copy-btn:hover { color: var(--text); background: rgba(139, 92, 246, 0.12); }
.copy-btn.copied { color: #34d399; }

.install-alt {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
}
.install-alt code {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: var(--code-bg);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent-strong), #6d28d9);
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.45);
}
.btn-lg {
  height: 52px;
  padding: 0 36px;
  font-size: 15px;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text);
  transform: translateY(-2px);
}

/* platform chips under hero actions */
.hero-platforms {
  margin-top: 56px;
}

.hero-platforms-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.hero-platforms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hero-chip:hover {
  border-color: rgba(139, 92, 246, 0.45);
  color: var(--text);
  background: rgba(139, 92, 246, 0.08);
}
.hero-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent-light), var(--cyan));
}

/* ─── Sections ─── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
  padding: 5px 14px;
  background: rgba(139, 92, 246, 0.09);
  border-radius: 100px;
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Features ─── */
.features {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

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

.feature-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(139, 92, 246, 0.09);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.16);
}
.feature-card:nth-child(even) .feature-icon {
  background: var(--cyan-dim);
  border-color: rgba(34, 211, 238, 0.18);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.feature-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.feature-desc code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  background: var(--code-bg);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ─── Quick Start ─── */
.quickstart {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.quickstart-foot {
  text-align: center;
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.quickstart-foot a {
  color: var(--accent-light);
  text-decoration: none;
}
.quickstart-foot a:hover { text-decoration: underline; }

.code-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.code-panel {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.code-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.018);
}

.code-dots {
  display: inline-flex;
  gap: 6px;
}
.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-dots span:nth-child(1) { background: #f87171; opacity: 0.75; }
.code-dots span:nth-child(2) { background: #fbbf24; opacity: 0.75; }
.code-dots span:nth-child(3) { background: #34d399; opacity: 0.75; }

.code-lang {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: 1;
}

.copy-btn-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.copy-btn-sm:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.copy-btn-sm.copied { color: #34d399; }

.code-block {
  padding: 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-secondary);
  tab-size: 2;
}
.code-block code { font-family: inherit; }

/* thin dark horizontal scrollbars for code areas */
.code-block::-webkit-scrollbar,
.skills-install-cmd::-webkit-scrollbar { height: 6px; }
.code-block::-webkit-scrollbar-thumb,
.skills-install-cmd::-webkit-scrollbar-thumb { background: #23233c; border-radius: 3px; }
.code-block::-webkit-scrollbar-track,
.skills-install-cmd::-webkit-scrollbar-track { background: transparent; }
.skills-install-cmd { scrollbar-width: thin; scrollbar-color: #23233c transparent; }

/* Syntax highlighting */
.hl-kw { color: #c084fc; }
.hl-mod { color: #67e8f9; }
.hl-fn { color: #fbbf24; }
.hl-num { color: #f472b6; }
.hl-str { color: #86efac; }
.hl-cmd { color: #34d399; }
.hl-flag { color: #93c5fd; }
.hl-comment { color: #5d5d7d; font-style: italic; }

/* ─── Platforms ─── */
.platforms {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform-card {
  text-align: center;
  padding: 34px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.platform-card:hover {
  border-color: rgba(34, 211, 238, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.platform-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.platform-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

.platforms-foot {
  text-align: center;
  margin-top: 36px;
}
.platforms-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 13.5px;
  text-decoration: none;
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.platforms-foot a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ─── AI Skills Section ─── */
.skills-section {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.skills-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 44px;
}

.skills-install {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skills-install-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
}

.skills-tab {
  flex: 1;
  padding: 13px 16px;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.skills-tab:hover { color: var(--text-secondary); }
.skills-tab.active {
  color: var(--text);
  background: rgba(139, 92, 246, 0.07);
}
.skills-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.skills-install-body { padding: 22px 20px; }

.skills-install-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skills-install-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.skills-install-cmd {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 0;
}

.skills-prompts {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.skills-prompts-header {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.skills-prompt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.skills-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  transition: border-color 0.2s;
}
.skills-prompt:hover { border-color: rgba(139, 92, 246, 0.3); }
.skills-prompt-icon { flex-shrink: 0; font-size: 12px; }

.skills-coverage { margin-bottom: 40px; }

.skills-coverage-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 20px;
}

.skills-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.skills-coverage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}
.skills-coverage-item svg { flex-shrink: 0; }

.skills-links {
  display: flex;
  justify-content: center;
}

.skills-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  max-width: 480px;
  width: 100%;
}
.skills-link-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}
.skills-link-card svg:first-child {
  flex-shrink: 0;
  color: var(--text-secondary);
}
.skills-link-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.skills-link-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}
.skills-link-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color 0.2s, transform 0.2s;
}
.skills-link-card:hover .skills-link-arrow {
  color: var(--accent-light);
  transform: translateX(3px);
}

/* ─── Docs CTA ─── */
.docs-cta {
  position: relative;
  z-index: 1;
  padding: 0 24px 110px;
}

.docs-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 40px;
  background:
    radial-gradient(420px 200px at 50% -60px, rgba(124, 58, 237, 0.16), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.docs-cta-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.docs-cta-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  position: relative;
}

/* ─── Footer ─── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 52px 24px 36px;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.03));
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 6px;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text-secondary); }

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.features-grid .feature-card:nth-child(2) { transition-delay: 0.07s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.14s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.21s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.28s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.35s; }

.platforms-grid .platform-card:nth-child(2) { transition-delay: 0.05s; }
.platforms-grid .platform-card:nth-child(3) { transition-delay: 0.1s; }
.platforms-grid .platform-card:nth-child(4) { transition-delay: 0.15s; }
.platforms-grid .platform-card:nth-child(5) { transition-delay: 0.2s; }
.platforms-grid .platform-card:nth-child(6) { transition-delay: 0.25s; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero::after { display: none; }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .code-split {
    grid-template-columns: 1fr;
  }
  .skills-hero {
    grid-template-columns: 1fr;
  }
  .skills-coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-links { gap: 40px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .platform-card { padding: 26px 14px; }

  .hero { padding: 110px 20px 70px; }
  .hero-orb-1 { width: 380px; height: 380px; left: -140px; }
  .hero-orb-2 { width: 320px; height: 320px; right: -120px; }
  .hero-platforms { margin-top: 42px; }

  .install-row {
    display: flex;
    width: 100%;
    max-width: 360px;
  }
  .install-cmd {
    font-size: 12px;
    flex: 1;
    overflow-x: auto;
  }

  .skills-coverage-grid {
    grid-template-columns: 1fr;
  }
  .skills-install-row {
    flex-wrap: wrap;
  }
  .skills-install-cmd {
    order: 3;
    width: 100%;
  }

  .docs-cta-inner {
    padding: 48px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-orb { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .feature-card, .platform-card, .btn, .nav-cta { transition: none; }
}

/* ─── Selection ─── */
::selection {
  background: rgba(124, 58, 237, 0.35);
  color: #fff;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #23233c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #32325a; }
