:root {
  --primary: #6366f1;
  --primary-dark: #4338ca;
  --primary-soft: #eef2ff;
  --purple: #7c3aed;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --card: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gold: #d97706;
  --old: #f97316;
  --new: #6366f1;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, .14);
  --radius: 22px;
}

* { 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: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
code {
  padding: 2px 6px;
  border-radius: 8px;
  background: #fff7ed;
  color: #c2410c;
  font-size: .9em;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 760px;
  background:
    radial-gradient(circle at 20% 10%, rgba(129, 140, 248, .55), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(168, 85, 247, .45), transparent 32%),
    linear-gradient(135deg, #111827 0%, #312e81 42%, #5b21b6 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 90%);
}

.hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(38px);
  opacity: .45;
}
.hero__glow--one { left: -80px; top: 160px; background: #22d3ee; }
.hero__glow--two { right: -120px; bottom: 60px; background: #f472b6; }

.topbar {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}
.topbar__links a:hover { color: #fff; }

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 170px;
  text-align: center;
}
.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.eyebrow {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  color: #e0e7ff;
}
.hero h1 {
  margin: 26px auto 22px;
  max-width: 980px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -.06em;
}
.hero__subtitle {
  max-width: 850px;
  margin: 0 auto;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2vw, 22px);
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #111827;
  box-shadow: 0 18px 42px rgba(249, 115, 22, .35);
}
.btn--secondary {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
}
.btn--ghost {
  min-height: 34px;
  padding: 0 14px;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.hero__badges {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__badges span {
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
}
.hero__guide {
  max-width: 980px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero__guide article {
  padding: 18px;
  text-align: left;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}
.hero__guide strong {
  display: block;
  margin-bottom: 6px;
  color: #fef3c7;
  font-size: 16px;
}
.hero__guide p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.65;
}

.legacy-story {
  position: relative;
  z-index: 2;
  margin-top: -92px;
  padding-bottom: 28px;
}
.legacy-story__card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
  gap: 34px;
  padding: 38px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 8% 0%, rgba(99,102,241,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.94));
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}
.legacy-story h2 {
  margin: 10px 0 14px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.legacy-story__lead {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.legacy-shift {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.legacy-shift article {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 34px rgba(15,23,42,.06);
}
.legacy-shift strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 17px;
}
.legacy-shift span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.legacy-conclusion {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #4f46e5);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.55;
}
.legacy-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: center;
}
.legacy-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: linear-gradient(180deg, #6366f1, #fbbf24);
}
.legacy-timeline article {
  position: relative;
  padding: 20px 20px 20px 68px;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 38px rgba(15,23,42,.08);
}
.legacy-timeline article::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 26px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  border: 6px solid #6366f1;
  box-shadow: 0 0 0 6px rgba(99,102,241,.12);
}
.legacy-timeline article:last-child::before {
  border-color: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245,158,11,.16);
}
.legacy-timeline em {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.legacy-timeline strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
}
.legacy-timeline span {
  color: var(--text);
  font-weight: 800;
  line-height: 1.55;
}

.metrics {
  position: relative;
  z-index: 5;
}

.section { padding: 88px 0; }
.section--lift { margin-top: 0; padding: 0 0 62px; position: relative; z-index: 2; }
.section--soft { background: var(--soft); }
.section--dark {
  background: linear-gradient(135deg, #111827, #1e1b4b 55%, #312e81);
  color: #fff;
}
.section-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}
.section-heading h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -.04em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.section-heading--light p { color: rgba(255,255,255,.72); }
.section-tag { background: var(--primary-soft); color: var(--primary-dark); }
.section-tag--orange { background: #fff7ed; color: #c2410c; }
.section-tag--light { background: rgba(255,255,255,.13); color: #e0e7ff; }
.section-tag--gold { background: #fffbeb; color: #b45309; }
.decision-strip,
.reader-note {
  margin: -14px auto 34px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(99, 102, 241, .16);
  box-shadow: var(--shadow);
}
.decision-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.decision-strip div {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2ff;
}
.decision-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.decision-strip strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}
.reader-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-color: rgba(249, 115, 22, .22);
  background: linear-gradient(135deg, #fff7ed, #fff);
}
.reader-note strong {
  flex: 0 0 auto;
  color: #9a3412;
  font-size: 18px;
}
.reader-note p {
  margin: 0;
  color: #7c2d12;
}
.section--product {
  background:
    radial-gradient(circle at 12% 12%, rgba(251, 191, 36, .16), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(99, 102, 241, .14), transparent 30%),
    #fff;
}
.plan-board {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 22px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
}
.plan-card--old::before { background: linear-gradient(90deg, #fb923c, #f97316); }
.plan-card--new::before { background: linear-gradient(90deg, #6366f1, #22c55e); }
.plan-card__head {
  padding: 34px 30px 22px;
}
.plan-card__head span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.plan-card--old .plan-card__head span {
  color: #c2410c;
  background: #fff7ed;
}
.plan-card--new .plan-card__head span {
  color: #166534;
  background: #dcfce7;
}
.plan-card__head strong {
  display: block;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.plan-card__head p {
  margin: 10px 0 0;
  color: var(--muted);
}
.plan-card ul {
  list-style: none;
  margin: 0;
  padding: 0 30px 30px;
}
.plan-card li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid #eef2f7;
}
.plan-card li span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.plan-card li strong {
  color: var(--ink);
  line-height: 1.55;
}
.plan-card__ribbon {
  position: absolute;
  top: 18px;
  right: -40px;
  width: 150px;
  padding: 8px 0;
  transform: rotate(35deg);
  text-align: center;
  color: #111827;
  background: #fbbf24;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(251, 191, 36, .28);
}
.feature-lanes {
  display: grid;
  gap: 18px;
}
.feature-lane {
  display: grid;
  grid-template-columns: 128px 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-lane__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #fff;
  writing-mode: vertical-rl;
  letter-spacing: .12em;
  font-weight: 900;
}
.feature-lane--blue .feature-lane__label { background: linear-gradient(180deg, #2563eb, #1d4ed8); }
.feature-lane--yellow .feature-lane__label { background: linear-gradient(180deg, #f59e0b, #d97706); }
.feature-lane--green .feature-lane__label { background: linear-gradient(180deg, #16a34a, #15803d); }
.feature-lane__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.feature-lane__items div {
  padding: 22px 24px;
  border-left: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}
.feature-lane__items strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}
.feature-lane__items p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.pricing-panel {
  margin-top: 24px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #111827, #312e81 58%, #f97316);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.pricing-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.pricing-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #111827;
  background: #fbbf24;
  font-size: 13px;
  font-weight: 900;
}
.pricing-hero h3 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: -.04em;
}
.pricing-hero p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 17px;
}
.pricing-deadline {
  flex: 0 0 220px;
  padding: 22px;
  border-radius: 24px;
  text-align: center;
  color: #111827;
  background: linear-gradient(180deg, #fef3c7, #fbbf24);
  box-shadow: 0 20px 50px rgba(251,191,36,.3);
}
.pricing-deadline span,
.pricing-deadline em {
  display: block;
  font-style: normal;
  font-weight: 900;
}
.pricing-deadline span {
  color: #92400e;
  font-size: 14px;
}
.pricing-deadline strong {
  display: block;
  margin: 6px 0;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.08em;
}
.pricing-deadline em {
  color: #78350f;
  font-size: 12px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}
.pricing-card--hot {
  background: #fff;
  color: #111827;
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}
.pricing-card--source {
  background: rgba(251,191,36,.16);
  border-color: rgba(251,191,36,.38);
}
.pricing-card__top {
  min-height: 54px;
  margin-bottom: 14px;
}
.pricing-card__top span {
  display: block;
  color: rgba(255,255,255,.72);
  font-weight: 900;
  font-size: 18px;
}
.pricing-card__top small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.58);
  font-weight: 800;
}
.pricing-card--hot .pricing-card__top span { color: var(--primary-dark); }
.pricing-card--hot .pricing-card__top small { color: var(--muted); }
.pricing-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
}
.pricing-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
}
.pricing-card--hot p { color: var(--muted); }
.pricing-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.pricing-card li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: rgba(255,255,255,.82);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  font-weight: 800;
}
.pricing-card--hot li {
  color: #374151;
  border-top-color: #eef2f7;
}
.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fbbf24;
  font-weight: 900;
}
.pricing-card--hot li::before { color: #16a34a; }
.pricing-card__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #111827;
  background: #fbbf24;
  font-size: 12px;
  font-weight: 900;
}
.pricing-advice {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
}
.pricing-advice strong {
  color: #fef3c7;
}
.pricing-advice span {
  color: rgba(255,255,255,.78);
}
.section--domain {
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 211, 238, .2), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(251, 191, 36, .16), transparent 30%),
    linear-gradient(135deg, #020617, #111827 48%, #1e1b4b);
}
.domain-system {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.domain-system article {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}
.domain-system article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #22d3ee, #6366f1, #fbbf24);
}
.domain-system span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #111827;
  background: #fbbf24;
  font-size: 12px;
  font-weight: 900;
}
.domain-system h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
}
.domain-system p {
  margin: 0;
  color: rgba(255,255,255,.74);
}
.domain-promise {
  margin-top: 24px;
  padding: 24px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(34,211,238,.1));
  border: 1px solid rgba(251,191,36,.26);
}
.domain-promise strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -.04em;
}
.domain-promise p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 17px;
}
.section--stack {
  background:
    radial-gradient(circle at 10% 15%, rgba(99,102,241,.12), transparent 32%),
    linear-gradient(180deg, #fff, #f8fafc);
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stack-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 50px rgba(15,23,42,.08);
}
.stack-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #f59e0b);
}
.stack-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #3730a3;
  background: #eef2ff;
  font-size: 12px;
  font-weight: 900;
}
.stack-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
}
.stack-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.metrics__grid,
.why-grid,
.risk-grid,
.perf-grid,
.feature-grid,
.value-grid,
.upgrade-grid,
.arch-grid,
.data-grid,
.api-grid {
  display: grid;
  gap: 20px;
}
.metrics__grid { grid-template-columns: repeat(4, 1fr); }
.metric-card,
.why-card,
.risk-card,
.perf-card,
.feature-grid article,
.value-grid article,
.upgrade-grid article,
.arch-card,
.data-card,
.api-card {
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metric-card {
  padding: 26px;
  text-align: center;
}
.metric-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-soft), #faf5ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.metric-card__icon--shield {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 18px 18px 22px 22px;
  font-size: 16px;
  font-weight: 900;
}
.metric-card__icon--shield::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 4px;
  z-index: -1;
}
.metric-card strong { display: block; font-size: 28px; line-height: 1.15; }
.metric-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-card { padding: 30px; position: relative; overflow: hidden; }
.why-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
}
.why-card--danger::before { background: var(--danger); }
.why-card--warning::before { background: var(--warning); }
.why-card--info::before { background: var(--primary); }
.why-card h3,
.risk-card h3,
.perf-card h3,
.value-grid h3,
.upgrade-grid h3 { margin: 0 0 10px; font-size: 21px; }
.why-card p,
.risk-card p,
.perf-card p,
.feature-grid p,
.value-grid p,
.upgrade-grid p { margin: 0; color: var(--muted); }

.risk-grid { grid-template-columns: repeat(4, 1fr); }
.risk-card { padding: 26px; }
.risk-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--old);
  font-weight: 900;
  font-size: 13px;
}

.compare-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th {
  padding: 16px 18px;
  text-align: left;
  background: #111827;
  color: #fff;
  white-space: nowrap;
}
.compare-table th:nth-child(2) { background: #c2410c; }
.compare-table th:nth-child(3) { background: var(--primary-dark); }
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.compare-table tr:hover td { background: #f8fafc; }
.compare-table td:first-child { font-weight: 800; white-space: nowrap; }
.compare-table td:nth-child(3) { color: var(--primary-dark); font-weight: 700; }
.compare-table td:nth-child(4) { color: #047857; font-weight: 700; }

.data-grid { grid-template-columns: repeat(3, 1fr); }
.data-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.data-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--purple), #f97316);
}
.data-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 900;
  font-size: 12px;
}
.data-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.data-card p { margin: 0; color: var(--muted); }
.data-card em {
  display: block;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
}

.quant-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quant-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 14px;
}
.quant-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  background: #111827;
  white-space: nowrap;
}
.quant-table th:nth-child(2) { background: #ea580c; }
.quant-table th:nth-child(4) { background: var(--primary-dark); }
.quant-table th:nth-child(5) { background: #047857; }
.quant-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}
.quant-table tr:nth-child(even) td { background: #f8fafc; }
.quant-table tr:hover td { background: #eef2ff; }
.quant-table td:first-child {
  font-weight: 900;
  color: #111827;
  white-space: nowrap;
}
.quant-table td:nth-child(2) {
  color: #c2410c;
  font-weight: 900;
  white-space: nowrap;
}
.quant-table td:nth-child(4) {
  color: var(--primary-dark);
  font-weight: 800;
}
.quant-table td:nth-child(5) {
  color: #047857;
  font-weight: 800;
}

.detail-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.detail-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 14px;
}
.detail-table th {
  padding: 14px 16px;
  text-align: left;
  background: #111827;
  color: #fff;
  white-space: nowrap;
}
.detail-table th:nth-child(2) { background: #c2410c; }
.detail-table th:nth-child(3) { background: var(--primary-dark); }
.detail-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.detail-table tr:hover td { background: #f8fafc; }
.detail-table td:first-child {
  font-weight: 900;
  color: #111827;
  white-space: nowrap;
}
.detail-table td:nth-child(3) { color: var(--primary-dark); font-weight: 700; }
.detail-table td:last-child { color: #047857; font-weight: 700; }

.api-grid { grid-template-columns: repeat(2, 1fr); }
.api-card { padding: 28px; }
.api-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: -.02em;
}
.api-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.api-card li + li { margin-top: 9px; }
.api-card strong { color: var(--ink); }

.arch-grid { grid-template-columns: repeat(2, 1fr); }
.arch-card {
  padding: 32px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: #fff;
  box-shadow: none;
}
.arch-card__label {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 16px;
}
.arch-card--old .arch-card__label { background: rgba(249,115,22,.18); color: #fed7aa; }
.arch-card--new .arch-card__label { background: rgba(99,102,241,.24); color: #c7d2fe; }
.arch-card h3 { margin: 0 0 14px; font-size: 24px; }
.arch-card ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.76); }
.arch-card li + li { margin-top: 8px; }

.perf-grid { grid-template-columns: repeat(3, 1fr); }
.perf-card { padding: 28px; }
.bar {
  margin-top: 18px;
  height: 28px;
  border-radius: 999px;
  background: #ffedd5;
  overflow: hidden;
}
.bar + .bar { margin-top: 10px; }
.bar span {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  border-radius: inherit;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(90deg, #fb923c, #ea580c);
}
.bar--new { background: #e0e7ff; }
.bar--new span { background: linear-gradient(90deg, #818cf8, #4f46e5); }

.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid article,
.value-grid article,
.upgrade-grid article { padding: 26px; }
.feature-grid span { font-size: 30px; }
.feature-grid h3 { margin: 10px 0 8px; }

.value-grid { grid-template-columns: repeat(4, 1fr); }
.value-grid article { border-top: 5px solid var(--success); }

.section--copyright {
  background:
    radial-gradient(circle at 15% 20%, rgba(251, 191, 36, .18), transparent 28%),
    linear-gradient(135deg, #fff7ed, #eef2ff);
}
.copyright-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 38px;
  align-items: center;
}
.copyright-copy h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  margin: 16px 0;
  letter-spacing: -.04em;
}
.copyright-copy p { color: var(--muted); font-size: 17px; }
.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  margin: 10px 0;
  padding-left: 30px;
  position: relative;
  font-weight: 700;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}
.certificate-card {
  position: relative;
  min-height: 420px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg);
}
.certificate-card img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  border-radius: 18px;
  background: #f8fafc;
}
.certificate-card__fallback {
  display: none;
  min-height: 390px;
  border: 2px dashed #f59e0b;
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #92400e;
  text-align: center;
  gap: 8px;
}
.certificate-card--missing img { display: none; }
.certificate-card--missing .certificate-card__fallback { display: flex; }

.upgrade-grid { grid-template-columns: repeat(4, 1fr); }
.upgrade-grid article { background: linear-gradient(180deg, #fff, #f8fafc); }

.final-cta {
  padding: 96px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #111827, #4f46e5 58%, #f97316);
}
.final-cta h2 {
  margin: 0 auto 16px;
  max-width: 900px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.final-cta p {
  margin: 0 auto 30px;
  max-width: 720px;
  color: rgba(255,255,255,.8);
  font-size: 18px;
}

.float-cta {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 28px));
  min-height: 54px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(17, 24, 39, .9);
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
}
.float-cta button {
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  background: #fbbf24;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 30;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar { align-items: flex-start; }
  .topbar__links a { display: none; }
  .metrics__grid,
  .risk-grid,
  .value-grid,
  .upgrade-grid,
  .hero__guide,
  .decision-strip,
  .plan-board,
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid,
  .perf-grid,
  .feature-grid,
  .copyright-layout,
  .legacy-story__card,
  .legacy-shift,
  .domain-system,
  .domain-promise,
  .stack-grid,
  .feature-lane,
  .feature-lane__items,
  .pricing-cards,
  .api-grid { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
  .feature-lane__label {
    min-height: auto;
    writing-mode: horizontal-tb;
    letter-spacing: .04em;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 92px;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
  }
  .container,
  .topbar,
  .hero__content { width: min(100% - 32px, 1180px); }
  .hero {
    min-height: auto;
    background:
      radial-gradient(circle at 18% 14%, rgba(56, 189, 248, .36), transparent 35%),
      radial-gradient(circle at 90% 24%, rgba(168, 85, 247, .42), transparent 34%),
      linear-gradient(160deg, #172554 0%, #312e81 50%, #581c87 100%);
  }
  .topbar {
    padding: 18px 0 8px;
    align-items: center;
  }
  .topbar__links {
    gap: 0;
  }
  .topbar__links .btn--ghost {
    min-height: 38px;
    padding: 0 15px;
    font-size: 13px;
  }
  .brand span:last-child { display: none; }
  .brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .hero__content {
    padding: 54px 0 90px;
    text-align: left;
  }
  .eyebrow,
  .section-tag {
    max-width: 100%;
    padding: 7px 11px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .02em;
    text-align: left;
  }
  .hero h1 {
    margin: 18px 0 16px;
    max-width: 350px;
    font-size: clamp(30px, 9.1vw, 36px);
    line-height: 1.16;
    letter-spacing: -.045em;
    text-wrap: balance;
  }
  .hero__subtitle {
    max-width: none;
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 16px;
    line-height: 1.85;
    text-align: justify;
  }
  .hero__actions {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 15px;
  }
  .hero__badges {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 24px;
  }
  .hero__badges span {
    max-width: 100%;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.25;
  }
  .hero__guide {
    margin-top: 20px;
    gap: 10px;
    display: flex;
    overflow-x: auto;
    padding: 0 0 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .hero__guide article {
    flex: 0 0 82%;
    padding: 16px;
    border-radius: 18px;
    scroll-snap-align: start;
  }
  .hero__guide p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.65;
  }
  .section { padding: 56px 0; }
  .section-heading {
    margin-bottom: 28px;
    text-align: left;
  }
  .section-heading h2 {
    font-size: clamp(25px, 7.4vw, 31px);
    line-height: 1.24;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
  .section-heading p {
    font-size: 15px;
    line-height: 1.75;
  }
  .section--lift { margin-top: 0; }
  .legacy-story {
    margin-top: -44px;
    padding-top: 0;
    padding-bottom: 18px;
  }
  .legacy-story__card {
    padding: 20px;
    border-radius: 28px;
  }
  .legacy-story__main h2 {
    font-size: 27px;
    line-height: 1.25;
  }
  .legacy-story__lead,
  .legacy-conclusion {
    font-size: 15px;
    line-height: 1.75;
  }
  .legacy-shift {
    gap: 10px;
  }
  .legacy-shift article {
    padding: 16px;
    border-radius: 18px;
  }
  .legacy-timeline {
    gap: 10px;
  }
  .legacy-timeline::before {
    left: 17px;
    top: 20px;
    bottom: 20px;
  }
  .legacy-timeline article {
    padding: 16px 16px 16px 52px;
    border-radius: 18px;
  }
  .legacy-timeline article::before {
    left: 8px;
    top: 20px;
  }
  .legacy-timeline strong {
    font-size: 24px;
  }
  .metrics__grid,
  .risk-grid,
  .value-grid,
  .upgrade-grid,
  .hero__guide,
  .decision-strip,
  .plan-board,
  .data-grid { grid-template-columns: 1fr; }
  .metrics__grid {
    gap: 12px;
  }
  .decision-strip,
  .reader-note {
    margin: -6px auto 26px;
    padding: 16px;
  }
  .reader-note {
    display: block;
  }
  .reader-note strong {
    display: block;
    margin-bottom: 8px;
  }
  .metric-card,
  .why-card,
  .risk-card,
  .plan-card__head,
  .perf-card,
  .data-card,
  .api-card,
  .stack-card,
  .feature-grid article,
  .value-grid article,
  .upgrade-grid article {
    padding: 20px;
    border-radius: 22px;
  }
  .metric-card {
    min-height: auto;
    text-align: left;
  }
  .metric-card__icon {
    margin: 0 0 14px;
  }
  .plan-card {
    border-radius: 24px;
  }
  .plan-card ul { padding: 0 22px 24px; }
  .plan-card li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .feature-lane__items div {
    padding: 16px;
    border-left: 0;
  }
  .feature-lane {
    border-radius: 24px;
  }
  .feature-lane__label {
    padding: 13px 16px;
    justify-content: flex-start;
    text-align: left;
  }
  .feature-lane__items strong {
    font-size: 17px;
  }
  .stack-grid,
  .domain-system,
  .pricing-cards,
  .feature-grid,
  .value-grid,
  .upgrade-grid,
  .perf-grid,
  .data-grid,
  .api-grid,
  .why-grid,
  .risk-grid {
    gap: 12px;
  }
  .stack-card h3,
  .domain-system h3,
  .feature-grid h3,
  .value-grid h3,
  .upgrade-grid h3 {
    font-size: 20px;
    line-height: 1.28;
  }
  .domain-system article,
  .domain-promise {
    padding: 20px;
    border-radius: 22px;
  }
  .domain-promise {
    gap: 12px;
  }
  .pricing-panel {
    padding: 18px;
    border-radius: 28px;
  }
  .pricing-hero {
    display: block;
  }
  .pricing-hero p {
    max-width: none;
    margin-top: 10px;
  }
  .pricing-deadline {
    margin-top: 16px;
    padding: 18px;
  }
  .pricing-deadline strong {
    font-size: 38px;
  }
  .pricing-card {
    padding: 20px;
    border-radius: 22px;
  }
  .pricing-card strong {
    font-size: 38px;
  }
  .pricing-card__tag {
    top: 14px;
    right: 14px;
  }
  .pricing-card--hot {
    transform: none;
  }
  .pricing-advice {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .pricing-advice .btn {
    width: 100%;
  }
  .compare-table-wrap,
  .detail-table-wrap,
  .quant-table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .compare-table { min-width: 760px; font-size: 14px; }
  .quant-table-wrap::before,
  .compare-table-wrap::before,
  .detail-table-wrap::before {
    content: "表格可左右滑动查看更多 →";
    display: block;
    padding: 10px 14px;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 800;
  }
  .quant-table { min-width: 1040px; font-size: 13px; }
  .quant-table th,
  .quant-table td { padding: 11px 12px; }
  .certificate-card { min-height: 300px; padding: 12px; }
  .certificate-card__fallback { min-height: 280px; }
  .final-cta {
    padding: 64px 0;
    text-align: left;
  }
  .final-cta h2 {
    font-size: 29px;
    line-height: 1.22;
  }
  .final-cta p {
    font-size: 15px;
    line-height: 1.8;
  }
  .final-cta .btn {
    width: 100%;
  }
  .float-cta {
    left: 12px;
    right: 12px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    min-height: 48px;
    border-radius: 16px;
    align-items: center;
    flex-direction: row;
    text-align: left;
    padding: 8px 8px 8px 12px;
    gap: 8px;
    font-size: 12px;
    transform: none;
  }
  .float-cta span {
    min-width: 0;
    flex: 1;
    line-height: 1.35;
  }
  .float-cta button {
    width: auto;
    flex: 0 0 auto;
    padding: 8px 15px;
    font-size: 13px;
  }
  .toast {
    width: calc(100% - 32px);
    bottom: 72px;
    text-align: center;
    border-radius: 16px;
  }
}
