/* 速推科技 · 官网样式
   Light theme, no external dependencies. */

:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e6ebf2;
  --line-strong: #d5dde8;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --bg-dark: #0b1220;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --accent-soft: #eef4ff;
  --ok: #10b981;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, .14);
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 23, 42, .05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .2px;
  line-height: 1.15;
}
.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--ink-3);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14.5px;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease;
}
.nav-cta:hover { background: #16233b; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 11px 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(37, 99, 235, .13), transparent 60%),
    radial-gradient(700px 420px at 8% 8%, rgba(14, 165, 233, .10), transparent 62%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 68%);
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 420px at 60% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 420px at 60% 20%, #000 0%, transparent 78%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .14);
}

h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 .grad {
  background: linear-gradient(96deg, var(--accent) 0%, var(--accent-2) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, #2f6df6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 99, 235, .32); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #b9c4d4; transform: translateY(-2px); }
.btn-block { width: 100%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero-stats dd { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

.hero-visual { position: relative; }

.console {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}
.console-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #dfe5ee; }
.console-bar .dot.r { background: #ff5f57; }
.console-bar .dot.y { background: #febc2e; }
.console-bar .dot.g { background: #28c840; }
.console-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.console-body { padding: 18px 18px 14px; }
.console-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 5px 0;
}
.tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  background: #eef1f6;
  color: var(--ink-3);
}
.tag.ok { background: rgba(16, 185, 129, .12); color: #047857; }
.console-chart {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 108px;
  margin: 18px 0 12px;
  padding: 0 4px;
}
.console-chart .bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(37, 99, 235, .78), rgba(37, 99, 235, .22));
}
.console-chart .bar:nth-child(even) { background: linear-gradient(180deg, rgba(14, 165, 233, .62), rgba(14, 165, 233, .16)); }
.console-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.console-foot b { color: var(--ink); font-weight: 700; }

.float-card {
  position: absolute;
  right: -14px;
  bottom: -22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 10px;
  align-items: baseline;
}
.float-label { grid-column: 1 / -1; font-size: 11px; color: var(--ink-3); }
.float-card strong { font-size: 22px; font-weight: 800; color: var(--accent); }
.float-sub { font-size: 11px; color: var(--ink-3); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark {
  background: var(--bg-dark);
  color: #e8eef8;
  padding: 96px 0;
}
.section-dark .eyebrow { color: #7fb0ff; }
.section-dark h2 { color: #fff; }
.section-dark .section-sub { color: #9aa9bf; }

.section-head { max-width: 720px; margin-bottom: 46px; }
h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.28;
  letter-spacing: -.015em;
  font-weight: 800;
}
.section-sub { margin-top: 14px; color: var(--ink-3); font-size: 16px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cfd9e8;
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card .icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tags li {
  font-size: 11.5px;
  color: var(--ink-3);
  background: #f4f6fa;
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

/* solutions */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.solution {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.solution-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.solution h3 { font-size: 19px; margin-bottom: 10px; }
.solution p { color: var(--ink-2); font-size: 14.5px; }
.solution-kpi {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  color: #0f766e !important;
  font-size: 13px !important;
  font-weight: 600;
}

/* cases */
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.case-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.case-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.case-year { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.case h3 { font-size: 18px; margin-bottom: 10px; }
.case p { color: var(--ink-2); font-size: 14.5px; }
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}
.case-metrics div {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.case-metrics dt { font-size: 11.5px; color: var(--ink-3); }
.case-metrics dd { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }

/* process */
.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: none;
}
.process li {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .035);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
}
.process .step {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #7fb0ff;
  margin-bottom: 12px;
}
.process h3 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.process p { font-size: 13.5px; color: #9aa9bf; line-height: 1.65; }

/* stack */
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack span {
  font-size: 13.5px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* about */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-copy p { margin-top: 16px; color: var(--ink-2); font-size: 15.5px; }
.checklist { margin-top: 22px; display: grid; gap: 10px; }
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .12);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5px; top: 11px;
  width: 6px; height: 3px;
  border-left: 2px solid #059669;
  border-bottom: 2px solid #059669;
  transform: rotate(-45deg);
}
.about-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.about-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.about-item:last-child { border-bottom: 0; }
.about-item span { color: var(--ink-3); flex: none; }
.about-item strong { font-weight: 600; text-align: right; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy p { margin-top: 16px; color: var(--ink-2); font-size: 15.5px; }
.contact-list { margin-top: 28px; display: grid; gap: 14px; }
.contact-list li {
  display: flex;
  gap: 16px;
  font-size: 14.5px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.contact-list span { color: var(--ink-3); width: 84px; flex: none; }
.contact-list a { color: var(--accent); font-weight: 600; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fcfdff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 104px; }
.form-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.form-status { margin-top: 8px; font-size: 13px; color: #047857; min-height: 20px; }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-nav h4 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-nav a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color .16s ease;
}
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}
.icp a { color: var(--ink-3); }
.icp a:hover { color: var(--ink); text-decoration: underline; }

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 72px; }
  .hero-visual { max-width: 520px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about, .contact { grid-template-columns: 1fr; gap: 34px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 12px; }
  .nav-toggle { display: flex; }
  .grid-3, .solutions { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section { padding: 68px 0; }
  .section-dark { padding: 68px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-card { right: 8px; bottom: -18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
