/* ==========================================================================
   快连 KuaiLian · 全局设计系统
   Design tokens → Layout → Components → Sections → Responsive
   ========================================================================== */

:root {
  /* Brand */
  --c-primary: #2563eb;
  --c-primary-dark: #1d4ed8;
  --c-primary-light: #60a5fa;
  --c-accent: #06b6d4;
  --c-violet: #7c3aed;
  --c-success: #10b981;
  --c-warn: #f59e0b;
  --c-danger: #ef4444;

  /* Ink */
  --c-ink: #0b1220;
  --c-ink-2: #16213c;
  --c-body: #374151;
  --c-muted: #6b7280;
  --c-faint: #9ca3af;
  --c-line: #e5e7eb;
  --c-line-soft: #f1f5f9;
  --c-bg: #ffffff;
  --c-bg-alt: #f8fafc;

  /* Gradients */
  --g-brand: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --g-brand-2: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --g-text: linear-gradient(92deg, #2563eb 0%, #06b6d4 55%, #7c3aed 100%);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(11, 18, 32, .06);
  --sh-md: 0 6px 20px -6px rgba(11, 18, 32, .12);
  --sh-lg: 0 20px 48px -14px rgba(11, 18, 32, .18);
  --sh-glow: 0 12px 32px -10px rgba(37, 99, 235, .45);

  /* Layout */
  --w: 1200px;
  --nav-h: 68px;
  --sec-y: 84px;

  /* Type */
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
            "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-primary-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.25; color: var(--c-ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); line-height: 1.14; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.55vw, 2.4rem); line-height: 1.22; }
h3 { font-size: clamp(1.15rem, 1.03rem + .55vw, 1.5rem); }
h4 { font-size: 1.08rem; font-weight: 700; }

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

.gt {
  background: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead { font-size: 1.08rem; color: var(--c-muted); line-height: 1.85; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--c-primary); color: #fff; padding: 10px 20px;
  border-radius: var(--r-sm); font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 40px, var(--w)); margin-inline: auto; }
.section { padding-block: var(--sec-y); position: relative; }
.section--alt { background: var(--c-bg-alt); }
.section--ink { background: var(--c-ink); color: #cbd5e1; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--tight { padding-block: 60px; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-2-1 { grid-template-columns: 1.35fr .9fr; align-items: center; }
.g-1-2 { grid-template-columns: .9fr 1.35fr; align-items: center; }

/* ---------- Section head ---------- */
.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sec-head--left { margin-inline: 0; text-align: left; }
.sec-head p { color: var(--c-muted); margin-top: 14px; font-size: 1.02rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-primary);
  background: rgba(37, 99, 235, .09);
  border: 1px solid rgba(37, 99, 235, .16);
  padding: 6px 16px; border-radius: var(--r-full);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 4px rgba(6, 182, 212, .18);
}
.section--ink .eyebrow { color: #7dd3fc; background: rgba(56, 189, 248, .12); border-color: rgba(56, 189, 248, .25); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: var(--r-full);
  font-weight: 700; font-size: .97rem; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--g-brand); color: #fff; box-shadow: var(--sh-glow); }
.btn--primary:hover { color: #fff; box-shadow: 0 18px 40px -12px rgba(37, 99, 235, .6); }
.btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line); box-shadow: var(--sh-sm); }
.btn--ghost:hover { color: var(--c-primary); border-color: var(--c-primary); box-shadow: var(--sh-md); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--lg { padding: 17px 40px; font-size: 1.05rem; }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 30px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: #dbe3f0; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--c-muted); font-size: .95rem; }
.card--flat:hover { transform: none; box-shadow: var(--sh-md); }
.card--pad-lg { padding: 38px; }
.section--alt .card { background: #fff; }
.section--ink .card { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); }
.section--ink .card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.section--ink .card p { color: #9fb0c9; }

/* Icon tile */
.ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--g-brand); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6);
}
.ico svg { width: 26px; height: 26px; stroke: #fff; }
.ico--v { background: var(--g-brand-2); box-shadow: 0 8px 20px -8px rgba(124, 58, 237, .6); }
.ico--a { background: linear-gradient(135deg, #06b6d4, #10b981); box-shadow: 0 8px 20px -8px rgba(6, 182, 212, .6); }
.ico--o { background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 8px 20px -8px rgba(245, 158, 11, .55); }
.ico--r { background: linear-gradient(135deg, #ef4444, #f43f5e); box-shadow: 0 8px 20px -8px rgba(239, 68, 68, .55); }

/* ---------- Header / Nav ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--c-line-soft);
  transition: box-shadow .25s, background .25s;
}
.hdr.is-stuck { box-shadow: var(--sh-md); }
.hdr__in { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.28rem; color: var(--c-ink); letter-spacing: -.03em; }
.logo:hover { color: var(--c-ink); }
.logo__mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--g-brand);
  display: grid; place-items: center; color: #fff; font-size: 1.05rem;
  box-shadow: 0 5px 14px -5px rgba(37, 99, 235, .7); flex: none;
}
.logo__mark svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.4; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 9px 15px; border-radius: var(--r-sm);
  color: var(--c-body); font-weight: 600; font-size: .94rem;
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--c-line-soft); color: var(--c-primary); }
.nav a.is-active { color: var(--c-primary); background: rgba(37, 99, 235, .08); }

.hdr .btn { margin-left: 8px; }

.burger {
  display: none; width: 42px; height: 42px; border-radius: var(--r-sm);
  margin-left: auto; border: 1px solid var(--c-line); background: #fff;
  place-items: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .25s; }
.burger span + span { margin-top: 4px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-ink); color: #cbd5e1;
  padding-block: 96px 88px;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(37, 99, 235, .38), transparent 62%),
    radial-gradient(760px 460px at 88% 8%, rgba(6, 182, 212, .26), transparent 60%),
    radial-gradient(700px 500px at 50% 108%, rgba(124, 58, 237, .22), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 40%, #000 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 5%, transparent 72%);
}
.hero h1 { color: #fff; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 18px 7px 8px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: #cbd5e1; font-size: .86rem; font-weight: 600; margin-bottom: 26px;
}
.hero__badge b {
  background: var(--g-brand); color: #fff; padding: 3px 11px;
  border-radius: var(--r-full); font-size: .74rem; font-weight: 800; letter-spacing: .04em;
}
.hero p.lead { color: #a9bad3; max-width: 620px; font-size: 1.12rem; }
.hero__cta { margin-top: 34px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__stats b { display: block; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -.03em; }
.hero__stats span { font-size: .87rem; color: #8fa3bf; }

/* Hero visual — abstract network panel */
.hero__viz {
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.viz__bar { display: flex; align-items: center; gap: 7px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .09); margin-bottom: 20px; }
.viz__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.viz__bar i:nth-child(1) { background: #ff5f57; } .viz__bar i:nth-child(2) { background: #febc2e; } .viz__bar i:nth-child(3) { background: #28c840; }
.viz__bar em { margin-left: 10px; font-style: normal; font-size: .8rem; color: #8fa3bf; }
.viz__row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: .88rem; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.viz__row:last-child { border-bottom: 0; }
.viz__row span { color: #8fa3bf; }
.viz__row b { color: #fff; font-weight: 700; font-family: var(--f-mono); }
.viz__row .ok { color: #4ade80; }
.viz__row .hi { color: #38bdf8; }
.meter { height: 6px; border-radius: var(--r-full); background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 18px; }
.meter i { display: block; height: 100%; width: 0; border-radius: var(--r-full); background: var(--g-brand); transition: width 1.4s cubic-bezier(.22, 1, .36, 1); }
.is-in .meter i { width: var(--w-target, 86%); }

/* ---------- Trust bar ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--c-line-soft); padding-block: 30px; }
.trust__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust__label { font-size: .82rem; color: var(--c-faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.trust__items { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 9px; color: var(--c-muted); font-weight: 700; font-size: .93rem; }
.trust__item svg { width: 20px; height: 20px; stroke: var(--c-primary); flex: none; }

/* ---------- Compliance ribbon ---------- */
.ribbon {
  background: linear-gradient(120deg, #f0f7ff, #eefcfb);
  border: 1px solid #d7e8fb; border-radius: var(--r-lg);
  padding: 26px 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.ribbon__badge {
  width: 46px; height: 46px; border-radius: 12px; background: var(--g-brand);
  display: grid; place-items: center; flex: none; box-shadow: var(--sh-glow);
}
.ribbon__badge svg { width: 24px; height: 24px; stroke: #fff; }
.ribbon h4 { font-size: 1.05rem; margin-bottom: 3px; }
.ribbon p { font-size: .92rem; color: var(--c-muted); }
.ribbon__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.tag {
  font-size: .78rem; font-weight: 700; padding: 5px 13px; border-radius: var(--r-full);
  background: #fff; border: 1px solid #d7e8fb; color: var(--c-primary); white-space: nowrap;
}

/* ---------- Feature list ---------- */
.flist { display: flex; flex-direction: column; gap: 16px; }
.flist li { display: flex; gap: 14px; align-items: flex-start; }
.flist .tick {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 3px;
  background: rgba(16, 185, 129, .12); display: grid; place-items: center;
}
.flist .tick svg { width: 13px; height: 13px; stroke: var(--c-success); stroke-width: 3.2; }
.flist b { color: var(--c-ink); display: block; font-weight: 700; }
.flist span { color: var(--c-muted); font-size: .94rem; }
.section--ink .flist b { color: #fff; }
.section--ink .flist span { color: #9fb0c9; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--f-mono); font-size: 2.1rem; font-weight: 900;
  background: var(--g-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; line-height: 1; display: block; margin-bottom: 12px;
}
.step h4 { margin-bottom: 8px; font-size: 1.08rem; }
.step p { color: var(--c-muted); font-size: .95rem; }

/* ---------- Platform / download cards ---------- */
.pcard {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 30px 26px; text-align: center; display: flex; flex-direction: column;
  transition: transform .24s, box-shadow .24s, border-color .24s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--c-primary); }
.pcard__ico {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px;
  display: grid; place-items: center; background: var(--c-bg-alt); border: 1px solid var(--c-line-soft);
}
.pcard__ico svg { width: 30px; height: 30px; stroke: var(--c-primary); }
.pcard h3 { font-size: 1.12rem; margin-bottom: 6px; }
.pcard__ver { font-size: .82rem; color: var(--c-faint); font-family: var(--f-mono); margin-bottom: 4px; }
.pcard__req { font-size: .82rem; color: var(--c-muted); margin-bottom: 20px; }
.pcard .btn { margin-top: auto; }

.plat-main {
  background: var(--g-brand); color: #fff; border-radius: var(--r-xl);
  padding: 44px; box-shadow: var(--sh-glow); position: relative; overflow: hidden;
}
.plat-main::after {
  content: ""; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.plat-main h3 { color: #fff; font-size: 1.5rem; }
.plat-main p { color: rgba(255, 255, 255, .88); }
.plat-main .btn--primary { background: #fff; color: var(--c-primary); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .35); }
.plat-main .btn--primary:hover { color: var(--c-primary-dark); }

.dl-meta {
  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px;
  padding-top: 22px; border-top: 1px solid var(--c-line);
}
.dl-meta div { font-size: .86rem; color: var(--c-muted); }
.dl-meta b { display: block; color: var(--c-ink); font-weight: 700; font-size: .95rem; }

/* ---------- Use case cards ---------- */
.ucard {
  display: flex; gap: 22px; padding: 30px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  transition: transform .24s, box-shadow .24s, border-color .24s;
}
.ucard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: #dbe3f0; }
.ucard__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(37, 99, 235, .09); }
.ucard__ico svg { width: 26px; height: 26px; stroke: var(--c-primary); }
.ucard h3 { font-size: 1.12rem; margin-bottom: 9px; }
.ucard p { color: var(--c-muted); font-size: .95rem; }

/* ---------- Nodes ---------- */
.region { display: grid; gap: 18px; }
.region__name {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--c-line-soft);
}
.region__name h4 { font-size: 1.05rem; display: flex; align-items: center; gap: 9px; }
.region__name span { font-size: .8rem; color: var(--c-faint); font-weight: 600; }
.node-list { display: flex; flex-wrap: wrap; gap: 9px; }
.node {
  font-size: .85rem; font-weight: 600; padding: 6px 13px; border-radius: var(--r-full);
  background: var(--c-bg-alt); border: 1px solid var(--c-line); color: var(--c-body);
}
.node b { color: var(--c-primary); font-weight: 800; margin-left: 5px; font-family: var(--f-mono); font-size: .8rem; }

/* World map (abstract SVG grid) */
.map-panel { background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: 26px; }
.map-dot { fill: var(--c-primary); opacity: .22; }
.map-dot--on { opacity: .95; }
.map-line { stroke: var(--c-primary); stroke-width: 1; opacity: .3; fill: none; }

/* ---------- Pricing ---------- */
.plan {
  background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--r-xl);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  transition: transform .24s, box-shadow .24s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.plan--hot {
  border-color: transparent; background: var(--c-ink); color: #cbd5e1;
  box-shadow: var(--sh-lg); transform: scale(1.035);
}
.plan--hot:hover { transform: scale(1.035) translateY(-5px); }
.plan--hot h3, .plan--hot .plan__price b { color: #fff; }
.plan--hot li { color: #9fb0c9; }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--g-brand); color: #fff; font-size: .74rem; font-weight: 800;
  padding: 5px 16px; border-radius: var(--r-full); white-space: nowrap;
  box-shadow: var(--sh-glow);
}
.plan h3 { font-size: 1.2rem; margin-bottom: 4px; }
.plan__desc { font-size: .87rem; color: var(--c-muted); min-height: 42px; }
.plan--hot .plan__desc { color: #8fa3bf; }
.plan__price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.plan__price b { font-size: 2.6rem; font-weight: 900; color: var(--c-ink); letter-spacing: -.04em; line-height: 1; }
.plan__price s { color: var(--c-faint); font-size: .95rem; }
.plan__price em { font-style: normal; font-size: .86rem; color: var(--c-muted); }
.plan__feat { margin: 24px 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan__feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.plan__feat svg { width: 17px; height: 17px; stroke: var(--c-success); stroke-width: 3; flex: none; margin-top: 4px; }
.plan--hot .plan__feat svg { stroke: #4ade80; }
.plan__feat li.off { color: var(--c-faint); opacity: .62; }
.plan--hot .plan__feat li.off { color: #64748b; }
.plan__feat li.off svg { stroke: currentColor; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.review__stars { color: #f59e0b; font-size: .95rem; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--c-body); font-size: .96rem; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-line-soft); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: var(--g-brand); font-size: .95rem;
}
.avatar--v { background: var(--g-brand-2); } .avatar--a { background: linear-gradient(135deg, #06b6d4, #10b981); }
.review__who b { display: block; color: var(--c-ink); font-size: .93rem; }
.review__who span { font-size: .8rem; color: var(--c-faint); }
.rating-big { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rating-big__score { font-size: 4rem; font-weight: 900; color: var(--c-ink); line-height: 1; letter-spacing: -.05em; }

/* ---------- FAQ / Accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  overflow: hidden; transition: box-shadow .22s, border-color .22s;
}
.faq details[open] { box-shadow: var(--sh-md); border-color: rgba(37, 99, 235, .3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 19px 24px 19px 54px;
  font-weight: 700; color: var(--c-ink); font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; display: grid; place-items: center;
  background: rgba(37, 99, 235, .1); color: var(--c-primary);
  border-radius: 50%; font-size: 1rem; font-weight: 800; line-height: 1; transition: .25s;
}
.faq details[open] summary::before { content: "−"; background: var(--c-primary); color: #fff; }
.faq summary:hover { color: var(--c-primary); }
.faq__body { padding: 0 24px 22px 54px; color: var(--c-muted); font-size: .96rem; }
.faq__body a { font-weight: 600; }
.faq-group { margin-bottom: 44px; }
.faq-group > h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.faq-group > h3::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--g-brand); }

/* ---------- Policy / Legal ---------- */
.doc { max-width: 860px; }
.doc h2 { font-size: 1.5rem; margin: 44px 0 16px; padding-bottom: 11px; border-bottom: 1px solid var(--c-line); }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.doc p, .doc li { color: var(--c-body); font-size: .97rem; }
.doc ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.doc ol { margin: 0 0 16px; padding-left: 22px; list-style: decimal; }
.doc li { margin-bottom: 7px; }
.doc a { font-weight: 600; }
.doc__meta {
  display: flex; gap: 24px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 34px;
  background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--r-md);
  font-size: .88rem; color: var(--c-muted);
}
.doc__meta b { color: var(--c-ink); }

/* ---------- CTA ---------- */
.cta { background: var(--c-ink); color: #cbd5e1; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(37, 99, 235, .4), transparent 60%),
    radial-gradient(600px 380px at 85% 100%, rgba(6, 182, 212, .3), transparent 62%);
}
.cta__in { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; }
.cta h2 { color: #fff; }
.cta p { color: #a9bad3; font-size: 1.06rem; margin-top: 16px; }

/* ---------- Footer ---------- */
.ftr { background: #070d19; color: #8fa3bf; padding-block: 62px 0; font-size: .92rem; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; }
.ftr .logo { color: #fff; margin-bottom: 16px; }
.ftr .logo:hover { color: #fff; }
.ftr__about { max-width: 330px; line-height: 1.85; }
.ftr h5 { color: #fff; font-size: .96rem; margin-bottom: 16px; font-weight: 700; }
.ftr__links { display: flex; flex-direction: column; gap: 11px; }
.ftr__links a { color: #8fa3bf; font-weight: 500; }
.ftr__links a:hover { color: #60a5fa; }
.ftr__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ftr__badges span {
  font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #b8c7dc;
}
.ftr__bot {
  border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; font-size: .86rem;
}
.ftr__bot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr__bot a { color: #8fa3bf; }
.ftr__bot a:hover { color: #60a5fa; }
.ftr__legal { max-width: 900px; margin: 0 auto 26px; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; line-height: 1.8; color: #7b8ca5; }
.ftr__legal b { color: #b8c7dc; }

/* ---------- Back to top ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-md);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: .25s; color: var(--c-primary);
}
.totop.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.totop svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 2.4; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Breadcrumb ---------- */
.crumb { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line-soft); padding-block: 14px; font-size: .88rem; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--c-muted); }
.crumb a { color: var(--c-muted); font-weight: 600; }
.crumb a:hover { color: var(--c-primary); }
.crumb li + li::before { content: "/"; margin-right: 9px; color: var(--c-faint); }
.crumb li:last-child { color: var(--c-ink); font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.phero {
  background: var(--c-ink); color: #cbd5e1; padding-block: 66px 62px;
  position: relative; overflow: hidden;
}
.phero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 15% -10%, rgba(37, 99, 235, .36), transparent 62%),
    radial-gradient(600px 400px at 88% 110%, rgba(6, 182, 212, .24), transparent 60%);
}
.phero__in { position: relative; z-index: 1; max-width: 760px; }
.phero h1 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
.phero p { color: #a9bad3; font-size: 1.06rem; margin-top: 18px; }

/* ---------- Table ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; min-width: 620px; }
table.tbl th, table.tbl td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--c-line-soft); }
table.tbl thead th { background: var(--c-bg-alt); font-weight: 700; color: var(--c-ink); font-size: .88rem; white-space: nowrap; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: rgba(37, 99, 235, .025); }
table.tbl td b { color: var(--c-ink); }

/* ---------- Callout ---------- */
.note {
  border-left: 4px solid var(--c-primary); background: rgba(37, 99, 235, .05);
  padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 22px 0;
}
.note--ok { border-color: var(--c-success); background: rgba(16, 185, 129, .06); }
.note--warn { border-color: var(--c-warn); background: rgba(245, 158, 11, .07); }
.note b { color: var(--c-ink); display: block; margin-bottom: 4px; }
.note p { font-size: .94rem; color: var(--c-muted); }

/* ---------- Badge / chip inline ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--r-full); background: rgba(16, 185, 129, .1); color: #059669;
}
.chip--b { background: rgba(37, 99, 235, .09); color: var(--c-primary); }
.chip--v { background: rgba(124, 58, 237, .1); color: var(--c-violet); }
.chip--g { background: rgba(100, 116, 139, .12); color: #475569; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --sec-y: 68px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-2-1, .g-1-2 { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--c-line); padding: 14px 20px 22px;
    box-shadow: var(--sh-lg); gap: 4px; transform: translateY(-130%);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .burger { display: grid; }
  .hdr .btn--primary { display: none; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .plan--hot { transform: none; }
  .plan--hot:hover { transform: translateY(-5px); }
  .trust__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust__items { gap: 22px; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, var(--w)); }
  :root { --sec-y: 54px; --nav-h: 62px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .hero { padding-block: 62px 56px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 20px 14px; margin-top: 44px; padding-top: 30px; }
  .card, .card--pad-lg { padding: 24px; }
  .plat-main { padding: 30px 24px; }
  .ucard { flex-direction: column; gap: 16px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .ribbon { padding: 20px; }
  .ribbon__tags { margin-left: 0; width: 100%; }
  .faq summary { padding: 16px 18px 16px 48px; font-size: .97rem; }
  .faq summary::before { left: 18px; }
  .faq__body { padding: 0 18px 18px 48px; }
  .sec-head { margin-bottom: 36px; }
  .rating-big__score { font-size: 3.2rem; }
  .ftr__bot { flex-direction: column; text-align: center; }
}