/* ============================================================
   LZY Play · 学习记录 vlog
   深色科技风主界面样式
   目录：1 变量与重置 · 2 通用组件 · 3 背景装饰 · 4 导航 ·
        5 Hero · 6 最新一期 · 7 视频库 · 8 学习轨迹 ·
        9 数据复盘 · 10 订阅 CTA · 11 页脚 · 12 响应式与动效
   ============================================================ */

/* ---------- 1. 变量与重置 ---------- */
:root {
  --bg: #07080d;
  --bg-2: #0b0d16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #e9ecf5;
  --muted: #9aa1b8;
  --dim: #6b7288;

  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --amber: #fbbf24;
  --blue: #60a5fa;

  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --radius: 18px;
  --radius-lg: 24px;
  --container: 1180px;
  --nav-h: 68px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 2. 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
}

.section-sub {
  margin-top: 10px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 15px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-primary {
  background: var(--grad);
  color: #0a0a12;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(124, 92, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(124, 92, 255, 0.45);
}

.btn-ghost {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-3);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.2s var(--ease);
}

.link-arrow:hover {
  gap: 12px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.16);
  border: 1px solid rgba(124, 92, 255, 0.4);
  color: #c3b6ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.tag-pink { background: rgba(244, 114, 182, 0.14); border-color: rgba(244, 114, 182, 0.4); color: #f7a8d1; }
.tag-cyan { background: rgba(34, 211, 238, 0.14); border-color: rgba(34, 211, 238, 0.4); color: #7ee6f5; }
.tag-amber { background: rgba(251, 191, 36, 0.14); border-color: rgba(251, 191, 36, 0.4); color: #fbd27a; }
.tag-violet { background: rgba(167, 139, 250, 0.16); border-color: rgba(167, 139, 250, 0.42); color: #cbb8ff; }
.tag-blue { background: rgba(96, 165, 250, 0.14); border-color: rgba(96, 165, 250, 0.4); color: #a6cbfd; }

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meta {
  color: var(--dim);
  font-size: 13px;
}

.chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.22s var(--ease);
}

.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.chip.is-active {
  background: rgba(124, 92, 255, 0.16);
  border-color: rgba(124, 92, 255, 0.55);
  color: #d6ccff;
}

.chip-sm {
  padding: 5px 12px;
  font-size: 13px;
}

/* ---------- 3. 背景装饰 ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.aurora-1 {
  top: -180px;
  left: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.75), transparent 68%);
}

.aurora-2 {
  top: -120px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 68%);
}

.aurora-3 {
  top: 46vh;
  left: 42%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.32), transparent 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 62% at 50% 0%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 62% at 50% 0%, #000 35%, transparent 100%);
}

/* 内容层压在装饰之上 */
.nav, main, .footer {
  position: relative;
  z-index: 1;
}

/* ---------- 4. 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(7, 8, 13, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid var(--border);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text b {
  font-size: 16px;
  letter-spacing: 0.01em;
}

.brand-text i {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

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

.nav-link {
  position: relative;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 11px 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  padding: 92px 0 104px;
  text-align: center;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.05); }
}

.hero-title {
  margin-top: 26px;
  max-width: 17ch;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.hero-sub {
  margin-top: 22px;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 560px);
  margin-top: 34px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.search:focus-within {
  border-color: rgba(124, 92, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}

.search-icon {
  flex: 0 0 auto;
  color: var(--dim);
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  background: none;
  border: 0;
  font-size: 15px;
}

.search input::placeholder {
  color: var(--dim);
}

.search input:focus {
  outline: none;
}

.quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.quick-label {
  color: var(--dim);
  font-size: 13px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 760px;
  margin-top: 56px;
}

.stat {
  padding: 20px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.stat dt {
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.stat dd {
  margin-top: 6px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat dd i {
  margin-left: 3px;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- 6. 最新一期 ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.feature-media {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.feature-media:hover img {
  transform: scale(1.05);
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(11, 13, 22, 0.85));
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  color: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.feature-media:hover .play {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(124, 92, 255, 0.45);
}

.duration {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 38px;
}

.feature-title {
  font-size: clamp(21px, 2.4vw, 27px);
}

.feature-desc {
  color: var(--muted);
  font-size: 15px;
}

.feature-points {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

.feature-points b {
  margin-right: 6px;
  color: var(--text);
  font-weight: 600;
}

/* ---------- 7. 视频库 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s,
    opacity 0.3s, filter 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card.is-hidden {
  display: none;
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.07);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 20px 22px;
}

.card-title {
  font-size: 17px;
  line-height: 1.45;
  transition: color 0.2s;
}

.card:hover .card-title {
  color: #fff;
}

.card-desc {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card .tag {
  align-self: flex-start;
}

.empty {
  margin-top: 40px;
  text-align: center;
  color: var(--dim);
  font-size: 15px;
}

/* ---------- 8. 学习轨迹 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 28px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--violet), rgba(34, 211, 238, 0.35), transparent);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.tl-dot {
  position: absolute;
  left: -28px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16);
}

.tl-time {
  padding-top: 6px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tl-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.tl-card:hover {
  transform: translateX(5px);
  border-color: var(--border-strong);
}

.tl-card h3 {
  font-size: 17px;
}

.tl-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 9. 数据复盘 ---------- */
.dash {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 22px;
}

.panel {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.panel-head h3 {
  font-size: 17px;
}

.panel-tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.32);
  color: #7ee6f5;
  font-size: 12px;
  font-weight: 600;
}

.bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  height: 236px;
}

.bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.bar-col {
  width: 100%;
  max-width: 46px;
  height: 0;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  opacity: 0.9;
  transition: height 1s var(--ease);
}

.bar:hover .bar-col {
  opacity: 1;
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.55);
}

.is-in .bar-col {
  height: var(--h);
}

.bar-label {
  order: 3;
  color: var(--dim);
  font-size: 12.5px;
}

.bar-val {
  position: absolute;
  bottom: calc(var(--h) + 26px);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.4s 0.6s;
}

.is-in .bar-val {
  opacity: 1;
}

.panel-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.ring-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 172px;
  margin: 0 auto;
}

.ring {
  width: 100%;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 10;
}

.ring-bg {
  stroke: rgba(255, 255, 255, 0.08);
}

.ring-fg {
  stroke: url(#ringGrad);
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.4s var(--ease);
}

.is-in .ring-fg {
  stroke-dashoffset: 91.5; /* 326.7 × (1 - 0.72) */
}

.ring-text {
  position: absolute;
  display: grid;
  justify-items: center;
}

.ring-text b {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ring-text small {
  font-size: 14px;
  font-weight: 600;
}

.ring-text span {
  color: var(--dim);
  font-size: 12.5px;
}

.mini-stats {
  display: grid;
  gap: 10px;
  list-style: none;
}

.mini-stats li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.mini-stats li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mini-stats span {
  color: var(--muted);
}

.mini-stats b {
  font-weight: 700;
}

/* ---------- 10. 订阅 CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 66px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(124, 92, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

.cta-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  width: 520px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.55), transparent 70%);
  filter: blur(70px);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta h2 {
  position: relative;
  font-size: clamp(22px, 3.4vw, 32px);
}

.cta p {
  position: relative;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.subscribe {
  position: relative;
  display: flex;
  gap: 10px;
  width: min(100%, 520px);
  margin: 30px auto 0;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(7, 8, 13, 0.6);
  border: 1px solid var(--border-strong);
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.subscribe input::placeholder {
  color: var(--dim);
}

.subscribe input:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}

.form-note {
  position: relative;
  min-height: 22px;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 13.5px;
}

/* ---------- 11. 页脚 ---------- */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: rgba(7, 8, 13, 0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 56px 24px 40px;
}

.f-brand p {
  margin-top: 14px;
  max-width: 30ch;
  color: var(--dim);
  font-size: 14px;
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.f-col h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.f-col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}

.f-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 13px;
}

/* 备案号（工信部要求展示，可点击跳转 beian.miit.gov.cn） */
.footer-bottom .f-icp {
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-bottom .f-icp:hover,
.footer-bottom .f-icp:focus-visible {
  color: var(--text);
  border-bottom-color: var(--border-strong);
}

/* ---------- 12. 响应式与动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .feature { grid-template-columns: 1fr; }
  .feature-media::after { background: linear-gradient(0deg, rgba(11, 13, 22, 0.9), transparent 60%); }
  .dash { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: calc(var(--nav-h) + 8px);
    right: 24px;
    left: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(11, 13, 22, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    padding: 11px 12px;
    border-radius: 10px;
  }

  .nav-link::after { display: none; }
  .nav-link:hover { background: var(--surface-2); }

  .nav-cta { margin: 6px 0 0; }

  .hero { padding: 62px 0 72px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .feature-body { padding: 28px 22px; }
  .feature-media img { min-height: 220px; }

  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .tl-time { padding-top: 0; }

  .bars { height: 190px; gap: 8px; }
  .bar-val { display: none; }

  .cta { padding: 48px 22px; }
  .subscribe { flex-direction: column; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section { padding: 62px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 44px 18px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .search { flex-wrap: wrap; border-radius: 18px; padding: 10px 12px; }
  .search input { width: 100%; order: -1; }
  .search .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .is-in .bar-col { height: var(--h); }
  .is-in .ring-fg { stroke-dashoffset: 91.5; }
}
