:root {
  --bg: #f4f9fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #0ea5e9;
  --blue2: #06b6d4;
  --cyan: #22d3ee;
  --green: #16a34a;
  --line: #e2e8f0;
  --radius: 18px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.top {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand {
  color: var(--text); font-weight: 800; font-size: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-ico {
  width: 36px; height: 36px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(14,165,233,.22);
}
nav { display: flex; gap: 18px; align-items: center; }
nav a { color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }

.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(14,165,233,.14), transparent 55%),
    radial-gradient(700px 360px at 0% 20%, rgba(6,182,212,.1), transparent 50%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  color: var(--blue); font-weight: 700; letter-spacing: .04em; margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue2);
  box-shadow: 0 0 0 0 rgba(6,182,212,.5);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(6,182,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(6,182,212,0); }
}
h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; }
.grad {
  background: linear-gradient(90deg, #0284c7, #06b6d4 50%, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0 0 24px; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.center-row { justify-content: center; }
.fine { color: var(--muted); font-size: 12px; margin-top: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 8px 14px; }
.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  color: #fff; box-shadow: 0 10px 24px rgba(14,165,233,.22);
}
.btn-primary:hover { filter: brightness(1.04); }
.btn-android {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; box-shadow: 0 10px 24px rgba(22,163,74,.18);
}
.btn-ghost {
  background: #fff; border-color: var(--line); color: var(--text);
}
.btn-ghost:hover { border-color: #cbd5e1; box-shadow: var(--shadow); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ico { font-size: 14px; opacity: .9; }

.hero-stage { position: relative; }
.stage-frame {
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 60px rgba(15,23,42,.08);
}
.stage-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: #f8fafc; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px;
}
.stage-bar i { width: 8px; height: 8px; border-radius: 50%; display: block; background: #ef4444; }
.stage-bar i:nth-child(2) { background: #f59e0b; }
.stage-bar i:nth-child(3) { background: #22c55e; }
.stage-bar span { margin-left: 8px; }
.hero-card {
  padding: 14px;
  display: grid;
  gap: 10px;
  background: #fff;
}
.fake-box {
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  box-sizing: border-box;
}
.fake-box b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.fake-box small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}
.fake-box.c1 { background: #eff6ff; border-color: #bfdbfe; }
.fake-box.c2 { background: #ecfdf5; border-color: #a7f3d0; }
.fake-box.c3 { background: #fffbeb; border-color: #fde68a; }
.fake-box.c4 { background: #faf5ff; border-color: #e9d5ff; }
.fake-box.c5 { background: #ecfeff; border-color: #a5f3fc; }

.product-shot {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  line-height: 0;
}
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.placeholder-shot .shot-ph {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    linear-gradient(145deg, #f0f9ff 0%, #ecfeff 55%, #f8fafc 100%);
  border: 1px dashed #67e8f9;
  color: var(--muted);
  line-height: 1.4;
  padding: 24px;
  text-align: center;
}
.shot-ph-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.shot-ph-hint {
  font-size: 12px;
  font-weight: 500;
  opacity: .85;
}

.section { padding: 56px 0; }
.section.tint { background: #fff; border-block: 1px solid var(--line); }
.section h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.section-sub { color: var(--muted); margin: 0 0 28px; line-height: 1.6; }
.center-text { text-align: center; }
.center { text-align: center; }

.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat-grid-5 { grid-template-columns: repeat(5, 1fr); }
.feat-grid-8 { grid-template-columns: repeat(4, 1fr); }
.feat-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.feat-grid article:hover { transform: translateY(-3px); border-color: #a5f3fc; }
.feat-grid h3 { margin: 0 0 8px; font-size: 16px; }
.feat-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.platform-card {
  border-radius: 22px; padding: 28px; border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow);
}
.platform-card.accent {
  background: linear-gradient(160deg, #ecfeff, #ffffff);
  border-color: #a5f3fc;
}
.platform-card h3 { margin: 0 0 10px; font-size: 22px; }
.platform-card p { color: var(--muted); line-height: 1.65; margin: 0 0 18px; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto;
}
.price-card {
  position: relative; border-radius: 22px; padding: 28px; border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: #7dd3fc;
  background: linear-gradient(160deg, #ecfeff, #ffffff);
}
.price-card .badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #cffafe; color: #0e7490;
}
.price-card h3 { margin: 0 0 8px; font-size: 20px; }
.price-card .price { margin: 0 0 16px; }
.price-card .amount { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.price-card .unit { color: var(--muted); font-size: 14px; margin-left: 4px; }
.price-card ul {
  margin: 0 0 20px; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.8;
}
.price-card .btn { width: 100%; }

.download-band {
  background: linear-gradient(180deg, #ecfeff, #f4f9fc);
  border-top: 1px solid var(--line);
}
.download-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 8px;
}
.download-pair .btn { min-width: 220px; }
.btn-zip {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.btn-zip:hover { border-color: #94a3b8; }
.foot {
  padding: 28px 0 40px; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line); background: #fff;
}
.foot a { color: var(--muted); }

.sub-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 36px 0 60px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  box-shadow: var(--shadow);
}
.panel h2 { margin: 0 0 8px; font-size: 22px; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.6; }
.field { margin: 12px 0; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--text); font-size: 14px;
}
.qr-box {
  width: 220px; height: 220px; margin: 16px auto; border-radius: 16px;
  background: #f8fafc; border: 1px dashed #cbd5e1;
  display: none; place-items: center; overflow: hidden;
}
.qr-box.show { display: grid; background: #fff; border-style: solid; border-color: var(--line); }
.qr-box img, .qr-box canvas { width: 200px; height: 200px; }
.qr-placeholder {
  margin: 16px auto; max-width: 280px; text-align: center;
  padding: 28px 16px; border-radius: 16px; border: 1px dashed #cbd5e1;
  background: #f8fafc; color: var(--muted); font-size: 13px; line-height: 1.6;
}
.qr-placeholder.hide { display: none; }
.status-pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #cffafe; color: #0e7490; margin-bottom: 10px;
}
.status-pill.ok { background: #dcfce7; color: #15803d; }
.err { color: #dc2626; font-size: 13px; margin-top: 8px; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ok-msg { color: #15803d !important; margin-top: 12px; font-size: 13px; display: none; }

@media (max-width: 980px) {
  .feat-grid-5, .feat-grid-8 { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .feat-grid, .feat-grid-5, .feat-grid-8, .sub-layout, .platform-grid, .pricing-grid { grid-template-columns: 1fr; }
  nav a:not(.btn) { display: none; }
}
