/* ============================================================
   YAOCLOUD 曜云科技 — Nebula Theme
   科技风 IDC 门户模板 · 设计系统
   ------------------------------------------------------------
   TOC
   01 Tokens / Base
   02 Utilities (container, section-head, buttons, chips)
   03 Topbar / Header / Mega menu
   04 Hero + console card
   05 Shortcut cards
   06 Deals (region tabs + product cards)
   07 Configurator
   08 Global network (dark, globe)
   09 Stats band
   10 Advantages
   11 Solutions
   12 Partners / honors
   13 News
   14 CTA band
   15 Footer / float bar
   16 Product page (cloud.html)
   17 Reveal states / motion
   18 Responsive
   ============================================================ */

/* ---------------- 01 Tokens / Base ---------------- */
@font-face {
  font-family: "Rajdhani";
  src: url("../fonts/rajdhani-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Rajdhani";
  src: url("../fonts/rajdhani-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* palette */
  --ink: #0a1220;
  --ink-2: #0e1830;
  --ink-3: #13203c;
  --blue: #2b6bff;
  --blue-deep: #1f55e0;
  --cyan: #38c8ff;
  --promo: #ff5c33;
  --promo-soft: #fff1ec;

  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-mist: #eef3fb;

  --text: #16223a;
  --text-2: #5b6b88;
  --text-3: #8b99b3;
  --line: #e4eaf5;
  --line-dark: rgba(146, 178, 255, 0.16);

  --on-dark: #e9f0fc;
  --on-dark-2: #9db1d4;

  /* geometry */
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 6px;
  --container: 1200px;
  --gutter: 32px;

  /* elevation */
  --sh-card: 0 2px 8px rgba(18, 38, 82, 0.05), 0 14px 40px rgba(18, 38, 82, 0.08);
  --sh-pop: 0 6px 16px rgba(18, 38, 82, 0.08), 0 24px 64px rgba(18, 38, 82, 0.14);

  /* type */
  --font-sans: "PingFang SC", "MiSans", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Source Han Sans SC", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Rajdhani", "Barlow Condensed", "DIN Alternate", "Arial Narrow",
    var(--font-sans);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, select { font-family: inherit; }

.icon {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

::selection { background: rgba(43, 107, 255, 0.22); }

/* numbers everywhere use the numeric face */
.num, .price, .stat-value, .mono {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

/* ---------------- 02 Utilities ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { position: relative; }
.section-pad { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { margin-bottom: 48px; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-head .eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
}
.section-head h2 {
  margin-top: 12px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.section-head .section-sub {
  margin-top: 12px;
  max-width: 620px;
  color: var(--text-2);
  font-size: 15px;
}
.section-head.is-center { text-align: center; }
.section-head.is-center .section-sub { margin-left: auto; margin-right: auto; }
.section-head.is-on-dark .eyebrow { color: var(--cyan); }
.section-head.is-on-dark .eyebrow::before { background: var(--cyan); }
.section-head.is-on-dark h2 { color: #fff; }
.section-head.is-on-dark .section-sub { color: var(--on-dark-2); }

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.head-more {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-2);
  padding-bottom: 6px;
  transition: color 0.25s;
}
.head-more .icon { font-size: 15px; transition: transform 0.25s var(--ease-out); }
.head-more:hover { color: var(--blue); }
.head-more:hover .icon { transform: translateX(3px); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 26px;
  height: 46px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s,
    border-color 0.25s, color 0.25s;
  white-space: nowrap;
  position: relative;
}
.btn .icon { font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(43, 107, 255, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(43, 107, 255, 0.42);
}
.btn-ghost-dark {
  color: var(--on-dark);
  border: 1px solid rgba(157, 177, 212, 0.4);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn-ghost-light {
  color: var(--text);
  border: 1px solid #c9d5ea;
  background: #fff;
}
.btn-ghost-light:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-lg { height: 52px; padding: 0 32px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* price */
.price { color: var(--promo); font-weight: 700; }
.price .cur { font-size: 0.62em; font-weight: 600; margin-right: 2px; }
.price .unit { font-size: 13px; font-weight: 500; color: var(--text-3); margin-left: 2px; font-family: var(--font-sans); }
.price-origin {
  color: var(--text-3);
  font-size: 13px;
  text-decoration: line-through;
  font-family: var(--font-num);
}

/* tags / chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.chip-blue { background: rgba(43, 107, 255, 0.09); color: var(--blue); }
.chip-cyan { background: rgba(56, 200, 255, 0.12); color: #0e9fd8; }
.chip-promo { background: var(--promo-soft); color: var(--promo); }
.chip-outline { border: 1px solid var(--line); color: var(--text-2); }

/* status dot */
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ec774;
  position: relative;
  flex: none;
}
.dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(46, 199, 116, 0.5);
  animation: dot-pulse 2.2s ease-out infinite;
}
@keyframes dot-pulse {
  0% { transform: scale(0.5); opacity: 1; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

/* card corner ticks — tech blueprint flavor */
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.ticks::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
}
.ticks::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}
.ticks:hover::before, .ticks:hover::after { opacity: 1; }

/* ---------------- 03 Topbar / Header ---------------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark-2);
  font-size: 12.5px;
  height: 34px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-left .sep { opacity: 0.3; }
.topbar-left strong { color: var(--on-dark); font-weight: 500; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right a { transition: color 0.2s; display: inline-flex; align-items: center; gap: 5px; }
.topbar-right a:hover { color: #fff; }
.topbar-right .icon { font-size: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(10, 18, 32, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(146, 178, 255, 0.1);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(18, 38, 82, 0.08);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
}
.brand-name em {
  display: block;
  font-style: normal;
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--on-dark-2);
}
.is-solid .brand-name { color: var(--text); }
.is-solid .brand-name em { color: var(--text-3); }

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav .nav-item { position: relative; }
.main-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: 72px;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-dark);
  transition: color 0.25s;
}
.is-solid .main-nav .nav-link { color: var(--text); }
.main-nav .nav-link .icon { font-size: 14px; opacity: 0.55; transition: transform 0.25s; }
.main-nav .nav-item:hover .nav-link,
.main-nav .nav-item.is-active .nav-link { color: var(--cyan); }
.is-solid .main-nav .nav-item:hover .nav-link,
.is-solid .main-nav .nav-item.is-active .nav-link { color: var(--blue); }
.main-nav .nav-item:hover .nav-link .icon { transform: rotate(180deg); }
.main-nav .nav-item.is-active .nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.is-solid .main-nav .nav-item.is-active .nav-link::after {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* mega dropdown */
.mega {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 640px;
  background: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--sh-pop);
  border-top: 2px solid var(--blue);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out), visibility 0.28s;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}
.mega-link:hover { background: var(--bg-soft); }
.mega-link .icon { font-size: 21px; color: var(--blue); margin-top: 3px; }
.mega-link b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); }
.mega-link span { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; line-height: 1.5; }
.mega-link .mega-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--promo-soft);
  color: var(--promo);
  font-size: 11px;
  vertical-align: 1px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .h-link { font-size: 14px; color: var(--on-dark); transition: color 0.2s; }
.is-solid .header-actions .h-link { color: var(--text-2); }
.header-actions .h-link:hover { color: var(--cyan); }
.is-solid .header-actions .h-link:hover { color: var(--blue); }
.header-actions .h-console {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(157, 177, 212, 0.45);
  font-size: 13.5px;
  color: var(--on-dark);
  transition: all 0.25s;
}
.header-actions .h-console:hover { border-color: #fff; color: #fff; }
.header-actions .h-cta {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
}
.header-actions .h-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(43, 107, 255, 0.4); }
.is-solid .header-actions .h-console { border-color: #c9d5ea; color: var(--text-2); }
.is-solid .header-actions .h-console:hover { border-color: var(--blue); color: var(--blue); }

/* mobile nav trigger — hidden on desktop */
.nav-toggle { display: none; }

/* ---------------- 04 Hero ---------------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 78% -10%, #16305e 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #10233f 0%, transparent 55%),
    var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.hero::before {
  /* blueprint grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(146, 178, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 178, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 620px at 30% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 620px at 30% 20%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
  padding-top: 88px;
  padding-bottom: 110px;
  min-height: 620px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(56, 200, 255, 0.35);
  border-radius: 999px;
  background: rgba(56, 200, 255, 0.06);
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.hero-eyebrow .mono { letter-spacing: 0.18em; font-weight: 500; }

.hero h1 {
  margin-top: 26px;
  font-size: 52px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.015em;
}
.hero h1 .h1-line { display: block; overflow: hidden; }
.hero h1 .h1-line > span { display: inline-block; }
.hero h1 .grad {
  background: linear-gradient(92deg, var(--cyan) 5%, var(--blue) 60%, #7ea6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin-top: 22px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--on-dark-2);
}
.hero-desc b { color: var(--on-dark); font-weight: 600; }

.hero-cta { margin-top: 36px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 42px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--on-dark-2);
}
.trust-item .icon { font-size: 17px; color: var(--cyan); }

/* hero right — live console card */
.hero-visual { position: relative; }
.console-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 34, 62, 0.92), rgba(14, 24, 48, 0.96));
  border: 1px solid rgba(146, 178, 255, 0.22);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(2, 8, 22, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  padding: 20px 22px 18px;
}
.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(146, 178, 255, 0.14);
}
.console-head .cc-region {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--on-dark);
}
.console-head .cc-region .icon { color: var(--cyan); font-size: 16px; }
.console-head .cc-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #6fe3a5;
}
.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.cm-item {
  border: 1px solid rgba(146, 178, 255, 0.12);
  border-radius: var(--r-sm);
  padding: 10px 12px 8px;
  background: rgba(255, 255, 255, 0.02);
}
.cm-item .cm-label { font-size: 11.5px; color: var(--on-dark-2); letter-spacing: 0.04em; }
.cm-item .cm-value {
  margin-top: 2px;
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.cm-item .cm-value small { font-size: 11px; font-weight: 500; color: var(--on-dark-2); margin-left: 3px; letter-spacing: 0.06em; }
.cm-bar {
  margin-top: 7px;
  height: 3px;
  border-radius: 2px;
  background: rgba(146, 178, 255, 0.15);
  overflow: hidden;
}
.cm-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.console-chart { margin-top: 16px; }
.console-chart .cc-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--on-dark-2);
  margin-bottom: 6px;
}
.console-chart .cc-chart-head .mono { color: var(--cyan); font-size: 15px; font-weight: 700; }
.console-chart canvas { width: 100%; height: 108px; display: block; }
.console-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--on-dark-2);
  font-family: var(--font-num);
  letter-spacing: 0.08em;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(16, 28, 54, 0.9);
  border: 1px solid rgba(146, 178, 255, 0.25);
  box-shadow: 0 16px 40px rgba(2, 8, 22, 0.5);
  font-size: 13px;
  color: var(--on-dark);
  backdrop-filter: blur(6px);
}
.float-chip .icon { font-size: 17px; color: var(--cyan); }
.float-chip b { font-family: var(--font-num); font-weight: 700; letter-spacing: 0.04em; }
.float-chip.fc-1 { top: -22px; right: -14px; }
.float-chip.fc-2 { bottom: -18px; left: -20px; }

.hero-bottom-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 32, 0.85));
  z-index: 1;
  pointer-events: none;
}

/* ---------------- 05 Shortcut cards ---------------- */
.shortcuts { margin-top: -64px; position: relative; z-index: 5; }
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sc-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.sc-card::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.sc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-card); }
.sc-card:hover::after { transform: scaleX(1); }
.sc-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, rgba(43, 107, 255, 0.1), rgba(56, 200, 255, 0.14));
  color: var(--blue);
  transition: transform 0.35s var(--ease-spring);
}
.sc-icon .icon { font-size: 24px; }
.sc-card:hover .sc-icon { transform: translateY(-3px) scale(1.05); }
.sc-card h3 { margin-top: 16px; font-size: 17px; font-weight: 600; }
.sc-card p { margin-top: 6px; font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.sc-card .sc-arrow {
  position: absolute;
  top: 24px; right: 22px;
  color: var(--text-3);
  font-size: 17px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.sc-card:hover .sc-arrow { opacity: 1; transform: translateX(0); color: var(--blue); }

/* ---------------- 06 Deals ---------------- */
.deals-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  overflow-x: auto;
}
.deal-tab {
  position: relative;
  padding: 13px 22px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.25s;
}
.deal-tab:hover { color: var(--text); }
.deal-tab.is-active { color: var(--blue); font-weight: 600; }
.deal-tab::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}
.deal-tab.is-active::after { left: 14px; right: 14px; width: auto; }

.deals-panel { display: none; }
.deals-panel.is-active { display: block; }
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.prod-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--sh-card); border-color: rgba(43, 107, 255, 0.4); }
.prod-card.is-flag::before {
  content: attr(data-flag);
  position: absolute;
  top: 0; right: 0;
  padding: 3px 10px;
  border-radius: 0 var(--r-md) 0 var(--r-sm);
  background: linear-gradient(135deg, var(--promo), #ff7a45);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.prod-card h4 { font-size: 17px; font-weight: 600; }
.prod-card .pc-spec {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-2);
  font-family: var(--font-num);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.prod-card .pc-divider { margin: 16px 0; height: 1px; background: var(--line); }
.pc-rows { display: grid; gap: 8px; }
.pc-row { display: flex; justify-content: space-between; font-size: 13px; }
.pc-row .k { color: var(--text-3); }
.pc-row .v { color: var(--text); font-weight: 500; font-family: var(--font-num); letter-spacing: 0.03em; }
.pc-tags { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.pc-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.pc-price .price { font-size: 30px; line-height: 1.1; }
.pc-price .price-origin { display: block; margin-top: 2px; }
.deals-note {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.deals-note .icon { color: var(--blue); font-size: 15px; }

/* ---------------- 07 Configurator ---------------- */
.configurator {
  position: relative;
  border-radius: var(--r-lg);
  background:
    radial-gradient(700px 340px at 90% -10%, rgba(43, 107, 255, 0.08), transparent 60%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-card);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  overflow: hidden;
}
.config-form { padding: 40px 44px; }
.cfg-group { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.cfg-group:first-child { padding-top: 0; }
.cfg-group:last-child { border-bottom: 0; padding-bottom: 0; }
.cfg-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cfg-label .cfg-hint { font-size: 12px; font-weight: 400; color: var(--text-3); }
.cfg-options { display: flex; gap: 8px; flex-wrap: wrap; }
.cfg-opt {
  position: relative;
  min-width: 64px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--text-2);
  text-align: center;
  transition: all 0.22s;
  font-family: var(--font-num);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cfg-opt:hover { border-color: var(--blue); color: var(--blue); }
.cfg-opt.is-active {
  border-color: var(--blue);
  background: rgba(43, 107, 255, 0.06);
  color: var(--blue);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(43, 107, 255, 0.1);
}
.cfg-opt small { display: block; font-size: 11px; color: var(--text-3); letter-spacing: 0; }
.cfg-opt.is-active small { color: var(--blue); }

.config-summary {
  background: var(--ink);
  color: var(--on-dark);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.config-summary::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(146, 178, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(300px 260px at 80% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(300px 260px at 80% 0%, #000, transparent 75%);
}
.config-summary h4 { font-size: 16px; font-weight: 600; position: relative; }
.cfg-spec-list { margin-top: 20px; position: relative; }
.cfg-spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(146, 178, 255, 0.15);
  font-size: 13px;
  color: var(--on-dark-2);
}
.cfg-spec-list li b { color: var(--on-dark); font-weight: 500; font-family: var(--font-num); letter-spacing: 0.04em; }
.cfg-price-block { margin-top: auto; padding-top: 24px; position: relative; }
.cfg-price-block .cfg-price-label { font-size: 12.5px; color: var(--on-dark-2); display: flex; justify-content: space-between; }
.cfg-price-block .cfg-price-label .cfg-save { color: #6fe3a5; }
.cfg-total {
  margin-top: 6px;
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.cfg-total .cur { font-size: 20px; margin-right: 2px; }
.cfg-total .unit { font-size: 14px; color: var(--on-dark-2); font-weight: 500; margin-left: 4px; }
.cfg-total-hint { margin-top: 4px; font-size: 12px; color: var(--on-dark-2); }
.config-summary .btn { margin-top: 20px; position: relative; }
.config-summary .cfg-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--on-dark-2);
  text-align: center;
  position: relative;
}

/* ---------------- 08 Global network (dark) ---------------- */
.network {
  background:
    radial-gradient(1000px 500px at 85% 15%, #132444 0%, transparent 55%),
    var(--ink-2);
  color: var(--on-dark);
  overflow: hidden;
}
.network .network-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}
.net-stats {
  display: flex;
  gap: 40px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.net-stat b {
  display: block;
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.net-stat b small { font-size: 14px; color: var(--cyan); font-weight: 700; margin-left: 2px; }
.net-stat span { font-size: 12.5px; color: var(--on-dark-2); letter-spacing: 0.06em; }

.region-list { position: relative; }
.globe-wrap { position: relative; height: 460px; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; }
.globe-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(10, 18, 32, 0.82);
  border: 1px solid rgba(56, 200, 255, 0.3);
  font-size: 12px;
  color: var(--on-dark);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.globe-tag i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.globe-tag b { font-family: var(--font-num); color: var(--cyan); font-weight: 700; }
.globe-tag.gt-1 { top: 12%; left: 4%; }
.globe-tag.gt-2 { top: 38%; right: 2%; }
.globe-tag.gt-3 { bottom: 10%; left: 12%; }

.region-table {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}
.region-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.25s;
  font-size: 14px;
}
.region-row:hover { background: rgba(146, 178, 255, 0.05); }
.region-row .rr-name { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-weight: 500; }
.region-row .rr-name .icon { color: var(--cyan); font-size: 16px; }
.region-row .rr-line { color: var(--on-dark-2); font-size: 13px; }
.region-row .rr-ping { font-family: var(--font-num); font-weight: 700; color: var(--cyan); letter-spacing: 0.05em; }
.region-row .rr-ping small { font-size: 11px; color: var(--on-dark-2); font-weight: 500; margin-left: 2px; }
.region-row .rr-link {
  font-size: 12.5px;
  color: var(--on-dark-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.region-row:hover .rr-link { color: var(--cyan); }

/* ---------------- 09 Stats band ---------------- */
.stats-band { background: var(--bg-soft); border-block: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}
.stat-cell { position: relative; padding-left: 22px; }
.stat-cell::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}
.stat-value {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.stat-value small { font-size: 17px; color: var(--blue); font-weight: 700; margin-left: 2px; }
.stat-cell p { margin-top: 4px; font-size: 13.5px; color: var(--text-2); }

/* ---------------- 10 Advantages ---------------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.adv-card {
  position: relative;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--sh-card); }
.adv-card .adv-idx {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.adv-card:hover .adv-idx { color: var(--blue); }
.adv-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 18px rgba(43, 107, 255, 0.28);
}
.adv-icon .icon { font-size: 22px; }
.adv-card:nth-child(2n) .adv-icon { background: linear-gradient(140deg, #12b8d8, #0e86b8); box-shadow: 0 8px 18px rgba(14, 134, 184, 0.28); }
.adv-card h3 { margin-top: 18px; font-size: 16.5px; font-weight: 600; }
.adv-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* ---------------- 11 Solutions ---------------- */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sol-card {
  position: relative;
  display: block;
  padding: 28px 26px;
  border-radius: var(--r-md);
  background: var(--ink-2);
  border: 1px solid rgba(146, 178, 255, 0.14);
  color: var(--on-dark);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.sol-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 20% 0%, rgba(43, 107, 255, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.sol-card:hover { transform: translateY(-5px); border-color: rgba(56, 200, 255, 0.45); box-shadow: 0 24px 60px rgba(6, 14, 34, 0.5); }
.sol-card:hover::before { opacity: 1; }
.sol-card > * { position: relative; }
.sol-icon { color: var(--cyan); font-size: 28px; }
.sol-card h3 { margin-top: 16px; font-size: 17px; font-weight: 600; color: #fff; }
.sol-card p { margin-top: 8px; font-size: 13.5px; color: var(--on-dark-2); line-height: 1.7; min-height: 46px; }
.sol-card .sol-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--cyan);
}
.sol-card .sol-link .icon { font-size: 15px; transition: transform 0.25s var(--ease-out); }
.sol-card:hover .sol-link .icon { transform: translateX(4px); }

/* ---------------- 12 Partners / honors ---------------- */
.partner-marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0 4px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.partner-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.plogo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: #9aa8c2;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.plogo .icon { font-size: 22px; }
.plogo:hover { color: var(--blue); border-color: rgba(43, 107, 255, 0.4); box-shadow: var(--sh-card); }

.honor-row {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.honor-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-mist);
  font-size: 13px;
  color: var(--text-2);
}
.honor-item .icon { color: var(--blue); font-size: 16px; }

/* ---------------- 13 News ---------------- */
.news-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.news-feature {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(150deg, #14264c, #0c1730);
  color: var(--on-dark);
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.news-feature::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(146, 178, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(360px 300px at 85% 10%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(360px 300px at 85% 10%, #000, transparent 72%);
}
.news-feature > * { position: relative; }
.news-feature .nf-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(56, 200, 255, 0.14);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.news-feature h3 { margin-top: 18px; font-size: 21px; line-height: 1.5; font-weight: 600; color: #fff; max-width: 26em; }
.news-feature p { margin-top: 12px; font-size: 13.5px; color: var(--on-dark-2); max-width: 30em; }
.news-feature .nf-meta {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--on-dark-2);
}
.news-feature .nf-meta .mono { letter-spacing: 0.12em; }

.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 19px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
  flex: 1;
}
.news-item:first-child { padding-top: 4px; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: linear-gradient(90deg, rgba(43, 107, 255, 0.04), transparent); padding-left: 12px; }
.news-date {
  flex: none;
  text-align: center;
  font-family: var(--font-num);
  padding-top: 2px;
}
.news-date b { display: block; font-size: 24px; font-weight: 700; color: var(--text); line-height: 1; }
.news-date span { font-size: 12px; color: var(--text-3); letter-spacing: 0.08em; }
.news-item h4 { font-size: 15px; font-weight: 500; line-height: 1.6; transition: color 0.2s; }
.news-item:hover h4 { color: var(--blue); }
.news-item p { margin-top: 4px; font-size: 12.5px; color: var(--text-3); }

/* ---------------- 14 CTA band ---------------- */
.cta-band { padding: 0 0 96px; }
.cta-inner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(640px 300px at 12% 0%, rgba(56, 200, 255, 0.2), transparent 60%),
    radial-gradient(640px 340px at 95% 110%, rgba(43, 107, 255, 0.35), transparent 60%),
    var(--ink);
  color: #fff;
  padding: 54px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(146, 178, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 178, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-copy h2 { font-size: 28px; font-weight: 700; line-height: 1.4; }
.cta-copy h2 .num { color: var(--cyan); }
.cta-copy p { margin-top: 10px; color: var(--on-dark-2); font-size: 14.5px; }
.cta-actions { display: flex; gap: 14px; flex: none; }
.cta-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 28px;
  border-left: 1px solid rgba(146, 178, 255, 0.2);
}
.cta-phone .icon { font-size: 30px; color: var(--cyan); }
.cta-phone .cp-label { font-size: 12.5px; color: var(--on-dark-2); }
.cta-phone .cp-num { font-family: var(--font-num); font-size: 22px; font-weight: 700; letter-spacing: 0.06em; }

/* ---------------- 15 Footer / float bar ---------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-2);
  font-size: 13.5px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-desc { margin-top: 18px; line-height: 1.9; font-size: 13px; max-width: 300px; }
.footer-contact { margin-top: 22px; display: grid; gap: 10px; }
.fc-line { display: flex; align-items: center; gap: 10px; }
.fc-line .icon { color: var(--cyan); font-size: 16px; }
.fc-line b { font-family: var(--font-num); font-size: 17px; color: #fff; font-weight: 700; letter-spacing: 0.04em; }
.fc-line span { font-size: 13px; }

.footer-col h5 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { transition: color 0.2s; position: relative; }
.footer-col a:hover { color: #fff; }
.footer-col a::before {
  content: "";
  position: absolute;
  left: -12px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-50%) scale(0);
  transition: transform 0.25s var(--ease-spring);
}
.footer-col a:hover::before { transform: translateY(-50%) scale(1); }

.footer-qrcode {
  margin-top: 4px;
  display: flex;
  gap: 12px;
}
.qr-card {
  width: 96px;
  text-align: center;
  font-size: 11.5px;
  color: var(--on-dark-2);
}
.qr-card .qr-box {
  height: 96px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-dark);
  background:
    repeating-linear-gradient(0deg, rgba(146, 178, 255, 0.08) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(90deg, rgba(146, 178, 255, 0.08) 0 2px, transparent 2px 8px);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(146, 178, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.footer-links { padding: 26px 0; border-top: 1px solid var(--line-dark); display: flex; gap: 14px; align-items: baseline; font-size: 12.5px; }
.footer-links b { color: var(--on-dark); font-weight: 500; flex: none; }
.footer-links a { color: var(--on-dark-2); margin-right: 16px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding: 22px 0 26px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.footer-bottom .fb-badges { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .fb-badges a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.footer-bottom .fb-badges a:hover { color: #fff; }
.footer-bottom .fb-badges .icon { font-size: 14px; color: var(--on-dark-2); }

/* float sidebar */
.float-bar {
  position: fixed;
  right: 18px;
  bottom: 12%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sh-pop);
  background: #fff;
  border: 1px solid var(--line);
}
.float-item {
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-2);
  font-size: 11px;
  line-height: 1;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.float-item + .float-item { border-top: 1px solid var(--line); }
.float-item .icon { font-size: 19px; }
.float-item:hover { color: var(--blue); background: var(--bg-soft); }
.float-item.is-back-top { color: var(--text-3); opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.float-bar.is-scrolled .is-back-top { opacity: 1; pointer-events: auto; transform: none; }
.float-pop {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--sh-pop);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.float-pop b { display: block; font-family: var(--font-num); font-size: 16px; color: var(--blue); }
.float-item:hover .float-pop { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------------- 16 Product page (cloud.html) ---------------- */
.page-hero {
  position: relative;
  background: radial-gradient(900px 400px at 80% -20%, #16305e 0%, transparent 60%), var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(146, 178, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 178, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(720px 380px at 30% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(720px 380px at 30% 0%, #000 20%, transparent 80%);
}
.page-hero .container { position: relative; padding-top: 56px; padding-bottom: 62px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-dark-2); }
.crumb a:hover { color: var(--cyan); }
.crumb .icon { font-size: 13px; opacity: 0.5; }
.crumb .cur { color: var(--on-dark); }
.page-hero h1 { margin-top: 16px; font-size: 38px; font-weight: 700; }
.page-hero .ph-sub { margin-top: 12px; max-width: 640px; color: var(--on-dark-2); font-size: 14.5px; }
.ph-metrics { margin-top: 26px; display: flex; gap: 36px; flex-wrap: wrap; }
.ph-metric { font-size: 13px; color: var(--on-dark-2); display: flex; align-items: center; gap: 8px; }
.ph-metric .icon { color: var(--cyan); font-size: 17px; }
.ph-metric b { font-family: var(--font-num); color: #fff; font-size: 16px; font-weight: 700; }

/* builder */
.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.builder-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 10px 34px;
}
.builder-panel .cfg-group { padding: 22px 0; }
.summary-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 24px;
  box-shadow: var(--sh-card);
}
.summary-card h4 { font-size: 16px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sum-spec { margin-top: 14px; display: grid; gap: 9px; }
.sum-spec li { display: flex; justify-content: space-between; font-size: 13px; }
.sum-spec .k { color: var(--text-3); }
.sum-spec .v { font-weight: 500; font-family: var(--font-num); letter-spacing: 0.03em; }
.sum-price { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.sum-price .sp-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; }
.sum-price .sp-row .num { color: var(--text); font-weight: 600; }
.sum-price .sp-total { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.sum-price .sp-total .price { font-size: 34px; }
.sum-actions { margin-top: 18px; display: grid; gap: 10px; }
.sum-meta { margin-top: 14px; display: grid; gap: 7px; }
.sum-meta li { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text-2); }
.sum-meta .icon { color: #2ec774; font-size: 15px; }

/* spec table */
.spec-table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-2);
  white-space: nowrap;
}
.spec-table td .num { color: var(--text); font-weight: 500; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr { transition: background 0.2s; }
.spec-table tbody tr:hover { background: rgba(43, 107, 255, 0.03); }
.spec-table .st-name { font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* scene cards */
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scene-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  padding: 26px 24px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.scene-card:hover { transform: translateY(-5px); box-shadow: var(--sh-card); }
.scene-card::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 107, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.scene-card:hover::after { opacity: 1; }
.scene-card .sc2-icon { color: var(--blue); font-size: 26px; }
.scene-card h4 { margin-top: 14px; font-size: 15.5px; font-weight: 600; }
.scene-card p { margin-top: 7px; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.scene-card .scene-tags { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 4px;
  font-size: 15.5px;
  font-weight: 500;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--blue); }
.faq-q .icon { font-size: 18px; color: var(--text-3); transition: transform 0.35s var(--ease-out), color 0.2s; }
.faq-item.is-open .faq-q { color: var(--blue); }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); color: var(--blue); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a > div { padding: 0 4px 22px; color: var(--text-2); font-size: 14px; line-height: 1.85; max-width: 46em; }

/* ---------------- 17 Reveal states / motion ---------------- */
.reveal { opacity: 0; transform: translateY(26px); will-change: transform, opacity; }
.reveal.is-inview {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
/* JS (GSAP) path marks elements; this fallback keeps content visible without JS */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------- 18 Responsive ---------------- */
@media (max-width: 1120px) {
  :root { --gutter: 24px; }
  .hero h1 { font-size: 42px; }
  .main-nav .nav-link { padding: 0 12px; }
  .mega { width: 560px; }
}

@media (max-width: 992px) {
  .section-pad { padding: 72px 0; }
  .topbar-left .hide-md { display: none; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 96px;
  }
  .hero h1 { font-size: 38px; }
  .hero-visual { max-width: 560px; }
  .shortcuts-grid { grid-template-columns: repeat(2, 1fr); }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .configurator { grid-template-columns: 1fr; }
  .config-summary { padding: 30px 28px; }
  .network .network-grid { grid-template-columns: 1fr; }
  .globe-wrap { height: 380px; order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .adv-grid, .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .builder-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .cta-phone { padding-left: 0; border-left: 0; }
}

@media (max-width: 992px) {
  .region-table { grid-template-columns: 1fr; column-gap: 0; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .topbar { height: auto; padding: 6px 0; }
  .topbar .container { flex-wrap: wrap; gap: 4px; }
  .topbar-right { display: none; }
  .site-header { height: 62px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 62px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(18, 38, 82, 0.12);
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav .nav-item.is-active .nav-link::after { display: none; }
  .main-nav .nav-link { height: 48px; color: var(--text); justify-content: space-between; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; grid-template-columns: 1fr; border-top: 0; box-shadow: none; padding: 4px 8px 10px; display: none; }
  .nav-item:hover .mega { display: grid; }
  .brand-name { font-size: 16px; }
  .brand-name em { letter-spacing: 0.24em; }
  .hero h1 { font-size: 31px; }
  .hero .container { padding-top: 48px; }
  .hero-trust { gap: 14px; }
  .float-chip.fc-1 { right: 0; }
  .float-chip.fc-2 { left: 0; }
  .shortcuts { margin-top: -46px; }
  .shortcuts-grid, .deals-grid, .adv-grid, .sol-grid, .scene-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 30px; }
  .section-head h2 { font-size: 24px; }
  .config-form { padding: 26px 20px; }
  .config-summary { padding: 26px 20px; }
  .footer-main { grid-template-columns: 1fr; padding: 48px 0 36px; }
  .footer-qrcode { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-bar { right: 10px; bottom: 10%; }
  .float-item { width: 44px; height: 44px; font-size: 10px; }
  .page-hero h1 { font-size: 27px; }
  .builder-panel { padding: 6px 20px; }
  .spec-table-wrap { overflow-x: auto; }
  .spec-table { min-width: 640px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
