:root {
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --ink: #1f2233;
  --muted: #6b7280;
  --line: #e7e7ef;
  --bg: #ffffff;
  --tint: #f6f5fb;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 34, 51, 0.08);
  --maxw: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.nav__mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center; color: #fff; font-size: 16px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
}
.nav__name { font-size: 17px; letter-spacing: 1px; }
.nav__menu { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.nav__menu a:hover { color: var(--indigo); }
.nav__toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 20px 120px; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(700px 360px at 0% 10%, rgba(79, 70, 229, 0.14), transparent 55%);
}
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.hero__eyebrow {
  display: inline-block; font-size: 14px; letter-spacing: 2px;
  color: var(--indigo); background: rgba(79, 70, 229, 0.08);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero__title { font-size: clamp(32px, 6vw, 56px); line-height: 1.2; font-weight: 800; letter-spacing: 1px; }
.hero__sub { margin: 22px auto 34px; max-width: 560px; color: var(--muted); font-size: 17px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--indigo), var(--violet)); box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { color: var(--indigo); border: 1px solid rgba(79, 70, 229, 0.35); }
.btn--ghost:hover { background: rgba(79, 70, 229, 0.06); }

/* ---------- 通用 section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 84px 20px; }
.section--tint { max-width: none; background: var(--tint); }
.section--tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 40px; }
.section__tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--violet);
  font-weight: 700; margin-bottom: 10px;
}
.section__head h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }

.about p { font-size: 17px; color: #34374a; max-width: 760px; }
.about__note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- 卡片 ---------- */
.cards--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.card__icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- 产品 ---------- */
.product { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; }
.product__media { display: grid; place-items: center; position: relative; }
.product__badge {
  position: absolute; top: -10px; left: 24px; z-index: 2;
  font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  padding: 5px 12px; border-radius: 999px;
}
.product__phone {
  width: 240px; height: 460px; border-radius: 36px; padding: 12px;
  background: linear-gradient(160deg, #2a2350, #4a3aa0);
  box-shadow: 0 24px 50px rgba(76, 58, 237, 0.35);
}
.product__screen {
  width: 100%; height: 100%; border-radius: 26px; background: #0f1024;
  padding: 22px 18px; display: flex; flex-direction: column; gap: 14px;
}
.dot { width: 34px; height: 34px; border-radius: 10px; }
.dot--inc { background: #34d399; }
.dot--exp { background: #f59e0b; }
.line { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.line--1 { width: 70%; }
.line--2 { width: 54%; }
.product__mic {
  margin-top: auto; text-align: center; color: #fff; font-size: 13px;
  background: rgba(255, 255, 255, 0.1); padding: 12px; border-radius: 12px;
}
.product__body h3 { font-size: 24px; margin-bottom: 12px; }
.product__desc { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.feature { list-style: none; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 22px; font-size: 15px; color: #34374a; }
.feature li::before { content: "✓"; position: absolute; left: 0; color: var(--indigo); font-weight: 700; }
.feature b { color: var(--ink); }
.product__cta { margin-top: 20px; font-size: 14px; color: var(--muted); }
.products__more { text-align: center; margin-top: 36px; color: var(--muted); font-size: 15px; }

/* ---------- 联系 ---------- */
.contact { display: grid; gap: 16px; max-width: 640px; }
.contact__item {
  display: flex; gap: 18px; align-items: baseline;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px;
}
.contact__k { flex: 0 0 120px; font-weight: 700; color: var(--indigo); }
.contact__v { color: var(--muted); font-size: 15px; }

/* ---------- 页脚 ---------- */
.footer { background: #15162b; color: #cfd0e0; padding: 40px 20px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 14px;
}
.footer__beian { color: #9a9bb5; }
.footer__note { max-width: var(--maxw); margin: 16px auto 0; font-size: 13px; color: #80829c; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav__menu {
    position: fixed; top: 60px; right: 16px; left: 16px;
    flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 12px; box-shadow: var(--shadow); display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__toggle { display: flex; }
  .cards--3 { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 30px; }
  .product__media { order: -1; }
  .contact__item { flex-direction: column; gap: 4px; }
  .contact__k { flex: none; }
}
