/* ==========================================================================
   轻律产品页样式
   设计体系：轻律 App ui2（ui_v2，源自 Monitor/.ui-refactor）——唯一真源
   Monitor/.ui-refactor/DESIGN_SPEC.md（§1 色板 / §2 圆角、间距、字号 / §3 组件合同）
   令牌层 res/values/ui2_tokens.xml，样式层 res/values/ui2_styles.xml
   铁律：无描边白卡 + 柔和阴影；标题藏青、正文灰蓝；CTA 珊瑚、图标蓝、绿只做状态。
   ========================================================================== */

:root {
  /* ---- 截图手机外框：全站统一比例，圆角/开孔按外框宽度等比缩放 ---- */
  --phone-aspect-ratio: 1080 / 2400;

  /* ---- §1.1 背景 / 表面 ---- */
  --bg-page: #f3f8fd;          /* ui2_bg_page 页面底色 */
  --card: #fdfeff;             /* ui2_card 白卡 */
  --input-bg: #ecf5fe;         /* ui2_input_bg 浅蓝卡底 */
  --row-bg: #f8fbfd;           /* ui2_row_bg 卡内行卡底 */
  --icon-plate: #e6f0fc;       /* ui2_icon_plate_bg 圆形图标盘 */
  --divider: #dce9f6;          /* ui2_divider 细分割线 */
  --nav-bg: #fdfeff;           /* ui2_nav_bg 底栏 / 页脚底 */
  --nav-divider: #eaf2fa;      /* ui2_nav_divider 顶线（更浅） */

  /* ---- §1.2 Hero 天空 / 插画 ---- */
  --hero-sky-top: #f0f7fd;
  --hero-sky-mid: #edf5fc;
  --hero-sky-bottom: #f4f9fd;
  --hero-mountain: #c9e2f5;
  --hero-mountain-far: #dbeaf8;
  --hero-sun: #fbf4e9;
  --hero-sun-hi: #fffcf4;
  --hero-sun-lo: #f6e9ce;

  /* ---- §1.3 文字 ---- */
  --navy: #14345b;             /* ui2_navy_text 标题 */
  --hero-sub: #173f6e;         /* ui2_hero_sub 导语 */
  --body: #5f7e9d;             /* ui2_body_gray 正文 */
  --muted: #788aa5;            /* ui2_text_muted 弱说明 */
  --slate: #4a5261;            /* ui2_slate_text 信息胶囊文字 */

  /* ---- §1.4 珊瑚红（警示 / CTA / 点缀） ---- */
  --coral: #de7984;            /* ui2_coral 实心 CTA */
  --coral-pressed: #c96772;    /* ui2_coral_pressed 按压态 */
  --coral-deep: #d96270;       /* ui2_coral_deep 铃铛盘 */
  --coral-bright: #fd837c;     /* ui2_coral_bright 小面积强调 */
  --coral-text: #d34755;       /* ui2_coral_text 警示标题 */
  --coral-bg: #faedef;         /* ui2_coral_bg 警示横幅底 */
  --alert-body: #6f6174;       /* ui2_alert_body 警示正文 */

  /* ---- §1.5 绿（状态 / 叶片） ---- */
  --green-bg: #e7f6e8;         /* ui2_green_pill_bg 状态徽章底 */
  --green-text: #36813f;       /* ui2_green_pill_text 状态徽章字 */
  --leaf: #3c867a;             /* ui2_teal_leaf 叶片 */

  /* ---- §1.6 蓝（图标 / 链接 / 导航 / 胶囊） ---- */
  --primary: #5b95d2;          /* ui2_primary 图标着色 */
  --link: #5b92c9;             /* ui2_link_blue 链接 / ghost 字 */
  --quote-text: #2c5c8c;       /* ui2_quote_text 语录文字 */
  --bar-blue: #8cb9ed;         /* ui2_bar_blue 蓝竖条 */
  --nav-sel: #4d87c4;          /* ui2_nav_sel 导航激活 */
  --nav-sel-pill: #dae9fa;     /* ui2_nav_sel_pill 激活垫底胶囊 */
  --nav-unsel: #70829c;        /* ui2_nav_unsel 导航未选中 */
  --time-pill-bg: #eff6fb;     /* ui2_time_pill_bg 时间胶囊底 */
  --time-pill-text: #6b7f9b;   /* ui2_time_pill_text 时间胶囊字 */
  --ghost-bg: #e9f5fe;         /* ui2_btn_ghost_bg 次级胶囊底 */
  --ghost-stroke: #a7c8e6;     /* ui2_btn_ghost_stroke 次级胶囊描边 */
  --quote-bg-top: #eef6fc;     /* ui2_quote_bg_top */
  --quote-bg-bottom: #d6e8f7;  /* ui2_quote_bg_bottom */
  --profile-grad-start: #f6fafe; /* ui2_profile_grad_start */
  --profile-grad-end: #c8e2f9;   /* ui2_profile_grad_end */

  /* ---- 补充：琥珀警示（已失效/未上线档） ---- */
  --amber-bg: #fbf1da;         /* ui2_amber_pill_bg */
  --amber-text: #97702b;       /* ui2_amber_pill_text */

  /* ---- 阴影（Ui2Shadow：spot 12% 黑 / ambient 7% 黑，代替硬描边）----
     Web 投影比 Android elevation 4dp 视觉更重，按同一语义整体压低半档：
     卡片 = 极淡近贴地柔影，hover 才略微抬起。 */
  --shadow-card: 0 6px 16px rgba(0, 0, 0, 0.055), 0 1px 3px rgba(0, 0, 0, 0.035);
  --shadow-card-hover: 0 10px 22px rgba(0, 0, 0, 0.075), 0 2px 6px rgba(0, 0, 0, 0.045);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.045);
  --shadow-pill: 0 3px 10px rgba(0, 0, 0, 0.05);
  --shadow-coral: 0 8px 18px rgba(222, 121, 132, 0.24);

  /* ---- §2.1 圆角档位 ---- */
  --radius-card: 18px;         /* ui2_radius_card 一切卡面 */
  --radius-row: 12px;          /* ui2_radius_row 卡内行卡 */
  --radius-sm: 8px;            /* ui2_radius_card_sm */
  --radius-chip: 999px;        /* ui2_radius_chip 胶囊 */

  /* ---- 字体 ---- */
  --font: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

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

::selection {
  color: var(--navy);
  background: var(--nav-sel-pill);
}

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

button {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--nav-sel);
  outline-offset: 2px;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   胶囊按钮（§3c 三档：珊瑚实心 CTA / 白底描边 ghost / 徽章）
   ========================================================================== */
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-chip);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* 一档：实心珊瑚 CTA（页面级主操作） */
.btn-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: var(--shadow-coral);
}

.btn-primary:hover {
  background: var(--coral-pressed);
  box-shadow: 0 16px 30px rgba(201, 103, 114, 0.36);
}

/* 二档：白底描边 ghost（次级操作） */
.btn-secondary {
  color: var(--link);
  border-color: var(--ghost-stroke);
  background: var(--ghost-bg);
}

.btn-secondary:hover {
  color: var(--nav-sel);
  background: var(--nav-sel-pill);
}

.btn-lg {
  min-height: 50px;
  padding-inline: 30px;
  font-size: 15px;
}

.btn-arrow {
  transition: transform 0.24s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn-disabled:hover,
.btn:disabled:hover {
  transform: none;
}

/* ==========================================================================
   顶栏（底栏 Ui2.BottomNav 语汇：白底 + 1dp 浅蓝顶线，激活项浅蓝胶囊垫底）
   ========================================================================== */
.navbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  transition: 0.3s ease;
}

.navbar.scrolled {
  border-bottom: 1px solid var(--nav-divider);
  background: rgba(253, 254, 255, 0.92);
  padding-block: 12px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-icon-img {
  width: 38px;
  height: 38px;
  padding: 2px;
  border-radius: 12px;
  background: var(--card);
  object-fit: contain;
  box-shadow: var(--shadow-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-chip);
  color: var(--nav-unsel);
  font-size: 13.5px;
  font-weight: 600;
  transition: 0.22s ease;
}

.nav-links a:hover {
  color: var(--nav-sel);
  background: var(--nav-sel-pill);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: var(--radius-chip);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Hero 天空页头（§3a：竖向天空渐变 + 下方两角圆角收口 + 太阳/山峦/飞鸟）
   ========================================================================== */
.hero {
  position: relative;
  min-height: 700px;
  padding: 148px 0 92px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: linear-gradient(
    180deg,
    var(--hero-sky-top) 0%,
    var(--hero-sky-mid) 46%,
    var(--hero-sky-bottom) 100%
  );
}

/* 插画层：太阳（柔光晕 + 日核）、飞鸟细线、近远两层山峦 */
.hero-sun {
  position: absolute;
  top: 140px;
  right: 3%;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(251, 244, 233, 0) 0%,
      rgba(251, 244, 233, 0.55) 52%,
      rgba(251, 244, 233, 0) 72%
    ),
    radial-gradient(
      circle at 50% 50%,
      var(--hero-sun-hi) 0%,
      var(--hero-sun) 58%,
      var(--hero-sun-lo) 100%
    );
  background-size: 100% 100%, 56% 56%;
  background-position: center, center;
  background-repeat: no-repeat;
  filter: blur(0.4px);
  pointer-events: none;
}

.hero-birds {
  position: absolute;
  top: 88px;
  right: 5%;
  width: 96px;
  height: 48px;
  fill: none;
  stroke: var(--hero-mountain-far);
  stroke-width: 1.5;
  stroke-linecap: round;
  pointer-events: none;
}

.hero-mountains {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 170px;
  pointer-events: none;
}

/* 远景山脊 / 近景山体（fg_ui2_hero_mountains 同构路径） */
.hero-mountains path:nth-child(1) {
  fill: var(--hero-mountain-far);
}

.hero-mountains path:nth-child(2) {
  fill: var(--hero-mountain);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
  align-items: center;
  gap: 60px;
}

.hero-content {
  max-width: 590px;
}

.hero h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.hero h1 span {
  color: var(--navy);
}

.hero h1 .slogan-word {
  display: inline-block;
  width: auto;
  height: 1.8em;
  margin: 0 0.08em;
  vertical-align: -0.6em;
}

.hero-desc {
  max-width: 545px;
  margin-bottom: 32px;
  color: var(--hero-sub);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Phone frame: outer case only, screenshot stays completely unobstructed */
.hero-phone-shot,
.feature-shot,
.screenshot-frame {
  position: relative;
  aspect-ratio: var(--phone-aspect-ratio);
  overflow: hidden;
  border-radius: 10.274% / 4.623%;
  background: #070c12;
  box-shadow:
    0 0 0 calc(4px * var(--phone-scale, 1)) #101923,
    0 0 0 calc(5px * var(--phone-scale, 1)) var(--ghost-stroke),
    0 0 0 calc(7px * var(--phone-scale, 1)) rgba(255, 255, 255, 0.85),
    0 calc(24px * var(--phone-scale, 1)) calc(55px * var(--phone-scale, 1)) rgba(20, 52, 91, 0.2);
}

.hero-visual {
  display: flex;
  min-height: 570px;
  align-items: center;
  justify-content: center;
}

.hero-phone-shot {
  --phone-scale: 1;
  width: 292px;
}

.hero-phone-shot img,
.feature-shot img,
.screenshot-frame img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center top;
}

.hero-phone-shot img.is-ready,
.feature-shot img.is-ready,
.screenshot-frame img.is-ready {
  display: block;
}

.hero-phone-shot img:not(.is-ready),
.feature-shot img:not(.is-ready),
.screenshot-frame img:not(.is-ready) {
  display: none;
}

.feature-shot {
  --phone-scale: 0.7534;
  width: min(100%, 220px);
}

.screenshot-frame {
  --phone-scale: 1.4384;
  width: min(100%, 420px);
}

/* Punch-hole camera: overlays the screen like a real hole-punch display */
.hero-phone-shot::before,
.feature-shot::before,
.screenshot-frame::before {
  position: absolute;
  z-index: 3;
  top: 2.003%;
  left: 50%;
  width: 4.452%;
  height: 2.003%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c4d66 0 18%, #0a141d 55%, #03060a 100%);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.42),
    inset 0 0 3px rgba(96, 158, 205, 0.45);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-phone-shot::after,
.feature-shot::after,
.screenshot-frame::after {
  position: absolute;
  z-index: 4;
  top: 2.466%;
  left: calc(50% + 0.685%);
  width: 1.027%;
  height: 0.462%;
  border-radius: 50%;
  background: rgba(155, 208, 243, 0.5);
  content: "";
  pointer-events: none;
}

.feature-shot-wide {
  width: min(100%, 220px);
}

.screenshot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border-radius: inherit;
  color: var(--link);
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(135deg, var(--input-bg) 0, var(--input-bg) 17px, #fff 17px, #fff 34px);
  text-align: center;
}

.screenshot-placeholder.is-hidden {
  display: none;
}

.screenshot-placeholder strong {
  font-size: 13px;
}

.screenshot-placeholder span {
  color: var(--muted);
  font-size: 9px;
}

/* ==========================================================================
   区块骨架（页面通铺 ui2_bg_page，白卡浮于其上）
   ========================================================================== */
.section {
  position: relative;
  padding: 96px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

/* 区块标签：胶囊 chip（Overline 语汇） */
.section-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 6px 15px;
  border-radius: var(--radius-chip);
  color: var(--link);
  background: var(--ghost-bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-title {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.section-desc {
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

/* ==========================================================================
   三条原则（白卡：无描边 + 柔和阴影 + 18px 圆角）
   ========================================================================== */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.principle-item {
  min-height: 278px;
  padding: 30px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: 0.25s ease;
}

.principle-item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* 编号 → 圆形图标底盘（§3b：正圆浅蓝盘 + 蓝图标） */
.principle-index,
.technology-grid article > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 50%;
  place-items: center;
  color: var(--primary);
  background: var(--icon-plate);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.principle-item h3,
.technology-grid h3,
.download-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.principle-item p,
.technology-grid p,
.download-card p {
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.72;
}

/* ==========================================================================
   核心功能 / 九大卖点（白卡网格）
   ========================================================================== */
.feature-bullets {
  display: grid;
  gap: 13px;
  list-style: none;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
}

/* 勾选项 → 绿底状态圆点（§3c 绿档） */
.check {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-text);
  background: var(--green-bg);
  font-size: 12px;
  font-weight: 700;
}

.feature-visual {
  display: grid;
  place-items: center;
  padding: 30px;
}

/* ==========================================================================
   九大卖点（三列白卡）
   ========================================================================== */
.selling-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.selling-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 26px 26px 22px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: 0.25s ease;
}

.selling-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

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

/* 图标盘（§3b：正圆浅蓝盘 + 蓝线性图标） */
.selling-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--icon-plate);
}

.selling-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.selling-num {
  color: var(--divider);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.selling-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.selling-card p {
  margin-bottom: 18px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.72;
}

.selling-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 11px;
  border-radius: var(--radius-chip);
  color: var(--time-pill-text);
  background: var(--time-pill-bg);
  font-size: 11px;
  font-weight: 600;
}

.more-link-wrap {
  margin-top: 28px;
  text-align: center;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-chip);
  color: var(--link);
  background: var(--ghost-bg);
  font-size: 13.5px;
  font-weight: 600;
  transition: 0.22s ease;
}

.more-link:hover {
  color: var(--nav-sel);
  background: var(--nav-sel-pill);
}

/* ==========================================================================
   重点功能（左文右图，隔行反转）
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 64px;
}

.feature-row + .feature-row {
  margin-top: 84px;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy {
  max-width: 480px;
}

.feature-eyebrow {
  margin-bottom: 14px;
  color: var(--link);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-copy h3 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.feature-copy > p:not(.feature-eyebrow) {
  margin-bottom: 24px;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.78;
}

.feature-row .feature-visual {
  padding: 10px;
}

.shot-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.shot {
  margin: 0;
}

.shot .feature-shot {
  --phone-scale: 0.6849;
  width: min(100%, 200px);
}

.shot figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ==========================================================================
   AI 搭子小律（语录条语汇：浅蓝渐变面板 + 白卡对话示意）
   ========================================================================== */
.companion-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 56px;
  padding: 56px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--quote-bg-top) 0%, var(--quote-bg-bottom) 100%);
  box-shadow: var(--shadow-soft);
}

.companion-copy .section-label {
  background: rgba(255, 255, 255, 0.72);
}

.companion-copy h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.companion-desc {
  margin-bottom: 28px;
  color: var(--quote-text);
  font-size: 15.5px;
  line-height: 1.78;
}

.companion-points {
  display: grid;
  gap: 16px;
  list-style: none;
}

.companion-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.companion-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--leaf);
}

.companion-points strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 14.5px;
}

.companion-points p {
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.65;
}

.chat-demo {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider);
}

.chat-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-bright) 100%);
  font-size: 16px;
  font-weight: 700;
}

.chat-avatar.small {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 12px;
}

.chat-head div {
  display: grid;
  gap: 1px;
}

.chat-head div strong {
  color: var(--navy);
  font-size: 14px;
}

.chat-head div span {
  color: var(--muted);
  font-size: 11.5px;
}

.chat-online {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green-text);
  box-shadow: 0 0 7px rgba(54, 129, 63, 0.45);
}

.chat-body {
  display: grid;
  gap: 14px;
  padding: 18px 0 6px;
}

.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.chat-row.right {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  border-top-left-radius: 4px;
  color: var(--slate);
  background: var(--row-bg);
  font-size: 13px;
  line-height: 1.6;
}

.chat-bubble.me {
  border-radius: 14px;
  border-top-right-radius: 4px;
  color: #fff;
  background: var(--primary);
}

.chat-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

/* ==========================================================================
   更多工具（胶囊云）
   ========================================================================== */
.tools-cloud {
  display: flex;
  max-width: 820px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  list-style: none;
}

.tools-cloud li {
  padding: 9px 18px;
  border-radius: var(--radius-chip);
  color: var(--slate);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: 0.22s ease;
}

.tools-cloud li:hover {
  color: var(--nav-sel);
  background: var(--nav-sel-pill);
  transform: translateY(-2px);
}


/* ==========================================================================
   识别与隐私（白卡四列）
   ========================================================================== */
.technology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.technology-grid article {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: 0.25s ease;
}

.technology-grid article:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.technology-grid article > span {
  margin-bottom: 44px;
}

.technology-grid h3 {
  font-size: 19px;
}

/* ==========================================================================
   产品截图
   ========================================================================== */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
}

.screenshot-grid figure {
  margin: 0;
}

.screenshot-grid figcaption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

/* ==========================================================================
   下载中心（白卡 + chip 平台标签 + 状态胶囊）
   ========================================================================== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.download-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: 0.25s ease;
}

.download-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* 主推卡：资料卡水平渐变语汇 */
.download-card.featured {
  background: linear-gradient(135deg, var(--profile-grad-start) 0%, var(--profile-grad-end) 100%);
}

.platform-label {
  align-self: flex-start;
  margin-bottom: 42px;
  padding: 5px 13px;
  border-radius: var(--radius-chip);
  color: var(--link);
  background: var(--input-bg);
  font-size: 11px;
  font-weight: 600;
}

.download-card.featured .platform-label {
  color: #fff;
  background: var(--coral-bright);
}

.download-card h3 {
  font-size: 20px;
}

.availability {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 13px;
  border-radius: var(--radius-chip);
  font-size: 11px;
  font-weight: 600;
}

.availability.soon {
  color: var(--amber-text);
  background: var(--amber-bg);
}

.availability.pending {
  color: var(--time-pill-text);
  background: var(--time-pill-bg);
}

.download-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  margin-top: auto;
  border-radius: var(--radius-chip);
  color: #fff;
  background: var(--coral);
  box-shadow: 0 8px 18px rgba(222, 121, 132, 0.28);
  font-size: 13px;
  font-weight: 600;
  transition: 0.22s ease;
}

.download-cta:hover {
  background: var(--coral-pressed);
  transform: translateY(-2px);
}

.download-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

/* ==========================================================================
   结语（语录条 Ui2.QuoteBar 语汇：浅蓝渐变 + 绿叶 + 藏青引文 + 山峦剪影）
   ========================================================================== */
.closing-section {
  padding: 24px 0 96px;
}

.closing-inner {
  position: relative;
  overflow: hidden;
  padding: 66px 40px 70px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--quote-bg-top) 0%, var(--quote-bg-bottom) 100%);
  text-align: center;
}

/* 语录绿叶（ic_ui2_leaf 同构路径，ui2_teal_leaf 单色剪影） */
.closing-leaf {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
}

.closing-leaf path {
  fill: var(--leaf);
}

.closing-leaf path.leaf-stem {
  fill: none;
  stroke: var(--leaf);
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* 右下角山峦剪影（fg_ui2_hero_mountains 复用，低透明叠在渐变上） */
.closing-mountains {
  position: absolute;
  right: -2%;
  bottom: -6px;
  width: min(46%, 520px);
  height: auto;
  opacity: 0.35;
  pointer-events: none;
}

.closing-mountains path:nth-child(1) {
  fill: var(--hero-mountain-far);
}

.closing-mountains path:nth-child(2) {
  fill: var(--hero-mountain);
}

.closing-inner .section-label {
  background: rgba(255, 255, 255, 0.72);
}

.closing-inner h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
  color: var(--navy);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.closing-inner p:not(.section-label) {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 0 auto 30px;
  color: var(--quote-text);
  font-size: 16px;
  line-height: 1.7;
}

.closing-inner .btn {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   页脚（底栏语汇：白底 + 1dp 浅蓝顶线）
   ========================================================================== */
.footer {
  border-top: 1px solid var(--nav-divider);
  background: var(--nav-bg);
}

.footer-row-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 27px 0;
  border-bottom: 1px solid var(--nav-divider);
  flex-wrap: wrap;
}

.footer-row-links a,
.footer-right,
.footer-copy {
  color: var(--muted);
  font-size: 12.5px;
}

.footer-row-links a:hover {
  color: var(--nav-sel);
}

.footer-link-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--divider);
}

.footer-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 30px;
}

/* Reveal */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1040px) {
  .nav-links {
    position: fixed;
    z-index: 1001;
    top: 70px;
    right: 14px;
    left: 14px;
    display: flex;
    width: auto;
    max-height: calc(100vh - 88px);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    overflow-y: auto;
    border-radius: var(--radius-card);
    background: rgba(253, 254, 255, 0.98);
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 12px;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 54px;
  }

  .hero-visual {
    min-height: 590px;
  }

  .feature-row {
    gap: 40px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual {
    order: 0;
  }

  .feature-copy {
    max-width: none;
  }

  .feature-visual {
    max-width: 680px;
    margin-inline: auto;
  }

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

  .companion-panel {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px;
  }

  .principle-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-sun {
    right: 2%;
    width: 140px;
    height: 140px;
    top: 150px;
  }

  .hero-birds {
    right: 3%;
    width: 80px;
    height: 40px;
  }
}

@media (max-width: 760px) {
  .hero h1 .slogan-word {
    height: 1.75em;
  }
  .container {
    width: min(100% - 32px, 1160px);
  }

  .navbar {
    padding-block: 13px;
  }

  .hero {
    min-height: auto;
    padding: 116px 0 76px;
    border-radius: 0 0 var(--radius-row) var(--radius-row);
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-cta {
    display: grid;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 545px;
  }

  .hero-phone-shot {
    --phone-scale: 0.9452;
    width: 276px;
  }

  .hero-mountains {
    height: 120px;
  }

  /* 移动端：太阳缩到右上角外侧，避免压到通栏大标题 */
  .hero-sun {
    top: -34px;
    right: -34px;
    width: 150px;
    height: 150px;
  }

  .hero-birds {
    top: 128px;
    right: 6%;
    width: 72px;
    height: 36px;
  }

  .section {
    padding: 68px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
  }

  .principle-grid,
  .technology-grid,
  .download-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .principle-item,
  .technology-grid article {
    min-height: auto;
  }

  .principle-index,
  .technology-grid article > span {
    margin-bottom: 22px;
  }

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

  .selling-card {
    min-height: auto;
  }

  .feature-row + .feature-row {
    margin-top: 56px;
  }

  .shot-duo {
    gap: 14px;
  }

  .shot .feature-shot {
    --phone-scale: 0.5137;
    width: min(100%, 150px);
  }

  .companion-panel {
    padding: 30px 22px;
  }

  .chat-demo {
    padding: 18px;
  }

  .feature-visual {
    padding: 18px;
  }

  .closing-inner {
    padding: 48px 22px 52px;
  }

  .closing-mountains {
    width: 70%;
    opacity: 0.28;
  }
}

@media (max-width: 480px) {
  .footer-row-bottom {
    flex-direction: column;
    text-align: center;
  }

  .chat-bubble {
    max-width: 86%;
  }
}
