/* =====================================================================
 * BULLENS — Hardware Premium Brand System
 * 黑 / 灰 / 橘 · Industrial precision · Restrained accent
 * Inspired by: Leica · Teenage Engineering · Sony Alpha · Bang & Olufsen
 * ===================================================================== */

:root {
  /* ── Backgrounds — warm-neutral near-blacks ── */
  --bg:            #0a0a0a;
  --bg-elev:       #111111;
  --surface:       #161616;
  --surface-2:     #1d1d1d;
  --surface-3:     #252525;

  /* ── Text ── */
  --fg:            #f5f5f5;
  --fg-2:          #cccccc;
  --muted:         #8a8a8a;
  --muted-2:       #5a5a5a;
  --muted-3:       #3a3a3a;

  /* ── Borders ── */
  --border:        #242424;
  --border-strong: #343434;
  --border-faint:  #181818;

  /* ── Accent — refined burnt orange (single focal point per screen) ── */
  --accent:        #e06848;
  --accent-hover:  #cc5a3d;
  --accent-active: #b84e35;
  --accent-soft:   rgba(224, 104, 72, 0.10);
  --accent-softer: rgba(224, 104, 72, 0.045);
  --accent-line:   rgba(224, 104, 72, 0.32);
  --accent-on:     #ffffff;

  /* ── Status — desaturated to match restraint ── */
  --success: #6b9a55;
  --warn:    #c99047;
  --danger:  #b34a3a;
  --info:    #7a93b3;

  /* ── Typography ──
   * Space Grotesk / Inter 不含中文汉字，中文会回退到 CJK 字段。
   * 在 system-ui 之前显式列出中文优先字体，保证不同平台落地为同款接近 Apple
   * 中性页面字感的无衬线，而非系统默认黑体。
   * 'PingFang SC' (macOS/iOS) → 'HarmonyOS Sans SC' (鸿蒙) → 'Source Han Sans SC'
   * (开源 Adobe/Google 思源黑体) → 'Microsoft YaHei UI' (Windows) */
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'Microsoft YaHei UI', system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'Microsoft YaHei UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  /* 专为中文标题/正文准备的字体栈（不含英文 display），用于 CJK 文字场景 */
  --font-cjk:     'PingFang SC', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'Microsoft YaHei UI', system-ui, sans-serif;

  /* ── Type scale ── */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 15px;
  --text-lg:   18px;
  --text-xl:   24px;
  --text-2xl:  36px;
  --text-3xl:  56px;
  --text-4xl:  80px;
  --text-5xl:  104px;

  /* ── Spacing ── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* ── Layout ── */
  --container-max:    1200px;
  --container-gutter: clamp(24px, 5vw, 72px);
  --section-y:        clamp(80px, 12vw, 140px);

  /* ── Radii — minimal, industrial ── */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 2px;

  /* ── Motion ── */
  --motion-fast: 120ms;
  --motion-base: 180ms;
  --motion-slow: 280ms;
  --ease:        cubic-bezier(0.2, 0, 0, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Shadows — dark-theme drops (black, layered) ── */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.30);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 8px 36px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 16px 56px rgba(0, 0, 0, 0.65);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  position: relative;
  z-index: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-on); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ─── Layout primitives ─── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-gutter); }
.section { padding: var(--section-y) 0; border-top: 1px solid var(--border); }
.section-quiet { padding: var(--section-y) 0; }
.divider { height: 1px; background: var(--border); border: none; }

/* ─── Type utilities ─── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: inline-block;
}
.eyebrow-accent { color: var(--accent); }

.h1 { font-family: var(--font-display); font-size: var(--text-4xl); line-height: 0.95; letter-spacing: -0.04em; font-weight: 600; }
.h2 { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1.0; letter-spacing: -0.035em;  font-weight: 500; }
.h3 { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -0.028em; font-weight: 500; }
.h4 { font-family: var(--font-display); font-size: var(--text-xl);   line-height: 1.2;  letter-spacing: -0.022em;  font-weight: 500; }

/* ── CJK 标题排版微调（仅在中文场景生效）────────────────────────────
 * 上面 -0.04em / line-height 0.95 是为 Latin display 字距视觉紧致而设。
 * 中文方块字自带呼吸，负字距会让汉字"挤"；0.95 的行高让多行中文标题
 * 上下行打架。当 <html lang="zh-CN"> 时覆盖回自然中文排版值。
 * 关闭也只在主动切到 EN 时退出（translations.js 会改 lang=en）。
 * 同时改用 --font-cjk，避免 Space Grotesk 不含汉字导致的回退混乱。 */
:root[lang="zh-CN"] .h1,
:root[lang="zh-CN"] .h2,
:root[lang="zh-CN"] .h3,
:root[lang="zh-CN"] .h4,
:root[lang^="zh"] .h1,
:root[lang^="zh"] .h2,
:root[lang^="zh"] .h3,
:root[lang^="zh"] .h4 {
  font-family: var(--font-cjk);
  /* 中文标题常为「中英混排」（如「D1。<br>飞镖场<br>标配机型。」）需要
   * 留出英文 display 与中文共存空间：英文部分仍可用 display，但仍走同族
   * 时显示更稳，故这里用 cjk 全家同样可接收。 */
}
:root[lang="zh-CN"] .h1,
:root[lang^="zh"] .h1 {
  letter-spacing: -0.005em;   /* 中文方块字本身已自带字格呼吸，几乎不需要负字距 */
  line-height: 1.18;          /* 多行时上下行不再打架 */
  font-weight: 600;
}
:root[lang="zh-CN"] .h2,
:root[lang^="zh"] .h2 {
  letter-spacing: -0.002em;
  line-height: 1.22;
  font-weight: 500;
}
:root[lang="zh-CN"] .h3,
:root[lang^="zh"] .h3 {
  letter-spacing: 0;
  line-height: 1.30;
  font-weight: 500;
}
:root[lang="zh-CN"] .h4,
:root[lang^="zh"] .h4 {
  letter-spacing: 0;
  line-height: 1.38;
  font-weight: 500;
}
/* 中文长文行高也松一档：方块字视觉重心低，需要更多上下行间距 */
:root[lang="zh-CN"] body,
:root[lang^="zh"] body { line-height: 1.70; }
:root[lang="zh-CN"] .lead,
:root[lang^="zh"] .lead { line-height: 1.62; }
:root[lang="zh-CN"] .body,
:root[lang^="zh"] .body { line-height: 1.72; }
:root[lang="zh-CN"] .feature-body,
:root[lang^="zh"] .feature-body { line-height: 1.78; }
/* 中文导航字号略升，避免被等宽 mono 12px 视觉压扁 */
:root[lang="zh-CN"] .nav-links,
:root[lang^="zh"] .nav-links { font-size: 13px; }
/* CTA title 同样多行时需要更松 */
:root[lang="zh-CN"] .cta-title,
:root[lang^="zh"] .cta-title { line-height: 1.24; letter-spacing: -0.005em; }
/* launch-card 标题与 lc-desc 同步松弛 */
:root[lang="zh-CN"] .lc-title,
:root[lang^="zh"] .lc-title { letter-spacing: -0.01em; line-height: 1.22; }
:root[lang="zh-CN"] .lc-desc,
:root[lang^="zh"] .lc-desc { line-height: 1.65; }
:root[lang="zh-CN"] .feature-title,
:root[lang^="zh"] .feature-title { letter-spacing: 0; line-height: 1.32; }
:root[lang="zh-CN"] .step-title,
:root[lang^="zh"] .step-title { letter-spacing: 0; line-height: 1.32; }
:root[lang="zh-CN"] .price-name,
:root[lang^="zh"] .price-name { letter-spacing: -0.005em; line-height: 1.18; }
:root[lang="zh-CN"] .price-amount,
:root[lang^="zh"] .price-amount { letter-spacing: -0.01em; line-height: 1.15; }
:root[lang="zh-CN"] .qa-question,
:root[lang^="zh"] .qa-question { letter-spacing: 0; line-height: 1.45; }

.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--fg-2); max-width: 56ch; }
.body { font-size: var(--text-base); line-height: 1.65; color: var(--fg-2); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.tnum { font-variant-numeric: tabular-nums; }

/* ─── Top navigation ─── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 14px;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 22px; height: 22px;
  display: inline-block;
  vertical-align: middle;
}
.nav-links {
  display: flex; gap: var(--space-6); align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
}
.nav-links a {
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); border-bottom-color: var(--accent); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border-strong); color: var(--fg); font-size: 18px; }
.lang-switch {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 4px 10px;
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
  white-space: nowrap;
}
.lang-switch:hover { color: var(--fg); border-color: var(--fg-2); }
.lang-switch .active-lang { color: var(--accent); border-color: var(--accent); }

/* ─── Topnav right group (lang + menu) ─── */
.topnav-right { display: flex; align-items: center; gap: var(--space-3); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .topnav .nav-links.open {
    display: flex;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-4) var(--container-gutter) var(--space-6);
    gap: var(--space-3);
  }
  .topnav .nav-links.open a,
  .topnav .nav-links.open .drop-trigger { padding: var(--space-3) 0; }
  .nav-links .lang-switch { display: none; }
  .topnav .nav-links.open .lang-switch { display: inline-flex; }
}

/* ─── Nav dropdown — 产品 submenu (D1 / T1) ─── */
.nav-dropdown {
  position: relative;
  display: flex;
}
.nav-dropdown .drop-trigger {
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border-top: none; border-left: none; border-right: none;
  font: inherit; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em;
}
.nav-dropdown .drop-trigger::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--motion-fast) var(--ease);
}
.nav-dropdown:hover .drop-trigger::after {
  transform: rotate(180deg);
}
.nav-dropdown .drop-trigger:hover { color: var(--fg); }
.nav-dropdown.active .drop-trigger { color: var(--fg); border-bottom-color: var(--accent); }
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-3) 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-fast) var(--ease), visibility var(--motion-fast) var(--ease);
  z-index: 60;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown .dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-6);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  border: none;
  transition: color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.nav-dropdown .dropdown-menu a:hover {
  color: var(--fg);
  background: var(--surface-2);
}
@media (max-width: 760px) {
  .nav-dropdown { flex-direction: column; }
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 0 0 0 var(--space-5);
    margin-top: 0;
  }
  .nav-dropdown .dropdown-menu a { padding: var(--space-2) 0; font-size: 12px; }
  .nav-dropdown.active .drop-trigger { border-bottom-color: transparent; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid var(--border-strong);
  transition: color var(--motion-base) var(--ease), background var(--motion-base) var(--ease), border-color var(--motion-base) var(--ease), transform var(--motion-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
}
.btn-primary:hover  { background: var(--accent-hover);  border-color: var(--accent-hover); }
.btn-primary:active { background: var(--accent-active); border-color: var(--accent-active); }
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--fg-2); }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding: 8px 0;
}
.btn-ghost:hover { color: var(--fg); }

/* ─── Status pills ─── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 4px 12px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
}
.pill::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--muted);
  display: inline-block;
  border-radius: 50%;
}
.pill-available::before { background: var(--accent); }
.pill-soon::before      { background: var(--warn); }
.pill-preview::before   { background: var(--info); }
.pill-free::before      { background: var(--success); }
.pill-available { color: var(--accent); border-color: var(--accent-line); }
.pill-soon      { color: var(--warn); border-color: color-mix(in oklab, var(--warn) 35%, transparent); }
.pill-preview   { color: var(--info); border-color: color-mix(in oklab, var(--info) 35%, transparent); }
.pill-free      { color: var(--success); border-color: color-mix(in oklab, var(--success) 35%, transparent); }

/* ─── Grid ─── */
.grid { display: grid; gap: var(--space-6); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .h1 { font-size: clamp(40px, 11vw, 80px); }
  .h2 { font-size: clamp(32px, 8vw, 56px); }
  .h3 { font-size: clamp(28px, 6vw, 36px); }
}

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-8);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--motion-base) var(--ease),
              background var(--motion-base) var(--ease),
              box-shadow var(--motion-base) var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}

/* ─── Launcher card (index.html navigation tiles) ─── */
.launch-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  min-height: 280px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--motion-base) var(--ease),
              background var(--motion-base) var(--ease),
              transform var(--motion-fast) var(--ease),
              box-shadow var(--motion-base) var(--ease);
}
.launch-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(224, 104, 72, 0.06);
}
.lc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
}
.lc-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-top: var(--space-3);
}
.lc-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-3);
  line-height: 1.6;
  max-width: 32ch;
}
.lc-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: var(--space-8);
  display: flex; align-items: center; gap: 8px;
  transition: color var(--motion-fast) var(--ease);
}
.launch-card:hover .lc-cta { color: var(--accent); }
.lc-cta::after { content: '→'; transition: transform var(--motion-base) var(--ease); }
.launch-card:hover .lc-cta::after { transform: translateX(4px); }
.lc-pill { position: absolute; top: var(--space-5); right: var(--space-5); }

/* ─── Product render container ─── */
.product-render {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.product-render.tall { aspect-ratio: 4 / 5; }
.product-render.square { aspect-ratio: 1 / 1; }

.product-render .ph-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 11px; color: var(--muted-2);
  letter-spacing: 0.25em; text-transform: uppercase;
}

/* ─── Product image ─── */
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ─── Spec table — industrial ─── */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); transition: background var(--motion-fast) var(--ease); }
.spec-table tr:hover { background: var(--surface); }
.spec-table tr:first-child { border-top: 1px solid var(--border); }
.spec-table th, .spec-table td {
  text-align: left; padding: var(--space-4) var(--space-5);
  font-family: var(--font-mono);
  font-size: 13px;
  vertical-align: top;
}
.spec-table th {
  width: 36%;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 400;
}
.spec-table td { color: var(--fg); font-feature-settings: "tnum"; }
.spec-table td .tag-tbd { color: var(--muted-2); font-style: italic; }

.feature-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-bottom: var(--space-4);
}
.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.feature-body {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 52ch;
}

/* ─── Pipeline / step strip ─── */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pipeline-3 { grid-template-columns: repeat(3, 1fr); }
.pipeline .step { padding: var(--space-8) var(--space-6); border-right: 1px solid var(--border); position: relative; transition: background var(--motion-fast) var(--ease); }
.pipeline .step:last-child { border-right: none; }
.pipeline .step:hover { background: var(--surface); }
.pipeline .step-num {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: var(--space-4);
}
.pipeline .step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
}
.pipeline .step-body {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 960px) { .pipeline { grid-template-columns: repeat(2, 1fr); } .pipeline .step:nth-child(2) { border-right: none; } .pipeline .step:nth-child(1), .pipeline .step:nth-child(2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 600px) { .pipeline { grid-template-columns: 1fr; } .pipeline .step { border-right: none; border-bottom: 1px solid var(--border); } .pipeline .step:last-child { border-bottom: none; } }

/* ─── CTA section ─── */
.cta {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-softer) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: var(--text-3xl); letter-spacing: -0.025em; max-width: 18ch; line-height: 1.05; }
.cta-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ─── Footer ─── */
.footer { padding: var(--space-16) 0 var(--space-8); border-top: 1px solid var(--border); color: var(--muted); font-size: var(--text-sm); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr; gap: var(--space-8); }
.footer-brand { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.1em; }
.footer h4 { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); margin-bottom: var(--space-4); }
.footer ul { list-style: none; }
.footer li { margin-bottom: var(--space-3); }
.footer li a { color: var(--fg-2); font-size: 13px; transition: color var(--motion-fast) var(--ease); }
.footer li a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: var(--space-12); padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4);
  font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); letter-spacing: 0.2em;
}

/* ─── Footer social links ─── */
.footer-social { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-social .social-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--fg-2);
  transition: color var(--motion-fast) var(--ease);
}
.footer-social .social-item:hover { color: var(--accent); }
.social-icon {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); flex-shrink: 0;
  transition: border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.social-icon svg { width: 16px; height: 16px; display: block; }
.social-item:hover .social-icon { border-color: var(--accent); background: var(--accent-soft); }
.social-item:hover .social-icon svg { stroke: var(--accent); }
.social-handle { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }
.social-label { font-size: 12px; color: var(--muted-2); }

@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ─── Tabs (docs page) ─── */
.tabs { display: flex; border-bottom: 1px solid var(--border); gap: 0; overflow-x: auto; }
.tab {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.tab:hover { color: var(--fg); }
.tab.active { color: var(--fg); border-bottom-color: var(--accent); }
.tab-panel { display: none; padding: var(--space-12) 0; }
.tab-panel.active { display: block; }

/* ─── Code block ─── */
.code-block {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: var(--space-6) var(--space-6);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--fg-2);
  white-space: pre;
}
.code-block .c-comment { color: var(--muted); }
.code-block .c-key     { color: var(--accent); }
.code-block .c-str     { color: var(--success); }
.code-block .c-num     { color: var(--warn); }
.code-block .c-fn      { color: var(--info); }

/* ─── Hero variants ─── */
.hero {
  padding: var(--section-y) 0 var(--space-16);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-softer) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-product { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.hero-product .hero-copy { padding-right: var(--space-8); }
@media (max-width: 900px) {
  .hero-product { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-product .hero-copy { padding-right: 0; }
}

/* ─── Pricing card ─── */
.price-card {
  border: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  display: flex; flex-direction: column;
  min-height: 460px;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--motion-base) var(--ease),
              background var(--motion-base) var(--ease),
              box-shadow var(--motion-base) var(--ease);
}
.price-card:hover { border-color: var(--border-strong); background: var(--surface); box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.price-card .featured-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--accent); color: var(--accent-on);
  font-family: var(--font-mono); font-size: 9px;
  padding: 4px 14px; letter-spacing: 0.18em; text-transform: uppercase;
}
.price-plan  { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; }
.price-name  { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; margin-top: var(--space-3); letter-spacing: -0.025em; }
.price-amount{ font-family: var(--font-display); font-size: var(--text-3xl); margin-top: var(--space-6); letter-spacing: -0.035em; font-weight: 500; }
.price-amount-note { font-family: var(--font-mono); font-size: 10px; color: var(--muted); margin-top: var(--space-2); letter-spacing: 0.12em; }
.price-features { margin-top: var(--space-8); flex: 1; list-style: none; }
.price-features li { padding: var(--space-3) 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-2); display: flex; gap: 12px; align-items: flex-start; }
.price-features li:first-child { border-top: none; }
.price-features li::before { content: '+'; color: var(--accent); font-family: var(--font-mono); flex-shrink: 0; margin-top: 2px; font-size: 11px; }
.price-cta { margin-top: var(--space-6); }

/* ─── Waitlist form (T1) ─── */
.waitlist-form { display: flex; max-width: 520px; border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); transition: border-color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease); }
.waitlist-form:focus-within { border-color: var(--accent); }
.waitlist-form input {
  flex: 1; padding: 14px 18px;
  background: transparent; border: none; color: var(--fg);
  font-family: var(--font-mono); font-size: 13px;
}
.waitlist-form input:focus { outline: none; }
.waitlist-form input::placeholder { color: var(--muted-2); font-size: 12px; }
.waitlist-form button {
  padding: 14px 24px;
  background: var(--accent); color: var(--accent-on);
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  border: none;
  transition: background var(--motion-fast) var(--ease);
}
.waitlist-form button:hover { background: var(--accent-hover); }

/* ─── Telemetry / status strip ─── */
.telemetry {
  display: flex; gap: var(--space-8); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase;
}
.telemetry span { display: inline-flex; align-items: center; gap: 8px; }
.telemetry span::before { content: ''; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }

/* ─── Note / disclaimer ─── */
.note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  padding-left: var(--space-5);
  border-left: 1px solid var(--border-strong);
  line-height: 1.7;
  max-width: 70ch;
}

/* ─── Phone mockup (Bullink) ─── */
.phone-mockup {
  width: 100%; max-width: 280px;
  aspect-ratio: 9 / 19;
  border: 2px solid var(--border-strong);
  border-radius: 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  margin: 0 auto;
  position: relative;
  padding: 28px 16px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-lg);
}
.phone-mockup::before {
  content: ''; position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px; background: var(--bg); border-radius: 999px;
}
.phone-screen-row {
  height: 56px; border: 1px solid var(--border); background: var(--bg);
  display: flex; align-items: center; padding: 0 14px;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
  letter-spacing: 0.1em;
}
.phone-screen-row.accent { border-color: var(--accent-line); color: var(--accent); }

/* ─── Helpers ─── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.text-mono    { font-family: var(--font-mono); }
.uppercase    { text-transform: uppercase; letter-spacing: 0.18em; }
.flex         { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-col     { display: flex; flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.gap-2 { gap: var(--space-2); } .gap-3 { gap: var(--space-3); } .gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); } .gap-8 { gap: var(--space-8); } .gap-12 { gap: var(--space-12); }
.mt-2 { margin-top: var(--space-2); }   .mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }   .mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }   .mt-12 { margin-top: var(--space-12); }  .mt-16 { margin-top: var(--space-16); }
.mb-2 { margin-bottom: var(--space-2); } .mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); } .mb-12 { margin-bottom: var(--space-12); }
.maxw-prose   { max-width: 65ch; }
.maxw-narrow  { max-width: 42ch; }
.border-t     { border-top: 1px solid var(--border); }
.border-b     { border-bottom: 1px solid var(--border); }
.kbd {
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 6px; border: 1px solid var(--border-strong);
  color: var(--fg-2);
}

/* ─── Camera diagram (D1/T1 hero) ─── */
.cam-diagram { position: relative; aspect-ratio: 1 / 1; max-width: 320px; margin: 0 auto; }
.cam-diagram .target {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 70%; aspect-ratio: 1 / 1; border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle, var(--surface) 60%, transparent 100%);
}
.cam-diagram .target::before, .cam-diagram .target::after {
  content: ''; position: absolute; background: var(--border-strong);
}
.cam-diagram .target::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.cam-diagram .target::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.cam-diagram .cam {
  position: absolute; width: 20px; height: 20px;
  border: 1px solid var(--accent); background: var(--bg);
  transition: transform var(--motion-fast) var(--ease);
}
.cam-diagram .cam:hover { transform: scale(1.1); }
.cam-diagram .cam::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 6px; height: 6px; background: var(--accent);
}
.cam-diagram .cam-label {
  position: absolute;
  font-family: var(--font-mono); font-size: 9px; color: var(--muted);
  letter-spacing: 0.18em;
}
.cam-diagram.d1 .cam:nth-child(2) { top: 50%; left: 0; transform: translate(-50%, -50%); }
.cam-diagram.d1 .cam:nth-child(2) .cam-label,
.cam-diagram.d1 .cam:nth-child(3) .cam-label { display: block; }
.cam-diagram.d1 .cam-label.l-cam-a { top: 50%; left: -40px; transform: translateY(-50%); }
.cam-diagram.d1 .cam-label.l-cam-b { top: 50%; right: -40px; transform: translateY(-50%); }
.cam-diagram.d1 .cam:nth-child(3) { top: 50%; right: 0; transform: translate(50%, -50%); }

.cam-diagram.t1 .cam:nth-child(2) { top: 12%; left: 50%; transform: translate(-50%, -50%); }
.cam-diagram.t1 .cam:nth-child(3) { bottom: 12%; left: 18%; transform: translate(-50%, 50%); }
.cam-diagram.t1 .cam:nth-child(4) { bottom: 12%; right: 18%; transform: translate(50%, 50%); }

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

/* ═══════════════════════════════════════════════════════════════════
   DOWNLOAD / PLATFORM CARDS
   ═══════════════════════════════════════════════════════════════════ */

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 28px 28px;
  text-align: center;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.platform-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.platform-card-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.platform-card h3 { margin-bottom: 8px; }
.platform-card .platform-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.platform-card .btn { width: 100%; justify-content: center; }
.platform-card .btn + .btn { margin-top: 8px; }
.platform-divider {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.platform-divider-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */

/* Base state for animated elements */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated state */
.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════════════
   HERO ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════ */

/* Hero image glow effect */
.hero-render {
  position: relative;
}

.hero-render::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, var(--accent-softer) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating animation for hero image */
.hero-render img {
  transition: transform 0.3s ease-out;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════════════════════════
   SPEC CARDS (replacing table)
   ═══════════════════════════════════════════════════════════════════ */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.spec-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spec-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 4px;
}

.spec-card-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--fg);
}

.spec-card-detail {
  font-size: 13px;
  color: var(--fg-2);
  margin-top: 8px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURE ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════ */

.feature {
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0;
  transition: border-color var(--motion-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature:hover::before {
  height: 100%;
}

.feature:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}

/* Feature icon — monoline SVG slot (anti-AI-slop: 1.5px stroke, currentColor) */
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-softer) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--accent-line);
  border-radius: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature:hover .feature-icon {
  transform: scale(1.05);
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-soft) 0%, color-mix(in oklab, var(--accent) 14%, transparent) 100%);
}

/* ═══════════════════════════════════════════════════════════════════
   IMAGE PLACEHOLDERS
   ═══════════════════════════════════════════════════════════════════ */

.image-placeholder {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-elev) 100%);
  border: 1px dashed var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-faint) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}

.image-placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.image-placeholder-size {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-3);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════════
   INTERACTIVE ELEMENTS
   ═══════════════════════════════════════════════════════════════════ */

/* Magnetic button effect */
.btn-magnetic {
  position: relative;
  overflow: hidden;
}

.btn-magnetic::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-magnetic:hover::after {
  width: 300px;
  height: 300px;
}

/* Card tilt effect on hover */
.tilt-card {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════════════════════════════════════ */

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
  margin: 0 auto;
  max-width: 200px;
}

/* Gradient text accent */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════
   IMAGE GALLERY (for product details)
   ═══════════════════════════════════════════════════════════════════ */

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

.image-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.image-gallery-item:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.image-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-gallery-item:hover img {
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .image-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   BREATHING GLOW — 呼吸灯效果
   ═══════════════════════════════════════════════════════════════════ */

/* Hero 背景光晕呼吸缩放 */
.hero::before {
  animation: breathe-hero-bg 5s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}
@keyframes breathe-hero-bg {
  0% { opacity: 0.2; transform: scale(0.9); }
  100% { opacity: 0.8; transform: scale(1.25); }
}

/* CTA 背景光晕呼吸 */
.cta::before {
  animation: breathe-cta-bg 4s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}
@keyframes breathe-cta-bg {
  0% { opacity: 0.15; transform: translateX(-50%) scale(0.85); }
  100% { opacity: 0.7; transform: translateX(-50%) scale(1.15); }
}

/* Telemetry 圆点脉冲 */
.telemetry span::before {
  animation: breathe-dot 2s ease-in-out infinite;
}
@keyframes breathe-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 rgba(224, 104, 72, 0); }
  50% { opacity: 0.4; transform: scale(2.5); box-shadow: 0 0 12px rgba(224, 104, 72, 0.5); }
}

/* Brand mark 橙色小方块呼吸 */
.brand-mark {
  animation: breathe-brand 2.5s ease-in-out infinite alternate;
}
@keyframes breathe-brand {
  0% { opacity: 0.5; box-shadow: 0 0 0 rgba(224, 104, 72, 0); }
  100% { opacity: 1; box-shadow: 0 0 16px rgba(224, 104, 72, 0.5); }
}

/* Status pill dot 呼吸 */
.pill::before {
  animation: breathe-pill 2.5s ease-in-out infinite alternate;
}
@keyframes breathe-pill {
  0% { opacity: 0.4; box-shadow: 0 0 0 rgba(224, 104, 72, 0); }
  100% { opacity: 1; box-shadow: 0 0 10px rgba(224, 104, 72, 0.4); }
}

/* Launch card 悬停光晕 (已有 box-shadow transition) */
.launch-card:hover {
  box-shadow: 0 0 60px rgba(224, 104, 72, 0.12),
              0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Product card hover 光晕 + 阴影叠加 */
.card {
  transition: border-color var(--motion-base) var(--ease),
              background var(--motion-base) var(--ease),
              box-shadow 0.5s ease;
}
.card:hover {
  box-shadow: var(--shadow-sm), 0 0 30px rgba(224, 104, 72, 0.05);
}

/* Typewriter typing typo — 闪烁的错别字标记 */
.typewriter-typo::after {
  content: '';
  display: inline-block;
  animation: typewriter-blink 0.6s step-end infinite;
}
.typewriter-typo {
  color: var(--accent);
  text-decoration: underline wavy var(--accent);
  text-underline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════════
   TYPEWRITER CURSOR
   ═══════════════════════════════════════════════════════════════════ */
.typewriter-cursor::after {
  content: '|';
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  animation: typewriter-blink 0.6s step-end infinite;
  margin-left: 2px;
}
@keyframes typewriter-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Reduced motion — 所有呼吸动画静音 */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .cta::before,
  .telemetry span::before,
  .brand-mark,
  .pill::before,
  .launch-card,
  .card,
  .telemetry span::before::after {
    animation: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    transition: none !important;
  }
  .typewriter-cursor::after,
  .typewriter-typo::after {
    display: none;
  }
  body::before,
  body::after {
    animation: none !important;
    opacity: 0.5 !important;
  }
  .particle-canvas {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   AURORA BACKGROUND — 极光背景（两层独立漂移 + 呼吸律动）
   ═══════════════════════════════════════════════════════════════════ */

/* 第一层：竖向「极光幕布」— 高瘦椭圆模拟光帘垂落 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 250px 900px at 18% 45%, rgba(224, 104, 72, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 200px 700px at 42% 30%, rgba(122, 147, 179, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 300px 800px at 72% 50%, rgba(224, 104, 72, 0.06) 0%, transparent 50%),
    radial-gradient(circle 500px at 90% 25%, rgba(122, 147, 179, 0.04) 0%, transparent 50%);
  background-size: 220% 220%;
  background-position: 50% 50%;
  animation:
    aurora-drift-1 25s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate,
    aurora-pulse-1 7s ease-in-out infinite alternate;
}

/* 第二层：横向「光带」— 宽扁色带漂移，与幕布交叉形成层次 */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 120px at 30% 60%, rgba(107, 154, 85, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse 700px 160px at 65% 35%, rgba(224, 104, 72, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 600px 100px at 50% 80%, rgba(122, 147, 179, 0.03) 0%, transparent 55%);
  background-size: 200% 200%;
  background-position: 50% 50%;
  animation:
    aurora-drift-2 30s cubic-bezier(0.55, 0, 0.45, 1) infinite alternate,
    aurora-pulse-2 9s ease-in-out infinite alternate 0.7s;
}

@keyframes aurora-drift-1 {
  0%   { background-position: 0% 0%; }
  100% { background-position: 25% 15%; }
}

@keyframes aurora-drift-2 {
  0%   { background-position: 50% 50%; }
  100% { background-position: 15% 35%; }
}

@keyframes aurora-pulse-1 {
  0%   { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes aurora-pulse-2 {
  0%   { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════
   PARTICLE CANVAS — 闪烁粒子
   ═══════════════════════════════════════════════════════════════════ */

.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
