/* ============================================================
   灵屿 Lingyu 官网 v2 — 高级设计系统
   深色 OLED · 品牌紫青渐变克制点缀 · Double-Bezel 卡片
   字体：Space Grotesk (self-host) + 中文系统栈
   ============================================================ */

/* ---------- 设计令牌 ---------- */

:root {
  /* 背景层级 */
  --bg: #050506;
  --bg-elev: #0a0a0f;
  --bg-soft: #0d0d14;

  /* 品牌渐变（产品图标同源，克制使用） */
  --violet: #8b5cf6;
  --cyan: #4fd8f5;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --grad-soft: linear-gradient(120deg, rgba(139,92,246,.14), rgba(79,216,245,.10));

  /* 文本 */
  --text: #f2f2f5;
  --text-dim: #9a9aa8;
  --text-faint: #5c5c6a;

  /* 表面 */
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.16);

  /* 圆角系统（Shape Consistency Lock） */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* 动效曲线（禁止 linear/ease-in-out） */
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* 字体 */
  --font-display: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;

  --maxw: 1120px;
}

/* ---------- 字体 ---------- */

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 基础 ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(139, 92, 246, 0.35);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 140px 0;
  position: relative;
}

/* ---------- 背景氛围（fixed 层，不随滚动 repaint） ---------- */

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 15% 0%, rgba(139, 92, 246, 0.10), transparent 60%),
    radial-gradient(50% 40% at 85% 10%, rgba(79, 216, 245, 0.07), transparent 60%),
    radial-gradient(70% 55% at 50% 100%, rgba(139, 92, 246, 0.05), transparent 65%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 100%);
}

/* ---------- 通用排版 ---------- */

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-head {
  margin-bottom: 64px;
  max-width: 640px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-top: 20px;
}

.section-sub {
  font-size: 16.5px;
  color: var(--text-dim);
  max-width: 540px;
  margin-top: 16px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.link {
  color: var(--cyan);
  border-bottom: 1px solid rgba(79, 216, 245, 0.35);
  transition: border-color 0.3s var(--ease-smooth);
}

.link:hover {
  border-color: var(--cyan);
}

/* ---------- 按钮（Button-in-Button 架构） ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s var(--ease-spring),
    background 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

.btn-xl {
  padding: 19px 40px;
  font-size: 17px;
  font-weight: 600;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 6px 30px rgba(139, 92, 246, 0.30);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 12px 44px rgba(139, 92, 246, 0.42);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--hairline);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}

/* 按钮内嵌图标圆 */
.btn-icon-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.35s var(--ease-spring);
}

.btn-icon-arrow svg {
  width: 14px;
  height: 14px;
}

.btn:hover .btn-icon-arrow {
  transform: translate(2px, -2px);
}

.gh-icon, .dl-icon {
  width: 18px;
  height: 18px;
}

.btn-ext {
  width: 15px;
  height: 15px;
}

/* ---------- 悬浮胶囊导航 ---------- */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 20px 20px 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 12px 10px 20px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 15, 0.72);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.45s var(--ease-spring), opacity 0.3s var(--ease-smooth);
}

.nav-wrap.scrolled .nav-pill {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 18px 52px rgba(0, 0, 0, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 26px;
  height: 26px;
}

.brand-name em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-dim);
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.25s var(--ease-smooth);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.nav-cta {
  padding: 9px 20px;
  font-size: 14px;
}

/* 语言切换 */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth);
  font-family: var(--font-body);
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: var(--grad);
  color: #fff;
}

.lang-divider {
  width: 1px;
  height: 14px;
  background: var(--hairline);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

.hero-copy {
  position: relative;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 66px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 24px 0 26px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

/* Hero 灵动岛场景 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.island-scene {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.scene-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), rgba(79, 216, 245, 0.06) 45%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  animation: glow-breathe 7s var(--ease-smooth) infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

/* 灵动岛胶囊（Liquid Glass 近似） */
.island {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03)),
    rgba(14, 14, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.55);
  cursor: default;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
}

.island::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.island:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 32px 90px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(139, 92, 246, 0.16);
}

.island-notch {
  position: relative;
  width: 10px;
  height: 10px;
  margin-right: 18px;
  flex-shrink: 0;
}

.island-cam {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a3a46, #0c0c10 70%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.14);
}

.island-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.4s var(--ease-smooth);
}

.island-time {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.island-divider {
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, 0.16);
}

.island-weather {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
}

.wi {
  width: 14px;
  height: 14px;
}

.island-song {
  color: var(--text-dim);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scene-label {
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- 功能 Bento ---------- */

.features {
  background: var(--bg-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

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

/* Double-Bezel 卡片：外层壳 + 内芯 */
.bento-card {
  border-radius: var(--r-lg);
  padding: 3px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 45%);
  transition: transform 0.45s var(--ease-spring);
}

.bento-card:hover {
  transform: translateY(-4px);
}

.bento-inner {
  height: 100%;
  border-radius: calc(var(--r-lg) - 3px);
  background: linear-gradient(170deg, rgba(16, 16, 24, 0.9), rgba(10, 10, 15, 0.9));
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bento-num {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

.bento-icon {
  width: 26px;
  height: 26px;
  color: var(--text-dim);
  transition: color 0.3s var(--ease-smooth);
}

.bento-card:hover .bento-icon {
  color: var(--cyan);
}

.bento-inner h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.bento-inner p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Bento 视觉元素 */
.bento-viz {
  margin-top: auto;
  padding-top: 20px;
}

.music-viz {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 42px;
}

.eq-bar {
  width: 5px;
  border-radius: 3px;
  background: var(--grad);
  opacity: 0.7;
  animation: eq-bounce 1.1s var(--ease-smooth) infinite;
  animation-delay: var(--d, 0s);
  transform-origin: bottom;
}

@keyframes eq-bounce {
  0%, 100% { height: 18%; }
  50% { height: 100%; }
}

.weather-viz {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.temp-big {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.temp-label {
  font-size: 15px;
  color: var(--text-dim);
}

.bento-row {
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.bento-row > div:first-child {
  flex: 1;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 260px;
}

.tool-chip {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--hairline);
  transition: all 0.3s var(--ease-smooth);
}

.tool-chip:hover {
  color: var(--text);
  border-color: var(--hairline-strong);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- 产品展示 ---------- */

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-points {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text-dim);
}

.showcase-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

/* 设备模拟（Double-Bezel） */
.device-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.device-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79, 216, 245, 0.10), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.device-screen {
  position: relative;
  width: 330px;
  max-width: 100%;
  padding: 3px;
  border-radius: 48px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 40%, rgba(139, 92, 246, 0.08));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
}

.device-screen::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 45px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.device-screen > * {
  position: relative;
}

.device-island {
  position: relative;
  width: 128px;
  height: 32px;
  margin: 0 auto;
  background: rgba(6, 6, 9, 0.9);
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.device-cam {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2e2e38, #0a0a0e 70%);
}

.device-body {
  background: linear-gradient(170deg, rgba(17, 17, 26, 0.96), rgba(9, 9, 14, 0.96));
  margin: 0 3px 3px;
  border-radius: 0 0 45px 45px;
  padding: 34px 30px 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-chip {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-song {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.device-progress {
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.09);
  margin-top: 16px;
  overflow: hidden;
}

.device-progress i {
  display: block;
  height: 100%;
  width: 46%;
  border-radius: var(--r-pill);
  background: var(--grad);
  animation: progress-slide 3.6s var(--ease-smooth) infinite;
}

@keyframes progress-slide {
  0%, 100% { width: 46%; }
  50% { width: 70%; }
}

.device-meta {
  font-size: 12px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

/* ---------- 下载 ---------- */

.download-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 3px;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.35), rgba(255, 255, 255, 0.06) 35%, rgba(79, 216, 245, 0.25));
}

.download-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.download-inner {
  position: relative;
  border-radius: calc(var(--r-xl) - 3px);
  background: linear-gradient(170deg, rgba(15, 15, 23, 0.97), rgba(8, 8, 12, 0.97));
  padding: 72px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.download-meta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.04);
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.download-hint {
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- 开源 ---------- */

.opensource-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 3px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015) 50%);
}

.opensource-inner > * {
  border-radius: calc(var(--r-xl) - 3px);
  background: linear-gradient(170deg, rgba(14, 14, 21, 0.95), rgba(9, 9, 14, 0.95));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.opensource-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin: 40px 0 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  color: var(--text-dim);
}

.opensource-icon svg {
  width: 28px;
  height: 28px;
}

.opensource-copy {
  flex: 1;
  padding: 52px 48px 52px 8px;
  background: transparent !important;
  box-shadow: none !important;
}

.opensource-copy .section-sub {
  margin: 16px 0 30px;
}

/* ---------- 页脚 ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 52px 0;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-brand em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-logo {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-copy a {
  color: var(--text-dim);
  transition: color 0.25s var(--ease-smooth);
}

.footer-copy a:hover {
  color: var(--text);
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ---------- 滚动显现 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.8s var(--ease-spring),
    transform 0.8s var(--ease-spring),
    filter 0.8s var(--ease-spring);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 逐项延迟（Bento 节奏） */
.bento-card:nth-child(2) { transition-delay: 0.05s; }
.bento-card:nth-child(3) { transition-delay: 0.1s; }
.bento-card:nth-child(4) { transition-delay: 0.05s; }
.bento-card:nth-child(5) { transition-delay: 0.1s; }
.bento-card:nth-child(6) { transition-delay: 0.05s; }
.bento-card:nth-child(7) { transition-delay: 0.1s; }
.bento-card:nth-child(8) { transition-delay: 0.05s; }
.bento-card:nth-child(9) { transition-delay: 0.1s; }
.bento-card:nth-child(10) { transition-delay: 0.05s; }

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .showcase-text {
    text-align: center;
  }

  .showcase-points {
    align-items: center;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-wide {
    grid-column: span 2;
  }

  .bento-tall {
    grid-row: auto;
  }

  .download-inner {
    padding: 56px 40px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 90px 0;
  }

  .container, .hero-inner, .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-pill {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    margin-left: auto;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: auto;
  }

  .bento-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-chips {
    max-width: none;
  }

  .opensource-inner {
    flex-direction: column;
  }

  .opensource-icon {
    margin: 32px 0 0 32px;
  }

  .opensource-copy {
    padding: 28px 32px 36px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 无障碍降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .eq-bar,
  .device-progress i,
  .scene-glow {
    animation: none;
  }

  .island:hover {
    transform: none;
  }

  .btn,
  .btn-icon-arrow {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav-pill,
  .eyebrow-pill,
  .btn-ghost,
  .island {
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
