/* ==========================================================================
   aBandi™ — Website Design System
   Brand: 阿班迪蓝 #2B28A1 / 智光金 #FECA51 / 阿班迪橙 #F08A00
   Visual direction: Apple-like — light dominant, one focus per screen,
   huge type, huge whitespace, restrained color, scroll-driven motion.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --brand: #2b28a1;
  --brand-deep: #1c1a70;
  --brand-light: #4a47c9;
  --brand-soft: rgba(43, 40, 161, 0.08);
  --brand-line: rgba(43, 40, 161, 0.16);
  --gold: #feca51;
  --orange: #f08a00;

  /* Neutrals (Apple-tuned) */
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-4: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --white: #ffffff;

  /* Dark surface */
  --dark: #0d0d0f;
  --dark-2: #17171a;
  --dark-3: #232327;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-text: #f5f5f7;
  --dark-text-2: #a1a1a6;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC",
    "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code",
    Consolas, "Liberation Mono", monospace;

  /* Rhythm */
  --max: 1180px;
  --max-narrow: 760px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 168px);
  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 28px;
  --radius-xl: 36px;

  /* Motion */
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;

  /* Elevation */
  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-m: 0 2px 8px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-l: 0 4px 16px rgba(0, 0, 0, 0.06), 0 32px 80px rgba(0, 0, 0, 0.12);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Safety net: decorative glows/pseudos must never create a horizontal
     scrollbar on mobile. `clip` (not hidden) keeps position:sticky working. */
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--brand);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
::selection {
  background: rgba(43, 40, 161, 0.16);
}
/* Long URLs / mono strings must never widen the layout. */
p,
li,
td,
th,
summary,
h1,
h2,
h3,
h4,
figcaption {
  overflow-wrap: break-word;
}
.mono,
code,
kbd {
  overflow-wrap: anywhere;
}

/* ---------- 3. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: var(--max-narrow);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight {
  padding-block: clamp(56px, 7vw, 96px);
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--dark);
  color: var(--dark-text);
}
.section--dark h2,
.section--dark h3 {
  color: var(--dark-text);
}
.divider {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

/* ---------- 4. Typography ---------- */
.display {
  font-size: clamp(40px, 7.2vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 700;
}
.h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.09;
  letter-spacing: -0.018em;
  font-weight: 700;
}
.h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-weight: 600;
}
.h4 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.006em;
  font-weight: 600;
}
.lead {
  font-size: clamp(18px, 2.05vw, 23px);
  line-height: 1.5;
  color: var(--ink-3);
  letter-spacing: -0.006em;
}
.body {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
}
.small {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-4);
}
.tiny {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-4);
  letter-spacing: 0.01em;
}
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.section--dark .lead,
.section--dark .body {
  color: var(--dark-text-2);
}
.section--dark .small {
  color: #8a8a90;
}
.gradient-text {
  background: linear-gradient(96deg, var(--brand) 8%, #6d69e8 52%, var(--brand) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--dark .gradient-text {
  background: linear-gradient(96deg, #a9a6ff 8%, #d9d6ff 55%, #a9a6ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text {
  color: var(--gold);
}

/* ---------- 5. Eyebrow / pill ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(254, 202, 81, 0.22);
}
.section--dark .eyebrow {
  color: #cfcdff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease-out), background 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out), color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out);
}
.btn:active {
  transform: scale(0.975);
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(43, 40, 161, 0.24);
}
.btn--primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 10px 30px rgba(43, 40, 161, 0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand-line);
}
.btn--ghost:hover {
  background: var(--brand-soft);
  border-color: rgba(43, 40, 161, 0.3);
}
.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-s);
}
.btn--light:hover {
  background: #f0f0f2;
}
.btn--on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn--sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand);
}
.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease-out);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.section--dark .link-arrow {
  color: #a9a6ff;
}

/* ---------- 7. Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: 52px;
  background: rgba(251, 251, 253, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  margin-right: auto;
}
.nav__brand img {
  height: 22px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--ink);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.nav__burger {
  display: none;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
}
.nav__burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
}
.nav__burger span::before {
  top: -5.5px;
}
.nav__burger span::after {
  top: 5.5px;
}
.nav__sheet {
  display: none;
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(52px + clamp(64px, 9vw, 128px));
  padding-bottom: clamp(56px, 7vw, 96px);
  text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -280px;
  left: 50%;
  width: min(1200px, 130vw);
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(
      44% 50% at 50% 46%,
      rgba(43, 40, 161, 0.16) 0%,
      rgba(43, 40, 161, 0) 100%
    ),
    radial-gradient(30% 34% at 68% 30%, rgba(254, 202, 81, 0.2) 0%, rgba(254, 202, 81, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero .display {
  margin-top: 22px;
  font-weight: 700;
}
.hero__sub {
  margin: 22px auto 0;
  max-width: 660px;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.48;
  color: var(--ink-3);
  letter-spacing: -0.006em;
}
.hero .btn-row {
  justify-content: center;
  margin-top: 34px;
}
.hero__meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-4);
}
.hero__meta em {
  font-style: normal;
  color: var(--ink-2);
  font-weight: 500;
}
.hero__stage {
  position: relative;
  margin-top: clamp(44px, 6vw, 76px);
  z-index: 1;
}

/* Product frame */
.frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #1a1a1f 0%, #0d0d10 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 30px 80px -20px rgba(20, 20, 60, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}
.frame__bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.frame__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.frame__bar span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}
.frame img {
  width: 100%;
  display: block;
}
.frame--flat {
  background: var(--bg-alt);
  box-shadow: var(--shadow-m), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ---------- 9. Section header ---------- */
.sec-head {
  max-width: 820px;
}
.sec-head--center {
  margin-inline: auto;
  text-align: center;
}
.sec-head .h2 {
  margin-top: 18px;
}
.sec-head .lead {
  margin-top: 18px;
}
.sec-head .eyebrow + .lead {
  margin-top: 16px;
}

/* ---------- 10. Cards & grids ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.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));
}
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: var(--line);
}
.card__ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
}
.card__ico svg {
  width: 23px;
  height: 23px;
}
.card h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.card p {
  margin-top: 9px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.section--dark .card {
  background: var(--dark-2);
  border-color: var(--dark-line);
}
.section--dark .card p {
  color: var(--dark-text-2);
}
.section--dark .card__ico {
  background: rgba(254, 202, 81, 0.12);
  color: var(--gold);
}

/* ---------- 11. Alternate feature rows ---------- */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
/* Grid/flex children default to min-width:auto, which lets a long word or an
   aspect-ratio box push the track wider than the viewport. Always reset it. */
.row > *,
.demo__inner > *,
.grid > *,
.plans > *,
.stats > *,
.footer__grid > * {
  min-width: 0;
}
.row + .row {
  margin-top: clamp(64px, 9vw, 132px);
}
.row__text .h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}
.row__text .body {
  margin-top: 18px;
  max-width: 480px;
}
.row__list {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.row__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.row__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}
.row__list li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 12px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: rotate(-45deg);
}
/* "does not do" marker: neutral dash, not a check */
.row__list--minus li::before {
  background: #f1f1f3;
  box-shadow: inset 0 0 0 1px var(--line);
}
.row__list--minus li::after {
  border: 0;
  width: 7px;
  height: 1.6px;
  background: var(--ink-4);
  transform: none;
  top: 10.5px;
  left: 4px;
}
.row--flip .row__media {
  order: -1;
}
.row__media {
  position: relative;
}
.row__media img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ---------- 12. Scroll-driven demo ---------- */
.demo {
  position: relative;
}
.demo__inner {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.demo__steps {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 8px;
}
.demo-step {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  text-align: left;
  display: block;
  width: 100%;
}
.demo-step__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  display: block;
  margin-bottom: 8px;
  transition: color 0.35s var(--ease);
}
.demo-step h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-4);
  transition: color 0.35s var(--ease);
}
.demo-step p {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-4);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease),
    color 0.35s var(--ease);
}
.demo-step.is-active {
  background: var(--white);
  border-color: var(--line-soft);
  box-shadow: var(--shadow-s);
}
.demo-step.is-active .demo-step__no {
  color: var(--brand);
}
.demo-step.is-active h3 {
  color: var(--ink);
}
.demo-step.is-active p {
  max-height: 120px;
  opacity: 1;
  color: var(--ink-3);
}
.demo__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #16161a, #0b0b0e);
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.07);
  aspect-ratio: 16 / 10.4;
}
.demo__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.55s var(--ease), transform 0.9s var(--ease-out);
  display: grid;
  place-items: center;
  padding: 22px;
}
.demo__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.demo__slide img {
  max-height: 100%;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.11);
}
.demo__placeholder {
  color: rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-family: var(--font-mono);
  text-align: center;
  line-height: 1.8;
}

/* ---------- 13. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 40px);
  text-align: center;
}
.stat__num {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__num .u {
  font-size: 0.44em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 3px;
  color: var(--dark-text-2);
}
.stat__label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--dark-text-2);
  line-height: 1.5;
}

/* ---------- 14. Marquee (OS / platform wall) ---------- */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease-out);
}
.chip:hover {
  border-color: var(--line);
  transform: translateY(-1px);
}
.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.55;
}
.section--dark .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--dark-line);
  color: var(--dark-text);
}
.section--dark .chip i {
  background: var(--gold);
}

/* ---------- 15. Comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-soft);
  background: var(--white);
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
table.cmp th,
table.cmp td {
  padding: 17px 22px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
table.cmp thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-4);
  letter-spacing: 0.02em;
  background: var(--bg-alt);
  position: sticky;
  top: 0;
}
table.cmp thead th.us {
  color: var(--brand);
  background: var(--brand-soft);
}
table.cmp td.us {
  color: var(--ink);
  font-weight: 600;
  background: rgba(43, 40, 161, 0.03);
}
table.cmp tbody tr:last-child td {
  border-bottom: 0;
}
table.cmp td:first-child {
  color: var(--ink-3);
  font-weight: 500;
}
.yes {
  color: #1d8a4c;
  font-weight: 600;
}
.no {
  color: var(--ink-4);
}
.part {
  color: var(--ink-3);
}

/* ---------- 16. Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: clamp(26px, 2.6vw, 36px);
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}
.plan--feature {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--brand), 0 20px 50px -12px rgba(43, 40, 161, 0.3);
  background: linear-gradient(180deg, #fff 0%, #f8f8ff 100%);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.plan__desc {
  margin-top: 7px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.55;
  min-height: 44px;
}
.plan__price {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__price b {
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan__price span {
  font-size: 14px;
  color: var(--ink-4);
}
.plan__note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-4);
  min-height: 18px;
}
.plan .btn {
  margin-top: 24px;
  width: 100%;
}
.plan__feat {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 12px;
}
.plan__feat li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan__feat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 14px;
  height: 9px;
  border-left: 1.7px solid var(--brand);
  border-bottom: 1.7px solid var(--brand);
  transform: rotate(-45deg);
}
.plan__feat li.off {
  color: var(--ink-4);
}
.plan__feat li.off::before {
  border-color: var(--line);
  height: 0;
  border-left: 0;
  border-bottom-width: 1.7px;
  transform: rotate(0);
  top: 11px;
  width: 12px;
}

/* ---------- 17. FAQ ---------- */
.faq {
  border-top: 1px solid var(--line-soft);
}
.faq__item {
  border-bottom: 1px solid var(--line-soft);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:hover {
  color: var(--brand);
}
.faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
  opacity: 0.5;
}
.faq__item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.faq__body {
  padding: 0 2px 26px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
}
.section--dark .faq,
.section--dark .faq__item {
  border-color: var(--dark-line);
}
.section--dark .faq__item summary {
  color: var(--dark-text);
}

/* ---------- 18. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1c1a70 0%, #2b28a1 46%, #4a47c9 100%);
  color: #fff;
  padding: clamp(44px, 6vw, 84px) clamp(26px, 5vw, 72px);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(254, 202, 81, 0.24) 0%, rgba(254, 202, 81, 0) 66%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -14%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band .h2 {
  color: #fff;
}
.cta-band p {
  margin: 18px auto 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
}
.cta-band .btn-row {
  margin-top: 30px;
  justify-content: center;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cta-band .btn--primary:hover {
  background: #f2f2f6;
}
.cta-band .btn--on-dark {
  border-color: rgba(255, 255, 255, 0.34);
}

/* ---------- 19. Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(48px, 6vw, 72px) 36px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(26px, 4vw, 56px);
}
.footer__brand img {
  height: 26px;
  width: auto;
}
.footer__brand p {
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.65;
  color: var(--ink-3);
}
.footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul {
  display: grid;
  gap: 10px;
}
.footer a {
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}
.footer a:hover {
  color: var(--brand);
}
.footer__bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-4);
}
.footer__bottom .legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer__beian {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer__beian a {
  color: var(--ink-4);
}

/* ---------- 20. Page header (sub pages) ---------- */
.page-head {
  padding-top: calc(52px + clamp(56px, 8vw, 112px));
  padding-bottom: clamp(36px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: min(1000px, 120vw);
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(44% 50% at 50% 50%, rgba(43, 40, 161, 0.12), transparent 100%);
  pointer-events: none;
}
.page-head > * {
  position: relative;
}
.page-head .h1 {
  margin-top: 18px;
}
.page-head .lead {
  margin: 18px auto 0;
  max-width: 640px;
}

/* ---------- 21. Download page ---------- */
.dl-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-s);
}
.dl-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dl-card__os {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.dl-card__os svg {
  width: 26px;
  height: 26px;
  color: var(--ink-2);
}
.dl-card__meta {
  margin-left: auto;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.dl-card__meta div {
  font-size: 12.5px;
  color: var(--ink-4);
  line-height: 1.4;
}
.dl-card__meta b {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-top: 3px;
}
.dl-card__hash {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  word-break: break-all;
  line-height: 1.6;
}
.dl-card__hash b {
  color: var(--ink-4);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.req-list {
  display: grid;
  gap: 0;
}
.req-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.req-list li:last-child {
  border-bottom: 0;
}
.req-list span:first-child {
  color: var(--ink-3);
}
.req-list span:last-child {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

/* ---------- 22. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.07s;
}
.reveal-d2 {
  transition-delay: 0.14s;
}
.reveal-d3 {
  transition-delay: 0.21s;
}
.reveal-d4 {
  transition-delay: 0.28s;
}

/* ---------- 23. Background decor ---------- */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(66% 60% at 50% 34%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(66% 60% at 50% 34%, #000 0%, transparent 100%);
  pointer-events: none;
}
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav__cta .btn {
    display: none;
  }
  .row,
  .demo__inner {
    grid-template-columns: 1fr;
  }
  .row--flip .row__media {
    order: 0;
  }
  .row + .row {
    margin-top: clamp(52px, 8vw, 80px);
  }
  .demo__steps {
    position: static;
    order: 2;
  }
  .demo__visual {
    order: 1;
    aspect-ratio: 16 / 10;
  }
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .plan--feature {
    order: -1;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 18px;
  }
  .nav__sheet {
    display: block;
    position: fixed;
    inset: 52px 0 auto 0;
    background: rgba(251, 251, 253, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease-out);
    z-index: 899;
  }
  .nav__sheet.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__sheet a {
    display: block;
    padding: 13px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__sheet .btn {
    display: flex;
    width: 100%;
    margin-top: 16px;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .btn {
    height: 44px;
    padding: 0 20px;
    font-size: 15px;
  }
  .btn-row {
    gap: 12px;
  }
  .hero .btn-row .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .dl-card__meta {
    margin-left: 0;
    width: 100%;
    gap: 18px;
  }
  table.cmp th,
  table.cmp td {
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* ---------- 25. Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .demo__slide {
    transform: none;
  }
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media print {
  .nav,
  .cta-band,
  .footer {
    display: none;
  }
}
