@charset "UTF-8";

/* =========================================================
   米坛社区 · 灰蓝圆表版式（整站独立骨架）
   ========================================================= */

:root {
  --slate: #5A7391;
  --slate-deep: #43596f;
  --slate-soft: #dbe4ed;
  --mist: #f2f5f8;
  --ink: #26313c;
  --muted: #64717f;
  --line: #dfe6ee;
  --paper: #ffffff;
  --shell: 1150px;
  --header-h: 74px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --shadow: 0 18px 40px rgba(67, 89, 111, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 56px), var(--shell));
  margin: 0 auto;
}

/* ---------- 图标 ---------- */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }
.icon-bell::before { background-image: url("../icons/bell.svg"); }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 56px), var(--shell));
  min-height: var(--header-h);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--slate-soft);
  background: #fff;
}

.primary-nav {
  margin: 0 auto;
}

.primary-nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  gap: 6px;
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: #4f5d6b;
  font-size: 13.5px;
  transition: color 160ms ease, background 160ms ease;
}

.primary-nav a:hover {
  color: var(--slate-deep);
  background: var(--mist);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

.nav-download {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--slate);
  font-size: 13.5px;
  box-shadow: 0 8px 18px rgba(90, 115, 145, 0.28);
  transition: background 160ms ease;
}

.nav-download .icon,
.nav-download .icon::before {
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  background: var(--slate-deep);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

/* ---------- 英雄区 ---------- */
.hero {
  padding: 66px 0 78px;
  background:
    radial-gradient(circle at 8% 0%, #e8eef5 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 500px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 1px;
}

.hero-title {
  margin: 14px 0 16px;
  color: var(--slate-deep);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  letter-spacing: 1.5px;
}

.hero-summary {
  max-width: 450px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.button {
  min-width: 172px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14.5px;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--slate);
  box-shadow: 0 12px 24px rgba(90, 115, 145, 0.3);
}

.button-primary .icon,
.button-primary .icon::before {
  filter: brightness(0) invert(1);
}

.button-primary:hover {
  background: var(--slate-deep);
  transform: translateY(-2px);
}

.hero-facts {
  display: flex;
  padding: 0;
  margin: 30px 0 0;
  gap: 34px;
  list-style: none;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-facts b {
  color: var(--slate-deep);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-facts span {
  color: #7d8b99;
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* ---------- 英雄组件：圆形表盘网格 ---------- */
.hero-watchfaces {
  width: 100%;
  max-width: 500px;
  min-width: 0;
  margin-left: auto;
  padding: 18px 20px 14px;
  border: 1px solid #e6ecf3;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.wf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
  font-size: 13px;
}

.wf-head b {
  color: var(--ink);
  font-weight: 700;
}

.wf-head span {
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--slate-deep);
  background: var(--mist);
  font-size: 11px;
}

.wf-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 20px 0 14px;
}

.wf-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
}

.wf-strap {
  display: block;
  width: 34%;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(180deg, #cfd9e4, #b9c6d4);
}

.wf-face {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 92px;
  aspect-ratio: 1 / 1;
  margin: -2px 0;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #eef2f7, 0 10px 20px rgba(67, 89, 111, 0.16);
  overflow: hidden;
}

.wf-face em {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.wf-face i {
  margin-top: 2px;
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.6px;
  opacity: 0.8;
}

.wf-face em {
  font-size: 21px;
}

.wf-a {
  color: #23303d;
  background: linear-gradient(160deg, #ffffff 0%, #e7edf4 100%);
}

.wf-b {
  color: #f2f6fa;
  background:
    radial-gradient(circle at 50% 42%, rgba(122, 152, 182, 0.55) 0 24%, transparent 25%),
    linear-gradient(160deg, #4b6480 0%, #2c3d4f 100%);
}

.wf-b em {
  font-size: 18px;
}

.wf-c {
  color: #1f3340;
  background:
    conic-gradient(from 200deg, #9fb4c8 0 68%, #e3ebf3 68% 100%);
}

.wf-c em {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}

.wf-c i {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #4a5d6f;
}

.wf-item small {
  margin-top: 9px;
  color: #7b8896;
  font-size: 10.5px;
  text-align: center;
  white-space: nowrap;
}

.wf-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
  color: #8492a0;
  font-size: 11px;
}

/* ---------- 通用标题 ---------- */
.section-heading {
  max-width: 620px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.4px;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.section-heading-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* ---------- 核心特色 ---------- */
.routes {
  padding: 72px 0 84px;
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.fours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.four {
  padding: 24px 22px 26px;
  border-radius: var(--r-lg);
  background: var(--mist);
  transition: background 180ms ease, transform 180ms ease;
}

.four:hover {
  background: #e9eff5;
  transform: translateY(-3px);
}

.four .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--slate);
  font-size: 11.5px;
  font-weight: 700;
}

.four h3 {
  margin: 14px 0 8px;
  font-size: 17.5px;
  font-weight: 700;
}

.four p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

/* ---------- 界面展示 ---------- */
.screens {
  padding: 76px 0 88px;
  background: #f7f9fc;
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.shot {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 15;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 14px 26px rgba(67, 89, 111, 0.13);
}

.shot figcaption {
  margin-top: 12px;
  color: var(--slate-deep);
  font-size: 13.5px;
  font-weight: 700;
}

.shot figcaption small {
  display: block;
  margin-top: 2px;
  color: #83919f;
  font-size: 11.5px;
  font-weight: 400;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 78px 0 66px;
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.faq .section-heading h2 {
  font-size: 30px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  border: 1px solid #e7edf4;
  border-radius: var(--r-lg);
  background: #fbfcfe;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.faq-item[open] {
  border-color: #ccd9e6;
  box-shadow: 0 10px 24px rgba(67, 89, 111, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.faq-item summary .icon {
  width: 13px;
  height: 13px;
  flex: none;
  opacity: 0.45;
  transition: transform 200ms ease;
}

.faq-item summary .icon::before {
  filter: invert(44%) sepia(14%) saturate(747%) hue-rotate(171deg) brightness(93%) contrast(87%);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed #e2e9f1;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ---------- 官方入口 ---------- */
.official {
  padding: 4px 0 78px;
  background: #fff;
}

.official-fold {
  border: 1px solid #d6e0ea;
  border-radius: var(--r-lg);
  background: #fbfcfe;
  overflow: hidden;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 24px;
  color: var(--slate-deep);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  content: "+";
  margin-left: auto;
  color: var(--slate);
  font-size: 18px;
  font-weight: 400;
}

.official-fold[open] summary::after {
  content: "−";
}

.official-link {
  padding: 0 24px 18px;
}

.official-link p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed #e1e8f0;
  color: var(--muted);
  font-size: 13.5px;
}

.official-link a {
  color: var(--slate-deep);
  font-weight: 600;
  border-bottom: 1px solid #b9c9da;
  word-break: break-all;
}

/* ---------- 用户评价 ---------- */
.reviews {
  padding: 76px 0 88px;
  background: linear-gradient(180deg, #eef3f8 0%, #f7f9fc 100%);
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.reviews .section-heading {
  margin-bottom: 30px;
}

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

.review-card {
  position: relative;
  min-width: 0;
  padding: 22px 22px 18px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 10px 24px rgba(67, 89, 111, 0.08);
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  right: 20px;
  color: #e3eaf2;
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 1;
}

.review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.who {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.ava {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #7e96b1, #4d6480);
  font-size: 13px;
}

.who b {
  font-size: 13.5px;
  font-weight: 700;
}

.review-card time {
  flex: none;
  color: #929fad;
  font-size: 10.5px;
  white-space: nowrap;
}

.review-card > p {
  position: relative;
  margin: 0;
  color: #53616f;
  font-size: 13.3px;
  line-height: 1.9;
}

.rv-site {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #e6ecf3;
  color: var(--slate);
  font-size: 11px;
  letter-spacing: 0.2px;
}

/* ---------- 下载 CTA ---------- */
.download-cta {
  padding: 64px 0;
  background: linear-gradient(135deg, #5A7391 0%, #3f5470 62%, #364a63 100%);
  color: #fff;
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.cta-panel {
  max-width: 720px;
  text-align: center;
}

.cta-panel .eyebrow {
  color: #cfdcea;
}

.download-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: 0.6px;
}

.download-cta .cta-panel > p {
  margin: 12px 0 24px;
  color: #d5e0ec;
  font-size: 14px;
}

.cta-panel .button-primary {
  color: var(--slate-deep);
  background: #fff;
  box-shadow: 0 14px 28px rgba(23, 38, 54, 0.28);
}

.cta-panel .button-primary .icon::before {
  filter: invert(31%) sepia(13%) saturate(1105%) hue-rotate(171deg) brightness(94%) contrast(88%);
}

.cta-panel .button-primary:hover {
  background: #eaf1f8;
}

.disclaimer {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #c3d2e1;
  font-size: 11.8px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 30px 0 24px;
  background: #f2f5f8;
  color: #6f7d8b;
  text-align: center;
  font-size: 12.5px;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  color: var(--slate-deep);
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  border-bottom-color: var(--slate);
}

.site-footer .icp {
  margin: 0;
  color: #8b98a6;
  font-size: 11.5px;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 156px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--slate);
  box-shadow: 0 12px 24px rgba(67, 89, 111, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--slate-deep);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 34px;
  }

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

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

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-watchfaces {
    max-width: 520px;
    margin: 0 auto;
  }

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

  .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 62px;
  }

  body {
    padding-top: var(--header-h);
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-shell,
  .nav-shell {
    width: calc(100% - 32px);
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--header-h);
    min-height: var(--header-h);
    column-gap: 8px;
  }

  .brand {
    grid-column: 1;
    gap: 7px;
    font-size: 16px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 -16px;
    padding: 0 16px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
  }

  .primary-nav a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--r-sm);
    background: var(--mist);
    font-size: 12.5px;
  }

  .nav-download {
    grid-column: 3;
    grid-row: 1;
    min-height: 34px;
    min-width: auto;
    padding: 0 11px;
    font-size: 11.5px;
    box-shadow: none;
  }

  .nav-download .icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 4;
    grid-row: 1;
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 40px 0 52px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-title {
    font-size: 21px;
    letter-spacing: 0.8px;
  }

  .hero-summary {
    font-size: 14px;
  }

  .hero-facts {
    gap: 22px;
  }

  .hero-facts b {
    font-size: 20px;
  }

  .hero-watchfaces {
    padding: 15px 15px 12px;
    border-radius: 24px;
  }

  .wf-face {
    max-width: 82px;
  }

  .wf-a em {
    font-size: 19px;
  }

  .routes,
  .screens,
  .faq,
  .reviews {
    padding: 52px 0;
  }

  .section-heading h2,
  .faq .section-heading h2 {
    font-size: 26px;
  }

  .fours {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .four {
    padding: 20px;
  }

  .shots {
    gap: 12px;
  }

  .shot img {
    border-radius: var(--r-md);
  }

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

  .download-cta {
    padding: 46px 0;
  }

  .to-top {
    right: 16px;
    bottom: 134px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 14px;
  }

  .primary-nav ul {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .wf-face {
    max-width: 72px;
  }
}
