@charset "UTF-8";

:root {
  --brand: #0F537C;
  --brand-deep: #143A53;
  --accent: #35ADE6;
  --paper: #E7F8FE;
  --surface: #FFFFFF;
  --ink: #051C2E;
  --muted: #406070;
  --line: #C0DEEB;
  --radius: 12px;
  --radius-sm: 8px;
  --shell: 1180px;
  --header-height: 68px;
  --shadow: 0 20px 44px rgba(20, 58, 83, 0.16);
}

* {
  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", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

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

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

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  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-globe::before {
  background-image: url("../icons/globe.svg");
}

.icon-download,
.icon-plus,
.icon-globe {
  filter: invert(36%) sepia(58%) saturate(1247%) hue-rotate(48deg) brightness(92%) contrast(94%);
}

/* ===== 顶栏：左标右栏，底部实线 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #FDFFF6;
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 9px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid var(--line);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 6px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 160ms ease, color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--brand-deep);
  background: #CBEFFC;
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-download {
  min-width: 132px;
  padding: 0 16px;
  color: #FFFFFF;
  background: var(--brand-deep);
}

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

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

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

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

/* ===== 英雄区：卡片编辑器 + 预览 ===== */
.hero {
  position: relative;
  padding: 56px 0 66px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(15, 83, 124, 0.05) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #FBFFEF 0%, #E7F8FE 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 548px);
  align-items: center;
  gap: 44px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(50px, 6.2vw, 74px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 18px;
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.38;
}

.hero-summary {
  max-width: 466px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15.5px;
}

.button {
  min-width: 172px;
  padding: 0 24px;
}

.button-primary {
  color: #FFFFFF;
  background: linear-gradient(120deg, #0F537C 0%, #0D6DA3 100%);
  box-shadow: 0 12px 24px rgba(15, 83, 124, 0.26);
}

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

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 83, 124, 0.3);
}

.cardStudio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  width: 100%;
  max-width: 548px;
  margin-left: auto;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.studioForm {
  padding: 16px 16px 18px;
  border-right: 1px dashed var(--line);
}

.studioHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.studioHead b {
  color: var(--brand-deep);
  font-size: 13.5px;
}

.studioHead span {
  color: #5F8EA3;
  font-size: 9px;
}

.field {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #DFF1F7;
}

.fldLabel {
  color: #4D7C92;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.fldVal {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fldVal.is-pick {
  justify-self: start;
  padding: 1px 8px;
  color: var(--brand-deep);
  font-weight: 700;
  background: #CBEFFC;
  border-radius: 3px;
}

.fldVal.is-off {
  color: #64748B;
  background: #E2E8F0;
  justify-self: start;
  padding: 1px 8px;
  border-radius: 3px;
}

.studioBtns {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.sbtn {
  padding: 5px 10px;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  background: var(--brand);
  border-radius: 3px;
}

.sbtnGhost {
  color: var(--brand);
  background: #FFFFFF;
  border: 1px solid var(--brand);
}

.studioPreview {
  padding: 16px 15px 18px;
  background: #FAFEEC;
}

.pvLabel {
  margin: 0 0 10px;
  color: #518096;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pvCard {
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 58, 83, 0.08);
}

.pvCard img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  object-position: center 24%;
}

.pvBody {
  padding: 10px 11px 12px;
}

.pvBody b {
  display: block;
  color: var(--brand-deep);
  font-size: 14px;
}

.pvBody small {
  display: block;
  margin-top: 1px;
  color: #568296;
  font-size: 9.5px;
}

.pvBody p {
  margin: 8px 0 0;
  color: #2B4859;
  font-size: 11px;
  line-height: 1.66;
}

.pvTags {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  font-size: 9.5px;
  font-weight: 700;
}

.pvFoot {
  margin: 10px 0 0;
  color: #5F8EA3;
  font-size: 9px;
  line-height: 1.5;
}

/* ===== 通用标题 ===== */
.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.8px;
}

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

/* ===== 核心特色：田字格 ===== */
.routes {
  padding: 70px 0 74px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.four {
  min-width: 0;
  padding: 26px 26px 24px;
  background: #FAFEED;
  transition: background 180ms ease;
}

.four:hover {
  background: #D3F3FD;
}

.four .n {
  display: inline-block;
  margin-bottom: 10px;
  color: #5F8EA3;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.four h3 {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 800;
}

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

/* ===== 界面展示 ===== */
.screens {
  padding: 68px 0 76px;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 8px 8px 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.covers img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: var(--paper);
  border-radius: 3px;
}

.covers b {
  display: block;
  margin: 10px 3px 0;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
}

.covers small {
  display: block;
  margin: 2px 3px 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq {
  padding: 66px 0 36px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  background: #FBFFEF;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

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

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

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

.faq-item summary .icon {
  flex: none;
  transition: transform 180ms ease;
}

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

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

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ===== 官方入口 ===== */
.official {
  padding: 16px 0 68px;
  background: #FFFFFF;
}

.official h2 {
  font-size: 29px;
}

.official-fold {
  overflow: hidden;
  background: #CBEFFC;
  border: 1px solid #8FCCE5;
  border-radius: 4px;
}

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

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

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

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

.official-link {
  padding: 4px 20px 16px;
  border-top: 1px dashed #8FCCE5;
}

.official-link p {
  margin: 12px 0 0;
  font-size: 14px;
}

.official-link a {
  color: var(--brand-deep);
  font-weight: 700;
  word-break: break-all;
}

/* ===== 用户评价：深橄榄底 ===== */
.reviews {
  padding: 74px 0 82px;
  color: #CBEFFC;
  background:
    radial-gradient(560px 260px at 8% 0%, rgba(53, 173, 230, 0.18), rgba(5, 28, 46, 0) 68%),
    #0C324A;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.reviews .eyebrow {
  color: var(--accent);
}

.reviews .section-heading h2 {
  color: #FFFFFF;
}

.reviews .section-heading > p:last-child {
  color: #A0C7DC;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 212px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(160, 199, 220, 0.24);
  border-radius: 4px;
}

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

.review-card header b {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
}

.review-card time {
  color: #7EACC2;
  font-size: 11px;
  white-space: nowrap;
}

.review-card > p {
  margin: 12px 0 0;
  color: #C6E0ED;
  font-size: 13.5px;
  line-height: 1.8;
}

.rv-site {
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
}

/* ===== 下载模块 ===== */
.download-cta {
  padding: 72px 0 80px;
  background: var(--paper);
}

.download-cta .page-shell {
  padding: 42px 44px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 10px, transparent 10px 20px),
    linear-gradient(120deg, #143A53 0%, #0F537C 64%, #17719B 100%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-cta .eyebrow {
  color: var(--accent);
}

.download-cta h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(27px, 3.3vw, 39px);
  font-weight: 800;
  line-height: 1.24;
}

.download-cta .section-heading {
  max-width: none;
  margin-bottom: 22px;
}

.download-cta .section-heading > p:last-child {
  color: #BEDFEF;
}

.download-cta .button-primary {
  color: var(--brand-deep);
  background: var(--accent);
  box-shadow: 0 14px 26px rgba(5, 22, 35, 0.28);
}

.download-cta .button-primary .icon {
  filter: invert(22%) sepia(48%) saturate(906%) hue-rotate(42deg) brightness(92%) contrast(96%);
}

.disclaimer {
  margin: 20px 0 0;
  color: #ABCEDF;
  font-size: 12.5px;
}

.site-footer {
  padding: 30px 0 18px;
  color: #7DA9BE;
  background: #051C2E;
  text-align: center;
}

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

.site-footer a {
  color: #C6E0ED;
}

.site-footer a:hover {
  color: #FFFFFF;
}

.icp a {
  color: #5E8AA2;
  font-size: 12px;
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(5, 28, 46, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

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

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

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .cardStudio {
    max-width: 560px;
    margin: 0 auto;
  }

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

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

@media (max-width: 700px) {
  :root {
    --header-height: 60px;
  }

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

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

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

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

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

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

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

  .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 {
    padding: 10px 12px;
    background: #FBFFEF;
    border: 1px solid var(--line);
    font-size: 13px;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 34px;
    margin-left: auto;
    padding: 0 12px;
    font-size: 12px;
  }

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

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

  .hero {
    padding: 36px 0 44px;
  }

  .hero-grid {
    gap: 22px;
  }

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

  .hero-title {
    font-size: 23px;
  }

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

  .cardStudio {
    max-width: 100%;
  }

  .pvCard img {
    height: 96px;
  }

  .routes,
  .screens,
  .reviews,
  .download-cta {
    padding: 48px 0;
  }

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

  .four {
    padding: 22px 20px;
  }

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

  .covers {
    gap: 10px;
  }

  .faq {
    padding: 48px 0 26px;
  }

  .official {
    padding: 12px 0 46px;
  }

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

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

  .download-cta .page-shell {
    padding: 26px 20px;
  }

  .download-cta .button-primary {
    width: 100%;
  }

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

@media (max-width: 420px) {
  .cardStudio {
    grid-template-columns: 1fr;
  }

  .studioForm {
    border-right: 0;
    border-bottom: 1px dashed var(--line);
  }

  .brand span {
    font-size: 15px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 34px;
    padding: 0;
  }

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

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