/* ============ 基础 ============ */
:root {
  --ink: #0b1220;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-soft: #eaf1ff;
  --accent: #f59e0b;
  --accent-soft: #fff4dd;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 12px 34px -12px rgba(15, 23, 42, .16);
  --shadow-lg: 0 30px 60px -22px rgba(15, 23, 42, .28);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ============ 页面切换 ============ */
.page {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}
.page.active {
  display: block;
  opacity: 1;
  transform: none;
  animation: pageIn .5s ease both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .55);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-logo { height: 46px; width: auto; display: block; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.brand-sub { font-size: 10.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.active { color: var(--primary); background: var(--primary-soft); }
.nav-cta {
  margin-left: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  transition: transform .2s, background .2s;
}
.nav-cta:hover { background: var(--primary); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background: url('../assets/hero-bg.svg') center / cover no-repeat, #f4f7fd;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,0.92) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-600);
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.grad-text {
  background: linear-gradient(100deg, #2563eb, #6d28d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 660px;
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .6); }
.btn-primary:hover { background: var(--primary-600); }
.btn-ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-light { color: var(--ink); background: #fff; box-shadow: var(--shadow); }

.hero-stats {
  display: flex; gap: 0;
  margin-top: 54px;
  width: min(640px, 100%);
  justify-content: space-between;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 26px; font-weight: 800; }
.stat span { font-size: 13px; color: var(--muted); }

/* ============ 通用 Section ============ */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.section-desc { margin-top: 12px; font-size: 16px; color: var(--muted); }

/* ============ 服务卡片 ============ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #dbe7ff; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.service-icon {
  width: 52px; height: 52px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  font-size: 25px;
  border-radius: 15px;
  background: var(--primary-soft);
}
.service-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--primary-600);
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  white-space: nowrap;
}
.service-title { font-size: 20px; font-weight: 800; margin-bottom: 9px; }
.service-text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }
.service-list { list-style: none; display: grid; gap: 8px; margin-top: auto; }
.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.service-list li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  transition: color .2s, gap .2s;
}
.service-link:hover { color: var(--primary-600); gap: 9px; }

.service-card--promise {
  background: linear-gradient(135deg, #0f1f3d 0%, #1e3a8a 55%, #312e81 100%);
  color: #fff;
  border: none;
  box-shadow: 0 18px 40px -18px rgba(30, 58, 138, .6);
}
.service-card--promise:hover { border-color: transparent; }
.service-card--promise .service-icon { background: rgba(255, 255, 255, .14); }
.service-card--promise .service-tag { background: rgba(251, 191, 36, .16); color: #fde68a; }
.service-card--promise .service-title { color: #fff; }
.service-card--promise .service-text { color: #c7d2fe; }
.service-card--promise .service-list li { color: #e0e7ff; }
.service-card--promise .service-list li::before { background: #fbbf24; }

/* ============ 标签网格 ============ */
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.chip-icon { font-size: 20px; line-height: 1; }

/* ============ 三步流程 ============ */
.steps--3 { grid-template-columns: repeat(3, 1fr); }

/* ============ 优势 ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 26px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-num {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.feature strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ============ 合作流程 ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-dot {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  margin-bottom: 16px;
}
.step strong { display: block; font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ============ CTA ============ */
.cta-band {
  background: linear-gradient(120deg, #0f1f3d 0%, #1e3a8a 60%, #312e81 100%);
  color: #fff;
  padding: 72px 0;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.cta-inner h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
.cta-inner p { color: #c7d2fe; margin-bottom: 14px; }

/* ============ 页面头部 ============ */
.page-head-section { padding-top: 76px; }

/* ============ 品牌型号 ============ */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 30px 16px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: default;
}
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.brand-logo {
  width: 82px; height: 82px;
  display: grid; place-items: center;
  border-radius: 22px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.brand-logo svg { width: 40px; height: 40px; }
.brand-card .brand-cn { font-size: 15.5px; font-weight: 700; }
.brand-card .brand-en { font-size: 12.5px; color: var(--muted); letter-spacing: .03em; }
.brand-disclaimer {
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============ iPhone 预订 ============ */
.preorder-section { padding: 24px 0 76px; }
.preorder-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  align-items: center;
  gap: 30px;
  padding: 54px 54px;
  color: #fff;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 100% 0%, #4c1d95 0%, #1e1b4b 45%, #0b1220 100%);
  box-shadow: var(--shadow-lg);
}
.preorder-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 300px at 88% 18%, rgba(168, 85, 247, .35), transparent 62%);
  pointer-events: none;
}
.preorder-content { position: relative; z-index: 1; }
.preorder-badge {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  background: linear-gradient(100deg, #fbbf24, #f59e0b);
  margin-bottom: 18px;
}
.preorder-title { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; margin-bottom: 14px; }
.preorder-text { color: #d5d9f0; max-width: 520px; margin-bottom: 20px; }
.preorder-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.preorder-list li {
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 13.5px;
  color: #eef0ff;
  background: rgba(255,255,255,.06);
}
.preorder-note {
  margin-top: -12px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: #a5b4fc;
}
.preorder-visual { position: relative; display: grid; place-items: center; }
.phone-mock {
  position: relative;
  width: 190px; height: 380px;
  border-radius: 40px;
  background: linear-gradient(180deg, #1f2937, #0b1220);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px;
  border-radius: 999px;
  background: #000;
}
.phone-glow {
  position: absolute;
  inset: 12% 14%;
  border-radius: 22px;
  background:
    radial-gradient(80px 120px at 70% 20%, rgba(168,85,247,.8), transparent 60%),
    radial-gradient(90px 140px at 30% 80%, rgba(59,130,246,.7), transparent 60%);
  filter: blur(2px);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .85; }
  50% { opacity: .5; }
}

/* ============ 提示卡片 ============ */
.note-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 30px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.note-icon { font-size: 28px; line-height: 1; }
.note-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.note-card p { color: var(--muted); font-size: 15px; }

/* ============ 联系方式 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px;
  padding: 34px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 25px;
  border-radius: 16px;
  background: var(--primary-soft);
  margin-bottom: 8px;
}
.contact-card h3 { font-size: 16.5px; font-weight: 700; }
.contact-value { font-size: 18px; font-weight: 700; color: var(--ink); }
.contact-hint {
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
}
.contact-qr .contact-value { font-size: 15px; }
.contact-card--wide { grid-column: span 2; }
.contact-value--address { font-size: 14.5px; line-height: 1.7; max-width: 460px; }

/* ============ 页脚 ============ */
.site-footer { border-top: 1px solid var(--line); background: #0b1220; color: #cbd5e1; padding: 60px 0 0; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 48px; align-items: start; padding-bottom: 44px; }
.footer-logo-tile {
  display: inline-block;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  line-height: 0;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.5);
}
.footer-logo-tile .brand-logo { height: 44px; }
.footer-brand p { margin-top: 18px; max-width: 380px; font-size: 14px; line-height: 1.8; color: #94a3b8; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 18px;
  padding-top: 4px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: #cbd5e1; font-size: 14.5px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-address { color: #94a3b8; font-size: 14px; line-height: 1.9; }
.footer-address strong { display: block; color: #e2e8f0; font-weight: 700; margin-bottom: 2px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: #64748b;
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .service-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .chip-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .steps, .steps--3 { grid-template-columns: 1fr 1fr; }
  .preorder-card { grid-template-columns: 1fr; padding: 40px 30px; }
  .preorder-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link, .nav-cta { width: 100%; text-align: center; }
  .nav-cta { margin-left: 0; }
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 60px; }
  .hero-stats { gap: 12px; flex-wrap: wrap; }
  .stat strong { font-size: 21px; }
  .service-grid, .feature-grid, .contact-grid, .chip-grid, .steps, .steps--3 { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card--wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .section { padding: 62px 0; }
}
