/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Background layers */
  --bg-base:    #03050e;
  --bg-surface: #070c1a;
  --bg-raised:  #0c1226;

  /* Foreground */
  --fg0: rgba(255, 255, 255, 0.97);
  --fg1: rgba(255, 255, 255, 0.80);
  --fg2: rgba(255, 255, 255, 0.58);

  /* Borders */
  --border:    rgba(255, 255, 255, 0.14);
  --border-hi: rgba(99, 130, 255, 0.52);

  /* Brand: blue-indigo */
  --blue:   #4f78ff;
  --indigo: #7b61ff;
  --cyan:   #38bdf8;

  /* Radius */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-xl:  28px;

  /* Layout */
  --container: 1080px;

  /* Card surfaces */
  --card:  rgba(255, 255, 255, 0.065);
  --card2: rgba(255, 255, 255, 0.10);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
a { color: inherit; text-decoration: none; }
html.is-modal-open { overflow: hidden; }

/* ============================================================
   BODY & ATMOSPHERE
   ============================================================ */
body {
  overflow-x: hidden;
  background: #070a12;
  color: var(--fg0);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Restrained ambient halo — three soft radial glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(980px 560px at 14% 14%, rgba(47, 92, 255, 0.30), transparent 62%),
    radial-gradient(780px 500px at 86% 18%, rgba(255, 255, 255, 0.10), transparent 62%),
    radial-gradient(980px 720px at 55% -6%, rgba(47, 92, 255, 0.16), transparent 70%);
  opacity: 0.9;
  transform: translateZ(0);
}

/* Fractal noise film — identical to 1.0 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.012;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='140'%20height='140'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='.9'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='140'%20height='140'%20filter='url(%23n)'%20opacity='.6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ============================================================
   PAGE STRUCTURE
   ============================================================ */
.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  position: relative;
  isolation: isolate;
}

/* 全局统一蒙层：避免每个 section 独立蒙层导致错位/半遮盖 */
.main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(47, 92, 255, 0.030) 0%,
      transparent 14%
    ),
    linear-gradient(
      0deg,
      rgba(47, 92, 255, 0.025) 0%,
      transparent 16%
    );
}

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.screen {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top:    clamp(48px, 7vh, 80px);
  padding-bottom: clamp(48px, 7vh, 80px);
  z-index: 1;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(3, 5, 14, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  overflow: hidden;
}

/* 细蓝色扫描线 */
.header::after {
  content: "";
  position: absolute;
  left: -24%;
  top: 0;
  width: 24%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(79, 120, 255, 0.92) 52%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(79, 120, 255, 0.55);
  animation: headerScan 7.5s linear infinite;
  pointer-events: none;
}

@keyframes headerScan {
  0%   { transform: translateX(0); }
  100% { transform: translateX(540%); }
}

.headerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  margin-left: -10px;
  border-radius: var(--r-sm);
  color: var(--fg1);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.2px;
  transition: background 160ms, color 160ms;
  flex-shrink: 0;
}
.brand:hover { background: var(--card2); color: var(--fg0); }
.brand:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.brandMark {
  height: 26px;
  width: auto;
  object-fit: contain;
  opacity: 0.90;
  filter: drop-shadow(0 0 12px rgba(79, 120, 255, 0.5));
}

.headerNav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.headerNav a {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--fg2);
  letter-spacing: 0.1px;
  transition: background 140ms, color 140ms;
}
.headerNav a:hover { background: var(--card2); color: var(--fg0); }

.headerActions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.headerCta { flex-shrink: 0; }

.langToggle {
  min-width: 52px;
  padding: 0 14px;
}

@media (max-width: 680px) { .headerNav { display: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.15px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(150deg, #5a84ff 0%, #3a5ee8 55%, #2b4bd4 100%);
  box-shadow:
    0 0 0 1px rgba(79, 120, 255, 0.4) inset,
    0 10px 30px rgba(79, 120, 255, 0.40);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(79, 120, 255, 0.4) inset,
    0 14px 40px rgba(79, 120, 255, 0.52);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hi);
  color: var(--fg0);
}
.btn-secondary:hover {
  background: rgba(79, 120, 255, 0.08);
  border-color: rgba(99, 130, 255, 0.45);
  transform: translateY(-1px);
}

.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

@media (max-width: 420px) { .btn { height: 42px; padding: 0 18px; } }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.sectionLabel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(100, 140, 255, 0.9);
  background: rgba(79, 120, 255, 0.09);
  border: 1px solid rgba(79, 120, 255, 0.2);
  padding: 4px 11px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.sectionLabel::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

.sectionHeader {
  margin-bottom: clamp(28px, 4.5vh, 48px);
}

.sectionTitle {
  position: relative;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--fg0);
  text-shadow: 0 0 20px rgba(79, 120, 255, 0.18);
  padding-left: 16px;
}

/* section 标题前低频闪烁光点 */
.sectionTitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(116, 156, 255, 0.95);
  box-shadow:
    0 0 0 2px rgba(79, 120, 255, 0.16),
    0 0 12px rgba(79, 120, 255, 0.75);
  transform: translateY(-50%);
  animation: titlePulse 3.8s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { opacity: 0.55; transform: translateY(-50%) scale(0.92); }
  50%      { opacity: 1;    transform: translateY(-50%) scale(1.08); }
}

.sectionSubtitle {
  margin-top: 10px;
  font-size: clamp(14px, 1.2vw, 15.5px);
  color: var(--fg1);
  max-width: 56ch;
  line-height: 1.7;
}

.sectionHeader--compact { margin-bottom: 20px; }

/* ============================================================
   SCROLL DIVIDER ARROW — 正常流，在容器内底部
   ============================================================ */
.screenDivider {
  position: relative;
  height: 36px;
  display: block;
  margin-top: clamp(24px, 4vh, 40px);
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}
/* Two-segment line — same gradient formula as 1.0, gap at 46%–54% */
.screenDivider::before {
  content: "";
  position: absolute;
  left:  calc(clamp(20px, 5vw, 48px) + 5px);
  right: calc(clamp(20px, 5vw, 48px) + 5px);
  top: 11px;
  height: 2px;
  background:
    linear-gradient(90deg,
      transparent               0%,
      rgba(79, 120, 255, 0.52) 16%,
      rgba(79, 120, 255, 0.52) 45%,
      transparent              50%,
      rgba(79, 120, 255, 0.52) 55%,
      rgba(79, 120, 255, 0.52) 84%,
      transparent             100%);
  box-shadow: 0 0 10px rgba(79, 120, 255, 0.22);
}
/* Chevron — 1.0 exact style */
.screenDivider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 14px;
  height: 14px;
  transform: translate(-50%, 8px) rotate(45deg);
  border-right: 2px solid rgba(47, 92, 255, 0.55);
  border-bottom: 2px solid rgba(47, 92, 255, 0.55);
  border-radius: 1px;
  opacity: 0.75;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}
.screenDivider:hover::before {
  background:
    linear-gradient(90deg,
      transparent               0%,
      rgba(79, 120, 255, 0.82) 16%,
      rgba(79, 120, 255, 0.82) 45%,
      transparent              50%,
      rgba(79, 120, 255, 0.82) 55%,
      rgba(79, 120, 255, 0.82) 84%,
      transparent             100%);
}
.screenDivider:hover::after {
  border-right-color:  rgba(47, 92, 255, 0.70);
  border-bottom-color: rgba(47, 92, 255, 0.70);
}
@keyframes divChevron {
  0%   { transform: translate(-50%, 8px)  rotate(45deg); opacity: 0.75; }
  35%  { transform: translate(-50%, 14px) rotate(45deg); opacity: 0.95; }
  100% { transform: translate(-50%, 8px)  rotate(45deg); opacity: 0.75; }
}
.screenDivider.is-activated::after { animation: divChevron 420ms ease; }

/* 专门加固抖音版块底部这条线（你标注的那条） */
.screen-douyin .screenDivider::before {
  background:
    linear-gradient(90deg,
      transparent               0%,
      rgba(79, 120, 255, 0.72) 16%,
      rgba(79, 120, 255, 0.72) 45%,
      transparent              50%,
      rgba(79, 120, 255, 0.72) 55%,
      rgba(79, 120, 255, 0.72) 84%,
      transparent             100%);
  box-shadow: 0 0 14px rgba(79, 120, 255, 0.28);
}

/* ============================================================
   HERO
   ============================================================ */
.screen-hero {
  padding-top: clamp(32px, 5vh, 56px);
}

.hero {
  position: relative;
  max-width: 820px;
}

/* Fine-line mesh decoration on hero right side — identical to 1.0 */
.hero::after {
  content: "";
  position: absolute;
  right: clamp(-140px, -12vw, -60px);
  top: clamp(-34px, -3vh, -18px);
  width: clamp(420px, 46vw, 620px);
  height: clamp(300px, 34vw, 420px);
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(closest-side at 62% 45%, rgba(47, 92, 255, 0.20), transparent 62%),
    radial-gradient(closest-side at 18% 70%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 55%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 14px
    ),
    repeating-linear-gradient(
      25deg,
      rgba(47, 92, 255, 0.18) 0px,
      rgba(47, 92, 255, 0.18) 1px,
      transparent 1px,
      transparent 18px
    );
  -webkit-mask-image: radial-gradient(closest-side at 62% 45%, rgba(0, 0, 0, 0.95), transparent 72%);
  mask-image: radial-gradient(closest-side at 62% 45%, rgba(0, 0, 0, 0.95), transparent 72%);
  filter: saturate(1.05);
}

.heroBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: rgba(140, 170, 255, 0.9);
  background: rgba(79, 120, 255, 0.10);
  border: 1px solid rgba(79, 120, 255, 0.24);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.heroBadge::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue), 0 0 16px rgba(79, 120, 255, 0.6);
}

.title {
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.04;
  background: linear-gradient(160deg,
    #ffffff       0%,
    rgba(255,255,255,0.90) 45%,
    rgba(140,170,255,0.82) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 6px 24px rgba(79, 120, 255, 0.22));
}

.subtitle {
  margin-top: clamp(18px, 2.8vh, 26px);
  font-size: clamp(14.5px, 1.35vw, 17.5px);
  color: var(--fg1);
  line-height: 1.7;
  max-width: 52ch;
}
.subtitle span { display: block; }
.subtitle b { color: rgba(255,255,255,0.86); font-weight: 600; }

.values {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(18px, 2.8vh, 26px);
  max-width: 680px;
}
.values li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--card2), var(--card));
  font-size: 13px;
  color: var(--fg1);
  line-height: 1.4;
  letter-spacing: 0.01em;
  transition: border-color 200ms, color 200ms;
}
.values li:hover { border-color: var(--border-hi); color: var(--fg0); }
.values li::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.75;
  flex-shrink: 0;
}

.actions {
  margin-top: clamp(28px, 4vh, 36px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   SERVICES
   ============================================================ */
.serviceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.serviceCard {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card2) 0%, var(--card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 26px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: perspective(920px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 180ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
/* Top glow line */
.serviceCard::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(79, 120, 255, 0.5) 30%,
    rgba(123, 97, 255, 0.5) 70%,
    transparent 100%);
  opacity: 0;
  transition: opacity 220ms;
}
.serviceCard:hover {
  transform: perspective(920px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  border-color: rgba(79, 120, 255, 0.50);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(79, 120, 255, 0.24);
}
.serviceCard:hover::after { opacity: 1; }

.serviceIconWrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79,120,255,0.18), rgba(123,97,255,0.12));
  border: 1px solid rgba(79, 120, 255, 0.22);
  margin-bottom: 18px;
}
.serviceIcon { font-size: 22px; line-height: 1; }

.serviceName {
  font-size: 15.5px;
  font-weight: 680;
  color: var(--fg0);
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}
.serviceDesc {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--fg1);
}

/* ============================================================
   AI MARKETING SECTION
   ============================================================ */
.screen-ai-marketing {
  background: linear-gradient(180deg, rgba(3, 5, 14, 0) 0%, rgba(79, 120, 255, 0.05) 100%);
}

.aiMarketingContent {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .aiMarketingContent {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
  }
}

.aiMarketingText h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--fg0);
  margin-bottom: 16px;
  line-height: 1.3;
}

.aiMarketingText p {
  font-size: 15px;
  color: var(--fg1);
  line-height: 1.7;
  margin-bottom: 24px;
}

.aiMarketingFeatures {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.aiMarketingFeatures li {
  font-size: 14px;
  color: var(--fg1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.aiMarketingVisual {
  display: flex;
  justify-content: center;
}

.aiMarketingCard {
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.aiMarketingCard::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(79,120,255,0.1) 0%, transparent 60%);
  animation: rotate 10s linear infinite;
}

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

.aiIcon {
  font-size: 64px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.aiCardTitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg0);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.aiCardDesc {
  font-size: 14px;
  color: var(--fg2);
  position: relative;
  z-index: 1;
}

.aiCardImg {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

/* ============================================================
   ABOUT
   ============================================================ */
.aboutGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 860px) {
  .aboutGrid {
    grid-template-columns: 1fr 260px;
    gap: 64px;
    align-items: start;
  }
}

.aboutText p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--fg1);
  margin-bottom: 14px;
}
.aboutText strong { color: var(--fg0); font-weight: 600; }

.aboutList {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.aboutList li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--fg1);
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 180ms;
}
.aboutList li:hover { border-color: var(--border-hi); }
.aboutList li::before {
  content: "→";
  font-size: 12px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Stat cards column */
.aboutStats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.statCard {
  padding: 22px 20px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg,
    rgba(79, 120, 255, 0.10) 0%,
    rgba(123, 97, 255, 0.06) 50%,
    rgba(3, 5, 14, 0.4) 100%);
  border: 1px solid rgba(79, 120, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
/* Glow accent corner */
.statCard::before {
  content: "";
  position: absolute;
  right: -20px; top: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,120,255,0.25), transparent 70%);
  pointer-events: none;
}

.statNum {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, rgba(140,170,255,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.statLabel {
  font-size: 12.5px;
  color: var(--fg2);
  margin-top: 6px;
  letter-spacing: 0.03em;
  position: relative;
}

/* ============================================================
   DOUYIN SECTION  (no red — use indigo / cyan)
   ============================================================ */
.douyinGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.douyinCard {
  position: relative;
  background: linear-gradient(135deg, var(--card2), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: perspective(920px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 220ms, box-shadow 220ms, transform 180ms, background 220ms;
}
.douyinCard:hover {
  border-color: rgba(123, 97, 255, 0.48);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28), 0 0 0 1px rgba(123,97,255,0.20);
  transform: perspective(920px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
}

.douyinStep {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(160, 140, 255, 0.9);
  background: rgba(123, 97, 255, 0.10);
  border: 1px solid rgba(123, 97, 255, 0.22);
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 13px;
}

.douyinTitle {
  font-size: 15.5px;
  font-weight: 680;
  color: var(--fg0);
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}
.douyinDesc {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--fg1);
}

.douyinNote {
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.douyinNote::before {
  content: "🔐";
  font-size: 15px;
  flex-shrink: 0;
  opacity: 0.6;
  margin-top: 1px;
}
.douyinNote p {
  font-size: 13px;
  color: var(--fg2);
  line-height: 1.72;
}

/* ============================================================
   CASES
   ============================================================ */
.caseGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.caseCard {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transform: perspective(920px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.caseCard:hover {
  transform: perspective(920px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  box-shadow: 0 28px 62px rgba(0,0,0,0.40), 0 0 0 1px rgba(79, 120, 255, 0.18);
  border-color: rgba(99, 130, 255, 0.56);
}

.caseImg {
  width: 100%;
  height: 192px;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.caseCard:hover .caseImg { transform: scale(1.04); }

.caseContent { padding: 20px; }

.caseTitle {
  font-size: 16px;
  font-weight: 680;
  color: var(--fg0);
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}

.caseTags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.caseTags span,
.caseTags a {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(79, 120, 255, 0.10);
  color: rgba(140, 170, 255, 0.90);
  border: 1px solid rgba(79, 120, 255, 0.18);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.caseDesc {
  font-size: 13.5px;
  color: var(--fg1);
  line-height: 1.68;
}

/* ============================================================
   CASES CAROUSEL
   ============================================================ */
.case-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.case-track-container {
  overflow: hidden;
  position: relative;
  /* Add some padding to avoid cutting off shadows/tilts */
  padding: 10px;
  margin: -10px;
}

.case-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 4px; /* Tiny gap between slides if needed */
}

.case-grid-slide {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

/* Navigation Buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3, 5, 14, 0.6);
  border: 1px solid var(--border);
  color: var(--fg0);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 20px;
}

.carousel-button:hover {
  background: rgba(79, 120, 255, 0.2);
  border-color: var(--blue);
}

.carousel-button--left {
  left: -24px;
}

.carousel-button--right {
  right: -24px;
}

.carousel-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Dots Navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-indicator.current-slide {
  background: var(--blue);
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .carousel-button {
    display: none; /* Hide arrows on mobile, rely on swipe or just dots */
  }
  .carousel-button--left { left: 0; }
  .carousel-button--right { right: 0; }
}

/* Tag Links */
.tag-link {
  background: rgba(79, 120, 255, 0.2);
  border-color: rgba(79, 120, 255, 0.5);
  color: #fff;
  transition: all 0.2s ease;
}

.tag-link:hover {
  background: rgba(79, 120, 255, 0.9);
  border-color: #fff;
  box-shadow: 0 0 12px rgba(79, 120, 255, 0.6);
  transform: translateY(-1px);
}


/* ============================================================
   PARTNERS CTA
   ============================================================ */
.partnersCard {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(79, 120, 255, 0.22);
  background:
    linear-gradient(140deg,
      rgba(79, 120, 255, 0.14) 0%,
      rgba(123, 97, 255, 0.08) 40%,
      rgba(56, 189, 248, 0.04) 80%,
      rgba(3, 5, 14, 0.6) 100%);
  padding: clamp(44px, 7vh, 72px) clamp(28px, 6vw, 72px);
  text-align: center;
}

/* Top edge highlight */
.partnersCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 5%,
    rgba(79, 120, 255, 0.7) 30%,
    rgba(123, 97, 255, 0.7) 70%,
    transparent 95%);
}

/* Center glow */
.partnersCard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 600px 300px at 50% -10%,
    rgba(79, 120, 255, 0.18), transparent 60%);
}

.partnersCard > * { position: relative; z-index: 1; }

.partnersTitle {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.12;
  background: linear-gradient(150deg, #ffffff 0%, rgba(180, 200, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
}

.partnersSub {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.72;
  color: var(--fg1);
  max-width: 52ch;
  margin: 0 auto 36px;
}

.partnersActions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 8px;
  color: var(--fg2);
  font-size: 13px;
}
.breadcrumbs a { color: var(--fg1); }
.breadcrumbs a:hover { color: var(--fg0); }
.breadcrumbsSeparator { opacity: 0.55; }

.pageNarrow {
  max-width: 980px;
  margin: 0 auto;
}

.contentGrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .contentGrid { grid-template-columns: 1fr; }
}

.infoCard {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--card2) 0%, var(--card) 100%);
  border-radius: var(--r-lg);
  padding: 22px 20px;
}
.infoCard h3 { font-size: 16px; margin-bottom: 10px; }
.infoCard p { color: var(--fg1); line-height: 1.72; }
.infoCard ul { margin-top: 12px; display: grid; gap: 10px; color: var(--fg1); }
.infoCard li { list-style: none; display: flex; gap: 10px; align-items: flex-start; }
.infoCard li::before { content: "•"; color: var(--blue); opacity: 0.85; line-height: 1.2; margin-top: 1px; }

.faqList {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.faqItem {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--card2) 0%, var(--card) 100%);
  padding: 18px 18px 16px;
}
.faqItem h3 { font-size: 15px; margin-bottom: 8px; }
.faqItem p { color: var(--fg1); line-height: 1.72; }

.partnersPolicyCard { margin-top: 16px; }
.partnersPolicyActions { margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding-top: 32px;
  padding-bottom: 28px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.20);
}

/* Tagline — more prominent than copyright */
.footerTagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg1);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.footerInner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 32px;
}

.fineprint {
  font-size: 12px;
  color: var(--fg2);
  line-height: 1.6;
  flex: 1 1 200px;
}

.footerBottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.contactRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.contactItem {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}

.contactLabel {
  font-size: 10.5px;
  color: var(--fg2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contactValue {
  font: inherit;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: 0;
  padding: 4px 7px;
  margin: -4px -7px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 130ms, color 130ms;
}
.contactValue:hover { background: var(--card2); color: var(--fg0); }
.contactValue:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.contactLink { text-decoration: none; }

.icpRow {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
}
.icpItem {
  font-size: 11px;
  color: var(--fg2);
}
.icpLink {
  color: rgba(255,255,255,0.38);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding-bottom: 1px;
  transition: color 130ms, border-color 130ms;
}
.icpLink:hover { color: rgba(255,255,255,0.65); border-bottom-color: rgba(255,255,255,0.18); }
.icpLink--publicSecurity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.icpIcon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 999; }

.modalBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 12, 0.70);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.modalCard {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 32px));
  border-radius: var(--r-xl);
  border: 1px solid var(--border-hi);
  background: linear-gradient(160deg, rgba(10,14,28,0.96), rgba(4,6,16,0.96));
  box-shadow: 0 48px 140px rgba(0,0,0,0.65), 0 0 0 1px rgba(79,120,255,0.08) inset;
  padding: 20px;
}

.modalClose {
  position: absolute;
  right: 12px; top: 12px;
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg1);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 140ms, color 140ms;
}
.modalClose:hover { background: var(--card2); color: var(--fg0); }

.modalGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: 14px;
}
@media (min-width: 720px) {
  .modalGrid { grid-template-columns: 320px 1fr; align-items: center; }
}

.qrWrap {
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 12px;
}
.qrImg { width: min(300px, 100%); height: auto; border-radius: 10px; display: block; }

.modalInfo { display: grid; gap: 14px; padding: 4px 6px 6px; }
.modalLine { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.modalKey { font-size: 11.5px; color: var(--fg2); letter-spacing: 0.05em; text-transform: uppercase; }
.modalVal { font-size: 14px; color: var(--fg0); text-align: right; }
.modalLink:hover { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.18); text-underline-offset: 3px; }

/* ============================================================
   ENTRANCE ANIMATION
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.is-ready [data-animate]          { opacity: 1; transform: translateY(0); }
html.is-ready .heroBadge[data-animate]{ transition-delay: 0ms; }
html.is-ready .title[data-animate]    { transition-delay: 60ms; }
html.is-ready .subtitle[data-animate] { transition-delay: 130ms; }
html.is-ready .values[data-animate]   { transition-delay: 190ms; }
html.is-ready .actions[data-animate]  { transition-delay: 250ms; }
html.is-ready .sectionHeader[data-animate] { transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { transition: none; opacity: 1; transform: none; }
  .btn, .brand   { transition: none; }
  .caseCard:hover .caseImg { transform: none; }
  .header::after,
  .sectionTitle::before { animation: none; }
  .serviceCard,
  .douyinCard,
  .caseCard {
    transform: none !important;
  }
}
