/* ================================================================
   CiaoGo 官网
   品牌色跟随 H5 应用(src/styles.css):祖母绿 #059669 · 蓝 #0284c7
   深色区块跟随策划书封面:深蓝夜空 #16203A ~ #243459
   Logo 5.0 浅蓝 #A8D6F3 作为深色背景上的点缀色
   ================================================================ */

:root {
  --green: #059669;
  --green-deep: #047857;
  --green-bright: #34D399;
  --blue: #A8D6F3;
  --blue-deep: #0284c7;
  --navy: #1D2A4D;
  --navy-deep: #16203A;
  --navy-ink: #0F1A33;
  --ink: #1e293b;
  --muted: #64748b;
  --paper: #f8f7f4;
  --tint: #eff9f6;
  --line: #dceae5;
  --white: #FFFFFF;
  --radius: 20px;
  --shadow: 0 14px 44px rgba(15, 26, 51, 0.10);
  --font-brand: "Quicksand", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Quicksand", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

/* 英/意语言态下拉丁字体优先,避免西文标点被中文字体渲染成全角 */
html[lang="en"] body, html[lang="it"] body {
  --font-body: "Quicksand", "Segoe UI", "Noto Sans SC", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(5,150,105,.32); }
.btn--primary:hover { background: var(--green-deep); }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.btn--light:hover { background: var(--blue); color: var(--navy-ink); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 10px 22px; font-size: 14px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav--solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15,26,51,.06);
  padding: 12px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { height: 34px; width: auto; }
.nav__logo--color { display: none; }
.nav--solid .nav__logo--white { display: none; }
.nav--solid .nav__logo--color { display: block; }
.nav__wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: .5px;
  color: #fff;
  transition: color .3s ease;
}
.nav--solid .nav__wordmark { color: var(--ink); }
.nav__wordmark em { font-style: normal; }
.o-green { color: var(--green-bright); }
.nav--solid .o-green { color: var(--green); }
.o-blue { color: var(--blue); }
.nav--solid .o-blue { color: var(--blue-deep); }

.nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav__links a { color: rgba(255,255,255,.85); transition: color .2s ease; }
.nav__links a:hover { color: #fff; }
.nav--solid .nav__links a { color: var(--muted); }
.nav--solid .nav__links a:hover { color: var(--green); }
.nav__actions { display: flex; align-items: center; gap: 14px; }

/* 语言切换 */
.lang {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 3px;
  transition: border-color .3s ease;
}
.nav--solid .lang { border-color: var(--line); }
.lang button {
  font-family: var(--font-brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
  color: rgba(255,255,255,.75);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 4px 11px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.nav--solid .lang button { color: var(--muted); }
.lang button:hover { color: #fff; }
.nav--solid .lang button:hover { color: var(--ink); }
.lang button.is-active { background: #fff; color: var(--navy); }
.nav--solid .lang button.is-active { background: var(--green); color: #fff; }

.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; color: #fff; transition: .2s; }
.nav--solid .nav__toggle span { color: var(--ink); }

/* ---------- Hero(策划书封面风格:深蓝夜空 + 意大利地图) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 88% -12%, rgba(168,214,243,.14), transparent 60%),
    radial-gradient(900px 520px at -8% 112%, rgba(52,211,153,.10), transparent 55%),
    linear-gradient(158deg, #141F3D 0%, #1D2A4D 52%, #243459 100%);
  color: #fff;
  padding: 168px 0 92px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
}
.hero__inner { max-width: 640px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--blue);
  border: 1px solid rgba(168,214,243,.35);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 30px;
}
.hero__flag { display: inline-flex; width: 21px; height: 14px; border-radius: 2.5px; overflow: hidden; flex-shrink: 0; }
.hero__flag i { flex: 1; }
.hero__flag i:nth-child(1) { background: #009246; }
.hero__flag i:nth-child(2) { background: #fff; }
.hero__flag i:nth-child(3) { background: #CE2B37; }

.hero__title {
  font-size: clamp(46px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 2px;
  margin-bottom: 26px;
}
.hero__dot { color: rgba(255,255,255,.35); }
.hero__accent {
  background: linear-gradient(92deg, var(--green-bright) 10%, var(--blue) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { font-size: 17.5px; color: rgba(255,255,255,.78); margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.hero__platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__platforms li {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 5px 15px;
}

.hero__visual { display: flex; justify-content: flex-end; }
.hero__map { width: 100%; max-width: 520px; height: auto; }
.map-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 3s ease-out infinite;
}
@keyframes map-pulse {
  0% { transform: scale(.55); opacity: .6; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .map-pulse { animation: none; opacity: .4; } }

.hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.stat__num {
  font-family: var(--font-brand);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.stat__unit { font-size: .48em; font-weight: 600; color: var(--blue); margin-left: 4px; }
.stat__label { font-size: 13.5px; color: rgba(255,255,255,.62); margin-top: 8px; }

/* ---------- 定位导语 ---------- */
.intro { background: var(--white); padding: 88px 0; border-bottom: 1px solid var(--line); }
.intro__inner { max-width: 880px; }
.intro__lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.9; color: var(--muted); }
.intro__lead strong { color: var(--ink); font-weight: 700; }

/* ---------- 通用 Section ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
.section--dark {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(168,214,243,.12), transparent 55%),
    linear-gradient(160deg, #141F3D, #22335A);
  color: #fff;
}
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__kicker {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section__kicker--light { color: var(--blue); }
.section__title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; line-height: 1.35; letter-spacing: 1px; }
.section__sub { margin-top: 16px; font-size: 16.5px; color: rgba(255,255,255,.72); }

/* ---------- 平台特色 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(5,150,105,.10), rgba(168,214,243,.30));
  color: var(--green);
  margin-bottom: 22px;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- 服务对象 ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.aud-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.aud-card--primary {
  background: linear-gradient(165deg, #22335A, #141F3D);
  color: #fff;
  border: 0;
  box-shadow: 0 24px 60px rgba(15,26,51,.35);
}
.aud-card__tag {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 22px;
}
.aud-card__tag--user { background: rgba(2,132,199,.10); color: var(--blue-deep); }
.aud-card__tag--merchant { background: rgba(168,214,243,.18); color: var(--blue); }
.aud-card__tag--community { background: rgba(5,150,105,.12); color: var(--green); }
.aud-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 14px; }
.aud-card > p { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.aud-card--primary > p { color: rgba(255,255,255,.75); }
.aud-card ul { margin-top: auto; display: grid; gap: 10px; }
.aud-card li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--muted); }
.aud-card--primary li { color: rgba(255,255,255,.85); }
.aud-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 13px;
  border: 3px solid var(--green);
  border-radius: 50%;
}
.aud-card--primary li::before { border-color: var(--green-bright); }

/* ---------- 对比表 ---------- */
.compare { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare__table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  font-size: 15px;
}
.compare__table th, .compare__table td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare__table thead th {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
  background: #f2f7f3;
}
.compare__table tbody td:first-child { font-weight: 700; white-space: nowrap; }
.compare__table tbody td:not(:first-child) { color: var(--muted); }
.compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__us {
  background: rgba(5,150,105,.07);
  color: var(--green-deep) !important;
  font-weight: 700;
}
.compare__table thead .compare__us {
  background: var(--green);
  color: #fff !important;
  font-family: var(--font-brand);
  letter-spacing: .5px;
}

/* ---------- 入驻步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(4px);
  transition: transform .25s ease, background .25s ease;
}
.step:hover { transform: translateY(-5px); background: rgba(255,255,255,.10); }
.step__num {
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green-bright);
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: rgba(255,255,255,.72); }

.partner-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
  border-block: 1px solid rgba(255,255,255,.14);
  margin-bottom: 44px;
}
.perk { text-align: center; }
.perk strong { display: block; font-family: var(--font-brand); font-size: 32px; font-weight: 700; color: var(--blue); }
.perk span { font-size: 13.5px; color: rgba(255,255,255,.68); }

.partner-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.partner-cta__note { font-size: 14px; color: rgba(255,255,255,.65); }

/* ---------- 用户评价 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voice {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.voice:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.voice blockquote { font-size: 15.5px; line-height: 2; color: var(--ink); }
.voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.voice__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--a, var(--green));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.voice figcaption strong { display: block; font-size: 15px; }
.voice figcaption em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- 发展路线 ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.road {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.road:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.road::after {
  content: "";
  position: absolute;
  right: -34px; top: -34px;
  width: 110px; height: 110px;
  border: 16px solid rgba(168,214,243,.28);
  border-radius: 50%;
}
.road__ver { font-family: var(--font-brand); font-size: 30px; font-weight: 700; color: var(--green); }
.road__time { font-size: 13px; letter-spacing: 2px; color: var(--muted); margin: 4px 0 18px; }
.road h3 { font-size: 19px; font-weight: 900; margin-bottom: 10px; }
.road p { font-size: 14.5px; color: var(--muted); }

/* ---------- 下载 ---------- */
.download {
  position: relative;
  background:
    radial-gradient(1000px 500px at 50% -30%, rgba(168,214,243,.18), transparent 60%),
    linear-gradient(165deg, #1D2A4D, #141F3D);
  color: #fff;
  padding: 110px 0 120px;
  text-align: center;
  overflow: hidden;
}
.download__rings {
  position: absolute;
  left: 50%; top: 50%;
  width: 1100px;
  transform: translate(-50%, -50%);
  opacity: .05;
  pointer-events: none;
}
.download__inner { position: relative; }
.download__title { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: 1px; margin-bottom: 16px; }
.download__sub { font-size: 17px; color: rgba(255,255,255,.72); margin-bottom: 52px; }
.download__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 920px;
  margin-inline: auto;
}
.dl-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.dl-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.13); border-color: rgba(168,214,243,.5); }
.dl-card svg { width: 34px; height: 34px; color: var(--green-bright); margin-bottom: 10px; }
.dl-card strong { font-family: var(--font-brand); font-size: 17px; font-weight: 700; }
.dl-card span { font-size: 12.5px; color: rgba(255,255,255,.62); }
.dl-card[aria-disabled="true"] { opacity: .62; cursor: default; }
.dl-card[aria-disabled="true"]:hover { transform: none; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-ink); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer__brand img { width: 56px; margin-bottom: 18px; }
.footer__slogan { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.6; }
.footer__slogan span { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.6); }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.footer__col a { display: block; font-size: 14px; margin-bottom: 12px; transition: color .2s; }
.footer__col a:hover { color: var(--blue); }
.footer__text { font-size: 13.5px; margin-bottom: 10px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 0 26px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}

/* ---------- 滚动显现动画(仅在 JS 可用时隐藏,避免脚本失败导致整页空白) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
.br-desktop { display: inline; }

@media (max-width: 1020px) {
  .features, .voices, .roadmap, .audience { grid-template-columns: repeat(2, 1fr); }
  .steps, .partner-perks, .download__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__visual { justify-content: center; margin-top: 10px; }
  .hero__map { max-width: 440px; }
}

@media (max-width: 960px) {
  .nav__links {
    position: fixed;
    top: 64px; left: 16px; right: 16px;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15,26,51,.25);
    padding: 18px;
    display: none;
    white-space: normal;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { color: var(--ink) !important; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
  .nav__links a:hover { background: var(--tint); }
  .nav__toggle { display: flex; }
}

@media (max-width: 420px) {
  .nav__inner { gap: 12px; }
  .nav__wordmark { font-size: 22px; }
  .lang button { padding: 4px 9px; }
}

@media (max-width: 700px) {
  .br-desktop { display: none; }
  .nav__actions .btn { display: none; }
  .hero { padding-top: 124px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .features, .voices, .roadmap, .audience, .steps, .partner-perks, .download__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
}
