/* ============ 超芯网络科技工作室 — 官网样式 ============ */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --ink: #0b1526;
  --ink-2: #46536b;
  --ink-3: #7a86a0;
  --line: #e4e9f2;
  --brand: #0d99ff;
  --brand-2: #6e4bff;
  --grad: linear-gradient(120deg, #0d99ff, #6e4bff);
  --radius: 18px;
  --shadow-card: 0 2px 6px rgba(11, 21, 38, .05), 0 14px 34px rgba(11, 21, 38, .08);
  --shadow-card-hover: 0 4px 12px rgba(11, 21, 38, .07), 0 22px 48px rgba(11, 21, 38, .13);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.75 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(228, 233, 242, .7);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.brand-name small { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav > a:not(.btn) { color: var(--ink-2); transition: color .2s; }
.nav > a:not(.btn):hover { color: var(--brand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(13, 99, 255, .30); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(13, 99, 255, .42); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; text-align: center; }
.hero-glow {
  position: absolute; inset: -40% -20% auto; height: 120%;
  background:
    radial-gradient(600px 320px at 28% 32%, rgba(13, 153, 255, .14), transparent 68%),
    radial-gradient(560px 320px at 74% 28%, rgba(110, 75, 255, .13), transparent 66%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .34em;
  color: var(--brand); margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.14; letter-spacing: -.02em; font-weight: 800;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  max-width: 640px; margin: 26px auto 0;
  font-size: 17px; color: var(--ink-2);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(24px, 5vw, 72px);
  justify-content: center; margin-top: 64px; list-style: none;
}
.hero-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { font-size: 13px; color: var(--ink-3); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--brand); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.015em; }
.section-desc { margin-top: 14px; color: var(--ink-2); }

/* ---------- service cards ---------- */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(13, 153, 255, .35); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 6px 16px rgba(13, 99, 255, .28);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.tags li {
  font-size: 12px; color: var(--brand); background: rgba(13, 153, 255, .08);
  border: 1px solid rgba(13, 153, 255, .18); border-radius: 999px; padding: 3px 12px;
}

/* ---------- cases ---------- */
.cases {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  align-items: start;
}.case { text-align: center; }
.phone-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, #eef2f8, #e2e9f4);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px 12px 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.case:hover .phone-frame { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow-card-hover); }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 14px; border-radius: 999px; background: #c8d2e2;
}
.phone-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 14px; background: #fff;
}
.case figcaption { margin-top: 18px; }
.case h3 { font-size: 16.5px; margin-bottom: 6px; }

/* ---------- process steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none;
  counter-reset: step;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 16px; text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.step b { display: block; font-size: 13px; color: var(--brand); letter-spacing: .1em; margin-bottom: 10px; }
.step h3 { font-size: 15.5px; margin-bottom: 8px; }
.step p { font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-card);
}
.contact-card h3 { font-size: 18px; margin-bottom: 18px; }
.contact-list, .biz-list { list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: none; }
.contact-list b { color: var(--ink); min-width: 3.5em; }
.ci { font-size: 18px; }
.biz-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.biz-list li {
  background: var(--bg-alt); border-radius: 10px; padding: 10px 14px;
  font-size: 14px; color: var(--ink-2); text-align: center;
}
.contact-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.copyright-line { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); text-align: right; }

/* ---------- footer ---------- */
.site-footer { background: #0b1526; color: #9fb0cc; padding: 26px 0; font-size: 13.5px; }
.footer-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-wrap .dot { opacity: .5; }
.to-top { margin-left: auto; color: #cdd9ee; }
.to-top:hover { color: #fff; }
.icp { color: #9fb0cc; }
.icp:hover { color: #cdd9ee; text-decoration: underline; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}@media (max-width: 620px) {
  .nav > a:not(.btn) { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 72px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 20px; }
}
/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .step, .phone-frame, .btn { transition: none; }
}
