/* ==========================================================================
   广州旗引云创人工智能科技有限公司 · 企业官网
   Design System / 简约淡色 · 大气科技 · 轻动效
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* 表面 */
  --bg: #f6f8fc;
  --bg-soft: #f0f4fa;
  --surface: #ffffff;
  --surface-2: #fbfcfe;

  /* 文字 */
  --ink: #0a1526;
  --ink-2: #12213c;
  --text: #4a5b73;
  --muted: #8695ab;

  /* 品牌 */
  --primary: #1b57f0;
  --primary-d: #1342c4;
  --primary-l: #4b83ff;
  --cyan: #06c3d4;
  --mint: #16d3a8;
  --amber: #f5a524;

  --grad: linear-gradient(120deg, #1b57f0 0%, #2f7bff 45%, #06c3d4 100%);
  --grad-soft: linear-gradient(140deg, rgba(27, 87, 240, 0.09), rgba(6, 195, 212, 0.07));

  /* 线条 */
  --line: #e5ebf5;
  --line-2: #eef2f9;

  /* 深色带 */
  --deep: #071229;
  --deep-2: #0c1c3c;

  /* 圆角 */
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --r-xl: 34px;
  --r-full: 999px;

  /* 阴影（扩散式，淡） */
  --sh-1: 0 1px 2px rgba(16, 32, 68, 0.04), 0 8px 24px -8px rgba(16, 32, 68, 0.08);
  --sh-2: 0 2px 6px rgba(16, 32, 68, 0.05), 0 20px 48px -16px rgba(16, 32, 68, 0.14);
  --sh-3: 0 30px 70px -24px rgba(21, 62, 150, 0.28);

  /* 缓动 */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --e-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shell: 1280px;
  --nav-h: 76px;

  --ff: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;
  --ff-num: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: rgba(27, 87, 240, 0.16); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.022em;
}

.h-hero {
  font-size: clamp(2.3rem, 5.6vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.h-sec {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.h-card { font-size: 1.28rem; letter-spacing: -0.02em; }

.lead {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--text);
  max-width: 62ch;
  line-height: 1.85;
}

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

.num { font-family: var(--ff-num); font-variant-numeric: tabular-nums; }

/* ---------- 4. Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 26px;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
}

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

.sec-head { max-width: 800px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(27, 87, 240, 0.07);
  border: 1px solid rgba(27, 87, 240, 0.14);
  padding: 7px 15px 7px 12px;
  border-radius: var(--r-full);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(27, 87, 240, 0.5);
  animation: pulseDot 2.2s var(--e-in-out) infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27, 87, 240, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(27, 87, 240, 0); }
}

.sec-head .h-sec + .lead { margin-top: 20px; }

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 26px;
  height: 52px;
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--e-elastic), box-shadow 0.4s var(--e-out),
    background 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(27, 87, 240, 0.6);
  background-size: 160% 160%;
  animation: gradShift 8s ease infinite;
}

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -12px rgba(27, 87, 240, 0.65);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}

.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 87, 240, 0.34);
  color: var(--primary);
  box-shadow: var(--sh-2);
}

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn--light:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }

.btn--sm { height: 44px; padding: 0 20px; font-size: 0.88rem; }

.btn .ico { transition: transform 0.4s var(--e-out); }
.btn:hover .ico { transform: translateX(4px); }

/* ---------- 6. Progress & Cursor-amble ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 999;
  background: transparent;
  pointer-events: none;
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(27, 87, 240, 0.55);
  transform-origin: left center;
}

/* ---------- 7. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height 0.4s var(--e-out), background 0.4s, box-shadow 0.4s,
    border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  height: 64px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px -14px rgba(16, 32, 68, 0.22);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand__mark {
  width: 42px; height: 42px;
  border-radius: 13px;
  flex: none;
  transition: transform 0.5s var(--e-elastic), box-shadow 0.4s;
  box-shadow: 0 8px 20px -8px rgba(27, 87, 240, 0.6);
}

.brand:hover .brand__mark { transform: rotate(-7deg) scale(1.06); }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 1.04rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.brand__sub { font-size: 0.66rem; letter-spacing: 0.22em; color: var(--muted); font-weight: 600; }

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

.nav__link {
  position: relative;
  padding: 9px 16px;
  border-radius: var(--r-full);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s, background 0.3s;
}

.nav__link:hover { color: var(--ink); background: rgba(27, 87, 240, 0.06); }
.nav__link.is-active { color: var(--primary); font-weight: 600; }

.nav__ink {
  position: absolute;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0;
  transition: transform 0.5s var(--e-out), width 0.5s var(--e-out), opacity 0.3s;
}

.nav__ink.is-on { opacity: 1; }

.header__cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--e-out), opacity 0.3s;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: rgba(248, 250, 253, 0.96);
  backdrop-filter: blur(20px);
  padding: calc(var(--nav-h) + 26px) 26px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.4s var(--e-out), transform 0.5s var(--e-out), visibility 0.4s;
}

.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer a {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(14px);
}

.drawer.is-open a { animation: drawerIn 0.55s var(--e-out) forwards; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer a span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.drawer .btn { margin-top: 22px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 74px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(75, 131, 255, 0.16), transparent 62%),
    radial-gradient(760px 520px at 8% 12%, rgba(6, 195, 212, 0.13), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 62%, var(--bg) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 87, 240, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 87, 240, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 520px at 50% 8%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 520px at 50% 8%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}

.orb--1 { width: 380px; height: 380px; top: -60px; right: 4%;  background: radial-gradient(circle, rgba(75,131,255,.7), transparent 68%); animation: float1 17s var(--e-in-out) infinite; }
.orb--2 { width: 300px; height: 300px; top: 34%; left: -70px;   background: radial-gradient(circle, rgba(6,195,212,.6), transparent 68%);  animation: float2 21s var(--e-in-out) infinite; }
.orb--3 { width: 260px; height: 260px; bottom: 6%; right: 22%;  background: radial-gradient(circle, rgba(22,211,168,.5), transparent 68%); animation: float3 19s var(--e-in-out) infinite; }

@keyframes float1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-46px, 42px, 0) scale(1.12); } }
@keyframes float2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(52px, -38px, 0) scale(1.08); } }
@keyframes float3 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-34px, -30px, 0) scale(1.14); } }

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 96px;
}

.hero__title { margin-bottom: 26px; }

.hero__rotator {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform-origin: center 70%;
  perspective: 420px;
}

.hero__rotator.is-out { animation: wordOut 0.45s var(--e-out) forwards; }
.hero__rotator.is-in  { animation: wordIn 0.62s var(--e-elastic) forwards; }

@keyframes wordOut {
  to { transform: translateY(-58%) rotateX(-72deg); opacity: 0; filter: blur(6px); }
}
@keyframes wordIn {
  from { transform: translateY(58%) rotateX(72deg); opacity: 0; filter: blur(6px); }
  to { transform: none; opacity: 1; filter: blur(0); }
}

.hero__sub { margin-bottom: 38px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 46px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  box-shadow: 0 2px 10px -6px rgba(16, 32, 68, 0.2);
  transition: transform 0.4s var(--e-elastic), border-color 0.35s, color 0.35s, box-shadow 0.35s;
  cursor: default;
}

.chip::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

.chip:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(27, 87, 240, 0.3);
  color: var(--primary);
  box-shadow: 0 12px 24px -12px rgba(27, 87, 240, 0.45);
}

/* Hero stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: var(--sh-1);
}

.hstat {
  background: var(--surface);
  padding: 20px 18px;
  transition: background 0.35s;
}

.hstat:hover { background: var(--surface-2); }

.hstat__n {
  font-size: 1.72rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.hstat__n em { font-style: normal; font-size: 0.95rem; color: var(--primary); font-weight: 700; }
.hstat__l { font-size: 0.78rem; color: var(--muted); margin-top: 6px; letter-spacing: 0.02em; }

/* --- Hero visual --- */
.hero__visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.hero__visual .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(27, 87, 240, 0.24);
}

.ring--a { width: 452px; height: 452px; animation: spin 34s linear infinite; }
.ring--b { width: 348px; height: 348px; border-style: solid; border-color: rgba(6, 195, 212, 0.22); animation: spin 24s linear infinite reverse; }
.ring--c { width: 520px; height: 520px; border-color: rgba(27, 87, 240, 0.11); animation: spin 48s linear infinite; }

.ring__dot {
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(27, 87, 240, 0.65);
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero__core {
  position: relative;
  width: 214px; height: 214px;
  border-radius: 50%;
  background: var(--grad);
  background-size: 180% 180%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  box-shadow: 0 34px 70px -26px rgba(27, 87, 240, 0.72),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  animation: corePulse 6s var(--e-in-out) infinite, gradShift 9s ease infinite;
  z-index: 2;
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.hero__core b { display: block; font-size: 1.62rem; font-weight: 800; letter-spacing: -0.02em; }
.hero__core small { display: block; font-size: 0.7rem; letter-spacing: 0.2em; opacity: 0.82; margin-top: 6px; }
.hero__core .glyph { width: 34px; height: 34px; margin: 0 auto 10px; opacity: 0.95; }

/* 浮动卡片 */
.fcard {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--r-m);
  box-shadow: var(--sh-2);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  will-change: transform;
}

.fcard--1 { top: 4%;  left: -4%;  animation: bob 5.4s var(--e-in-out) infinite; }
.fcard--2 { top: 22%; right: -6%; animation: bob 6.6s var(--e-in-out) infinite 0.6s; }
.fcard--3 { bottom: 16%; left: -7%; animation: bob 7.2s var(--e-in-out) infinite 1.2s; }
.fcard--4 { bottom: 4%; right: -2%; animation: bob 6s var(--e-in-out) infinite 0.3s; }

@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

.fcard__ico {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(27, 87, 240, 0.09);
  color: var(--primary);
}

.fcard__ico svg { width: 17px; height: 17px; }
.fcard small { display: block; font-size: 0.7rem; color: var(--muted); font-weight: 500; margin-top: 1px; }

/* Scroll cue */
.scroll-cue {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding-bottom: 42px;
}

.scroll-cue__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--muted);
  font-weight: 600;
}

.scroll-cue__mouse {
  width: 24px; height: 38px;
  border: 1.6px solid rgba(27, 87, 240, 0.4);
  border-radius: 14px;
  position: relative;
}

.scroll-cue__mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--primary);
  animation: wheel 1.9s var(--e-in-out) infinite;
}

@keyframes wheel {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- 9. Marquee ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 0;
  overflow: hidden;
  position: relative;
}

.trust::before,
.trust::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 130px;
  z-index: 2;
  pointer-events: none;
}

.trust::before { left: 0;  background: linear-gradient(90deg, var(--surface), transparent); }
.trust::after  { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }

.trust__label {
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 20px;
}

.marquee { display: flex; overflow: hidden; user-select: none; }

.marquee__track {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  flex: none;
  animation: marquee 34s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-100%); } }

.marquee__item {
  font-size: 1.02rem;
  font-weight: 700;
  color: #9aa8bd;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.35s, transform 0.35s var(--e-elastic);
}

.marquee__item:hover { color: var(--primary); transform: translateY(-2px) scale(1.05); }

/* ---------- 10. Feature grid (优势) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.feat {
  position: relative;
  padding: 30px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: transform 0.5s var(--e-out), box-shadow 0.5s var(--e-out),
    border-color 0.45s;
  will-change: transform;
}

.feat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--e-out);
}

.feat:hover {
  transform: translateY(-9px);
  border-color: rgba(27, 87, 240, 0.2);
  box-shadow: var(--sh-2);
}

.feat:hover::before { transform: scaleX(1); }

.feat__ico {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: var(--primary);
  border: 1px solid rgba(27, 87, 240, 0.12);
  margin-bottom: 20px;
  transition: transform 0.55s var(--e-elastic), background 0.45s, color 0.45s, box-shadow 0.45s;
}

.feat:hover .feat__ico {
  transform: translateY(-4px) rotate(-8deg) scale(1.08);
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(27, 87, 240, 0.6);
}

.feat__ico svg { width: 24px; height: 24px; }

.feat h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feat p { font-size: 0.92rem; color: var(--text); line-height: 1.78; }

/* ---------- 11. Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.55s var(--e-out), box-shadow 0.55s var(--e-out),
    border-color 0.45s;
  will-change: transform;
}

.pcard__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.45s;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(27, 87, 240, 0.11),
    transparent 62%
  );
}

.pcard:hover .pcard__glow { opacity: 1; }

.pcard:hover {
  transform: translateY(-10px);
  border-color: rgba(27, 87, 240, 0.22);
  box-shadow: var(--sh-3);
}

.pcard--wide { grid-column: span 2; }

.pcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.pcard__ico {
  width: 58px; height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  background: var(--grad);
  background-size: 170% 170%;
  box-shadow: 0 12px 26px -12px rgba(27, 87, 240, 0.62);
  transition: transform 0.6s var(--e-elastic);
}

.pcard:hover .pcard__ico { transform: rotate(-8deg) scale(1.07); }
.pcard__ico svg { width: 27px; height: 27px; }

.pcard__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(27, 87, 240, 0.08);
  border: 1px solid rgba(27, 87, 240, 0.16);
  padding: 5px 11px;
  border-radius: var(--r-full);
  white-space: nowrap;
  flex: none;
}

.pcard__tag--hot {
  color: #b26a00;
  background: rgba(245, 165, 36, 0.12);
  border-color: rgba(245, 165, 36, 0.3);
}

.pcard h3 { font-size: 1.3rem; margin-bottom: 12px; letter-spacing: -0.025em; }
.pcard__desc { font-size: 0.94rem; color: var(--text); line-height: 1.8; margin-bottom: 22px; }

.pcard__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }

.pcard__list li {
  display: flex;
  gap: 11px;
  font-size: 0.89rem;
  line-height: 1.7;
  color: var(--text);
  transition: transform 0.4s var(--e-out), color 0.35s;
}

.pcard:hover .pcard__list li { color: var(--ink-2); }
.pcard__list li:hover { transform: translateX(5px); }

.pcard__list .tick {
  flex: none;
  width: 19px; height: 19px;
  margin-top: 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(22, 211, 168, 0.14);
  color: #0e9e7b;
}

.pcard__list .tick svg { width: 11px; height: 11px; }

.pcard__foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.pcard__meta { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.pcard__meta b { color: var(--ink-2); font-weight: 600; }

.pcard__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  transition: gap 0.35s var(--e-out);
}

.pcard__link:hover { gap: 12px; }

.pcard--full { grid-column: 1 / -1; }

/* 旗舰卡：AI 问答演示 */
.pcard--split .pcard__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 34px;
  align-items: center;
}

.answer-mock {
  position: relative;
  border-radius: var(--r-l);
  background: linear-gradient(160deg, #f3f7ff, #eefafd);
  border: 1px solid rgba(27, 87, 240, 0.14);
  padding: 20px;
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px -24px rgba(21, 62, 150, 0.4);
  overflow: hidden;
}

.answer-mock::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 46%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-160%) skewX(-14deg);
  animation: sheen 5.6s var(--e-in-out) infinite 1.2s;
  pointer-events: none;
}

@keyframes sheen {
  0% { transform: translateX(-160%) skewX(-14deg); }
  55%, 100% { transform: translateX(320%) skewX(-14deg); }
}

.answer-mock__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.answer-mock__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #dfe7f5;
}

.answer-mock__dot:nth-child(1) { background: #ffbdb0; }
.answer-mock__dot:nth-child(2) { background: #ffe2a8; }
.answer-mock__dot:nth-child(3) { background: #b6ebdc; }

.answer-mock__label {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.answer-mock__q {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px;
  padding: 11px 14px;
  margin-bottom: 12px;
}

.answer-mock__a {
  position: relative;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(27, 87, 240, 0.18);
  border-radius: 4px 12px 12px 12px;
  padding: 13px 15px 13px 15px;
  min-height: 108px;
}

.answer-mock__a b { color: var(--primary); font-weight: 700; }

.answer-mock__caret {
  display: inline-block;
  width: 7px;
  height: 1.02em;
  vertical-align: -0.16em;
  margin-left: 3px;
  background: var(--primary);
  border-radius: 1px;
  animation: blink 1.05s steps(1, end) infinite;
}

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.answer-mock__engines {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.answer-mock__engines span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 5px 11px;
  transition: transform 0.4s var(--e-elastic), border-color 0.35s, color 0.35s;
}

.answer-mock__engines span:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 87, 240, 0.4);
  color: var(--primary);
}

/* 打字机 */
.typed-fade { animation: typedFade 0.5s var(--e-out); }
@keyframes typedFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1100px) {
  .pcard--split .pcard__body { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- 12. Process ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 62px;
}

.process::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 5%; right: 5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.process__fill {
  position: absolute;
  top: 33px;
  left: 5%;
  height: 2px;
  width: 0;
  background: var(--grad);
  z-index: 1;
  box-shadow: 0 0 12px rgba(27, 87, 240, 0.5);
  transition: width 1.6s var(--e-out);
}

.pstep { position: relative; z-index: 2; text-align: center; padding-top: 8px; }

.pstep__dot {
  width: 46px; height: 46px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--ff-num);
  transition: transform 0.6s var(--e-elastic), background 0.5s, color 0.5s,
    border-color 0.5s, box-shadow 0.5s;
}

.is-visible .pstep__dot {
  background: var(--surface);
  border-color: rgba(27, 87, 240, 0.45);
  color: var(--primary);
}

.pstep:hover .pstep__dot {
  transform: translateY(-7px) scale(1.12);
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px -12px rgba(27, 87, 240, 0.7);
}

.pstep h3 { font-size: 1.02rem; margin-bottom: 8px; }
.pstep p { font-size: 0.86rem; color: var(--muted); line-height: 1.7; }

/* ---------- 13. Stats band (dark) ---------- */
.band {
  position: relative;
  background: var(--deep);
  color: #dbe6f7;
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 400px at 12% 0%, rgba(27, 87, 240, 0.5), transparent 62%),
    radial-gradient(640px 420px at 88% 100%, rgba(6, 195, 212, 0.34), transparent 62%);
}

.band__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 420px at 50% 40%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(800px 420px at 50% 40%, #000, transparent 76%);
}

.band__inner { position: relative; z-index: 2; }

.band h2 { color: #fff; }
.band .lead { color: #a8bcd9; }

.band__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.bstat {
  padding: 26px 24px;
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: transform 0.55s var(--e-out), background 0.45s, border-color 0.45s;
}

.bstat:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(120, 180, 255, 0.35);
}

.bstat__n {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.bstat__n em {
  font-style: normal;
  font-size: 1.1rem;
  background: linear-gradient(120deg, #7db4ff, #4fe3ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.bstat__l { font-size: 0.85rem; color: #93a9c9; margin-top: 12px; }

/* ---------- 14. About ---------- */
.about__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}

.about__copy p { margin-bottom: 18px; font-size: 0.97rem; line-height: 1.9; }
.about__copy p:last-child { margin-bottom: 0; }
.about__copy strong { color: var(--ink); font-weight: 700; }

.about__facts {
  display: grid;
  gap: 14px;
}

.fact {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  transition: transform 0.5s var(--e-out), box-shadow 0.5s, border-color 0.45s;
}

.fact:hover {
  transform: translateX(6px);
  border-color: rgba(27, 87, 240, 0.22);
  box-shadow: var(--sh-1);
}

.fact__k {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: var(--primary);
  border: 1px solid rgba(27, 87, 240, 0.12);
}

.fact__k svg { width: 20px; height: 20px; }
.fact h4 { font-size: 0.98rem; margin-bottom: 5px; }
.fact p { font-size: 0.87rem; color: var(--text); line-height: 1.72; }

/* Timeline */
.timeline {
  position: relative;
  margin-top: 60px;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline__fill {
  position: absolute;
  left: 7px; top: 8px;
  width: 2px; height: 0;
  background: var(--grad);
  transition: height 1.5s var(--e-out);
  box-shadow: 0 0 12px rgba(27, 87, 240, 0.5);
}

.titem {
  position: relative;
  padding: 0 0 34px;
}

.titem:last-child { padding-bottom: 0; }

.titem::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--line);
  transition: border-color 0.5s, transform 0.5s var(--e-elastic), box-shadow 0.5s;
}

.titem.is-visible::before {
  border-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(27, 87, 240, 0.12);
}

.titem:hover::before { transform: scale(1.22); }

.titem__y {
  display: inline-block;
  font-family: var(--ff-num);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(27, 87, 240, 0.08);
  padding: 4px 11px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.titem h4 { font-size: 1.06rem; margin-bottom: 6px; }
.titem p { font-size: 0.9rem; color: var(--text); }

/* Culture */
.culture {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.ccard {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.55s var(--e-out), box-shadow 0.5s, border-color 0.45s;
}

.ccard::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--e-out);
}

.ccard:hover { transform: translateY(-8px); box-shadow: var(--sh-2); border-color: rgba(27, 87, 240, 0.2); }
.ccard:hover::after { transform: scaleX(1); }

.ccard__i {
  font-family: var(--ff-num);
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(27, 87, 240, 0.42);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.ccard h4 { font-size: 1rem; margin-bottom: 9px; }
.ccard p { font-size: 0.86rem; color: var(--text); line-height: 1.75; }

/* ---------- 15. Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 26px;
  align-items: start;
}

.ccard-main {
  position: relative;
  background: var(--deep);
  color: #c6d6ef;
  border-radius: var(--r-xl);
  padding: 38px 34px;
  overflow: hidden;
}

.ccard-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 300px at 88% 0%, rgba(27, 87, 240, 0.55), transparent 62%),
    radial-gradient(420px 320px at 6% 100%, rgba(6, 195, 212, 0.34), transparent 62%);
}

.ccard-main > * { position: relative; z-index: 2; }
.ccard-main h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.ccard-main > p { font-size: 0.9rem; color: #a2b7d6; margin-bottom: 30px; }

.cline {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.45s var(--e-out);
}

.cline:hover { transform: translateX(5px); }

.cline__i {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fc4ff;
}

.cline__i svg { width: 19px; height: 19px; }
.cline__l { font-size: 0.74rem; letter-spacing: 0.14em; color: #7d93b4; font-weight: 600; text-transform: uppercase; }
.cline__v { font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.cline__v.sm { font-size: 0.92rem; font-weight: 600; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 38px 34px;
  box-shadow: var(--sh-1);
}

.form-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-card > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }

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

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: 0.84rem; font-weight: 600; color: var(--ink-2); }
.field label i { color: var(--primary); font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.field textarea { resize: vertical; min-height: 104px; line-height: 1.7; }

.field input::placeholder,
.field textarea::placeholder { color: #a9b6c8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: rgba(27, 87, 240, 0.55);
  box-shadow: 0 0 0 4px rgba(27, 87, 240, 0.1);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238695ab' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 40px;
}

.field__err {
  font-size: 0.78rem;
  color: #d64545;
  display: none;
}

.field.is-invalid input,
.field.is-invalid select { border-color: #e08a8a; background: #fff8f8; }
.field.is-invalid .field__err { display: block; }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-note { font-size: 0.78rem; color: var(--muted); }

.form-done {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--r-s);
  background: rgba(22, 211, 168, 0.1);
  border: 1px solid rgba(22, 211, 168, 0.3);
  color: #0e8f70;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-done.is-on { display: flex; animation: pop 0.5s var(--e-elastic); }

@keyframes pop {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 16. CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(44px, 5.5vw, 68px);
  background: var(--grad);
  background-size: 190% 190%;
  animation: gradShift 10s ease infinite;
  color: #fff;
  text-align: center;
  box-shadow: 0 40px 80px -34px rgba(27, 87, 240, 0.66);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(600px 320px at 50% 50%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(600px 320px at 50% 50%, #000, transparent 76%);
  pointer-events: none;
}

.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, 0.9); max-width: 60ch; margin: 0 auto 32px; font-size: 1rem; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.cta .btn--light { background: #fff; color: var(--primary); border-color: transparent; }
.cta .btn--light:hover { background: #f4f7ff; }

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 66px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 52px;
}

.footer__brand p { font-size: 0.88rem; color: var(--text); line-height: 1.85; margin: 18px 0 22px; max-width: 38ch; }

.footer h4 { font-size: 0.94rem; margin-bottom: 18px; color: var(--ink); }

.footer__links { display: flex; flex-direction: column; gap: 11px; }

.footer__links a {
  font-size: 0.88rem;
  color: var(--text);
  transition: color 0.3s, transform 0.35s var(--e-out);
  width: fit-content;
}

.footer__links a:hover { color: var(--primary); transform: translateX(4px); }

.socials { display: flex; gap: 10px; }

.socials a {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  transition: transform 0.45s var(--e-elastic), background 0.4s, color 0.4s, border-color 0.4s;
}

.socials a:hover {
  transform: translateY(-4px) scale(1.06);
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

.socials svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer__bottom a:hover { color: var(--primary); }

/* ---------- 18. Back to top ---------- */
.totop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 800;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s, transform 0.5s var(--e-elastic), visibility 0.4s;
}

.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-4px) scale(1.06); box-shadow: var(--sh-3); }
.totop svg { width: 19px; height: 19px; }

/* ---------- 19. Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.85s var(--e-out), transform 0.95s var(--e-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

[data-reveal="left"]  { transform: translate3d(-34px, 0, 0); }
[data-reveal="right"] { transform: translate3d(34px, 0, 0); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="blur"]  { filter: blur(9px); transform: translate3d(0, 20px, 0); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { min-height: 400px; order: -1; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--wide { grid-column: span 2; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .culture { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .process::before, .process__fill { display: none; }
  .band__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__top { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .fcard--1, .fcard--3 { left: 0; }
  .fcard--2, .fcard--4 { right: 0; }
}

@media (max-width: 680px) {
  .shell { padding-inline: 18px; }
  .section { padding: 62px 0; }
  .hero { padding-top: calc(var(--nav-h) + 46px); }
  .hero__inner { padding-bottom: 64px; }
  .hero__visual { min-height: 330px; }
  .hero__core { width: 156px; height: 156px; }
  .hero__core b { font-size: 1.24rem; }
  .ring--a { width: 320px; height: 320px; }
  .ring--b { width: 250px; height: 250px; }
  .ring--c { width: 372px; height: 372px; }
  .fcard { font-size: 0.75rem; padding: 10px 13px; }
  .fcard__ico { width: 27px; height: 27px; }
  .hero__actions .btn { width: 100%; }
  .products, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .pcard--wide { grid-column: span 1; }
  .culture { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bstat { padding: 20px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .ccard-main { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .totop { right: 16px; bottom: 16px; }
  .cta { border-radius: var(--r-l); }
}

@media (max-width: 420px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hstat { padding: 16px 14px; }
  .hstat__n { font-size: 1.42rem; }
}

/* ---------- 21. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__canvas { display: none; }
}

/* ---------- 22. Print ---------- */
@media print {
  .header, .totop, .scroll-progress, .hero__canvas, .orb { display: none !important; }
}
