/* ============ 基础与变量（浅色高级风） ============ */
:root {
  --primary: #2563eb;
  --primary-2: #0ea5e9;
  --primary-dark: #1d4ed8;
  --accent: #0ea5e9;

  --bg: #f7f9fc;            /* 主背景：极浅蓝灰 */
  --bg-2: #ffffff;          /* 次区块背景 */
  --surface: #ffffff;
  --line: #e8ecf3;
  --line-strong: #d9dfea;

  --ink: #0f172a;           /* 主文字 */
  --ink-light: #64748b;     /* 次文字 */

  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06), 0 20px 48px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(37, 99, 235, 0.22);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============ 进入视口动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark img { display: block; }
.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 15px;
  color: var(--ink-light);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  padding: 9px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.38); }

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 440px at 14% -8%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(640px 460px at 88% 14%, rgba(14, 165, 233, 0.12), transparent 60%),
    radial-gradient(500px 420px at 50% 120%, rgba(59, 130, 246, 0.06), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.25), transparent);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}
.hero-title {
  font-size: 54px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
}
.hero-title .grad-text {
  background: linear-gradient(120deg, #2563eb, #0ea5e9 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-dot { color: var(--primary-2); }
.hero-sub {
  font-size: 18px;
  color: var(--ink-light);
  margin: 22px 0 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37, 99, 235, 0.32); }
.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.hero-points {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: 14px;
  color: var(--ink-light);
  font-weight: 500;
}

/* 手机示意 */
.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  position: relative;
  width: 280px;
  height: 560px;
  background: #0b1220;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.18), 0 6px 20px rgba(15, 23, 42, 0.08);
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: #0b1220;
  border-radius: 12px;
  z-index: 2;
}
.phone-map { width: 100%; height: 100%; border-radius: 30px; display: block; }

/* ============ 特色数据条 ============ */
.stats {
  position: relative;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  padding: 24px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.stat:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 14px; color: var(--ink-light); }

/* ============ 区块通用 ============ */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.14);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.section-desc { color: var(--ink-light); font-size: 16px; margin-top: 14px; }

/* ============ 核心功能 ============ */
.features { background: var(--bg); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 84px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-reverse .feature-visual { order: -1; }

.feature-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
}
.feature-title { font-size: 28px; font-weight: 800; margin: 12px 0 14px; color: var(--ink); }
.feature-desc { color: var(--ink-light); font-size: 16px; margin-bottom: 24px; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  font-size: 15px;
  color: var(--ink);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1 14l-4-4 1.4-1.4L11 13.2l4.6-4.6L17 10l-6 6z' fill='%232563eb'/%3E%3C/svg%3E") center/contain no-repeat;
}

.map-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-md);
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), transparent 40%, transparent 60%, rgba(14, 165, 233, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.map-card svg { width: 100%; height: auto; display: block; border-radius: 12px; }

/* ============ 下载 CTA ============ */
.download {
  position: relative;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(14, 165, 233, 0.14), transparent 60%),
    linear-gradient(135deg, #eef4ff, #e6f4fe 50%, #f0f7ff);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.download-title { font-size: 36px; font-weight: 800; color: var(--ink); }
.download-sub { color: var(--ink-light); font-size: 16px; margin: 14px 0 36px; }
.download-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 13px 24px;
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.store-btn:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.store-icon { font-size: 26px; }
.store-text { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.store-text small { font-size: 11px; color: var(--ink-light); }
.store-text strong { font-size: 16px; font-weight: 700; color: var(--ink); }
.download-note { margin-top: 28px; font-size: 13px; color: var(--ink-light); }

/* ============ FAQ ============ */
.faq-inner { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item.open {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.25s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 24px 22px;
  color: var(--ink-light);
  font-size: 15px;
}

/* ============ 关于 / 联系 ============ */
.about { background: #fff; border-top: 1px solid var(--line); }
.contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.contact-item:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-icon { font-size: 24px; }
.contact-item strong { display: block; font-size: 15px; margin-bottom: 5px; color: var(--ink); }
.contact-item p { color: var(--ink-light); font-size: 14px; }

/* ============ 页脚（浅色） ============ */
.site-footer {
  background: #f1f5fb;
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
}
.footer-nav a { font-size: 14px; color: var(--ink-light); transition: color 0.2s; }
.footer-nav a:hover { color: var(--primary); }
.footer-copy { font-size: 13px; color: #94a3b8; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-copy a { color: #94a3b8; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: color 0.2s; }
.footer-copy a:hover { color: var(--primary); }
.footer-beian { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 20px; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .hero { padding: 52px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .hero-title { font-size: 42px; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-frame { width: 220px; height: 440px; border-radius: 34px; }
  .phone-map { border-radius: 24px; }

  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row-reverse .feature-visual { order: 0; }
  .feature-title { font-size: 24px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }

  .section-title { font-size: 29px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: 14px 24px; }
  .nav-cta { margin: 8px 24px 12px; text-align: center; }

  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .download-title { font-size: 27px; }
}
