:root {
  --bg: #080d1a;
  --bg-alt: #0c1525;
  --surface: #0f1d33;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-inv: #f8fafc;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-soft: rgba(59,130,246,0.12);
  --accent-glow: rgba(59,130,246,0.32);
  --dark: #060912;
  --dark-2: #0b1120;
  --dark-3: #111827;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow: 0 8px 28px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.6);
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;
  --wrap: min(1160px, 100vw - 48px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* 全站环境光（body 层；略提高强度才能在深底上看清） */
  --ambient-1: rgba(59, 130, 246, 0.22);
  --ambient-2: rgba(99, 102, 241, 0.13);
  --ambient-3: rgba(34, 211, 238, 0.09);
  --ambient-4: rgba(139, 92, 246, 0.11);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 140% 90% at 50% -32%, var(--ambient-1), transparent 55%),
    /* 页面中段再铺一层，避免滚到能力区时只剩「纯黑底」 */
    radial-gradient(ellipse 120% 80% at 50% 35%, rgba(59, 130, 246, 0.07), transparent 58%),
    radial-gradient(ellipse 95% 70% at 100% 12%, var(--ambient-2), transparent 50%),
    radial-gradient(ellipse 85% 65% at 0% 55%, var(--ambient-3), transparent 48%),
    radial-gradient(ellipse 125% 55% at 50% 105%, var(--ambient-4), transparent 54%),
    linear-gradient(168deg, rgba(5, 9, 20, 0.32) 0%, transparent 38%, rgba(6, 12, 26, 0.28) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: auto;
}
/* 极淡胶片噪点 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.028;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
main,
.wrap,
.hero,
header,
footer,
.scroll-top {
  position: relative;
  z-index: 2;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.wrap { width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt {
  background: linear-gradient(180deg, rgba(12, 22, 40, 0.5) 0%, rgba(10, 17, 32, 0.32) 50%, rgba(12, 22, 40, 0.48) 100%);
}
.section--alt + .section--alt { border-top: none; }
.section--dark { background: linear-gradient(175deg, #060912 0%, #0b1224 50%, #060912 100%); color: var(--text-inv); }

/* 能力区：整段极淡顶光（不是网格外框），与 body 环境光衔接 */
#features {
  background: radial-gradient(ellipse 100% 85% at 50% -5%, rgba(96, 165, 250, 0.09), transparent 55%);
}

/* ----- Section heads ----- */
.sh { margin-bottom: 52px; max-width: 660px; }
.sh--center { margin-left: auto; margin-right: auto; text-align: center; }
.sh__badge {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; margin-bottom: 16px;
  border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent);
  font-size: .73rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.sh__badge--dark { background: rgba(96,165,250,.12); color: #60a5fa; }
.sh__title {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.sh__desc { margin: 16px 0 0; color: var(--text-2); font-size: 1.02rem; line-height: 1.7; }
.section--dark .sh__desc { color: rgba(203,213,225,.8); }

/* ----- Copy: CJK + short labels（减少词内断开、标签/价签单行） ----- */
.nav a {
  white-space: nowrap;
}
.lang-btn {
  white-space: nowrap;
}
.hero__eyebrow {
  white-space: nowrap;
}
.hero__title,
.hero__title .hero__title-line {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.pricing-card__tag,
.pricing-card__pill {
  white-space: nowrap;
}
.pricing-card__price {
  white-space: nowrap;
}
.pricing-card h3,
.pricing-card__head p {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.pricing-card .pricing-card__cta {
  white-space: nowrap;
}
.quickstart-card__eyebrow,
.quickstart-card__chips span {
  white-space: nowrap;
}
.quickstart-card h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.cp__stat-label {
  white-space: nowrap;
}
.feat h3,
.uc h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.section--dark .sh__title {
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .nav a {
    white-space: normal;
  }
  .hero__eyebrow {
    white-space: normal;
  }
}
@media (max-width: 400px) {
  .pricing-card__price {
    white-space: normal;
  }
  .quickstart-card__eyebrow,
  .quickstart-card__chips span {
    white-space: normal;
  }
}

/* ----- Tag ----- */
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap;
}
.uc .tag {
  transition: box-shadow .35s var(--ease);
}
.uc:hover .tag {
  box-shadow: 0 6px 18px rgba(59,130,246,.22);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r);
  font-size: .93rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn--accent { color: var(--text-inv); background: var(--accent); box-shadow: 0 4px 14px var(--accent-glow); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--primary { color: var(--text-inv); background: linear-gradient(135deg, #3b82f6, #6366f1); box-shadow: 0 6px 20px var(--accent-glow); }
.btn--primary:hover { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.btn--ghost { color: var(--text-2); border-color: transparent; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.btn--outline { color: var(--text); border-color: var(--border); background: transparent; }
.btn--outline:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.05); }
.btn--outline-light { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.22); background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.38); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 1rem; }
/* Header GitHub mark — single 20px monochrome icon, no text, no
   accent. Matches the rest of the header so it doesn't compete with
   the primary login button. */
.btn--star {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  height: 36px;
}
.btn--star .btn__icon { flex-shrink: 0; color: currentColor; }

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(10,15,28,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(10,15,28,.96);
  border-bottom-color: rgba(255,255,255,.1);
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; z-index: 102; }
.logo__icon { width: 28px; height: 28px; }
.logo__text { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: var(--r); color: rgba(255,255,255,.55);
  font-size: .9rem; font-weight: 500; transition: color .2s, background .2s;
  position: relative;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 1px; background: var(--accent);
}
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-full); }
.lang-btn { border: 0; padding: 5px 10px; border-radius: var(--r-full); color: rgba(255,255,255,.45); background: transparent; cursor: pointer; font-size: .82rem; font-weight: 600; transition: all .2s; }
.lang-btn.is-active { color: var(--dark); background: #fff; }
.header__actions .btn--ghost { color: rgba(255,255,255,.65); }
.header__actions .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.header__actions .btn--accent { height: 38px; padding: 0 16px; font-size: .88rem; }

/* ---- Hamburger ---- */
.hamburger {
  display: none; border: 0; background: transparent; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  z-index: 102;
}
.hamburger__line {
  display: block; width: 22px; height: 2px; border-radius: 1px;
  background: rgba(255,255,255,.8); transition: transform .3s var(--ease), opacity .2s;
}
.hamburger.is-open .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 108px;
  background: linear-gradient(
    175deg,
    rgba(8, 13, 25, 0.9) 0%,
    rgba(14, 24, 48, 0.72) 48%,
    rgba(9, 15, 30, 0.88) 100%
  );
  color: var(--text-inv);
}
.hero__glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,92,211,.18), transparent 68%);
  filter: blur(50px); pointer-events: none;
}
.hero__layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero__copy { display: grid; gap: 22px; }
.hero__eyebrow { margin: 0; color: #60a5fa; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero__title { margin: 0; font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.hero__desc { margin: 0; max-width: 40rem; color: rgba(203,213,225,.82); font-size: 1.02rem; line-height: 1.75; }
.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero__ctas-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  font-size: .94rem;
  font-weight: 500;
}
.hero__ctas-link {
  color: rgba(203,213,225,.82);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.hero__ctas-link:hover {
  color: #fff;
  border-bottom-color: rgba(96,165,250,.45);
}
.hero__ctas-sep {
  color: rgba(148,163,184,.35);
  font-weight: 400;
  user-select: none;
  pointer-events: none;
}

/* -- control plane card -- */
.cp {
  padding: 22px; border: 1px solid rgba(148,174,222,.15);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(14,24,46,.92), rgba(10,18,36,.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 60px rgba(0,0,0,.35);
}
.cp__bar { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.cp__dots { display: flex; gap: 7px; }
.cp__dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: rgba(200,215,240,.2); }
.cp__label { color: rgba(220,230,250,.8); font-size: .84rem; font-weight: 600; }
.cp__body { display: grid; grid-template-columns: 1fr 70px 1fr; gap: 12px; align-items: center; padding: 18px 0; }
.cp__col { display: grid; gap: 10px; }
.cp__pill {
  display: flex; align-items: center; height: 64px; padding: 0 18px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  color: rgba(240,245,255,.92); font-size: .88rem; font-weight: 700;
  background: rgba(255,255,255,.02);
}
.cp__pill--cyan  { border-color: rgba(74,216,210,.35); }
.cp__pill--blue  { border-color: rgba(76,143,248,.35); }
.cp__pill--violet{ border-color: rgba(136,118,240,.32); }
.cp__pill--green { border-color: rgba(56,199,162,.35); }
.cp__pill--amber { border-color: rgba(212,161,55,.35); }
.cp__pill--rose  { border-color: rgba(219,104,129,.35); }
.cp__lines { display: grid; gap: 10px; }
.cp__lines span {
  display: block; height: 2px; border-radius: var(--r-full);
  background: linear-gradient(90deg, rgba(79,223,229,0), rgba(79,223,229,.7), rgba(79,223,229,0));
  animation: pulse-line 3.2s ease-in-out infinite;
}
.cp__lines span:nth-child(2) { animation-delay: 1.1s; }
.cp__lines span:nth-child(3) { animation-delay: 2.2s; }
@keyframes pulse-line { 0%,100% { opacity:.25; } 50% { opacity:1; } }

.cp__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.cp__stat { padding: 12px 14px; border: 1px solid rgba(255,255,255,.06); border-radius: var(--r); background: rgba(6,12,24,.4); }
.cp__stat-label { display: block; color: rgba(180,200,230,.55); font-size: .75rem; }
.cp__stat-val { display: block; margin-top: 4px; color: rgba(240,248,255,.92); font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; }

/* ===================== TRUST BAR ===================== */
.trust-bar {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 13, 26, 0.45);
}
.trust-bar__inner {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  height: 52px; flex-wrap: wrap;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-3); font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  transition: color .2s;
}
a.trust-item:hover { color: var(--text); }
.trust-dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); opacity: .5;
}

/* ===================== FEATURES GRID ===================== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.feat {
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  background:
    linear-gradient(165deg, rgba(26, 42, 68, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 22%),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.28);
  transition: border-color .3s, box-shadow .35s, transform .35s var(--ease);
  transform-origin: center center;
  position: relative;
  overflow: hidden;
}
.feat:hover {
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow:
    0 12px 40px rgba(59, 130, 246, 0.09),
    0 0 0 1px rgba(59, 130, 246, 0.07);
  transform: scale(1.02);
}
.feat__icon {
  width: 48px; height: 48px; margin-bottom: 18px;
}
.feat__icon svg { width: 48px; height: 48px; }
.feat h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 700; }
.feat p { margin: 0; color: var(--text-2); font-size: .92rem; line-height: 1.65; }

/* ===================== ARCHITECTURE ===================== */
.arch {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 44px 0;
  overflow: visible;
}
.arch::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(96,165,250,.18), rgba(96,165,250,.52) 18%, rgba(244,114,182,.4) 72%, rgba(167,139,250,.26));
  box-shadow: 0 0 34px rgba(59,130,246,.16);
  opacity: .88;
  pointer-events: none;
  z-index: 0;
}
.arch__node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 1 160px;
  min-width: 156px;
  max-width: 220px;
  min-height: 220px;
  padding: 28px 20px 26px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(18,24,42,.92);
  backdrop-filter: blur(14px);
  text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 48px rgba(0,0,0,.3);
}
.arch__node:hover {
  border-color: rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 56px rgba(59,130,246,.12);
  transform: translateY(-6px);
}
.arch__node::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.05);
  pointer-events: none;
}
.arch__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.arch__icon svg { width: 38px; height: 38px; }
.arch__node span {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: rgba(245,248,255,.96);
}
.arch__node small {
  font-size: .9rem;
  color: rgba(180,200,230,.66);
  letter-spacing: .02em;
}
/* 箭头：窄列 + 横向高光线段 + 清晰 chevron（不要大药丸底） */
.arch__arrow {
  position: relative;
  z-index: 2;
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  align-self: center;
  height: 44px;
}
.arch__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(147,197,253,.12), rgba(147,197,253,.5), rgba(147,197,253,.12));
  border-radius: 1px;
}
.arch__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-top: -1px;
  border-top: 2px solid rgba(186,230,253,.95);
  border-right: 2px solid rgba(186,230,253,.95);
  transform: translate(-50%, -50%) rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(59,130,246,.38));
}
.arch__node--user { box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 52px rgba(37,99,235,.12); }
.arch__node--entry { box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 52px rgba(74,222,128,.1); }
.arch__node--frontier { box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 52px rgba(251,191,36,.12); }
.arch__node--edge { box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 52px rgba(244,114,182,.11); }
.arch__node--app { box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 52px rgba(167,139,250,.12); }
.arch__node--user .arch__icon { background: rgba(96,165,250,.12); }
.arch__node--entry .arch__icon { background: rgba(74,222,128,.1); }
.arch__node--frontier .arch__icon { background: rgba(251,191,36,.1); }
.arch__node--edge .arch__icon { background: rgba(244,114,182,.1); }
.arch__node--app .arch__icon { background: rgba(167,139,250,.1); }

/* ===================== USE CASES ===================== */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.uc {
  padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .3s, box-shadow .35s, transform .35s var(--ease);
  transform-origin: center center;
  position: relative; overflow: hidden;
}
.uc:hover {
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow:
    0 12px 40px rgba(59, 130, 246, 0.09),
    0 0 0 1px rgba(59, 130, 246, 0.07);
  transform: scale(1.02);
}
.uc__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.uc__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.uc__chips span {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-full);
  font-size: .7rem; font-weight: 600; color: var(--text-3); letter-spacing: .03em;
  background: rgba(255,255,255,0.04);
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease);
  cursor: default;
}
.uc__chips span:hover {
  border-color: rgba(96,165,250,.35);
  background: rgba(96,165,250,.08);
  color: rgba(226,232,240,.92);
  transform: translateY(-1px);
}
.uc h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.uc p { margin: 0; color: var(--text-2); font-size: .92rem; line-height: 1.65; }

/* ===================== QUICKSTART ===================== */
.quickstart-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.quickstart-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 34px 32px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%),
    rgba(13,23,42,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 54px rgba(0,0,0,.24);
}
.quickstart-card--saas {
  background:
    radial-gradient(circle at 0% 0%, rgba(96,165,250,.20), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%),
    rgba(10,22,44,.92);
}
.quickstart-card--self {
  gap: 18px;
  padding: 34px 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(167,139,250,.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 28%),
    rgba(14,22,39,.88);
}
.quickstart-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: rgba(218,230,247,.76);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quickstart-card h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 700;
}
.quickstart-card p {
  margin: 0;
  color: rgba(219,231,249,.74);
  font-size: .97rem;
  line-height: 1.75;
}
.quickstart-card__chips,
.quickstart-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.quickstart-card__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-full);
  background: rgba(96,165,250,.10);
  border: 1px solid rgba(96,165,250,.18);
  color: rgba(225,236,255,.92);
  font-size: .84rem;
  font-weight: 600;
}
.quickstart-card__actions { margin-top: 8px; }

/* "All platforms supported" caption directly under the macOS / Windows
   download buttons. The Linux fallback is a link into the self-hosted
   CLI install block below — which is where Linux users actually start. */
.quickstart-card__platforms {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: rgba(219, 231, 249, 0.7);
}
.quickstart-card__platforms-label {
  color: rgba(219, 231, 249, 0.85);
  font-weight: 600;
}
.quickstart-card__platforms a {
  color: rgba(219, 231, 249, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(219, 231, 249, 0.25);
}
.quickstart-card__platforms a:hover {
  color: #fff;
  text-decoration-color: rgba(219, 231, 249, 0.6);
}

/* Subtle secondary link row under the primary download buttons —
   "or sign in from your browser · view plans". */
.quickstart-card__altline {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: rgba(219, 231, 249, 0.62);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.quickstart-card__altline a {
  color: rgba(219, 231, 249, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(219, 231, 249, 0.25);
}
.quickstart-card__altline a:hover {
  color: #fff;
  text-decoration-color: rgba(219, 231, 249, 0.6);
}
.quickstart-card__altsep {
  color: rgba(219, 231, 249, 0.35);
}

/* Same CTA typography in both SaaS + self-hosted cards (button vs <a>) */
.quickstart-card .btn {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  height: 44px;
  padding: 0 20px;
}

/* ----- Self-hosted: hint above terminal (outside Mac window) ----- */
.quickstart-self__hint {
  margin: -4px 0 0;
  color: rgba(219,231,249,.74);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ----- Self-hosted: terminal block ----- */
.quickstart-card--self .quickstart-terminal {
  margin-top: 0;
}
.quickstart-terminal {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(6,10,20,.98), rgba(4,8,16,.96));
  box-shadow:
    0 12px 36px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.quickstart-terminal__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.quickstart-terminal__dots {
  display: block;
  width: 54px;
  height: 12px;
  background:
    radial-gradient(circle at 6px 50%, #ff5f57 0%, #ff5f57 5px, transparent 6px),
    radial-gradient(circle at 22px 50%, #febc2e 0%, #febc2e 5px, transparent 6px),
    radial-gradient(circle at 38px 50%, #28c840 0%, #28c840 5px, transparent 6px);
}
.quickstart-terminal__title {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(180,200,230,.55);
  letter-spacing: .04em;
}
.quickstart-terminal__body {
  padding: 20px 22px 22px;
}
.quickstart-terminal__body--compact {
  padding: 14px 16px 16px;
}
.install__code--self {
  margin-bottom: 12px !important;
  padding: 14px 16px !important;
  border-radius: 10px !important;
  background: rgba(0,0,0,.5) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  overflow-x: hidden !important;
}
.install__code--self pre,
.install__code--self code {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: anywhere;
  color: #c4d9ff;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.65;
}
.install__actions--terminal {
  margin: 0;
}
.install__actions--self-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.install__actions-start {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}
.install__github-inline {
  color: #93c5fd;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s;
}
.install__github-inline:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

/* ===================== PRICING ===================== */
.section--pricing {
  background:
    radial-gradient(circle at 20% 0%, rgba(56,189,248,.08), transparent 25%),
    radial-gradient(circle at 80% 10%, rgba(167,139,250,.1), transparent 24%),
    linear-gradient(180deg, #0a1020 0%, #0a1122 40%, #080d1a 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-grid > .pricing-card {
  min-width: 0;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  padding: 28px 24px 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 22%),
    rgba(15,29,51,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 50px rgba(0,0,0,.32);
}
.pricing-card__upper {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pricing-card__top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
}
.pricing-card--self { background: linear-gradient(180deg, rgba(52,211,153,.12), transparent 18%), rgba(15,29,51,.82); }
.pricing-card--featured {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(96,165,250,.18), transparent 18%), rgba(18,34,58,.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 58px rgba(18,73,168,.24);
}
.pricing-card--featured::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4, #3b82f6);
  background-size: 300% 300%;
  animation: pricingGlow 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
@keyframes pricingGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.pricing-card--plus { background: linear-gradient(180deg, rgba(167,139,250,.14), transparent 18%), rgba(15,29,51,.82); }
.pricing-card__pill {
  position: absolute; top: 16px; right: 16px;
  min-height: 28px; padding: 0 12px; border-radius: var(--r-full);
  background: rgba(96,165,250,.14); color: #b8d8ff; font-size: .74rem; font-weight: 700; line-height: 28px;
}
.pricing-card--featured .pricing-card__head {
  padding-right: 6.5rem;
}
.pricing-card__head {
  display: grid;
  gap: 10px;
}
.pricing-card__tag {
  display: inline-flex; align-items: center; width: fit-content; min-height: 28px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-full);
  background: rgba(255,255,255,.04); color: rgba(218,230,247,.76);
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pricing-card h3 { margin: 0; font-size: 1.9rem; font-weight: 700; line-height: 1.04; letter-spacing: -.05em; }
.pricing-card__head p { margin: 0; color: rgba(219,231,249,.72); line-height: 1.65; }
.pricing-card__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 0 2px;
  min-height: 3.75rem;
}
.pricing-card__price strong { font-size: 3.1rem; line-height: 1; letter-spacing: -.08em; font-weight: 800; }
.pricing-card__price span { padding-bottom: 6px; color: rgba(219,231,249,.68); }
.pricing-card__cta {
  width: 100%;
  justify-content: center;
  flex-shrink: 0;
}
.pricing-card__list {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  list-style: none;
}
.pricing-card__list li {
  position: relative; padding-left: 22px; color: rgba(236,243,255,.88); font-size: .94rem; line-height: 1.6;
}
.pricing-card__list li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: #9be7cb; font-weight: 700;
}

/* ===================== GALLERY ===================== */
.gallery { display: grid; gap: 24px; margin: 0 auto; }
.gallery__item {
  margin: 0; padding: 0; border: none; background: transparent;
  overflow: visible; display: grid; gap: 0;
}
.gallery__item .gallery-mac {
  transition: border-color .2s, box-shadow .28s, transform .28s var(--ease);
}
.gallery__item:hover .gallery-mac {
  border-color: rgba(255,255,255,.14);
  box-shadow:
    0 16px 48px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateY(-2px);
}
.gallery-mac__viewport {
  overflow: hidden;
  background: #070b14;
  line-height: 0;
}
.gallery-mac__viewport img {
  width: 100%; height: auto; display: block;
  vertical-align: top;
}
.gallery-mac .gallery-mac__title {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(203,213,230,.82);
  letter-spacing: 0.03em;
}
.gallery__item figcaption {
  display: grid; gap: 6px;
  padding: 18px 4px 0;
  max-width: 100%;
}
.gallery__item figcaption .tag { width: fit-content; }
.gallery__item figcaption span:last-child { color: var(--text-2); font-size: .92rem; }

/* ===================== INSTALL ===================== */
.install {
  padding: 36px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
  position: relative; min-width: 0;
}
.install__head { display: grid; gap: 14px; margin-bottom: 14px; }
.install__title { margin: 0; font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.08; letter-spacing: -.04em; }
.install__hint { margin: 0 0 16px; color: var(--text-3); font-size: .94rem; }
.install__code {
  overflow: auto; margin-bottom: 16px; padding: 18px 20px;
  border-radius: var(--r); background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.06);
}
.install__code pre { margin: 0; color: #bfdbfe; font-family: var(--mono); font-size: .86rem; line-height: 1.65; }
.install__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.install__feedback { color: var(--text-3); font-size: .88rem; line-height: 1.55; }
.install__feedback.is-success { color: var(--accent); }
.install__feedback.is-error { color: #b42318; }
.install__note { margin-top: 18px; padding: 14px 18px; border-radius: var(--r); background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.install__note p { margin: 0; color: var(--text-3); font-size: .9rem; }
.install__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.install__footer a { color: var(--accent); font-size: .94rem; font-weight: 600; }
.install__footer a:hover { text-decoration: underline; }
.install__license { color: var(--text-3); font-size: .84rem; font-weight: 500; }

/* ===================== FAQ ===================== */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq__item {
  padding: 0 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
  transition: border-color .2s, box-shadow .25s;
}
.faq__item:hover, .faq__item[open] { border-color: rgba(59,130,246,0.35); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.faq__item summary::after {
  content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0; transition: background .2s, border-color .2s;
}
.faq__item[open] summary::after { content: "−"; background: var(--accent-soft); border-color: rgba(59,130,246,.3); color: var(--accent); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { margin: 0; padding-bottom: 22px; color: var(--text-2); font-size: .94rem; line-height: 1.7; }

/* ===================== FOOTER ===================== */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--border); }
.footer--dark {
  background: var(--dark);
  border-top-color: rgba(255,255,255,0.08);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  font-size: .87rem;
  color: rgba(180,200,230,0.55);
  line-height: 1.65;
  margin: 12px 0 20px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(200,215,240,0.6);
  transition: background .2s, color .2s, border-color .2s;
}
.footer-social-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.footer-links-group { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group h4 {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(240,248,255,0.9);
  margin-bottom: 4px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.footer-links-group a {
  font-size: .86rem;
  color: rgba(180,200,230,0.55);
  transition: color .2s;
  font-weight: 500;
}
.footer-links-group a:hover { color: rgba(240,248,255,0.9); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: .84rem;
  color: rgba(180,200,230,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(180,200,230,0.4); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(240,248,255,0.8); }

/* legacy footer classes kept for compatibility */
.footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { max-width: 360px; }
.logo--footer { margin-bottom: 8px; }
.logo--footer .logo__text { color: var(--text); }
.footer__tagline { margin: 0; color: var(--text-3); font-size: .9rem; }
.footer__links { display: flex; gap: 12px; align-items: center; }
.footer__links a { padding: 8px 12px; border-radius: var(--r); color: var(--text-2); font-size: .92rem; transition: background .2s, color .2s; }
.footer__links a:hover { background: var(--bg-alt); color: var(--text); }
.footer__meta { display: flex; gap: 14px; align-items: center; color: var(--text-3); font-size: .86rem; }

/* ===================== SCROLL-TO-TOP ===================== */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%; background: rgba(10,15,28,.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: rgba(255,255,255,.7); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s, border-color .2s;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: rgba(59,130,246,.2); border-color: rgba(59,130,246,.4); color: #fff; }

/* ===================== STAGGERED REVEAL ===================== */
.feat, .uc, .pricing-card { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.section--reveal.revealed .feat,
.section--reveal.revealed .uc,
.section--reveal.revealed .pricing-card { opacity: 1; transform: translateY(0); }
.section--reveal.revealed .feat:nth-child(1), .section--reveal.revealed .uc:nth-child(1), .section--reveal.revealed .pricing-card:nth-child(1) { transition-delay: .05s; }
.section--reveal.revealed .feat:nth-child(2), .section--reveal.revealed .uc:nth-child(2), .section--reveal.revealed .pricing-card:nth-child(2) { transition-delay: .12s; }
.section--reveal.revealed .feat:nth-child(3), .section--reveal.revealed .uc:nth-child(3), .section--reveal.revealed .pricing-card:nth-child(3) { transition-delay: .19s; }
.section--reveal.revealed .feat:nth-child(4), .section--reveal.revealed .uc:nth-child(4), .section--reveal.revealed .pricing-card:nth-child(4) { transition-delay: .26s; }
.section--reveal.revealed .feat:nth-child(5) { transition-delay: .33s; }
.section--reveal.revealed .feat:nth-child(6) { transition-delay: .4s; }

/* ===================== HERO TITLE GRADIENT ===================== */
.hero__title-line { display: block; }
.hero__title-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradShift 4s linear infinite;
  min-height: 1.1em;
  display: inline-block;
}
.hero__title-gradient::after {
  content: '|';
  display: inline-block;
  -webkit-text-fill-color: #60a5fa;
  animation: blinkCursor .72s step-end infinite;
  margin-left: 2px;
  font-weight: 300;
}
@keyframes gradShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===================== CP CARD LIGHT SHIMMER ===================== */
.cp {
  position: relative;
  overflow: hidden;
}
.cp::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.04) 40%,
    rgba(96,165,250,0.08) 50%,
    rgba(255,255,255,0.04) 60%,
    transparent 100%
  );
  animation: cpShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cpShimmer {
  0% { left: -100%; }
  60%, 100% { left: 160%; }
}

/* ===================== INSTALL TITLE GRADIENT ANIMATION ===================== */
.sh__title--cta {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradShift 4s linear infinite;
}

/* ===================== HERO CANVAS & ORBS ===================== */
.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
  display: block;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: heroOrbFloat 9s ease-in-out infinite;
  z-index: 0;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(23,92,211,0.22) 0%, transparent 70%);
  top: -120px; right: -80px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(96,165,250,0.15) 0%, transparent 70%);
  bottom: -60px; left: -60px;
  animation-delay: -4s;
}
@keyframes heroOrbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-24px) scale(1.04); }
  70% { transform: translateY(16px) scale(0.97); }
}

.hero__glow { z-index: 0; }
.hero .wrap { position: relative; z-index: 2; }

/* ===================== ZERO-TRUST HIGHLIGHTS ===================== */
.zt-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.03);
}

.zt-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 12px;
  margin: -10px -12px;
  border-radius: 14px;
  transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.zt-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.035);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}

.zt-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(96,165,250,0.12);
  border: 1px solid rgba(96,165,250,0.2);
  color: #60a5fa;
}

.zt-item strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: rgba(240,248,255,0.92);
  margin-bottom: 4px;
}

.zt-item p {
  margin: 0;
  font-size: .82rem;
  color: rgba(180,200,230,0.6);
  line-height: 1.55;
}

/* ===================== SECTION TRANSITIONS ===================== */
.section--reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); position: relative; }
.section--reveal.revealed { opacity: 1; transform: translateY(0); }

/* 分区顶部色块已弃用：整体氛围由 body 环境渐变承担 */
.section::before {
  display: none;
}

/* 使用场景：标题单行 */
#usecases .sh {
  max-width: min(1100px, 100%);
}
#usecases .sh__title {
  white-space: nowrap;
  text-wrap: unset;
}
@media (max-width: 640px) {
  #usecases .sh__title {
    font-size: clamp(0.78rem, 3.85vw, 1.28rem);
    letter-spacing: -0.035em;
  }
}

.section-divider {
  position: relative;
  height: 1px;
  overflow: visible;
}
.section-divider::after {
  content: '';
  position: absolute;
  left: 10%; right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.2) 20%, rgba(167,139,250,.25) 50%, rgba(96,165,250,.2) 80%, transparent);
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(59,130,246,.12) 25%, rgba(167,139,250,.15) 50%, rgba(103,232,249,.1) 75%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}
.section--dark::before,
.section--dark::after { display: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1fr; gap: 48px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-grid { grid-template-columns: 1fr; }
  .arch { padding: 40px 0; }
  .arch__node { min-width: 148px; min-height: 204px; }
  .arch__arrow {
    flex: 0 0 24px;
    width: 24px;
    min-width: 24px;
  }
  .zt-highlights { grid-template-columns: 1fr; gap: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .wrap { width: min(100vw - 24px, var(--wrap)); padding: 0 12px; }
  .section { padding: 72px 0; }
  .hamburger { display: flex; }
  .header__deploy-btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 101;
    flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: rgba(8,13,26,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease);
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav a { font-size: 1.2rem; padding: 14px 28px; }
  .hero { padding: 56px 0 72px; }
  .hero__title { font-size: 2rem; }
  .feat-grid, .pricing-grid { grid-template-columns: 1fr; }
  .cp__body { grid-template-columns: 1fr; }
  .cp__stats { grid-template-columns: repeat(3, 1fr); }
  .trust-bar__inner { gap: 16px; height: auto; padding: 12px 0; }
  .arch {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px;
    gap: 10px;
  }
  .arch::before {
    top: 24px;
    bottom: 24px;
    left: 50%;
    right: auto;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      rgba(96,165,250,.18),
      rgba(96,165,250,.48) 22%,
      rgba(244,114,182,.38) 72%,
      rgba(167,139,250,.22)
    );
    box-shadow: 0 0 24px rgba(59,130,246,.14);
  }
  .arch__node {
    min-width: 0;
    width: 100%;
    max-width: none;
    flex: none;
    min-height: 188px;
    padding: 24px 20px 22px;
  }
  .arch__arrow {
    width: 100%;
    min-width: 0;
    flex: none;
    height: 28px;
    margin-top: 0;
    align-self: center;
  }
  /* 竖向主干已由 .arch::before 承担，此处只保留向下箭头 */
  .arch__arrow::before {
    display: none;
  }
  .arch__arrow::after {
    transform: translate(-50%, -50%) rotate(135deg);
    margin-top: 0;
  }
  .footer__inner { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-orb-1 { width: 300px; height: 300px; }
  .hero-orb-2 { width: 250px; height: 250px; }
  .pricing-card--featured { transform: none; }
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { background-attachment: scroll; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .feat, .uc, .pricing-card { opacity: 1; transform: none; }
  body::after { opacity: 0; }
}

/* ===================== DOWNLOAD DROPDOWN ===================== */
/* Anchored under the "下载" nav trigger. JS sets `top` / `left` from
   the trigger's getBoundingClientRect; outside-click / Esc / scroll
   close it. No backdrop, no body lock — much lighter than a modal. */
.dropdown {
  position: fixed;
  z-index: 800;
  min-width: 320px;
  background: linear-gradient(160deg, #14192c 0%, #1a1f37 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  animation: dropdownIn 140ms cubic-bezier(.2, .8, .2, 1);
}
.dropdown[hidden] { display: none; }
.dropdown__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 120ms ease;
}
.dropdown__option:hover {
  background: rgba(99, 102, 241, 0.12);
}
.dropdown__option-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #a5b4fc;
}
.dropdown__option-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.dropdown__option-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
}
.dropdown__option-sub {
  font-size: 0.78rem;
  color: rgba(219, 231, 249, 0.55);
}
.dropdown__option-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #a5b4fc;
  white-space: nowrap;
  flex-shrink: 0;
}
.dropdown__option:hover .dropdown__option-cta {
  color: #c7d2fe;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .dropdown {
    /* On phones the nav lives in the hamburger drawer; pin the
       dropdown under the trigger but keep some margin so it
       doesn't kiss the edges. */
    min-width: 0;
    left: 12px !important;
    right: 12px;
    width: auto;
  }
}
