/* =========================================================
   Crosslink landing — handcrafted CSS
   Apple-like aesthetic: dark-first, generous spacing,
   subtle glass + grid bg, indigo + amber accent.
   ========================================================= */

/* ---------- design tokens ---------- */
:root {
  /* brand */
  --brand: #4f46e5;
  --brand-2: #7c6ff0;
  --brand-soft: rgba(79, 70, 229, 0.16);
  --amber: #fbbf24;
  --amber-deep: #f59e0b;

  /* surfaces (dark default) */
  --bg: #0a0a12;
  --bg-2: #0e0e1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* text */
  --fg: #f4f4f7;
  --fg-2: #b8b9c4;
  --fg-3: #8a8b97;

  /* shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);

  /* type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    Inter, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

[data-theme="light"] {
  --bg: #fafafb;
  --bg-2: #ffffff;
  --surface: rgba(0, 0, 0, 0.025);
  --surface-2: rgba(0, 0, 0, 0.04);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --fg: #0d0d1a;
  --fg-2: #4b4c58;
  --fg-3: #6b6c78;
  --shadow-sm: 0 2px 8px rgba(20, 20, 60, 0.06);
  --shadow: 0 10px 40px rgba(20, 20, 60, 0.08);
  --shadow-lg: 0 30px 80px rgba(20, 20, 60, 0.12);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-2); }
img, svg { display: block; max-width: 100%; }
code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
}
h1, h2, h3, h4 { letter-spacing: -0.02em; font-weight: 700; margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark { display: inline-flex; }
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--fg-2);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.nav-cta:hover { background: var(--brand-2); }
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-2);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.theme-toggle:hover { background: var(--surface); color: var(--fg); }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* language switch (EN / 中文 pill) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  background: transparent;
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--fg-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 11px;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn:hover { color: var(--fg); }
.lang-btn.active {
  background: var(--surface-2);
  color: var(--fg);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 80px 24px 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.55;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.glow-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 60%);
  top: -120px; left: -120px;
}
.glow-b {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #fbbf24 0%, transparent 60%);
  top: 40px; right: -100px;
  opacity: 0.35;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-2);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: 24px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(34,197,94,0.05); }
}

.headline {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(135deg, var(--brand) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
}
.lede strong { color: var(--fg); font-weight: 600; }

/* CTA buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  position: relative;
  white-space: nowrap;
}
.btn-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 1px;
}
.btn > svg + span { display: inline-block; }
.btn .btn-sub {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.4);
}
.btn-primary:hover {
  background: #5b54f0;
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.5);
}
.btn-secondary {
  background: var(--surface-2);
  color: var(--fg);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--fg-2);
  transform: translateY(-1px);
  color: var(--fg);
}
[data-theme="light"] .btn-secondary .btn-sub { border-left-color: rgba(0,0,0,0.15); }
.btn-secondary .btn-sub { border-left-color: rgba(255,255,255,0.15); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.cta-fine { font-size: 13px; color: var(--fg-3); margin-top: 4px; }

/* Hero mock */
.hero-mock {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 0;
}
.screen {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.screen-mac { transform: perspective(1200px) rotateY(8deg); }
.screen-linux { transform: perspective(1200px) rotateY(-8deg); }
.title-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--fg-3);
}
[data-theme="light"] .title-bar { background: rgba(0,0,0,0.025); }
.tl { width: 10px; height: 10px; border-radius: 50%; }
.tl-r { background: #ef4444; }
.tl-y { background: #eab308; }
.tl-g { background: #22c55e; }
.ubuntu-dot { width: 10px; height: 10px; border-radius: 50%; background: #e95420; }
.title { margin-left: 6px; font-weight: 500; }
.tb-linux { background: rgba(233, 84, 32, 0.06); }
.screen-body {
  padding: 18px;
  min-height: 200px;
  position: relative;
}
.window > .line {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
  margin-bottom: 10px;
}
.window > .line.hl { background: linear-gradient(90deg, var(--brand), var(--brand-2)); height: 9px; }
.window > .line.hl.orange { background: linear-gradient(90deg, #e95420, #f59e0b); }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }
.chip {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-2);
  border: 1px solid rgba(79, 70, 229, 0.3);
}
.chip-orange {
  background: rgba(233, 84, 32, 0.15);
  color: #f59e0b;
  border-color: rgba(233, 84, 32, 0.35);
}
.cursor {
  position: absolute;
  top: 38%;
  left: 14%;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
  animation: cursor-land 3s ease-in-out infinite;
}
@keyframes cursor-land {
  0% { transform: translateX(-20px) translateY(-10px); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(0) translateY(0); opacity: 1; }
}
.trail {
  width: 100%;
  height: 80px;
  align-self: center;
}

.hero-strip {
  position: relative;
  z-index: 1;
  margin: 60px auto 0;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 36px;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.hero-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
}
.hero-strip svg { color: var(--brand-2); }

/* ---------- sections ---------- */
.section {
  padding: 100px 24px;
  position: relative;
}
.section-tint {
  background: linear-gradient(180deg, transparent, var(--surface) 30%, var(--surface) 70%, transparent);
}
.section-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-2);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-lede {
  font-size: 17px;
  color: var(--fg-2);
}

/* ---------- features ---------- */
.features {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  opacity: 0.7;
}
.feature:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--brand-soft);
  color: var(--brand-2);
  border: 1px solid rgba(79, 70, 229, 0.3);
}
.feat-icon-2 {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber-deep);
  border-color: rgba(251, 191, 36, 0.35);
}
.feat-icon-3 {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
}
.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.feature > p {
  color: var(--fg-2);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.feat-list li {
  font-size: 13.5px;
  color: var(--fg-3);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
}
.feat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 2px;
  background: var(--brand-2);
  border-radius: 2px;
}

/* ---------- steps ---------- */
.steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
[data-theme="light"] .step { background: #ffffff; }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.step-num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brand-2);
  opacity: 0.5;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ---------- tech ---------- */
.tech-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.2s;
}
.tech-card:hover { border-color: var(--border-strong); }
.tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-2);
  margin-bottom: 14px;
}
.tech-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.tech-card p {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ---------- settings mock ---------- */
.section-mock { padding-top: 40px; }
.mock-card {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
.mock-window {
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
[data-theme="light"] .mock-window { background: #ffffff; }
.mock-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 360px;
}
.mock-sidebar {
  background: rgba(255,255,255,0.025);
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
[data-theme="light"] .mock-sidebar { background: rgba(0,0,0,0.02); }
.mock-tab {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.mock-tab.active {
  background: var(--brand-soft);
  color: var(--fg);
  font-weight: 600;
}
.mock-canvas { padding: 26px; }
.canvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.canvas-head h4 { font-size: 16px; }
.badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.badge-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.layout-stage {
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(79,70,229,0.08), transparent 70%),
    repeating-linear-gradient(45deg, var(--border) 0 1px, transparent 1px 14px);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.tile {
  width: 140px;
  height: 96px;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.tile-me {
  background: linear-gradient(180deg, #1e293b, #0f172a);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.tile-peer {
  background: linear-gradient(180deg, #3a0e0a, #2a0807);
  color: #fff;
  border: 1px solid rgba(233,84,32,0.4);
}
.tile-label { font-size: 13px; font-weight: 600; }
.tile-sub { font-size: 11px; opacity: 0.6; }
.arrow {
  position: absolute;
  width: 60px;
  height: 20px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.canvas-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--fg-3);
}
.pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg-2);
}

/* ---------- requirements ---------- */
.req-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.req-card {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.req-os {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--fg);
}
.req-os svg { color: var(--brand-2); }
.req-card ul li {
  font-size: 14px;
  color: var(--fg-2);
  padding: 7px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
  border-top: 1px dashed var(--border);
}
.req-card ul li:first-child { border-top: 0; }
.req-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--brand-2);
  font-weight: 700;
}

/* ---------- CTA ---------- */
.section-cta { padding-top: 60px; padding-bottom: 100px; }
.cta-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.18) 0%, rgba(251, 191, 36, 0.08) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(79,70,229,0.35), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(251,191,36,0.25), transparent 50%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 14px;
}
.cta-card > p {
  color: var(--fg-2);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-card .cta-row { justify-content: center; margin-bottom: 18px; }
.cta-meta { font-size: 13px; color: var(--fg-3); }
.cta-meta a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  background: var(--bg-2);
}
.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 13.5px;
  color: var(--fg-3);
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--fg);
  font-size: 15px;
}
.foot-links {
  display: inline-flex;
  gap: 22px;
}
.foot-links a { color: var(--fg-2); text-decoration: none; }
.foot-links a:hover { color: var(--fg); }

/* 作者 pill 标签:三个并排,带边框 + hover 高亮 */
.foot-author {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
.foot-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg-2);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.foot-pill svg {
  flex-shrink: 0;
  opacity: 0.75;
}
.foot-pill:hover {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
}
.foot-pill:hover svg {
  opacity: 1;
}
.foot-version {
  color: var(--fg-3);
  opacity: 0.7;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
  .lang-btn { padding: 5px 9px; font-size: 12px; }
  .hero { padding: 60px 22px 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-mock { order: -1; max-width: 520px; margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 22px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }
  .cta-card { padding: 40px 24px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .headline { font-size: 40px; }
  .btn { width: 100%; justify-content: center; }
  .cta-row { flex-direction: column; }
  .foot-links { margin-left: 0; width: 100%; justify-content: flex-start; }
}

/* reduce 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; }
}
