/* ============================================================
   WasFor — www.wasfor.com
   Light sky-blue marketing site, wide-screen layout.
   Design tokens follow my.wasfor.com (accent #409eff, bg #f3f8fd).
   ============================================================ */

:root {
  --sky: #409eff;
  --sky-strong: #2b8aeb;
  --sky-2: #38bdf8;
  --sky-soft: #eaf4ff;
  --sky-line: #d8e9fb;

  --bg: #f3f8fd;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --navy: #0b1a2b;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #64748b;
  --faint: #94a3b8;
  --border: #eaeef5;
  --border-2: #dde4ef;

  --green: #059669;
  --green-soft: #e8f9f1;

  --grad: linear-gradient(135deg, #409eff 0%, #38bdf8 100%);
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 4px 14px -8px rgba(15, 23, 42, .16);
  --shadow: 0 10px 28px -20px rgba(15, 23, 42, .24), 0 2px 6px -4px rgba(15, 23, 42, .05);
  --lift: 0 22px 44px -26px rgba(64, 158, 255, .38), 0 6px 16px -12px rgba(15, 23, 42, .14);

  --r-sm: 10px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --wrap: 1680px;
  --pad: 40px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC',
    'Noto Sans', 'Noto Sans Arabic', 'Noto Sans Devanagari', sans-serif;
  --mono: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

::selection { background: rgba(64, 158, 255, .22); }

/* ---------------- header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px -18px rgba(15, 23, 42, .3);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

/* ---------------- high-speed bar（全站突出“高速面板”） ---------------- */
.fastbar {
  position: relative;
  overflow: hidden;
  color: #e8f6ff;
  background: linear-gradient(90deg, #08243d 0%, #0f4874 46%, #0a6f9e 100%);
}
.fastbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 28%, rgba(255, 255, 255, .18) 48%, transparent 68%);
  transform: translateX(-100%);
  animation: fbSweep 5.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fbSweep {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}
.fastbar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 34px;
  font-size: 12.5px;
}
.fb-chip { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.fb-chip b { font-weight: 800; letter-spacing: .01em; }
.fb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dd3fc;
  animation: fbPulse 1.9s ease-out infinite;
}
@keyframes fbPulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 211, 252, .55); }
  70% { box-shadow: 0 0 0 9px rgba(125, 211, 252, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 211, 252, 0); }
}
.fb-metrics {
  color: rgba(232, 246, 255, .76);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fb-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  color: #a5e8ff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.fb-link i { font-style: normal; transition: transform .25s; }
.fb-link:hover { color: #fff; }
.fb-link:hover i { transform: translateX(3px); }

.fast-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(64, 158, 255, .15), rgba(34, 211, 238, .12));
  border: 1px solid rgba(43, 138, 235, .28);
  color: var(--sky-strong);
  font-size: 12.5px;
  font-weight: 800;
  vertical-align: middle;
  box-shadow: 0 10px 22px -18px rgba(43, 138, 235, .85);
}
.fast-chip .ap {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  animation: fbPulse 1.9s ease-out infinite;
}
.fast-chip em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.brand { display: inline-flex; align-items: center; flex: none; }
@keyframes wfBrandFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes wfBrandGlow {
  0%, 100% { filter: drop-shadow(0 2px 8px rgba(43, 138, 235, .30)); }
  50% { filter: drop-shadow(0 4px 18px rgba(56, 189, 248, .55)); }
}
.brand-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  background-image: linear-gradient(100deg, #2b8aeb 0%, #38bdf8 26%, #22d3ee 46%, #2b8aeb 72%, #2b8aeb 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: wfBrandFlow 7s linear infinite, wfBrandGlow 6s ease-in-out infinite;
  transition: transform .3s ease;
}
.brand:hover .brand-text { transform: scale(1.04); }

.nav-desktop { display: flex; gap: 30px; margin-left: 14px; }
.nav-desktop a {
  position: relative;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-2);
  padding: 6px 0;
  transition: color .2s;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-desktop a:hover { color: var(--sky-strong); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.nav-desktop a[aria-current="page"] { color: var(--sky-strong); }
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

/* nav dropdown (Demo) */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-2);
  padding: 6px 0;
  transition: color .2s;
}
.nav-drop-btn .chev { width: 15px; height: 15px; opacity: .7; transition: transform .2s; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--sky-strong); }
.nav-drop.open .nav-drop-btn .chev { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 120;
  display: none;
  width: 274px;
  padding: 7px;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, .35), 0 4px 14px -8px rgba(15, 23, 42, .12);
}
.nav-drop.open .nav-drop-menu { display: block; animation: pop .18s ease both; }
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  transition: background .15s;
}
.nav-drop-menu a:hover { background: var(--sky-soft); }
.nav-drop-menu a::after { display: none; }
.nav-drop-menu b { display: block; font-size: 13.5px; font-weight: 650; color: var(--navy); line-height: 1.35; }
.nav-drop-menu em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.nd-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.nd-ico svg { width: 18px; height: 18px; }
.nd-ico.user { background: #e6f5ff; color: #0284c7; }
.nd-ico.admin { background: #eef2ff; color: #4f46e5; }
@media (hover: hover) and (min-width: 981px) {
  .nav-drop:hover .nav-drop-menu { display: block; animation: pop .18s ease both; }
  .nav-drop:hover .nav-drop-btn { color: var(--sky-strong); }
  .nav-drop:hover .nav-drop-btn .chev { transform: rotate(180deg); }
}
html[dir="rtl"] .nav-drop-menu { left: 50%; }
html[dir="rtl"] .nd-txt { text-align: right; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: #fff;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 550;
  max-width: 190px;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.lang-btn:hover { border-color: var(--sky); color: var(--sky-strong); box-shadow: var(--shadow-xs); }
.lang-btn svg { width: 17px; height: 17px; flex: none; }
.lang-btn #langCurrent { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-btn .chev { width: 15px; height: 15px; opacity: .7; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 120;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 372px;
  max-height: 62vh;
  overflow: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, .35), 0 4px 14px -8px rgba(15, 23, 42, .12);
}
.lang-menu.open { display: grid; animation: pop .18s ease both; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--text-2);
  text-align: left;
  transition: background .15s, color .15s;
}
.lang-menu button:hover { background: var(--sky-soft); color: var(--sky-strong); }
.lang-menu button.active { background: var(--sky-soft); color: var(--sky-strong); font-weight: 650; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 40px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s, opacity .2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px var(--pad) 20px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  padding: 13px 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--sky-strong); }
.mobile-label {
  padding: 14px 2px 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-nav a.sub { padding-left: 14px; font-weight: 550; }
.mobile-nav a.sub::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sky);
  vertical-align: middle;
}
.mobile-cta { display: flex; gap: 10px; margin-top: 16px; }
.mobile-cta .btn { flex: 1; }
body.nav-open .mobile-nav { display: flex; animation: pop .2s ease both; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .18s, box-shadow .22s, background .2s, border-color .2s, color .2s;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(64, 158, 255, .8);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -16px rgba(64, 158, 255, .9); }
.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover { border-color: var(--sky); color: var(--sky-strong); transform: translateY(-1px); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { background: var(--sky-soft); color: var(--sky-strong); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; border-radius: var(--r); }
.btn.full { width: 100%; }
.btn.sm { height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 10px; }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 0;
  background:
    radial-gradient(1000px 520px at 82% 4%, #e3f3ff 0%, rgba(227, 243, 255, 0) 62%),
    radial-gradient(800px 480px at 4% 28%, #eef7ff 0%, rgba(238, 247, 255, 0) 60%),
    linear-gradient(180deg, #f8fcff 0%, var(--bg) 100%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(64, 158, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(64, 158, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 74%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  pointer-events: none;
}
.orb-1 { width: 460px; height: 460px; top: -140px; right: 4%; background: radial-gradient(circle, #bfe6ff, transparent 70%); animation: float1 18s ease-in-out infinite; }
.orb-2 { width: 360px; height: 360px; top: 200px; left: -110px; background: radial-gradient(circle, #d6f0ff, transparent 72%); animation: float2 22s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; bottom: -80px; right: 26%; background: radial-gradient(circle, #e4f7ff, transparent 74%); animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%, 100% { transform: translate3d(0, 0, 0) } 50% { transform: translate3d(-24px, 26px, 0) } }
@keyframes float2 { 0%, 100% { transform: translate3d(0, 0, 0) } 50% { transform: translate3d(28px, -20px, 0) } }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 60px;
  align-items: center;
}
.hero-copy { max-width: 720px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sky-line);
  color: var(--sky-strong);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(64, 158, 255, .16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .4 } }

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--navy);
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 20px;
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 600px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 14px; }
.note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--faint);
}
.note::before { content: '✓'; color: var(--green); font-weight: 700; }

/* dashboard mock */
.hero-visual { position: relative; }
.mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -50px rgba(15, 23, 42, .35), 0 8px 22px -16px rgba(15, 23, 42, .12);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .4s;
}
.mock:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -50px rgba(15, 23, 42, .4), 0 10px 26px -16px rgba(15, 23, 42, .14); }
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #fbfdff;
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #dbe4ef; }
.dots i:nth-child(1) { background: #fda4af; }
.dots i:nth-child(2) { background: #fcd34d; }
.dots i:nth-child(3) { background: #86efac; }
.mock-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.mock-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--green); font-weight: 600; }
.mock-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }

.mock-body { display: grid; grid-template-columns: 58px 1fr; }
.mock-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-right: 1px solid var(--border);
  background: #f9fcff;
}
.ms-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); box-shadow: 0 6px 14px -8px rgba(64, 158, 255, .9); }
.ms-item { width: 20px; height: 20px; border-radius: 6px; background: #e8eef7; }
.ms-item.on { background: var(--sky-soft); box-shadow: inset 0 0 0 1.5px rgba(64, 158, 255, .5); }
.ms-item.short { height: 8px; }
.ms-spacer { flex: 1; }

.mock-main { padding: 16px 18px 20px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mh-title { display: block; width: 104px; height: 10px; border-radius: 999px; background: #e8eef7; }
.mh-chip { display: block; width: 58px; height: 22px; border-radius: 999px; background: var(--sky-soft); }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi {
  padding: 12px;
  border: 1px solid #e9f2fb;
  border-radius: var(--r);
  background: #f8fcff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kpi b { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; }
.kpi span { font-size: 11.5px; color: var(--muted); }
.spark {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #d3ebff, #38bdf8);
}
.spark.s2 { background: linear-gradient(90deg, #d3f4ee, #10b981); }
.spark.s3 { background: linear-gradient(90deg, #e2e8ff, #818cf8); }

.chart-card {
  padding: 12px 12px 2px;
  border-radius: 14px;
  background: #0b1a2b;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, .12);
}
.chart-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 6px; }
.chart-top > span:first-child { display: block; width: 90px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.chart-legend { display: inline-flex; gap: 6px; }
.chart-legend i { width: 16px; height: 4px; border-radius: 99px; background: #7dd3fc; }
.chart-legend i.b { background: #22d3ee; opacity: .7; }
.chart { display: block; width: 100%; height: 96px; }
.chart .line { stroke-dasharray: 720; stroke-dashoffset: 720; animation: draw 2.4s ease .3s forwards; }
.chart .line2 { stroke-dasharray: 6 6; opacity: .75; }
.chart .area { opacity: 0; animation: fadeIn 1s ease .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }
@keyframes fadeIn { to { opacity: 1 } }

.mock-list { margin-top: 12px; display: grid; gap: 9px; }
.ml-row { display: flex; align-items: center; gap: 8px; }
.ml-row i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ml-row i.ok { background: #10b981; }
.ml-row i.warn { background: #f59e0b; }
.ml-row span { flex: 1; height: 8px; border-radius: 999px; background: #edf2f8; }
.ml-row em { font-family: var(--mono); font-size: 11px; font-style: normal; color: var(--faint); }
.mock-glow {
  position: absolute;
  inset: -30% -10% auto auto;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(56, 189, 248, .2), transparent 66%);
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 40px -26px rgba(15, 23, 42, .35), 0 3px 10px -6px rgba(15, 23, 42, .1);
  animation: bob 6s ease-in-out infinite;
  z-index: 2;
}
.float-card b { display: block; font-size: 13.5px; color: var(--navy); }
.fc-sub { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.fc-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--sky-strong);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}
.fc-ico.alt { background: var(--grad); color: #fff; }
.fc-1 { top: 16px; right: -22px; }
.fc-2 { bottom: 58px; left: -30px; animation-delay: -2.4s; }
.fc-3 { bottom: -22px; left: -26px; animation-delay: -1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }

/* ---------- stats ---------- */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .5);
}
.stat { text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
  line-height: 1.2;
}
.stat span { font-size: 13px; color: var(--muted); }

/* ---------------- sections ---------------- */
.section { padding: 96px 0; }
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--sky-strong);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.section-head h2,
.perf-copy h2,
.lic-copy h2 {
  margin-top: 16px;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.18;
  letter-spacing: -.032em;
  font-weight: 800;
  color: var(--navy);
}
.section-head p { margin-top: 14px; font-size: 16px; line-height: 1.72; color: var(--muted); }

/* ---------------- cards ---------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform .25s, box-shadow .3s, border-color .25s;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(300px 300px at var(--cx, 50%) var(--cy, 0%), rgba(56, 189, 248, .12), transparent 70%);
}
.card:hover {
  transform: translateY(-4px);
  border-color: #cfe7fb;
  box-shadow: var(--lift);
}
.card:hover::after { opacity: 1; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ico {
  width: 46px; height: 46px;
  border-radius: var(--r);
  background: var(--sky-soft);
  color: var(--sky-strong);
  display: grid;
  place-items: center;
  flex: none;
}
.ico svg { width: 22px; height: 22px; }
.ico.sm { width: 42px; height: 42px; border-radius: var(--r-sm); }
.tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky-strong);
  background: #f2f8ff;
  border: 1px solid var(--sky-line);
  padding: 4px 9px;
  border-radius: 999px;
}
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.card > p { margin-top: 9px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.ticks { margin-top: 18px; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--sky-strong);
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ---------------- platform pillars ---------------- */
.section.plat {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 340px at 8% 0%, rgba(14, 165, 233, .14), transparent 68%),
    radial-gradient(560px 300px at 92% 8%, rgba(99, 102, 241, .12), transparent 70%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}
.plat-glow {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(12, 74, 130, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 74, 130, .045) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 78%);
}
.section.plat > .wrap { position: relative; z-index: 1; }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
  margin: 6px 0 26px;
}
.pillar {
  position: relative;
  padding: 20px 22px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid #e1edfb;
  box-shadow: 0 16px 36px -26px rgba(15, 42, 84, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  border-radius: 16px 16px 0 0;
  background: var(--grad);
  opacity: .9;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: #cfe6fb;
  box-shadow: 0 26px 50px -28px rgba(15, 42, 84, .6);
}
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.p-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.p-ico svg { width: 20px; height: 20px; }
.p-ico.fast { background: #e6f5ff; color: #0284c7; }
.p-ico.sec { background: #eef2ff; color: #4f46e5; }
.p-ico.stab { background: #e6fbf3; color: #0f9f74; }
.p-metric {
  font: 700 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #0b63b6;
  background: #f1f8ff;
  border: 1px solid #d8eafd;
  padding: 5px 9px;
  border-radius: 8px;
  white-space: nowrap;
}
.pillar h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.pillar p { margin-top: 7px; font-size: 13.5px; line-height: 1.68; color: var(--muted); }

.plat-cards { margin-top: 2px; }
.card.module { display: flex; flex-direction: column; height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.chip {
  font-size: 11.5px;
  font-weight: 600;
  color: #2c5d8f;
  background: #f4f9ff;
  border: 1px solid #dfeefc;
  border-radius: 999px;
  padding: 4px 9px;
  transition: background .2s, border-color .2s, color .2s;
}
.card.module:hover .chip { background: #eef7ff; border-color: #cde6fc; }
.demo-row { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; }
.demo-path { font: 600 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #8a9ab2; }
html[dir="rtl"] .demo-row { flex-direction: row-reverse; }
html[dir="rtl"] .pillar::before { border-radius: 16px 16px 0 0; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card.feat { padding: 24px; }
.card.feat h3 { margin-top: 16px; font-size: 16.5px; }
.card.feat > p { font-size: 13.8px; }

/* ---------------- performance ---------------- */
.perf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.perf-copy > p { margin-top: 16px; font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 560px; }
.perf-list { margin-top: 32px; }
.perf-item { display: flex; gap: 16px; margin-bottom: 22px; }
.pnum {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-strong);
  background: var(--sky-soft);
  border-radius: 8px;
  padding: 4px 8px;
  height: fit-content;
}
.perf-item h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.perf-item p { margin-top: 4px; font-size: 13.8px; line-height: 1.65; color: var(--muted); max-width: 480px; }

.term {
  background: var(--navy);
  border-radius: var(--r-lg);
  box-shadow: 0 28px 56px -34px rgba(11, 26, 43, .6);
  overflow: hidden;
  border: 1px solid #12263d;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--mono);
  font-size: 12px;
  color: #93b3d1;
}
.term-body {
  margin: 0;
  padding: 18px 20px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.95;
  color: #cfe7fb;
  overflow-x: auto;
}
.c-dim { color: #6b8aa8; }
.c-ok { color: #34d399; }
.c-num { color: #7dd3fc; }
.c-acc { color: #38bdf8; }
.c-cursor { color: #7dd3fc; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0 } }

.bars { margin-top: 24px; display: grid; gap: 14px; }
.bar-row {
  display: grid;
  grid-template-columns: 96px 1fr 62px;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.bar-row b { text-align: right; font-weight: 700; color: var(--navy); font-size: 12.5px; }
.bar { height: 8px; border-radius: 999px; background: #e6eff9; overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  transition: width 1.1s cubic-bezier(.2, .7, .2, 1);
}
.bar i.b2 { background: linear-gradient(90deg, #38bdf8, #22d3ee); }
.bar i.b3 { background: linear-gradient(90deg, #34d399, #10b981); }

/* ---------------- architecture flow ---------------- */
.flow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 36px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xs);
}
.flow-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}
.flow-ico {
  width: 46px; height: 46px;
  border-radius: var(--r);
  background: var(--sky-soft);
  color: var(--sky-strong);
  font-size: 18px;
  display: grid;
  place-items: center;
}
.flow-node b { font-size: 15px; color: var(--navy); }
.flow-sub { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.flow-line {
  position: relative;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, rgba(64, 158, 255, .18), rgba(56, 189, 248, .55));
  flex: none;
}
.flow-line i {
  position: absolute;
  top: -1px; left: 0;
  width: 10px; height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  animation: flowPulse 2.6s linear infinite;
}
@keyframes flowPulse { from { left: -10% } to { left: 110% } }

/* ---------------- licensing ---------------- */
.lic-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 68px; align-items: center; }
.lic-copy > p { margin-top: 16px; font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 560px; }
.lic-list { margin: 26px 0 30px; padding: 0; }
.lic-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  font-size: 14.5px;
  color: var(--text-2);
}
.lic-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--sky-soft);
  color: var(--sky-strong);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.lic-visual { position: relative; }
.ledger { padding: 24px; }
.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--sky-strong);
  background: var(--sky-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.ledger-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.lr-ico {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: #f1f6fd;
  color: var(--sky-strong);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: none;
}
.lr-ico.alt { background: #eefbf5; color: var(--green); }
.ledger-row div { flex: 1; min-width: 0; }
.ledger-row b { display: block; font-size: 13.5px; color: var(--navy); }
.ledger-row span { font-size: 11.5px; color: var(--faint); }
.plus { font-size: 13.5px; font-weight: 700; color: var(--green); font-style: normal; }
.ledger-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.ledger-foot b { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }

/* ---------------- pricing ---------------- */
.billing {
  display: flex;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  margin: 0 auto 38px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}
.bill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: background .2s, color .2s;
}
.bill-btn:hover { color: var(--sky-strong); background: var(--sky-soft); }
.bill-btn[aria-pressed="true"] { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -12px rgba(64, 158, 255, .9); }
.save {
  font-size: 10.5px;
  font-weight: 700;
  font-style: normal;
  color: var(--green);
  background: var(--green-soft);
  padding: 2px 6px;
  border-radius: 999px;
}
.bill-btn[aria-pressed="true"] .save { background: rgba(255, 255, 255, .22); color: #fff; }

.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: var(--r-lg);
}
.plan.popular { border-color: rgba(64, 158, 255, .45); box-shadow: 0 18px 44px -26px rgba(64, 158, 255, .55); }
.plan.popular::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--grad);
}
.ribbon {
  position: absolute;
  top: 14px; right: 14px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.plan h3 { font-size: 17px; font-weight: 700; color: var(--navy); padding-right: 8px; }
.plan-price { display: flex; align-items: baseline; gap: 3px; margin: 12px 0 4px; }
.amt { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; }
.per { font-size: 12.5px; color: var(--faint); }
.plan-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--faint);
}
.plan-total b { font-size: 13px; font-weight: 700; color: var(--text-2); }

.plan-feats { flex: 1; margin: 0 0 18px; padding: 0; }
.plan-feats li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  font-size: 12.8px;
  color: var(--text-2);
}
.plan-feats li i {
  flex: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.plan-feats li.off i { background: #f1f5f9; color: var(--faint); }
.plan-feats li.off span { color: var(--faint); }
.plan-feats li b {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.plan-feats li b.inf { font-weight: 600; color: var(--sky-strong); }
.plan-feats li.off b { color: #b7c3d2; font-weight: 500; }
.plan .btn { height: 40px; font-size: 13.5px; }
.price-note {
  margin-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--faint);
}

/* ---------------- faq ---------------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item.open { border-color: #cfe7fb; box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.faq-q i {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sky-soft);
  transition: background .2s, transform .25s;
}
.faq-q i::before,
.faq-q i::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 1.8px;
  border-radius: 2px;
  background: var(--sky-strong);
  transform: translate(-50%, -50%);
  transition: transform .25s;
}
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { background: var(--sky); }
.faq-item.open .faq-q i::before,
.faq-item.open .faq-q i::after { background: #fff; }
.faq-item.open .faq-q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding: 0 20px 18px; font-size: 13.8px; line-height: 1.72; color: var(--muted); }

/* ---------------- cta ---------------- */
.cta-section { padding: 20px 0 96px; }
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 76px 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #0b1a2b 0%, #123a5c 62%, #14506f 100%);
  text-align: center;
  box-shadow: 0 40px 80px -50px rgba(11, 26, 43, .7);
}
.cta-glow {
  position: absolute;
  inset: auto -10% -60% auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 62%);
  pointer-events: none;
}
.cta-card h2 {
  position: relative;
  font-size: clamp(26px, 2.6vw, 40px);
  letter-spacing: -.03em;
  font-weight: 800;
  color: #fff;
}
.cta-card p {
  position: relative;
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .72);
}
.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.cta-card .btn-outline {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .26);
  color: #fff;
  box-shadow: none;
}
.cta-card .btn-outline:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); color: #fff; }

/* ---------------- footer ---------------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 300px; }
.foot-brand .brand-text { font-size: 20px; }
.foot-col h4 {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.foot-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  transition: color .2s, transform .2s;
}
.foot-col a:hover { color: var(--sky-strong); transform: translateX(3px); }
.foot-lang { display: block; font-size: 12.5px; color: var(--faint); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
}
.foot-mini { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  background: #fff;
  color: var(--text-2);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, border-color .2s, color .2s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--sky); color: var(--sky-strong); }

/* ---------------- reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------------- focus ---------------- */
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: inherit;
}
a, button { -webkit-tap-highlight-color: transparent; }

/* ---------------- rtl ---------------- */
html[dir="rtl"] .ticks li { padding-left: 0; padding-right: 26px; }
html[dir="rtl"] .ticks li::before { left: auto; right: 0; }
html[dir="rtl"] .lic-list li { padding-left: 0; padding-right: 30px; }
html[dir="rtl"] .lic-list li::before { left: auto; right: 0; }
html[dir="rtl"] .nav-desktop a::after { transform-origin: right; }
html[dir="rtl"] .plan-feats li b { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .foot-col a:hover { transform: translateX(-3px); }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }

/* ---------------- license grid ---------------- */

/* ---------------- responsive ---------------- */
@media (max-width: 1440px) {
  :root { --pad: 32px; }
  .hero-inner { gap: 44px; }
}

@media (max-width: 1300px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1180px) {
  .hero h1 { font-size: clamp(38px, 4.6vw, 56px); }
  .nav-desktop { gap: 20px; margin-left: 6px; }
  .perf-grid, .lic-grid { gap: 44px; }
  .brand-text { font-size: 21px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .hide-sm { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 100%; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .cards-3, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { padding: 18px 18px 19px; }
  .pillar h3 { font-size: 16px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .perf-grid, .lic-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
  .fc-1, .fc-2, .fc-3 { display: none; }
  .stats { margin-top: 46px; }
  .fb-metrics { display: none; }
}

@media (max-width: 720px) {
  :root { --pad: 18px; }
  body { font-size: 14.5px; }
  .fastbar-inner { height: 32px; font-size: 11.5px; gap: 8px; }
  .fb-link { display: none; }
  .fast-chip { margin-left: 0; margin-top: 8px; font-size: 11.5px; }
  .fast-chip em { display: none; }
  .header-inner { height: 64px; gap: 12px; }
  .lang-btn { max-width: 132px; font-size: 12.5px; padding: 0 10px; }
  .lang-menu { width: min(340px, calc(100vw - 36px)); right: -6px; }
  html[dir="rtl"] .lang-menu { left: -6px; right: auto; }
  .hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .lead { font-size: 15.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; padding: 20px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .mock-body { grid-template-columns: 44px 1fr; }
  .mock-side { padding: 12px 0; }
  .ms-item { width: 18px; }
  .kpi b { font-size: 19px; }
  .cards-3, .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
  .pillar { padding: 17px 16px 18px; }
  .p-metric { font-size: 11px; padding: 4px 7px; }
  .chips { gap: 5px; }
  .chip { font-size: 11px; padding: 3px 8px; }
  .demo-row { padding-top: 15px; }
  .demo-path { font-size: 11px; }
  .plan { padding: 22px 18px; }
  .plan.popular { order: -1; }
  .flow { flex-direction: column; padding: 26px 18px; gap: 4px; }
  .flow-node { width: 100%; }
  .flow-line { width: 2px; height: 26px; background: linear-gradient(180deg, rgba(64, 158, 255, .18), rgba(56, 189, 248, .55)); }
  .flow-line i {
    top: 0; left: -1px;
    width: 4px; height: 12px;
    background: linear-gradient(180deg, transparent, #38bdf8, transparent);
    animation: flowPulseY 2.6s linear infinite;
  }
  .faq { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-card { padding: 52px 20px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .billing { width: 100%; justify-content: center; flex-wrap: wrap; }
  .bill-btn { padding: 0 13px; font-size: 12.5px; }
  .bar-row { grid-template-columns: 76px 1fr 52px; }
  .to-top { right: 16px; bottom: 16px; }
  .section-head { margin-bottom: 36px; }
}
@keyframes flowPulseY { from { top: -20% } to { top: 115% } }

@media (max-width: 420px) {
  .stat b { font-size: 25px; }
  .plan-price .amt { font-size: 30px; }
  .lang-menu {
    grid-template-columns: 1fr 1fr;
    width: min(340px, calc(100vw - 24px));
    padding: 7px;
    max-height: 58vh;
  }
  .lang-menu button { padding: 8px 9px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart .line { stroke-dashoffset: 0; }
  .chart .area { opacity: 1; }
  .bar i { width: var(--w); }
}

/* ================= premium polish (2026-10) ================= */
@keyframes heroFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* 首屏：流动渐变标题 + 顶部柔光 */
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -220px;
  width: 1200px;
  height: 620px;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(56, 189, 248, .18), rgba(56, 189, 248, 0));
  filter: blur(12px);
}
.hero h1 .grad {
  background-image: linear-gradient(100deg, #2b8aeb 0%, #38bdf8 28%, #22d3ee 48%, #2b8aeb 76%, #2b8aeb 100%);
  background-size: 220% 100%;
  animation: heroFlow 10s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
}
.hero .lead { max-width: 620px; color: #52637a; }

/* 主按钮：扫光 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .48), transparent);
  transition: left .7s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
.btn-primary:hover::after { left: 140%; }

/* 顶部导航：滚动后的玻璃质感 */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .8);
  border-bottom-color: rgba(216, 233, 251, .95);
  box-shadow: 0 14px 34px -28px rgba(15, 23, 42, .55);
}

/* 段落小标题 */
.kicker {
  background: rgba(234, 244, 255, .8);
  border: 1px solid rgba(216, 233, 251, .9);
  box-shadow: 0 6px 16px -14px rgba(43, 138, 235, .6);
}
.section-head h2 { letter-spacing: -.035em; }

/* 数据条：数字渐变 */
.stat b {
  background-image: linear-gradient(135deg, #0b1a2b 0%, #1f4f7d 55%, #2b8aeb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 价格：高级版更突出 */
@media (min-width: 981px) {
  .plan.popular { box-shadow: 0 26px 56px -30px rgba(64, 158, 255, .66), 0 6px 18px -14px rgba(15, 23, 42, .12); }
}
.plan .amt, .plan-total b { font-variant-numeric: tabular-nums; }
.plan h3 { letter-spacing: -.01em; }

/* 页脚：顶部渐隐分隔与链接位移 */
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64, 158, 255, .5), transparent);
}
.foot-col a { transition: color .18s, transform .18s; }
.foot-col a:hover { color: var(--sky-strong); transform: translateX(2px); }
