/* VMOSDesk - Pure CSS
 * Design language: 「电蓝 · Aurora」 Clean White + Electric Blue → Cyan
 * High-end / soft / tech-meets-business. Free-first product story.
 * Type: Sora (display) + Plus Jakarta Sans (text), self-hosted (works behind GFW).
 * Brand #0052FF → #00D2FF · Ink #0B1220 · Surfaces #FFFFFF / soft blue tints
 */

/* ============ SELF-HOSTED WEBFONTS (variable) ============ */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/plusjakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ============ DESIGN TOKENS ============ */
:root {
  /* Font stacks — latin display/text webfonts fall through to premium system CJK */
  --font-display: 'Sora', 'Plus Jakarta Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-text: 'Plus Jakarta Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  --ink:       #0b1220;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;

  --surface:       #ffffff;
  --surface-soft:  #f6f9ff;
  --surface-tint:  #eef4ff;

  --border:        #e6eef9;
  --border-strong: #d5e3f7;

  /* Brand core — single source of truth: electric blue → cyan */
  --brand-blue:     #0052ff;
  --brand-cyan:     #00d2ff;
  --success:        #16a34a;

  --primary:        #0052ff;
  --primary-strong: #003ecb;

  /* Signature gradients — brand blue with a cyan "tech" note */
  --grad-primary: linear-gradient(135deg, #0052ff 0%, #00a3ff 100%);
  --grad-primary-hover: linear-gradient(135deg, #003ecb 0%, #0052ff 100%);
  --grad-brand: linear-gradient(120deg, #0052ff 0%, #00a3ff 48%, #00d2ff 100%);
  --grad-ink-blue: linear-gradient(135deg, #0a1e6b 0%, #003ecb 45%, #0052ff 75%, #00d2ff 100%);

  /* Soft, blue-tinted, layered shadows (never flat black) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px -4px rgba(0, 82, 255, 0.10);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, 0.05), 0 16px 32px -14px rgba(0, 82, 255, 0.20);
  --shadow-lg: 0 8px 24px -10px rgba(15, 23, 42, 0.12), 0 30px 60px -24px rgba(0, 82, 255, 0.28);
  --shadow-primary: 0 8px 18px -6px rgba(0, 82, 255, 0.42);
  --shadow-primary-lg: 0 14px 30px -8px rgba(0, 82, 255, 0.48);

  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.mobile-menu-open,
body.mobile-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-600);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -0.025em;
}
/* Display font for numeric / brand lockups that aren't heading tags */
.stat-number, .plan-price, .plan-price-free, .scen-stat-big, .scen-stat-val,
.rating-number, .logo-text, .footer-logo-text, .hero-h1, .cta-title, .section-title,
.feat-title, .scen-title, .fm-card-title, .adv-title {
  font-family: var(--font-display);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(0, 82, 255, 0.16); color: var(--blue-800); }

/* ============ UTILITIES ============ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.hidden { display: none !important; }
.bg-white { background: var(--surface); }
.section-pad { padding: 6.5rem 0; }
@media (max-width: 768px) { .section-pad { padding: 4.5rem 0; } }
.mt-10 { margin-top: 2.5rem; }

/* Color utilities referenced in JS-generated elements */
.text-blue-600 { color: #2563eb; }
.text-indigo-600 { color: #4f46e5; }
.text-cyan-600 { color: #0891b2; }
.text-purple-600 { color: #9333ea; }
.text-blue-400 { color: #60a5fa; }

/* ============ ANIMATIONS ============ */
@keyframes marquee-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes float-up-down {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-8px) translateX(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes aurora-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2%, -3%, 0) scale(1.08); }
}

.animate-float { animation: float-up-down 5s ease-in-out infinite; }
.animate-testimonial-left {
  animation: marquee-scroll-left 45s linear infinite;
  will-change: transform;
}
.animate-testimonial-right {
  animation: marquee-scroll-right 45s linear infinite;
  will-change: transform;
}
.animate-testimonial-left:hover,
.animate-testimonial-right:hover { animation-play-state: paused; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Fade-in items (hero) */
.fade-in-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

/* ============ HERO TITLE CAROUSEL ============ */
.hero-text-block {
  position: relative;
  z-index: 2;
}

/* Title: row (brackets + carousel) + underline on next line — avoids abspos line crossing text */
.hero-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
/* Carousel: min-height so CJK lines never clip; active item supplies real height */
.hero-title-carousel {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  min-height: 1.15em;
}

/* Each carousel item */
.hero-title-item {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 800;
  color: transparent;
  line-height: 1.12;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);

  /* Refined blue gradient — deep to bright, subtle sky lift at the end */
  background: linear-gradient(
    120deg,
    #1e3a8a 0%,
    #1d4ed8 38%,
    #2563eb 68%,
    #0ea5e9 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  overflow: hidden;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;

  filter: drop-shadow(0 2px 10px rgba(37, 99, 235, 0.14));
}
.hero-title-item.zh,
.hero-title-item.zh-hant {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.hero-title-item.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  animation: title-shimmer 6s ease-in-out infinite;
}
.hero-title-item.exit {
  opacity: 0;
  transform: translateY(-12px);
}

@keyframes title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* Tech underline — refined, understated */
.tech-underline {
  position: relative;
  width: min(20rem, 85vw);
  height: 2px;
  background: rgba(191, 219, 254, 0.65);
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
}
.tech-underline-fill {
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, #3b82f6, #38bdf8, #3b82f6, transparent);
  background-size: 200% 100%;
  border-radius: 9999px;
  animation: underline-shimmer 4s ease-in-out infinite;
}
@keyframes underline-shimmer {
  0%, 100% { background-position: 0% 50%; opacity: 0.6; }
  50%       { background-position: 100% 50%; opacity: 1; }
}

/* ===== Two-column hero ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr);
    gap: 4rem;
  }
}
.hero-col-text { text-align: center; }
@media (min-width: 1024px) {
  .hero-col-text { text-align: left; }
  .hero-col-text .hero-badge-wrap { justify-content: flex-start; }
  .hero-col-text .hero-cta { justify-content: flex-start; margin-bottom: 0; }
}

/* Hero headline — stacked two lines: gradient hook + ink product name */
.hero-h1 {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 1.25rem 0 0;
}
.hero-h1.zh,
.hero-h1.zh-hant {
  font-size: clamp(2.6rem, 5.4vw, 4.35rem);
  letter-spacing: -0.01em;
}
.hero-h1-accent, .hero-h1-plain { display: block; }
.hero-h1-plain { color: var(--ink); }
.hero-h1-accent {
  background: linear-gradient(115deg, #1e3a8a 0%, #1d4ed8 40%, #2563eb 70%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(37, 99, 235, 0.18));
}

/* Hero value sub-headline */
.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 30rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--slate-600);
}
@media (max-width: 1023px) { .hero-lead { margin-left: auto; margin-right: auto; } }

/* Free perks — clean inline checks (no heavy pills) */
.hero-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.6rem;
  margin: 1.6rem 0 0;
}
@media (min-width: 1024px) { .hero-perks { justify-content: flex-start; } }
.hero-perk {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-600);
}
.hero-perk-ic { flex-shrink: 0; color: #059669; }

.hero-cta {
  margin-top: 2rem;
}
/* CTA reassurance line */
.hero-cta-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-500);
}
@media (max-width: 1023px) { .hero-cta-note { justify-content: center; } }
.hero-cta-note svg { color: #16a34a; flex-shrink: 0; }

/* Text-style secondary CTA */
.btn-hero-text {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate-700);
  transition: color 0.2s var(--ease);
}
.btn-hero-text:hover { color: #2563eb; }
.hero-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: #2563eb;
  background: #fff;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
}
.btn-hero-text:hover .hero-play { border-color: var(--blue-300); transform: scale(1.06); }

/* ===== Hero product visual ===== */
.hero-col-visual { position: relative; }
.hero-visual-glow {
  position: absolute;
  inset: -8% -6% -12% -6%;
  background:
    radial-gradient(50% 50% at 70% 30%, rgba(56, 189, 248, 0.28), transparent 70%),
    radial-gradient(55% 55% at 25% 75%, rgba(37, 99, 235, 0.24), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.hero-visual-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 28px -12px rgba(15, 23, 42, 0.18),
    0 40px 70px -30px rgba(37, 99, 235, 0.4);
  animation: float-up-down 6s ease-in-out infinite;
}
.hero-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: linear-gradient(180deg, #fbfdff 0%, #eef4fc 100%);
  border-bottom: 1px solid var(--border);
}
.hero-frame-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #cdddf1;
}
.hero-frame-bar span:first-child { background: #f3b7ba; }
.hero-frame-bar span:nth-child(2) { background: #f5ddb0; }
.hero-frame-bar span:nth-child(3) { background: #bfe3c6; }
.hero-visual-frame video { width: 100%; display: block; }
.hero-float-chip {
  position: absolute;
  z-index: 2;
  left: -0.75rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}
.hero-float-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
@media (max-width: 1023px) {
  .hero-float-chip { left: 0.75rem; }
  .hero-visual-frame { animation: none; }
}

/* ===== Hero channel strip ===== */
.hero-channels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}
.hero-channels-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-500);
}
.hero-channels-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hero-chan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--c, #64748b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 2px rgba(15,23,42,0.05);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero-chan svg { width: 19px; height: 19px; }
.hero-chan:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 8px 16px -6px rgba(37,99,235,0.22); }
.hero-chan-more {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-500);
  background: var(--surface-soft);
}

/* Gradient text */
.text-gradient-blue {
  background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 55%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ BADGES / DOTS / CURSOR ============ */

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
  animation: pulse-dot-anim 2s ease-in-out infinite;
}
.pulse-dot-green {
  display: inline-block;
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulse-dot-anim 2s ease-in-out infinite;
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 3px; height: 0.85em;
  background: #2563eb;
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 1s step-end infinite;
}

/* ============ BUTTONS ============ */
.btn-login {
  font-size: 0.875rem; font-weight: 500;
  color: var(--slate-600);
  padding: 0.5rem 0.75rem;
  transition: color 0.2s;
}
.btn-login:hover { color: #2563eb; }

.btn-outline-dark {
  font-size: 0.875rem; font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s var(--ease);
}
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

.btn-primary-pill {
  font-size: 0.875rem; font-weight: 600;
  color: #fff;
  background: var(--grad-primary);
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-primary);
}
.btn-primary-pill:hover { background: var(--grad-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-primary-lg); }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  background: var(--grad-primary); color: #fff;
  font-weight: 700; font-size: 1rem;
  border-radius: 9999px;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-primary-lg);
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-hero-primary:hover { background: var(--grad-primary-hover); transform: translateY(-2px); box-shadow: 0 20px 32px -8px rgba(37,99,235,0.5); }
.btn-hero-primary:hover::after { transform: translateX(120%); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  background: rgba(255,255,255,0.9); color: var(--ink);
  font-weight: 700; font-size: 1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-strong);
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.btn-hero-secondary:hover { border-color: var(--blue-300); color: #2563eb; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary-sm {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--grad-primary); color: #fff;
  font-weight: 700; font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-primary);
}
.btn-primary-sm:hover { background: var(--grad-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-primary-lg); }

.btn-outline-sm {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff; color: var(--slate-700);
  font-weight: 700; font-size: 0.875rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-strong);
  transition: all 0.25s var(--ease);
}
.btn-outline-sm:hover { border-color: var(--blue-300); color: #2563eb; transform: translateY(-1px); }

.btn-with-arrow { display: inline-flex; align-items: center; gap: 0.5rem; }

.btn-cta-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.1rem;
  background: #fff; color: #1d4ed8;
  font-weight: 700; font-size: 1rem;
  border-radius: 9999px;
  transition: all 0.25s var(--ease);
  box-shadow: 0 18px 40px -12px rgba(2, 6, 23, 0.45);
}
.btn-cta-white:hover { background: #eff6ff; transform: translateY(-3px); box-shadow: 0 26px 48px -12px rgba(2, 6, 23, 0.5); }

.btn-cta-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.1rem;
  background: transparent; color: #fff;
  font-weight: 700; font-size: 1rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  transition: all 0.25s var(--ease);
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-3px); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.3s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(37, 99, 235, 0.06), 0 8px 30px -18px rgba(15, 23, 42, 0.25);
  border-bottom: 1px solid rgba(230, 238, 249, 0.9);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 640px) { .nav-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 2rem; height: 72px; } }

/* 占位块：navbar 为 fixed，用等高占位让出导航栏高度（顶部广告 Banner 已移除） */
.nav-spacer { height: 64px; }
@media (min-width: 1024px) { .nav-spacer { height: 72px; } }

.nav-logo { display: flex; align-items: center; gap: 0.625rem; }
.logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon img{width: 100%;height: 100%;object-fit: contain;}
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.logo-blue { color: #2563eb; }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--slate-600);
  border-radius: 9999px;
  transition: all 0.2s var(--ease);
}
.nav-link:hover { color: #2563eb; background: var(--blue-50); }

.nav-cta { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .nav-cta { display: flex; } }

.nav-mobile-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem;
  color: var(--slate-600);
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-btn:focus { outline: none; border: none; }
.nav-mobile-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.nav-mobile-btn:active { background-color: transparent; }
@media (min-width: 1024px) { .nav-mobile-btn { display: none; } }

.mobile-menu {
  display: none;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 40px -16px rgba(15,23,42,0.18);
  padding: 1rem;
}
.mobile-menu.open {
  display: block;
  max-height: 80vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--slate-700);
  border-radius: 10px;
  transition: all 0.2s var(--ease);
}
.mobile-nav-link:hover { color: #2563eb; background: var(--blue-50); }
.mobile-cta { padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }

/* ============ HERO ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(42% 55% at 20% 30%, rgba(191, 219, 254, 0.5) 0%, rgba(191, 219, 254, 0) 70%),
    radial-gradient(120% 80% at 50% -10%, #e0edff 0%, rgba(224,237,255,0) 55%),
    linear-gradient(180deg, #f0f6ff 0%, #eaf2ff 26%, #f7fafff7 60%, #ffffff 100%);
}
@media (max-width: 1023px) { .hero-section { min-height: auto; } }
.hero-bg-blobs {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  animation: aurora-drift 16s ease-in-out infinite;
}
.blob-1 { top: 60px; left: 40px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(96,165,250,0.38), rgba(96,165,250,0)); }
.blob-2 { top: 140px; right: 20px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(56,189,248,0.26), rgba(56,189,248,0)); animation-delay: -5s; }
.blob-3 { bottom: 40px; left: 30%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(129,140,248,0.24), rgba(129,140,248,0)); animation-delay: -9s; }
.grid-pattern {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.04;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
}

.hero-content {
  position: relative; z-index: 10;
  padding-top: 3.5rem; padding-bottom: 3.5rem;
  text-align: center;
  width: 100%;
}

.hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.42rem 1.05rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(239,246,255,0.85) 100%);
  color: #1d4ed8;
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 9999px;
  border: 1px solid rgba(147, 197, 253, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(37,99,235,0.06), 0 6px 16px -8px rgba(37,99,235,0.22);
  backdrop-filter: blur(8px);
}

@media(max-width: 768px) { .hero-badge{font-size: 13px;} }

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-500);
  max-width: 40rem; margin: 0 auto 0.25rem;
  line-height: 1.7;
}
.hero-subtitle-en {
  font-size: 1.125rem; font-weight: 600;
  color: #2563eb;
  letter-spacing: 0.025em;
  margin-bottom: 0.75rem;
}
.hero-subtitle-en-sm {
  font-size: 0.875rem; font-weight: 500;
  color: var(--slate-400);
  max-width: 30rem; margin: 0 auto 2rem;
}

.social-icons-wrap {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  margin-bottom: 2.75rem;
}
/* Hero 社媒区标题：与 hero-badge / section-tag 同系，略醒目但不抢主标题 */
.social-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  max-width: min(100%, 28rem);
  margin: 0 auto;
  padding: 0.4rem 1rem 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1d4ed8;
  letter-spacing: 0.03em;
  text-transform: none;
  text-align: center;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(239, 246, 255, 0.92) 45%,
    rgba(219, 234, 254, 0.88) 100%
  );
  border: 1px solid rgba(147, 197, 253, 0.9);
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}
.social-label::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}
@media (min-width: 640px) {
  .social-label {
    font-size: 0.875rem;
    padding: 0.45rem 1.15rem 0.5rem;
  }
}
@media (max-width: 380px) {
  .social-label {
    font-size: 0.75rem;
    padding-inline: 0.75rem;
    letter-spacing: 0.02em;
  }
}
.social-showcase-card {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.35rem 1rem 1.45rem;
  border-radius: var(--radius-xl);
  /* Softer blue glass, aligned with hero background */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(239, 246, 255, 0.8) 40%,
    rgba(219, 234, 254, 0.82) 100%
  );
  border: 1px solid rgba(191, 219, 254, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 6px rgba(37, 99, 235, 0.05),
    0 20px 44px -18px rgba(37, 99, 235, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@media (min-width: 640px) {
  .social-showcase-card {
    padding: 1.5rem 1.5rem 1.6rem;
  }
}
.social-icons-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.625rem;
}
.social-icons-row-featured {
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .social-icons-row-featured { gap: 8px; }
}
.social-icons-cluster {
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.social-whatsapp-spotlight {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}
.hero-whatsapp-slogan {
  margin: 0;
  margin-top: 1.125rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 130, 246, 0.14);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--slate-500);
  text-align: center;
}
@media (min-width: 640px) {
  .hero-whatsapp-slogan {
    font-size: 0.9375rem;
    margin-top: 1.25rem;
    padding-top: 1.125rem;
    max-width: 38rem;
  }
}
.social-icon-item {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 10px -6px rgba(37, 99, 235, 0.25);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.social-icon-item:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.3); }
.social-icon-item svg { width: 20px; height: 20px; }
@keyframes social-whatsapp-accent {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 2px 8px rgba(37, 211, 102, 0.2),
      0 8px 22px -6px rgba(37, 99, 235, 0.12),
      0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    transform: translateY(-3px);
    box-shadow:
      0 6px 18px rgba(37, 211, 102, 0.32),
      0 14px 32px -8px rgba(37, 99, 235, 0.18),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}
.social-icon-item--whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  border: 1px solid #86efac;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  box-shadow:
    0 2px 8px rgba(37, 211, 102, 0.2),
    0 8px 22px -6px rgba(37, 99, 235, 0.12),
    0 0 0 0 rgba(37, 211, 102, 0.35);
  animation: social-whatsapp-accent 2.75s ease-in-out infinite;
}
.social-icon-item--whatsapp svg { width: 32px; height: 32px; }
@media (min-width: 640px) {
  .social-icon-item--whatsapp {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }
  .social-icon-item--whatsapp svg { width: 36px; height: 36px; }
}
.social-icon-item--whatsapp:hover {
  animation-play-state: paused;
  transform: scale(1.06) translateY(-2px);
  box-shadow:
    0 6px 16px rgba(37, 211, 102, 0.35),
    0 14px 30px -8px rgba(37, 99, 235, 0.2),
    0 0 0 6px rgba(37, 211, 102, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .social-icon-item--whatsapp {
    animation: none;
    box-shadow:
      0 2px 8px rgba(37, 211, 102, 0.2),
      0 8px 22px -6px rgba(37, 99, 235, 0.12);
  }
  .social-icon-item--whatsapp:hover {
    transform: scale(1.05);
  }
  .blob { animation: none; }
}
@media (max-width: 639px) {
  .social-icons-row-featured {
    flex-direction: column;
    gap: 1.125rem;
  }
  .social-icons-cluster--left { order: 1; }
  .social-whatsapp-spotlight { order: 2; }
  .social-icons-cluster--right { order: 3; }
}
.social-tooltip {
  position: absolute;
  top: -34px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  font-size: 0.7rem; font-weight: 500;
  padding: 3px 8px; border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
}
.social-icon-item:hover .social-tooltip { opacity: 1; }

.hero-cta {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; justify-content: center; } }

.hero-dashboard { display: flex; justify-content: center; }
.hero-dashboard video {
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
}
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
  color: var(--slate-400);
  font-size: 0.75rem;
}

/* ============ STATS ============ */
.stats-section {
  padding: 4.5rem 0;
  background: var(--grad-ink-blue);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 80% -20%, rgba(56,189,248,0.35), transparent 60%);
  pointer-events: none;
}
.stats-grid-bg {
  position: absolute; inset: 0;
  opacity: 0.12;
}
.stats-inner {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 1024px) {
  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-item { text-align: center; padding: 0 1rem; position: relative; }
@media (min-width: 1024px) {
  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    height: 46px; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(191,219,254,0.4), transparent);
  }
}
.stat-number { font-size: clamp(2.1rem, 4vw, 3.15rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.stat-desc { color: #bfdbfe; font-size: 0.875rem; font-weight: 500; }

/* ============ SECTION HEADER ============ */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--blue-50); color: #2563eb;
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  border: 1px solid var(--blue-200);
  margin-bottom: 1.15rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800; color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-subtitle { font-size: 1.125rem; color: var(--slate-500); max-width: 40rem; margin: 0 auto; line-height: 1.7; }

/* ============ ADVANTAGES ============ */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .advantages-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .advantages-grid { grid-template-columns: repeat(3,1fr); } }

.adv-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem 1.85rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: default;
  transition-delay: var(--delay, 0s);
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.adv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--border-strong); }
.adv-card:hover::before { opacity: 1; }

.adv-icon {
  width: 58px; height: 58px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.35rem;
  transition: transform 0.35s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.adv-card:hover .adv-icon { transform: scale(1.08) rotate(-3deg); }
.adv-icon-blue { background: #eff6ff; color: #2563eb; }
.adv-icon-indigo { background: #eef2ff; color: #4f46e5; }
.adv-icon-cyan { background: #ecfeff; color: #0891b2; }
.adv-icon-purple { background: #faf5ff; color: #9333ea; }
.adv-icon-green { background: #f0fdf4; color: #16a34a; }
.adv-icon-orange { background: #fff7ed; color: #ea580c; }

.adv-title { font-size: 1.1875rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
.adv-desc { font-size: 0.9375rem; color: var(--slate-500); line-height: 1.75; }

/* ============ FEATURES ============ */
.features-section { background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%); }

.features-tabs {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.5rem;
  margin-bottom: 3rem;
}
.feat-tab {
  padding: 0.625rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600;
  border: 1px solid var(--border-strong);
  color: var(--slate-600);
  background: #fff;
  transition: all 0.2s var(--ease);
}
.feat-tab:hover { border-color: var(--blue-300); color: #2563eb; }
.feat-tab.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: var(--shadow-primary); }

.feature-panels { }
.feat-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}
@media (min-width: 1024px) { .feat-panel { flex-direction: row; } }

.feat-panel .feat-image { order: -1; }
@media (min-width: 1024px) {
  .feat-panel .feat-image { order: unset; }
  .feat-panel .feat-image-reverse { order: -1; }
}

.feat-text { flex: 1; }
.feat-image { flex: 1; width: 100%; }

.feat-title { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.feat-sub { color: #2563eb; font-weight: 600; font-size: 1.125rem; margin-bottom: 1.5rem; }

.feat-points { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.feat-point {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.05rem 1.15rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
}
.feat-point:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.feat-point-icon { font-size: 1.5rem; flex-shrink: 0; }
.feat-point span:last-child { color: var(--slate-700); font-weight: 500; line-height: 1.6; }

.feat-actions { display: flex; gap: 0.75rem; padding-top: 0.5rem; }

.feat-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
  position: relative;
}
.feat-img-wrap img {
  width: 100%;
  height: auto;
}
.feat-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(29,78,216,0.1), transparent);
  pointer-events: none;
}

/* ============ SCENARIOS ============ */
.scenario-tabs {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.75rem;
  margin-bottom: 3rem;
}
.scen-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600;
  border: 1px solid var(--border-strong);
  color: var(--slate-600);
  background: #fff;
  transition: all 0.2s var(--ease);
}
.scen-tab:hover { border-color: var(--blue-300); }
.scen-tab.active-blue { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -6px rgba(37,99,235,0.35); }
.scen-tab.active-indigo { background: linear-gradient(135deg,#4f46e5,#6366f1); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -6px rgba(79,70,229,0.35); }
.scen-tab.active-cyan { background: linear-gradient(135deg,#0891b2,#06b6d4); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -6px rgba(8,145,178,0.35); }
.scen-tab.active-purple { background: linear-gradient(135deg,#9333ea,#a855f7); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -6px rgba(147,51,234,0.35); }

.scen-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .scen-panel { grid-template-columns: 1fr 1fr; } }

.scen-image { position: relative; }
.scen-img-glow {
  position: absolute; inset: -16px;
  background: radial-gradient(circle, rgba(147,197,253,0.5), rgba(147,197,253,0));
  border-radius: 28px;
  filter: blur(36px);
}
.scen-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.scen-img-wrap img { width: 100%; height: 320px; object-fit: cover; }
@media (min-width: 1024px) { .scen-img-wrap img { height: 384px; } }
.scen-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.42), transparent 60%);
}
.scen-stats-overlay {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  display: flex; gap: 0.75rem;
}
.scen-stat-item {
  flex: 1;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.7);
}
.scen-stat-val { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.scen-stat-lbl { font-size: 0.75rem; color: var(--slate-500); margin-top: 2px; }

.scen-content { display: flex; flex-direction: column; gap: 1.5rem;align-items: flex-start; }
.scen-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.8125rem; font-weight: 700;
  border-radius: 9999px;
}
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-indigo { background: #e0e7ff; color: #4338ca; }
.badge-cyan { background: #cffafe; color: #0e7490; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }

/* color utility classes for dynamic stat colors */
.border-blue-200 { border-color: #bfdbfe; }
.border-indigo-200 { border-color: #c7d2fe; }
.border-cyan-200 { border-color: #a5f3fc; }
.border-purple-200 { border-color: #e9d5ff; }

.scen-title { font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.scen-desc { color: var(--slate-600); font-size: 1.0625rem; line-height: 1.75; }
.scen-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;width: 100%; }
.scen-stat-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid;
  background: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.scen-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.scen-stat-big { font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; }
.scen-stat-sm { font-size: 0.875rem; color: var(--slate-500); margin-top: 4px; }

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, var(--surface-soft) 0%, #fff 100%);
  overflow: hidden;
}
.rating-wrap {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.25rem;
}
.stars { display: flex; gap: 4px; }
.star { width: 24px; height: 24px; fill: #fbbf24; }
.rating-number { font-size: 1.875rem; font-weight: 800; color: var(--ink); }
.rating-total { font-size: 0.875rem; font-weight: 500; color: var(--slate-500); }

.mt-5 { margin-top: 1.25rem; }
.marquee-wrap { position: relative; overflow: hidden; margin-bottom: 0; }
.marquee-fade-left {
  position: absolute; left: 0; top: 0; bottom: 0; width: 140px;
  background: linear-gradient(to right, var(--surface-soft), transparent);
  z-index: 10; pointer-events: none;
}
.marquee-fade-right {
  position: absolute; right: 0; top: 0; bottom: 0; width: 140px;
  background: linear-gradient(to left, #fff, transparent);
  z-index: 10; pointer-events: none;
}
.marquee-track { display: flex; width: max-content; }

.tcard {
  flex-shrink: 0;
  width: 340px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin: 0 0.75rem;
  transition: all 0.25s var(--ease);
  cursor: default;
  user-select: none;
}
.tcard:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--border-strong); }
.tcard-stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.tcard-star { width: 16px; height: 16px; fill: #fbbf24; }
.tcard-quote { font-size: 0.9375rem; color: var(--slate-700); line-height: 1.75; margin-bottom: 1.25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tcard-author { display: flex; align-items: center; gap: 0.75rem; }
.tcard-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -3px rgba(15,23,42,0.25);
}
.avatar-blue { background: linear-gradient(135deg,#2563eb,#3b82f6); }
.avatar-indigo { background: linear-gradient(135deg,#4f46e5,#6366f1); }
.avatar-purple { background: linear-gradient(135deg,#9333ea,#a855f7); }
.avatar-cyan { background: linear-gradient(135deg,#0891b2,#06b6d4); }
.avatar-green { background: linear-gradient(135deg,#16a34a,#22c55e); }
.avatar-orange { background: linear-gradient(135deg,#ea580c,#f97316); }
.tcard-name { font-weight: 600; font-size: 0.875rem; color: var(--ink); }
.tcard-role { font-size: 0.75rem; color: var(--slate-500); }

/* Benefit ("why choose us") marquee cards — reuse .tcard shell */
.why-card { display: flex; flex-direction: column; }
.why-ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.why-card-t {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.why-card-d {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ============ PRICING ============ */
.pricing-section { background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%); }

/* 定价区内不用 transform 位移动画，避免浮层 position 参照到整块卡片 */
.pricing-section .reveal {
  transform: none;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.pricing-section .reveal.visible { opacity: 1; }

.pricing-rules {
  max-width: 56rem;
  margin: 0 auto 2rem;
  padding: 1.35rem 1.6rem;
  background: rgba(239, 246, 255, 0.7);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
}
.pricing-rules-title {
  font-weight: 700;
  color: #1e40af;
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.pricing-rules-text {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
}
.pricing-rules-text:last-child { margin-bottom: 0; }

/* 时长档位切换器（月付/季付/半年付/年付/两年付） */
.duration-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 0.375rem;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: 9999px;
}
.duration-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border: none;
  background: transparent;
  color: var(--slate-500);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.duration-tab:hover { color: #2563eb; }
.duration-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.14);
}
.duration-tab-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

/* 原价 + 时长总价小字行（仅在选中非月付档时显示） */
.plan-price-original {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--slate-500);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.4;
}
.plan-price-original[hidden] { display: none; }
.plan-price-strike {
  text-decoration: line-through;
  color: var(--slate-400);
}
.plan-price-original-light { color: #bfdbfe; }
.plan-price-original-light .plan-price-strike { color: rgba(255, 255, 255, 0.55); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(4,1fr); gap: 8px; } }

.pricing-card {
  border-radius: var(--radius-xl);
  padding: 2.15rem;
  border: 1px solid var(--border-strong);
  background: #fff;
  position: relative;
  transition: all 0.35s var(--ease);
  transition-delay: var(--delay, 0s);
  display: flex; flex-direction: column;
}
.pricing-card:not(.pricing-card-highlight):hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card-highlight {
  background: var(--grad-ink-blue);
  border-color: transparent;
  box-shadow: 0 30px 60px -18px rgba(37,99,235,0.5);
  z-index: 2;
  padding: 2.35rem 2.15rem;
}

.plan-badge-top {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
}
.plan-popular {
  background: linear-gradient(135deg,#fbbf24,#f59e0b); color: #7c2d12;
  font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.85rem; border-radius: 9999px;
  box-shadow: 0 6px 14px -4px rgba(245,158,11,0.5);
}

.pricing-card-header { margin-bottom: 1.5rem; }
.plan-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.plan-name.text-gray { color: var(--slate-500); }
.plan-name.text-blue-light { color: #bfdbfe; }
.plan-price-wrap { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price.text-dark { color: var(--ink); }
.plan-price.text-white { color: #fff; }
.plan-period { font-size: 0.875rem; }
.pricing-card:not(.pricing-card-highlight) .plan-period { color: var(--slate-400); }
.pricing-card-highlight .plan-period { color: #bfdbfe; }
.plan-desc { font-size: 0.875rem; }
.pricing-card:not(.pricing-card-highlight) .plan-desc { color: var(--slate-500); }
.plan-desc.text-blue-faint { color: #bfdbfe; }

/* 折扣角标（卡片右上角） */
.plan-badge-discount {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg,#ef4444,#dc2626);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  box-shadow: 0 6px 14px -4px rgba(220,38,38,0.45);
  z-index: 3;
}

.plan-features { flex: 1; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.plan-feat {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9375rem; color: var(--slate-600);
}
.plan-feat-white { color: #dbeafe; }
.plan-feat:has(.plan-feat-body) { align-items: flex-start; }
.plan-feat-body {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.45;
}
/* VIP 高亮卡片 padding 更大、可用宽度略窄，易把「文案 + 感叹号」折成两行；与 SVIP 对齐为单行 */
.plan-feat-body:has(.channel-tier-hint) {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.feat-check { width: 18px; height: 18px; flex-shrink: 0; color: #2563eb; }
.feat-check-light { width: 18px; height: 18px; flex-shrink: 0; color: #7dd3fc; }

/* 官方通道阶梯价提示（Tabler 风格图标 + 悬停/聚焦浮层） */
.channel-tier-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: help;
  outline: none;
}
.channel-tier-hint__icon {
  display: block;
  color: var(--slate-400);
  transition: color 0.15s ease;
}
.channel-tier-hint--on-dark .channel-tier-hint__icon {
  color: rgba(255, 255, 255, 0.75);
}
.channel-tier-hint:hover .channel-tier-hint__icon,
.channel-tier-hint:focus-visible .channel-tier-hint__icon {
  color: #2563eb;
}
.channel-tier-hint--on-dark:hover .channel-tier-hint__icon,
.channel-tier-hint--on-dark:focus-visible .channel-tier-hint__icon {
  color: #fff;
}
.channel-tier-hint__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.channel-tier-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(22rem, calc(100vw - 1.5rem));
  max-width: 22rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  /* 避免继承 VIP 卡片上 .plan-feat-white 的浅蓝字色 */
  color: var(--ink);
}
.channel-tier-popover--narrow {
  width: 280px;
  max-width: min(280px, calc(100vw - 1.5rem));
  box-shadow: var(--shadow-lg);
}
.channel-tier-hint:hover .channel-tier-popover,
.channel-tier-hint:focus-within .channel-tier-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.channel-tier-popover__lead {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--slate-500);
}
.channel-tier-popover__icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  padding: 0.625rem;
  margin-bottom: 0.75rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.channel-tier-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0 auto;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--slate-500);
}
.channel-tier-popover__table-wrap {
  max-height: 11rem;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}
.channel-tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.channel-tier-table th,
.channel-tier-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.channel-tier-table td {
  color: var(--ink);
}
.channel-tier-table th {
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 600;
}
.channel-tier-table tbody tr:last-child td {
  border-bottom: none;
}
.channel-tier-table__price {
  color: #2563eb;
  font-weight: 600;
}
@media (max-width: 767px) {
  .channel-tier-popover {
    left: auto;
    right: 0;
    transform: none;
  }
}

.plan-btn {
  display: block; text-align: center;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700; font-size: 0.9375rem;
  transition: all 0.25s var(--ease);
}
.plan-btn-normal { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-primary); }
.plan-btn-normal:hover { background: var(--grad-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-primary-lg); }
.plan-btn-white { background: #fff; color: #2563eb; box-shadow: 0 12px 20px -8px rgba(2,6,23,0.35); }
.plan-btn-white:hover { background: #eff6ff; transform: translateY(-2px); box-shadow: 0 16px 26px -8px rgba(2,6,23,0.4); }

/* ============ DOWNLOAD ============ */
.download-section {
  background: linear-gradient(180deg, var(--surface-soft) 0%, #fff 100%);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .download-grid { grid-template-columns: repeat(3, 1fr); }
}

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  transition: all 0.35s var(--ease);
  transition-delay: var(--delay, 0s);
}
.download-card:not(.download-card-soon):hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.download-card-soon {
  background: var(--surface-soft);
  border-color: var(--border);
}

.download-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.2rem 0.6rem;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid #fde68a;
}

.download-icon {
  width: 66px;
  height: 66px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.download-icon-windows { background: #eff6ff; color: #2563eb; }
.download-icon-android { background: #f0fdf4; color: #16a34a; }
.download-icon-ios { background: #f5f3ff; color: #7c3aed; }

.download-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.download-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.download-btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.download-btn-primary:hover {
  background: var(--grad-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}
.download-btn-outline {
  background: #fff;
  color: var(--slate-500);
  border: 1px solid var(--border-strong);
}
.download-card-soon .download-btn-outline:hover {
  border-color: var(--slate-400);
  color: var(--slate-700);
  background: #fff;
}
.download-btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.download-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  padding: 0.875rem 1.5rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.download-toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* ============ CTA ============ */
.cta-section {
  padding: 6.5rem 0;
  position: relative; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: var(--grad-ink-blue);
}
.cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(100% 100% at 100% 0%, rgba(56,189,248,0.3), transparent 55%);
}
.cta-circle {
  position: absolute;
  width: 384px; height: 384px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-circle-tl { top: 0; left: 0; transform: translate(-50%,-50%); }
.cta-circle-br { bottom: 0; right: 0; transform: translate(33%,33%); width: 320px; height: 320px; }
.cta-blur {
  position: absolute; top: 50%; left: 25%;
  width: 256px; height: 256px;
  background: rgba(96,165,250,0.15);
  border-radius: 50%;
  filter: blur(44px);
}
.cta-grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.05;
}
.cta-inner { position: relative; z-index: 10; text-align: center;  }
.cta-badge-wrap { margin-bottom: 1.5rem; }
.cta-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1.05rem;
  background: rgba(255,255,255,0.16); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}
.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.14;
}
.cta-title-light { color: #bfdbfe; }
.cta-subtitle {
  font-size: 1.1875rem; color: #cfe0fd;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-btns {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .cta-btns { flex-direction: row; justify-content: center; } }
.cta-trust {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 1.5rem;
  color: #bfdbfe; font-size: 0.875rem;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; }

/* ============ FOOTER ============ */
.footer { background: #060b18; color: var(--slate-400); position: relative; overflow: hidden; }
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,82,255,0.5), transparent);
}
/* 品牌光晕：与 hero 同一套手法(径向渐变叠色)，给深底一点纵深，避免整块死黑 */
.footer::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 8% 0%, rgba(0, 82, 255, 0.16), transparent 70%),
    radial-gradient(40% 60% at 92% 10%, rgba(0, 210, 255, 0.08), transparent 70%);
  pointer-events: none;
}
/* 内容需要压在光晕之上 */
.footer-inner { padding: 4.5rem 0 3.5rem; position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  margin-bottom: 3rem;
}
@media(max-width: 768px) { .footer-inner{padding: 2.5rem 1rem;} }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
/* 列数必须与实际子元素数一致(品牌+产品+资源+矩阵=4)。
   原为 6 列而只有 4 个子元素，右侧凭空空出两列，内容全挤在左半边。
   品牌列更宽以容纳下载按钮，矩阵列偏宽以支撑内部双列。 */
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1.8fr; } }

.footer-brand { grid-column: span 2; }
@media (min-width: 768px) { .footer-brand { grid-column: span 3; } }
@media (min-width: 1024px) { .footer-brand { grid-column: span 1; } }

.footer-logo { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
.footer-logo-text { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.footer-tagline { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 34ch; }
.footer-copy { font-size: 0.75rem; color: #94a3b8; }

/* 页脚下载入口：整站主转化动作，页脚也该有一个落点(此前只有导航栏有) */
.footer-dl {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 10px 24px -12px rgba(0, 82, 255, 0.9);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-dl:hover {
  background: var(--grad-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px rgba(0, 82, 255, 1);
}
.footer-dl svg { flex-shrink: 0; }

.footer-col-title {
  color: #fff; font-weight: 600; font-size: 0.875rem; margin-bottom: 1.125rem;
  position: relative; padding-bottom: 0.625rem;
}
/* 标题下的短渐变横杠，给每列一个视觉起点 */
.footer-col-title::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad-brand);
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.875rem; color: var(--slate-400); transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: #60a5fa; padding-left: 3px; }
/* 矩阵 6 条链接双列排布，列高与相邻的产品/资源列大致齐平 */
.footer-links-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.25rem; }

/* 公司信息（业务简介 / 办公地址 / 联系电话）—— 仅中文版渲染，见 Footer.astro 的 lang === "zh" 判断 */
.footer-company {
  border-top: 1px solid #16233b;
  padding-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.footer-company-desc {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #94a3b8;
  max-width: 68ch;
  margin-bottom: 0.875rem;
}
.footer-company-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
}
@media (min-width: 768px) {
  .footer-company-meta { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
}
.footer-company-item { display: flex; gap: 0.5rem; line-height: 1.7; }
.footer-company-label { color: #64748b; flex-shrink: 0; }
.footer-company-item a { color: #94a3b8; transition: color 0.2s; }
.footer-company-item a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #16233b;
  padding-top: 2rem;
  display: flex;
  flex-direction: column; gap: 1rem;
  align-items: center;
}
/* 中文版公司信息块已经画了分隔线，紧随其后的 footer-bottom 不再重复画一条 */
.footer-company + .footer-bottom { border-top: none; padding-top: 1.25rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; font-size: 0.75rem; color: #94a3b8; }
/* 版权与法律链接同排：窄屏居中换行，宽屏靠左 */
@media (max-width: 639px) { .footer-legal { justify-content: center; gap: 1rem 1.25rem; } }
.footer-legal a { color: #94a3b8; transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }
/* ICP + 公安备案并列悬挂：Astro 模板会吃掉标签间换行空白，间距必须由 gap 给；窄屏自动换行 */
.footer-icp { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: #94a3b8; }
.footer-icp a { color: #94a3b8; transition: color 0.2s; }
.footer-icp a:hover { color: #fff; }
.footer-public-security-link { display: inline-flex; align-items: center; gap: 0.3rem; }
.footer-public-security-link img { width: 18px; height: 20px; object-fit: contain; }
.footer-socials { display: flex; align-items: center; gap: 0.75rem; }
.footer-social {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #16233b;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400);
  transition: all 0.25s var(--ease);
}
.footer-social:hover { background: var(--grad-primary); color: #fff; transform: translateY(-2px); }
