:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --navy: #0f1b3d;
  --navy-2: #16224d;
  --accent: #ff7a00;
  --accent-dark: #e86a00;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e5e9f2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 27, 61, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 27, 61, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 27, 61, 0.06);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: baseline; gap: 6px; font-weight: 800; color: var(--navy); }
.brand-logo {
  font-size: 22px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--primary), #4f8bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub { font-size: 14px; font-weight: 600; color: var(--text); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--text-muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.32);
  transition: transform .15s, background .2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11, 24, 55, 0.92) 0%, rgba(11, 24, 55, 0.72) 45%, rgba(37, 99, 235, 0.35) 100%);
}
.hero-content {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  color: #fff;
  max-width: 720px;
  width: 100%;
}
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.08);
}
.hero-title {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, #ff8a1e, var(--accent));
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 122, 0, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 122, 0, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}
.stat { display: flex; flex-direction: column; }
.stat b { font-size: 30px; font-weight: 800; color: var(--accent); }
.stat span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* ---------- 通用 section ---------- */
.section { padding: 84px 24px; max-width: 1120px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ---------- 海报 ---------- */
.posters { background: var(--bg); }
.poster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.poster-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.poster-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.poster-card.wide { grid-column: span 2; }
.poster-card img { width: 100%; height: 240px; object-fit: cover; }
.poster-card.wide img { height: 360px; }
.poster-card figcaption { padding: 20px 24px 24px; }
.poster-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.poster-card p { color: var(--text-muted); font-size: 14px; }

/* ---------- 运作模式 ---------- */
.mode { background: var(--bg-soft); border-radius: 0; max-width: none; padding-left: max(24px, calc((100% - 1120px) / 2)); padding-right: max(24px, calc((100% - 1120px) / 2)); }
.mode-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.mode-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.mode-steps { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mode-steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #4f8bff);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.mode-steps h3 { font-size: 17px; color: var(--navy); margin-bottom: 3px; }
.mode-steps p { font-size: 14px; color: var(--text-muted); }

/* ---------- 合作伙伴 ---------- */
.coop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.coop-card {
  position: relative;
  border-radius: var(--radius);
  padding: 32px 30px;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.coop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.coop-card.flipkart { background: linear-gradient(135deg, #1a56db, #2870ea 60%, #f7d623 170%); }
.coop-card.shopee { background: linear-gradient(135deg, #ee4d2d, #ff6a3d 90%, #f8c471 175%); }
.coop-flag { font-size: 38px; display: block; margin-bottom: 14px; }
.coop-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 2px; }
.coop-country { font-size: 14px; opacity: .9; margin-bottom: 16px; }
.coop-desc { font-size: 14px; opacity: .92; margin-bottom: 22px; max-width: 320px; }
.coop-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: background .2s;
}
.coop-link:hover { background: rgba(255, 255, 255, 0.34); }

/* ---------- 下载 ---------- */
.download { background: var(--bg); }
.download-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 24px;
  padding: 48px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.download-info h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; }
.download-sub { color: rgba(255, 255, 255, 0.8); margin-bottom: 22px; }
.download-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
}
.pill b { color: var(--accent); }
.download-notes { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; white-space: pre-wrap; }
.download-actions { margin-bottom: 14px; }
.btn-download { font-size: 17px; padding: 16px 38px; }
.btn-download:disabled { background: #5b6478; box-shadow: none; cursor: not-allowed; transform: none; }
.download-hint { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.download-api {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 26px;
}
.download-api h3 { font-size: 18px; margin-bottom: 6px; }
.download-api > p { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-bottom: 18px; }
.api-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.api-label { font-size: 12px; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; letter-spacing: 1px; }
.api-field code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 12px;
  border-radius: 8px;
  word-break: break-all;
  color: #9fd0ff;
}
.api-desc { font-size: 13px; color: rgba(255, 255, 255, 0.7); white-space: pre-wrap; }

/* ---------- 页脚 ---------- */
.footer { background: #0a142e; color: #cbd5e1; padding: 44px 24px; }
.footer-inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.footer-brand { justify-content: center; margin-bottom: 12px; }
.footer-brand .brand-sub { color: #94a3b8; }
.footer p { font-size: 14px; }
.footer-sub { margin-top: 6px; color: #7d8aa5; }
.footer-sub a { color: #b8d4ff; }
.footer-sub a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .poster-grid { grid-template-columns: 1fr; }
  .poster-card.wide { grid-column: span 1; }
  .mode-wrap { grid-template-columns: 1fr; }
  .coop-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; padding: 28px; }
  .hero-stats { gap: 28px; }
  .stat b { font-size: 24px; }
}