:root {
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --ink: #0f1830;
  --ink-2: #4a5468;
  --muted: #8a94a8;
  --primary: #2563eb;
  --primary-2: #06b6d4;
  --line: #e8edf6;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(20, 50, 120, .08);
  --shadow-lg: 0 24px 70px rgba(20, 50, 120, .16);
  --grad: linear-gradient(120deg, #2563eb 0%, #06b6d4 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, 90%); margin: 0 auto; }
.eyebrow { font-size: 13px; letter-spacing: 2px; font-weight: 700; color: var(--primary); text-transform: uppercase; margin: 0 0 10px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; font-size: 14px; letter-spacing: -1px; }
.brand-name { font-size: 18px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--ink); cursor: pointer; }

/* 首屏 */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 500px at 80% -10%, #e8f1ff 0%, #fff 60%); padding: 64px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; margin: 6px 0 18px; font-weight: 800; letter-spacing: -.5px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 520px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,.28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn.disabled { opacity: .65; cursor: default; transform: none; box-shadow: none; }
.hero-stats { display: flex; gap: 34px; margin-top: 38px; }
.hero-stats b { display: block; font-size: 26px; font-weight: 800; }
.hero-stats span { font-size: 13px; color: var(--muted); }

.hero-art { position: relative; display: grid; place-items: center; }
.phone-frame { width: 270px; border-radius: 34px; padding: 10px; background: linear-gradient(160deg,#1f2a44,#0f1830); box-shadow: var(--shadow-lg); }
.phone-frame img { border-radius: 26px; }
.float-card { position: absolute; background: #fff; box-shadow: var(--shadow-lg); border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 14px; }
.card-a { top: 24px; left: -6px; }
.card-b { bottom: 40px; right: -8px; }

/* 通用区块 */
.section { padding: 88px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 12px; font-weight: 800; letter-spacing: -.4px; }
.sec-sub { color: var(--ink-2); font-size: 16px; margin: 0; }

/* 产品 */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card.featured { grid-row: span 1; border-color: #cfe0ff; }
.pc-media { height: 210px; display: grid; place-items: center; background: linear-gradient(160deg,#eef4ff,#e6fbff); overflow: hidden; }
.pc-media img { max-height: 210px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 30px rgba(20,50,120,.18)); margin-top: 18px; border-radius: 14px 14px 0 0; }
.pc-media.md { background: linear-gradient(160deg,#eaf0ff,#f3f6ff); }
.pc-media.md .md-icon { width: 92px; height: 92px; margin: 0; border-radius: 22px; box-shadow: var(--shadow-lg); }
.pc-media.calc { background: linear-gradient(160deg,#e9fbf4,#eafaff); }
.calc-art { width: 96px; height: 96px; border-radius: 24px; background: var(--grad); color: #fff; font-size: 48px; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.pc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--primary); background: #eef3ff; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.pc-body h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; }
.pc-body > p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 14px; }
.pc-feats { list-style: none; padding: 0; margin: 0 0 18px; }
.pc-feats li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.pc-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.pc-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* 关于 */
.about { background: var(--bg-soft); }
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: clamp(26px,3.6vw,36px); margin: 0 0 16px; font-weight: 800; }
.about-text p { color: var(--ink-2); margin: 0 0 14px; }
.about-points { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.ap b { display: block; font-size: 16px; }
.ap span { font-size: 13px; color: var(--muted); }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.about-card h4 { margin: 0 0 16px; font-size: 16px; }
.about-card dl { margin: 0; }
.about-card dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.about-card dl > div:first-child { border-top: 0; }
.about-card dt { color: var(--muted); font-size: 13.5px; }
.about-card dd { margin: 0; font-size: 14px; font-weight: 600; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; text-align: center; box-shadow: var(--shadow); transition: transform .2s, box-shadow .25s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card .ci { font-size: 30px; margin-bottom: 12px; }
.contact-card h4 { margin: 0 0 6px; font-size: 16px; }
.contact-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* 页脚 */
.footer { background: #0f1830; color: #c7d0e2; padding: 54px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-name { color: #fff; }
.footer-desc { color: #8a94a8; margin: 12px 0 0; font-size: 14px; }
.footer-links { display: flex; gap: 26px; align-items: flex-start; }
.footer-links a { color: #c7d0e2; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; font-size: 13px; color: #8a94a8; }
.footer-bottom a:hover { color: #fff; }

/* 进入视口渐入（默认可见，仅在 .in-view 时播放动画） */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  .in-view { animation: rise .6s ease both; }
}

/* 响应式 */
@media (max-width: 920px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 66px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 5%; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 4px; border-top: 1px solid var(--line); }
  .nav-links a:first-child { border-top: 0; }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
}
