﻿/* ==========================================================================
   酷玩APP 官网 · 高保真改造原型
   设计语言参考：lite.ego.app（大气氛渐变 + 单一电光蓝 + 超宽展示字 + 贴纸卡片）
   ========================================================================== */

@font-face {
  font-family: "Mona Sans";
  src: url("assets/MonaSans-Variable.woff2") format("woff2-variations"),
       url("assets/MonaSans-Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 品牌蓝阶：单一色相、10 级明度 */
  --blue-0: #f7faff;
  --blue-1: #cfe2ff;
  --blue-2: #a7cbff;
  --blue-3: #7eb3fe;
  --blue-4: #519afb;
  --blue-5: #0880f7;   /* 主强调色 */
  --blue-6: #1d6bd5;
  --blue-7: #2257b4;
  --blue-8: #204493;   /* 展示标题 */
  --blue-9: #1c3274;
  --blue-10: #152256;

  /* 中性画布与浮层 */
  --page: #e7e9ec;
  --surface: #ffffff;
  --surface-2: #f7f8fa;

  /* 文字：用透明度分级，不堆灰色（对比度按 WCAG AA 校准） */
  --text-1: rgba(0, 0, 0, 0.9);   /* 17.5:1 */
  --text-2: rgba(0, 0, 0, 0.68);  /*  7.9:1 */
  --text-3: rgba(0, 0, 0, 0.56);  /*  4.9:1 */
  --text-4: rgba(0, 0, 0, 0.34);  /*  2.7:1 仅装饰 */
  --line-1: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.12);
  --on-dark-1: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.72);
  --on-dark-3: rgba(255, 255, 255, 0.48);

  /* 字体 */
  --font-sans: "Mona Sans", "Inter", -apple-system, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Mona Sans", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* 圆角 */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* 阴影：0.5px 发丝环 + 柔和外扩，全部基于同一套 alpha */
  --shadow-0: 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  --shadow-1: 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06),
    0 4px 10px 0 rgba(0, 0, 0, 0.08);
  --shadow-2: 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 8px 24px 0 rgba(0, 0, 0, 0.10);
  --shadow-3: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 48px 0 rgba(0, 0, 0, 0.35);

  /* 动效 */
  --ease-standard: cubic-bezier(0.34, 0.69, 0.1, 1);
  --ease-smooth: cubic-bezier(0.32, 0.87, 0.26, 1);
  --dur-fast: 160ms;
  --dur-base: 260ms;
  --dur-slow: 620ms;

  /* 栅格 */
  --wrap: 1200px;
  --gutter: 24px;
}

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

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--blue-2); color: var(--blue-10); }

:focus-visible {
  outline: 2px solid var(--blue-5);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--blue-8);
  color: #fff;
  transition: top var(--dur-fast) var(--ease-standard);
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 排版 ---------- */

.display {
  font-family: var(--font-sans);
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: -0.018em;
  line-height: 1.06;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.016em;
  line-height: 1.16;
  color: var(--blue-8);
  margin: 0;
  text-wrap: balance;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-6);
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--blue-5);
}

.lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 62ch;
  margin: 16px 0 0;
}

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

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

/* ---------- 按钮 ---------- */

.btn {
  --btn-bg: var(--blue-8);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-standard),
    background var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--blue-6) 0%, var(--blue-8) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 18px -6px rgba(21, 34, 86, 0.6);
}
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 24px -8px rgba(21, 34, 86, 0.55); }

.btn--light {
  background: #fff;
  color: var(--blue-8);
  box-shadow: 0 6px 20px -8px rgba(8, 24, 64, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-8);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--blue-4); background: rgba(8, 128, 247, 0.06); }

.btn--on-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.16); }

.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-7);
}
.link-arrow::after {
  content: "↗";
  transition: transform var(--dur-fast) var(--ease-standard);
}
.link-arrow:hover::after { transform: translate(2px, -2px); }

/* ---------- 顶栏 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  color: var(--on-dark-1);
  transition: background var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    backdrop-filter var(--dur-base) var(--ease-standard);
}
.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav.is-scrolled {
  background: rgba(247, 248, 250, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  color: var(--text-1);
  box-shadow: 0 1px 0 var(--line-1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: 0.01em;
  font-size: 19px;
}
.brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--blue-4), var(--blue-7) 65%, var(--blue-9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.brand__cjk { font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.06em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: inherit;
  opacity: 0.82;
  transition: background var(--dur-fast) var(--ease-standard), opacity var(--dur-fast);
}
.nav__links a:hover { opacity: 1; background: rgba(127, 127, 127, 0.12); }

.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}
.nav__ghost:hover { opacity: 1; }

.nav__panel { display: none; }
.nav__scrim { display: none; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
  color: inherit;
  opacity: 0.8;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 104px 0 88px;
  background:
    radial-gradient(78% 40% at 50% 104%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(52% 40% at 79% 12%, rgba(126, 179, 254, 0.6) 0%, rgba(126, 179, 254, 0) 62%),
    linear-gradient(
      180deg,
      #0c1630 0%,
      #152256 15%,
      #1c3274 33%,
      #2257b4 51%,
      #1d6bd5 67%,
      #0880f7 80%,
      #7eb3fe 90%,
      #dbe4f0 97%,
      var(--page) 100%
    );
  color: var(--on-dark-1);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__arc {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 620px;
  width: 2000px;
  height: 2000px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 110px 18px rgba(150, 205, 255, 0.35),
    inset 0 0 200px rgba(255, 255, 255, 0.14);
  opacity: 0.9;
  pointer-events: none;
}
.hero__arc::after {
  content: "";
  position: absolute;
  top: 150px;
  right: 300px;
  width: 260px;
  height: 54px;
  transform: rotate(-18deg);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  filter: blur(8px);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 16px 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}
.eyebrow b { color: #fff; font-weight: 700; }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.hero h1 {
  margin: 14px auto 0;
  max-width: 16ch;
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.1;
  letter-spacing: -0.014em;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(6, 20, 50, 0.35);
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-1);
}

.hero__sub {
  margin: 20px auto 0;
  max-width: 52ch;
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  font-variant-numeric: tabular-nums;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span:not(:last-child)::after {
  content: "";
  width: 3px; height: 3px; border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* 每屏的证据标签：不画设备，只给可核对的数据 */
.hero__chips {
  margin: 26px auto 0;
  display: inline-flex;
  align-items: center;
  padding: 6px 4px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 22, 48, 0.34);
  backdrop-filter: blur(12px);
}
.hero__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero__chip + .hero__chip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
}
.hero__chip b { color: #fff; font-weight: 700; font-stretch: 112%; }

/* Hero 三款应用：顶部标签 + 内容轮播 */
.hero__tabs {
  margin: 26px auto 0;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 22, 48, 0.26);
  backdrop-filter: blur(14px);
}
.hero__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
}
.hero__tab img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  opacity: 0.72;
  transition: opacity 0.25s;
}
.hero__tab b { font-weight: 700; }
.hero__tab i {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 400;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__tab:hover { color: #fff; }
.hero__tab:hover img { opacity: 1; }
.hero__tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.hero__tab.is-active img { opacity: 1; }
.hero__tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero__slides {
  position: relative;
  display: grid;
  margin-top: 22px;
}
.hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-smooth), transform 0.45s var(--ease-smooth),
    visibility 0.45s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- 数据条 ---------- */

.stats {
  position: relative;
  z-index: 3;
  margin-top: -24px;
}
.stats__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.stat {
  padding: 28px 30px 26px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 1px;
  background: var(--line-1);
}
.stat__value {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  font-stretch: 118%;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue-8);
  font-variant-numeric: tabular-nums;
}
.stat__value small { font-size: 0.52em; font-weight: 600; margin-left: 2px; }
.stat__label { margin-top: 10px; font-size: 13.5px; color: var(--text-3); }

/* ---------- 产品矩阵 ---------- */

.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-0);
}
.product {
  background: var(--surface);
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background var(--dur-base) var(--ease-standard);
}
.product:hover { background: var(--blue-0); }
.product__head { display: flex; align-items: center; gap: 16px; }
.product__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-1);
  padding: 6px;
  flex: none;
}
.product__names { display: flex; flex-direction: column; gap: 3px; }
.product__name { font-size: 22px; font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; }
.product__en { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); font-weight: 600; }
.product__desc { font-size: 15px; line-height: 1.7; color: var(--text-2); margin: 0; }
.product__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(8, 128, 247, 0.08);
  color: var(--blue-7);
  font-weight: 500;
}
.product__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 6px;
}
.product__foot .link-arrow { font-size: 14px; }
.product__dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-8);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(8, 128, 247, 0.1);
  transition: background var(--dur-fast) var(--ease-standard);
}
.product__dl:hover { background: rgba(8, 128, 247, 0.16); }

/* ---------- 对比表 ---------- */

.compare {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.compare__scroll { overflow-x: auto; }
.compare__hint { display: none; }
table.compare__table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare__table th,
.compare__table td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line-1);
  white-space: nowrap;
}
.compare__table thead th {
  padding: 22px 18px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  vertical-align: bottom;
}
.compare__table thead th:first-child { text-align: left; color: var(--text-4); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; padding-left: 26px; }
.compare__table th small { display: block; font-size: 11px; font-weight: 400; color: var(--text-4); margin-top: 4px; }
.compare__table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-1);
  padding-left: 26px;
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__table tbody tr:hover td,
.compare__table tbody tr:hover th { background: rgba(8, 128, 247, 0.03); }

.compare__own {
  background: rgba(8, 128, 247, 0.06);
  position: relative;
}
thead .compare__own {
  color: var(--blue-8);
  background: rgba(8, 128, 247, 0.1);
  font-size: 15px;
  font-weight: 700;
  font-stretch: 108%;
}
.compare__table tbody tr:hover .compare__own { background: rgba(8, 128, 247, 0.1); }
td.compare__own { font-size: 17px; }

.yes { color: var(--blue-5); font-weight: 700; }
.yes-weak { color: var(--text-4); }
.no { color: var(--text-4); font-size: 15px; }

.compare__note {
  margin: 16px 4px 0;
  font-size: 12.5px;
  color: var(--text-4);
}

/* ---------- 用户评价 ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 26px;
}
.quote {
  background: var(--surface);
  border-radius: 34px;
  padding: 30px 32px 26px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.quote:nth-child(even) { margin-top: 28px; }
.quote__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-1);
  margin: 0;
  text-wrap: pretty;
}
.quote__text::before { content: "“"; color: var(--blue-3); margin-right: 2px; }
.quote__text::after { content: "”"; color: var(--blue-3); margin-left: 2px; }
.quote__by { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.quote__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-2), var(--blue-4));
  color: var(--blue-9);
  font-size: 12px;
  font-weight: 700;
}
.quote__app {
  margin-left: auto;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-2);
}

/* ---------- 新闻 ---------- */

.news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.news__item {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line-1);
  transition: color var(--dur-fast) var(--ease-standard);
}
.news__item:hover .news__title { color: var(--blue-6); }
.news__date {
  font-size: 12px;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.news__title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-1);
  transition: color var(--dur-fast) var(--ease-standard);
  text-wrap: pretty;
}
.news__excerpt {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-1); }
.faq__item { border-bottom: 1px solid var(--line-1); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  font-size: 17px;
  font-weight: 600;
  transition: color var(--dur-fast) var(--ease-standard);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-6); }
.faq__item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 24px;
  font-weight: 300;
  color: var(--text-3);
  transition: transform var(--dur-base) var(--ease-standard);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 56px 26px 4px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 78ch;
}

/* ---------- 底部 CTA ---------- */

.cta {
  position: relative;
  overflow: clip;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(70% 120% at 82% 0%, rgba(126, 179, 254, 0.55), transparent 62%),
    linear-gradient(120deg, #101c3a 0%, #1c3274 34%, #2257b4 62%, #0880f7 100%);
  padding-block: clamp(64px, 8vw, 104px);
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  bottom: -180px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.18), 0 0 80px rgba(126, 179, 254, 0.35);
  opacity: 0.7;
}
.cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 12%;
  top: -120px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.6;
}
.cta__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 700;
  font-stretch: 114%;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}
.cta p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 16px; max-width: 46ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

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

.footer {
  background: var(--page);
  padding-top: 72px;
  position: relative;
  overflow: clip;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.1fr;
  gap: 32px;
  padding-bottom: 56px;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--text-3); max-width: 26ch; }
.footer h3 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a, .footer li span { font-size: 14px; color: var(--text-2); transition: color var(--dur-fast); }
.footer li a:hover { color: var(--blue-6); }
.footer__contact li { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; color: var(--text-2); }
.footer__contact b { font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; }
.footer__bottom {
  border-top: 1px solid var(--line-1);
  padding: 22px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-4);
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--blue-6); }

.marquee {
  margin-top: 40px;
  position: relative;
  height: clamp(96px, 13vw, 190px);
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  height: 100%;
  width: max-content;
  animation: marquee 42s linear infinite;
  color: var(--blue-8);
  opacity: 0.92;
}
.marquee__word {
  font-size: clamp(88px, 11.4vw, 168px);
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.marquee__star {
  width: clamp(48px, 6vw, 88px);
  height: clamp(48px, 6vw, 88px);
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.5;
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.footer__blobs {
  position: absolute;
  left: 0; right: 0; bottom: -40px;
  height: 300px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 18% 80%, transparent 118px, rgba(32, 68, 147, 0.35) 119px, transparent 120px),
    radial-gradient(circle at 52% 92%, transparent 168px, rgba(32, 68, 147, 0.28) 169px, transparent 170px),
    radial-gradient(circle at 88% 74%, transparent 138px, rgba(32, 68, 147, 0.3) 139px, transparent 140px);
}
.marquee, .footer__bottom { position: relative; z-index: 1; }

/* ---------- 滚动进场 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-smooth),
    transform var(--dur-slow) var(--ease-smooth);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 70ms; }
.reveal-delay-2 { transition-delay: 140ms; }
.reveal-delay-3 { transition-delay: 210ms; }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-1);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px);
  cursor: pointer;
  color: var(--blue-8);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #fff; }

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

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1.2fr repeat(2, 1fr) 1.2fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav__links, .nav__ghost { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav.is-open {
    background: #f7f8fa;
    color: var(--text-1);
    box-shadow: 0 1px 0 var(--line-1);
  }
  .nav.is-open .nav__panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 64px 0 auto;
    padding: 14px 24px 22px;
    gap: 2px;
    background: #f7f8fa;
    border-top: 1px solid var(--line-1);
    box-shadow: 0 24px 48px -24px rgba(8, 18, 40, 0.28);
    z-index: 2;
  }
  .nav.is-open .nav__scrim {
    display: block;
    position: fixed;
    inset: 64px 0 0;
    z-index: 1;
    background: rgba(8, 18, 40, 0.3);
    backdrop-filter: blur(2px);
  }
  .nav__inner { position: relative; z-index: 2; }
  .nav__panel a { padding: 13px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-1); }
  .nav__panel .btn { margin-top: 14px; border-bottom: 0; justify-content: center; }
  .stats__card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-1); }
  .matrix { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote:nth-child(even) { transform: none; }
  .quote:nth-child(even):hover { transform: translateY(-3px); }
  .news { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-top: 100px; }
  .hero h1 { max-width: 20ch; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); line-height: 1.18; }
  .hero__sub { font-size: 15px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn { justify-content: center; }
  .hero__meta { flex-wrap: wrap; row-gap: 7px; gap: 8px; font-size: 12px; }
  .hero__tabs { margin-top: 20px; padding: 4px; }
  .hero__tab { height: 32px; padding: 0 12px 0 10px; gap: 7px; font-size: 12px; }
  .hero__tab img { width: 18px; height: 18px; }
  .hero__tab i { display: none; }
  .hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 0;
    max-width: 100%;
    margin-top: 20px;
    padding: 8px 6px;
    border-radius: 16px;
  }
  .hero__chip { height: 24px; padding: 0 11px; font-size: 12px; }
  .hero__chip + .hero__chip::before { display: none; }
  .stats { margin-top: -16px; }
  .stat { padding: 22px 18px; }
  .stat__value { font-size: 28px; }
  .stat__label { font-size: 12.5px; }
  .product { padding: 26px 22px 24px; }
  .product__name { font-size: 19px; }
  .compare__table th, .compare__table td { padding: 14px 12px; }
  .compare__hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -8px 0 12px;
    font-size: 12.5px;
    color: var(--text-4);
  }
  .compare__scroll {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 88%, transparent 100%);
  }
  .compare__table th:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    background: var(--surface);
    background-clip: padding-box;
    padding-left: 18px;
    padding-right: 12px;
    white-space: normal;
  }
  .compare__table tbody th:first-child { background: var(--surface); }
  .quote { border-radius: 26px; padding: 24px 22px; }
  .quote__text { font-size: 15px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .to-top { right: 16px; bottom: 16px; }
  .section { padding-block: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
