/* ==========================================================================
   天荣CMS × 企业服务小程序 — 产品站样式
   01 设计变量  02 基础  03 通用组件  04 页头/导航  05 首页 Hero
   06 信任条  07 产品双卡  08 能力网格  09 架构  10 套餐  11 软著墙
   12 流程  13 FAQ  14 CTA  15 页脚  16 子页  17 对比表/功能行
   18 小程序手机稿  19 灯箱  20 动效  21 响应式
   ========================================================================== */

/* 01 设计变量 ------------------------------------------------------------- */
:root {
  --blue: #1d5bff;
  --blue-600: #1247cf;
  --blue-700: #0d3aa8;
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --teal: #00b8a0;
  --teal-50: #e6faf6;
  --amber: #f3a127;
  --ink: #0a1733;
  --text: #3b4a66;
  --muted: #6b7c99;
  --line: #e6ecf6;
  --line-2: #d5dfee;
  --bg: #ffffff;
  --bg-soft: #f6f9ff;
  --bg-navy: #071633;
  --white: #fff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(10, 23, 51, 0.05);
  --shadow-sm: 0 2px 10px rgba(10, 23, 51, 0.06);
  --shadow: 0 10px 30px rgba(10, 23, 51, 0.08);
  --shadow-lg: 0 30px 70px rgba(10, 23, 51, 0.16);
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad: linear-gradient(118deg, #1d5bff 0%, #0f7ae5 48%, #00b8a0 100%);
  --grad-soft: linear-gradient(118deg, rgba(29, 91, 255, 0.12), rgba(0, 184, 160, 0.12));
}

/* 02 基础 ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

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

body.nav-open,
body.lb-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--blue-700);
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

:focus-visible {
  outline: 3px solid rgba(29, 91, 255, 0.4);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: rgba(29, 91, 255, 0.16);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--blue);
  color: #fff;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* 03 通用组件 ------------------------------------------------------------ */
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--grid {
  position: relative;
  background: var(--bg-soft);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 13px;
  border: 1px solid rgba(29, 91, 255, 0.18);
  border-radius: 999px;
  background: rgba(29, 91, 255, 0.06);
  color: var(--blue-600);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.section-head .lead {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
}

.lead {
  font-size: 17px;
  color: var(--muted);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 91, 255, 0.28);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(29, 91, 255, 0.34);
}

.btn-ghost {
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-600);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 10px 26px rgba(4, 14, 34, 0.22);
}

.btn-white:hover {
  color: var(--blue-700);
  transform: translateY(-2px);
}

.btn-line {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-line:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 9px 17px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14.5px;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
}

.chip--blue {
  border-color: rgba(29, 91, 255, 0.2);
  background: var(--blue-50);
  color: var(--blue-700);
}

.chip--teal {
  border-color: rgba(0, 184, 160, 0.24);
  background: var(--teal-50);
  color: #047a6b;
}

.chip svg {
  width: 14px;
  height: 14px;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--blue-50), #eefaf8);
  color: var(--blue-600);
  border: 1px solid rgba(29, 91, 255, 0.1);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.icon-tile--teal {
  background: linear-gradient(140deg, var(--teal-50), #eef5ff);
  color: #048a78;
  border-color: rgba(0, 184, 160, 0.16);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mt-40 {
  margin-top: 40px;
}

.mt-56 {
  margin-top: 56px;
}

.center {
  text-align: center;
}

/* 04 页头 / 导航 ---------------------------------------------------------- */
.topbar {
  background: linear-gradient(90deg, #071633, #0e2a5c 55%, #071633);
  color: #c7d3ea;
  font-size: 12.5px;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar a {
  color: #dbe4f5;
}

.topbar a:hover {
  color: #fff;
}

.topbar a svg {
  width: 13px;
  height: 13px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: #dbe4f5;
  font-size: 12.5px;
  cursor: pointer;
}

.topbar-link:hover {
  color: #fff;
}

.topbar-link svg {
  width: 13px;
  height: 13px;
}

.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue-600);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linklike:hover {
  color: var(--blue-700);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 400;
  transform: translate(-50%, 16px);
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(10, 23, 51, 0.94);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.topbar .topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 23, 51, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand img {
  width: auto;
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.main-nav a.active {
  color: var(--blue-600);
  font-weight: 600;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* 05 首页 Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
  background:
    radial-gradient(680px 420px at 86% 4%, rgba(0, 184, 160, 0.14), transparent 62%),
    radial-gradient(820px 520px at 4% 0%, rgba(29, 91, 255, 0.13), transparent 64%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 72%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(29, 91, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 91, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(720px 460px at 62% 12%, #000 20%, transparent 78%);
  mask-image: radial-gradient(720px 460px at 62% 12%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 56px;
}

.hero-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.hero-copy .lead {
  max-width: 33em;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
}

.hero-stats b {
  display: block;
  font-size: 25px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero-stats b em {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
}

.hero-stats span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Hero 视觉：后台 + 手机 */
.stage {
  position: relative;
  padding: 14px 0 34px;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 8% -6% 0 2%;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(29, 91, 255, 0.16), transparent 72%);
  filter: blur(6px);
}

.browser {
  position: relative;
  width: 100%;
  max-width: 590px;
  margin-left: auto;
  border: 1px solid rgba(10, 23, 51, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.4deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: #f4f7fc;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d7deea;
}

.browser-bar i:nth-child(1) {
  background: #ff8a80;
}

.browser-bar i:nth-child(2) {
  background: #ffd166;
}

.browser-bar i:nth-child(3) {
  background: #6ee7b7;
}

.browser-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #8494ad;
  font-family: var(--mono);
  font-size: 10.5px;
}

.browser-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 372px;
}

.mock-side {
  padding: 16px 12px;
  background: linear-gradient(180deg, #0e1f42, #0a1730);
  color: #a9badb;
  font-size: 12px;
}

.mock-side .ms-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.ms-brand i {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--grad);
}

.ms-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 8px;
  margin-bottom: 3px;
}

.ms-item i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.ms-item.on {
  background: rgba(29, 91, 255, 0.28);
  color: #fff;
}

.ms-item.on i {
  background: #7ea6ff;
}

.mock-main {
  padding: 16px 18px;
  background: #fff;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mock-head h4 {
  font-size: 14px;
  letter-spacing: 0;
}

.mock-btn {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
}

.mock-tabs {
  display: flex;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: #8b9ab3;
  font-size: 10.5px;
}

.mock-tabs b {
  color: var(--blue-600);
  position: relative;
}

.mock-tabs b::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.mock-rows {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.mock-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: none;
  background: var(--grad-soft);
  border: 1px solid rgba(29, 91, 255, 0.1);
}

.mock-thumb.b {
  background: linear-gradient(140deg, #fff2dd, #ffe4c4);
}

.mock-thumb.c {
  background: linear-gradient(140deg, #e8fbf7, #d2f5ee);
}

.mock-thumb.d {
  background: linear-gradient(140deg, #eef0ff, #e0e6ff);
}

.mock-row div {
  flex: 1;
  min-width: 0;
}

.mock-row strong {
  display: block;
  font-size: 11px;
  color: #26344d;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-row small {
  font-size: 9.5px;
  color: #94a3ba;
}

.status {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

.status.ok {
  background: #e7f8f1;
  color: #0c8a63;
}

.status.wait {
  background: #fff4e0;
  color: #b8720a;
}

.status.draft {
  background: #f0f2f7;
  color: #76839a;
}

.phone {
  position: absolute;
  right: -6px;
  bottom: -24px;
  width: 228px;
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(160deg, #16294f, #071633);
  box-shadow: 0 30px 60px rgba(6, 16, 38, 0.34);
  transform: rotate(1.6deg);
}

.phone-screen {
  position: relative;
  height: 388px;
  border-radius: 28px;
  background: #f5f7fb;
  overflow: hidden;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 16px;
  border-radius: 999px;
  background: #0a1733;
  z-index: 3;
}

.mp-hero {
  padding: 30px 14px 16px;
  background: var(--grad);
  color: #fff;
}

.mp-hero b {
  font-size: 13px;
  font-weight: 700;
}

.mp-hero p {
  margin: 2px 0 0;
  font-size: 9px;
  opacity: 0.82;
}

.mp-search {
  margin-top: 9px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.85);
}

.mp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: -10px 10px 0;
  padding: 12px 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mp-grid div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: #66758d;
}

.mp-grid i {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--grad-soft);
  border: 1px solid rgba(29, 91, 255, 0.12);
}

.mp-list {
  margin: 12px 10px 0;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
}

.mp-list h5 {
  margin: 0 0 8px;
  font-size: 10px;
  color: #2b3850;
}

.mp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #f0f3f9;
}

.mp-item:first-of-type {
  border-top: 0;
}

.mp-item i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--grad-soft);
  flex: none;
}

.mp-item b {
  display: block;
  font-size: 9px;
  color: #33415a;
  font-weight: 600;
}

.mp-item small {
  font-size: 8px;
  color: #93a1b7;
}

.mp-item span {
  margin-left: auto;
  font-size: 8px;
  color: var(--blue-600);
}

.mp-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 6px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
}

.mp-tabbar span {
  text-align: center;
  font-size: 7.5px;
  color: #9aa8bd;
}

.mp-tabbar span:first-child {
  color: var(--blue-600);
  font-weight: 600;
}

/* 06 信任条 --------------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding: 20px 0;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #4c5c78;
  font-size: 13.5px;
  font-weight: 500;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
}

/* 07 产品双卡 ------------------------------------------------------------- */
.product-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card .pc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.product-card h3 {
  font-size: 23px;
  margin-bottom: 6px;
}

.product-card .pc-sub {
  color: var(--muted);
  font-size: 14.5px;
}

.pc-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--teal-50);
  border: 1px solid rgba(0, 184, 160, 0.22);
  color: #047a6b;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.pc-badge svg {
  width: 13px;
  height: 13px;
}

.pc-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
}

.pc-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #465674;
  font-size: 14.5px;
}

.pc-list svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--teal);
  flex: none;
}

.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}

.pc-no {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

/* 08 能力网格 ------------------------------------------------------------- */
.cap-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 91, 255, 0.28);
  box-shadow: var(--shadow);
}

.cap-card h3 {
  margin: 16px 0 7px;
  font-size: 17.5px;
}

.cap-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* 09 架构 ---------------------------------------------------------------- */
.arch {
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  align-items: center;
  gap: 0;
}

.arch-col {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
  height: 100%;
}

.arch-col h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  font-size: 16px;
}

.arch-col h4 svg {
  width: 19px;
  height: 19px;
  color: var(--blue-600);
}

.arch-col > p {
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 14px;
}

.arch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.arch-tags span {
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: #55647e;
  font-size: 11.5px;
}

.arch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.arch-arrow svg {
  width: 30px;
  height: 30px;
}

.arch-note {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* 10 套餐 ---------------------------------------------------------------- */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.plan--featured {
  background: linear-gradient(165deg, #0c2350 0%, #0a1733 62%, #0a1b3c 100%);
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(7, 22, 51, 0.28);
  color: #c3d0e8;
}

.plan--featured h3,
.plan--featured .plan-price b {
  color: #fff;
}

.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(29, 91, 255, 0.35);
}

.plan h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.plan .plan-for {
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}

.plan--featured .plan-for {
  color: #93a6c8;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line-2);
}

.plan--featured .plan-price {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.plan-price b {
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.plan-price span {
  font-size: 12.5px;
  color: var(--muted);
}

.plan--featured .plan-price span {
  color: #93a6c8;
}

.plan-list {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  font-size: 14px;
}

.plan-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.plan-list svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--teal);
  flex: none;
}

.plan--featured .plan-list svg {
  color: #4fe3cd;
}

.plan .btn {
  margin-top: auto;
}

.plan-note {
  margin-top: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

/* 11 软著墙 --------------------------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cert-card {
  display: block;
  width: 100%;
  padding: 10px 10px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cert-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eef2f8;
}

.cert-meta {
  padding: 11px 4px 12px;
}

.cert-meta strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.45;
}

.cert-meta span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
}

.cert-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* 12 流程 ---------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.steps.steps-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.step {
  position: relative;
  padding-top: 38px;
}

.step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(29, 91, 255, 0.35);
  color: var(--blue-600);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}

.step::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 30px;
  right: -16px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(29, 91, 255, 0.35), rgba(29, 91, 255, 0.08));
}

.step:last-child::after {
  display: none;
}

.step h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  margin: 0;
}

/* 13 FAQ ----------------------------------------------------------------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--blue-600);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s var(--ease), background 0.2s;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--blue-50);
  transform: translateY(-50%) rotate(180deg);
}

.faq .faq-a {
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* 14 CTA ---------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 56px 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0a2352 0%, #0b1a3c 55%, #062f3a 100%);
  color: #c6d3ea;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 32px;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 184, 160, 0.28), transparent 70%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 91, 255, 0.3), transparent 70%);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}

.cta p {
  margin: 0;
  color: #a6b8d8;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 15 页脚 ---------------------------------------------------------------- */
.site-footer {
  background: var(--bg-navy);
  color: #9fb0cf;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  padding: 5px;
}

.footer-brand strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.footer-brand span {
  display: block;
  color: #7f93b7;
  font-size: 11px;
}

.footer-desc {
  max-width: 32em;
  font-size: 13.5px;
  line-height: 1.8;
  color: #8ea1c3;
  margin-bottom: 18px;
}

.footer-contact {
  display: grid;
  gap: 9px;
  font-size: 13.5px;
}

.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c6d3e8;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  color: #5f7ba8;
  flex: none;
}

.footer-col h4 {
  color: #fff;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: #9fb0cf;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7486a8;
  font-size: 12.5px;
}

.footer-bottom a {
  color: #93a5c4;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* 16 子页 Hero ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 68px;
  background:
    radial-gradient(720px 360px at 88% 0%, rgba(0, 184, 160, 0.12), transparent 62%),
    radial-gradient(760px 420px at 0% 0%, rgba(29, 91, 255, 0.12), transparent 66%),
    linear-gradient(180deg, #f6f9ff, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 54px;
}

.page-hero--plain .wrap {
  display: block;
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12.5px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue-600);
}

.breadcrumb span {
  color: var(--line-2);
}

.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero .lead {
  max-width: 36em;
  font-size: 16.5px;
}

.page-hero .hero-actions {
  margin-top: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-panel h3 {
  font-size: 15px;
  margin-bottom: 14px;
}

.hero-list {
  display: grid;
  gap: 12px;
}

.hero-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #4b5b77;
}

.hero-list svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--teal);
  flex: none;
}

.hero-list b {
  color: var(--ink);
}

/* 17 功能行 / 对比表 ------------------------------------------------------ */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.feature-row + .feature-row {
  margin-top: 72px;
}

.feature-row.reverse > :first-child {
  order: 2;
}

.feature-row h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}

.feature-row .lead {
  margin-bottom: 22px;
  font-size: 15.5px;
}

.check-list {
  display: grid;
  gap: 11px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #465674;
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--teal);
  flex: none;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.panel--soft {
  background: linear-gradient(160deg, #f7faff, #ffffff 70%);
}

.panel h3 {
  font-size: 15.5px;
  margin-bottom: 16px;
}

.panel h3 svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 4px;
  color: var(--blue-600);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare th,
.compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child,
.compare th:first-child {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.compare .ok {
  color: var(--teal);
  font-weight: 700;
}

.compare .no {
  color: #b3bfd2;
}

.compare-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.table-hint {
  display: none;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* 18 小程序手机稿（大） --------------------------------------------------- */
.showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 4% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 91, 255, 0.14), transparent 72%);
}

.phone-lg {
  position: relative;
  width: 286px;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1a2d55, #071633);
  box-shadow: 0 40px 80px rgba(6, 16, 38, 0.32);
}

.phone-lg .phone-screen {
  height: 510px;
  border-radius: 34px;
}

.phone-lg .mp-hero {
  padding: 36px 16px 20px;
}

.phone-lg .mp-hero b {
  font-size: 15px;
}

.phone-lg .mp-hero p {
  font-size: 10px;
}

.phone-lg .mp-search {
  font-size: 10px;
}

.phone-lg .mp-grid {
  margin: -12px 12px 0;
  padding: 14px 8px;
}

.phone-lg .mp-grid i {
  width: 30px;
  height: 30px;
}

.phone-lg .mp-grid div {
  font-size: 9px;
}

.phone-lg .mp-list {
  margin: 14px 12px 0;
  padding: 12px;
}

.phone-lg .mp-list h5 {
  font-size: 11px;
}

.phone-lg .mp-item i {
  width: 28px;
  height: 28px;
}

.phone-lg .mp-item b {
  font-size: 10px;
}

.phone-lg .mp-item small,
.phone-lg .mp-item span {
  font-size: 9px;
}

.phone-lg .mp-tabbar span {
  font-size: 8.5px;
}

/* 19 灯箱 ---------------------------------------------------------------- */.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 13, 30, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(760px, 88vw);
  max-height: 84vh;
  width: auto;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: #dbe4f5;
  font-size: 13px;
  text-align: center;
  max-width: 90vw;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* 19.1 法律页正文 --------------------------------------------------------- */
.legal-doc {
  max-width: 860px;
  margin: 0 auto;
}

.legal-doc h2 {
  margin: 46px 0 14px;
  font-size: 26px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  margin: 26px 0 8px;
  font-size: 16.5px;
}

.legal-doc p {
  font-size: 15px;
  line-height: 1.9;
}

.legal-doc ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.legal-doc li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.85;
}

.legal-doc li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(29, 91, 255, 0.38);
}

.legal-doc strong {
  color: var(--ink);
}

.legal-contact {
  margin-top: 44px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.legal-contact p {
  margin: 4px 0;
  font-size: 14px;
}

.cert-card img {
  cursor: zoom-in;
}

.hero-list a {
  color: var(--blue-600);
}

.footer-brand strong span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 500;
  color: #7f93b7;
  letter-spacing: 0.02em;
}

/* 20 动效 ---------------------------------------------------------------- */html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .cap-card,
  .product-card,
  .cert-card {
    transition: none;
  }
}

/* 21 响应式 -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .stage {
    max-width: 620px;
    margin-inline: auto;
  }

  .browser {
    margin-inline: auto;
    transform: none;
  }

  .hero-copy .lead {
    max-width: 40em;
  }

  .page-hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-panel {
    max-width: 640px;
  }

  .arch {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .arch-arrow {
    transform: rotate(90deg);
  }

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

  .steps.steps-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step:nth-child(3n)::after {
    display: none;
  }

  .feature-row {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header {
    position: sticky;
  }

  .main-nav.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    display: grid;
    gap: 2px;
    padding: 14px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(10, 23, 51, 0.12);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .main-nav.open a {
    padding: 13px 10px;
    font-size: 15.5px;
    border-radius: 10px;
  }

  .main-nav.open a.active::after {
    display: none;
  }

  .main-nav.open a.active {
    background: var(--blue-50);
  }

  .header-cta .btn-primary {
    display: inline-flex;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 44px 34px;
  }

  .feature-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-row.reverse > :first-child {
    order: 0;
  }

  .feature-row + .feature-row {
    margin-top: 52px;
  }

  .section {
    padding: 74px 0;
  }
}

@media (max-width: 380px) {
  .header-cta .btn-primary {
    display: none;
  }

  .brand img {
    height: 30px;
  }

  .brand-text strong {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .topbar {
    display: none;
  }

  .brand img {
    height: 34px;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .hero-stats b {
    font-size: 22px;
  }

  .browser-body {
    grid-template-columns: 90px minmax(0, 1fr);
    min-height: 300px;
  }

  .mock-side {
    padding: 12px 8px;
    font-size: 10px;
  }

  .ms-brand {
    font-size: 11px;
  }

  .ms-item {
    padding: 6px;
  }

  .mock-main {
    padding: 12px;
  }

  .mock-row strong {
    font-size: 10px;
  }

  .status {
    display: none;
  }

  .phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 200px;
    margin: -14px 0 0 auto;
    transform: rotate(1.6deg) scale(0.94);
    transform-origin: top right;
  }

  .phone-screen {
    height: 330px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .steps.steps-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(3n)::after {
    display: block;
  }

  .step:nth-child(2n)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .phone {
    display: none;
  }

  .ms-item {
    white-space: nowrap;
    font-size: 9.5px;
  }

  .product-card .pc-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .pc-badge {
    order: -1;
    margin-bottom: 2px;
  }

  .table-hint {
    display: block;
  }

  .cta {
    padding: 36px 24px;
    border-radius: var(--radius);
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .cert-grid {
    gap: 14px;
  }

  .cert-meta strong {
    font-size: 12px;
  }

  .cert-meta span {
    font-size: 9.5px;
  }

  .product-card {
    padding: 26px 22px;
  }

  .product-card h3 {
    font-size: 20px;
  }

  .plan {
    padding: 28px 22px;
  }

  .arch-arrow svg {
    width: 24px;
    height: 24px;
  }

  .page-hero {
    padding: 42px 0 46px;
  }

  .table-wrap {
    border-radius: 12px;
  }
}
