/*
  云策智能(济宁)有限公司静态站点样式
  目标：现代、清爽、响应式；无需构建工具
*/

:root {
  --bg: #0b1220;
  --bg2: #0a0f1a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted2: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  --brand: #7c5cff;
  --brand2: #2bd4ff;
  --ok: #24d18a;
  --warn: #ffcb6b;
  --radius: 16px;
  --radius2: 24px;
  --container: 1120px;
  --gap: 24px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei",
    "Noto Sans CJK SC", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg2);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: transparent;
  line-height: 1.55;
  position: relative;
}

/* 固定视口渐变层：不随文档高度拉伸，避免与 section 交替底色形成「横向接茬」 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(124, 92, 255, 0.35), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(43, 212, 255, 0.22), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  transform: translateZ(0);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #111;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 15, 26, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.25);
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}
.brand-name {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.15;
}
.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-icon {
  width: 16px;
  height: 10px;
  display: inline-block;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  position: relative;
}
.nav-toggle-icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
}
.nav-link.is-active {
  background: rgba(124, 92, 255, 0.18);
  color: rgba(255, 255, 255, 0.96);
}
.nav-cta {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(43, 212, 255, 0.85));
  color: #0a0f1a;
  font-weight: 700;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(124, 92, 255, 1), rgba(43, 212, 255, 0.95));
}

/* Hero */
.hero {
  padding: 56px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 14px;
  font-size: 13px;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #ffffff;
  animation: heroTitleColorPulse 3.2s ease-in-out infinite;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.hero-actions .btn {
  min-height: 56px;
  padding: 15px 24px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-actions .btn-primary {
  box-shadow: 0 18px 44px rgba(124, 92, 255, 0.34);
}

.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  border: none;
  color: #0a0f1a;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 14px 40px rgba(124, 92, 255, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(124, 92, 255, 1), rgba(43, 212, 255, 1));
}

.btn-ghost {
  background: transparent;
}

.hero-metrics {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.metric {
  padding: 12px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.metric dt {
  font-size: 12px;
  color: var(--muted2);
}
.metric dd {
  margin: 4px 0 0;
  font-weight: 700;
}

/* Glass card */
.hero-card {
  min-height: 360px;
}
.glass-card {
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.glass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}
.dots {
  display: inline-flex;
  gap: 6px;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.dots span:nth-child(1) {
  background: rgba(255, 99, 106, 0.8);
}
.dots span:nth-child(2) {
  background: rgba(255, 203, 107, 0.82);
}
.dots span:nth-child(3) {
  background: rgba(36, 209, 138, 0.82);
}
.glass-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.glass-body {
  padding: 14px;
}

.kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.kpi {
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.kpi-label {
  font-size: 12px;
  color: var(--muted2);
}
.kpi-value {
  margin-top: 6px;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 10px;
}
.timeline-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}
.timeline-badge {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.28);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}
.timeline-title {
  font-weight: 700;
}
.timeline-desc {
  font-size: 13px;
  color: var(--muted);
}
.mini-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(43, 212, 255, 0.92);
}
.mini-link:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 44px 0;
}
.section-muted {
  /* 轻微提亮：无顶底描边，避免与相邻 section 出现硬分界线 */
  background: rgba(255, 255, 255, 0.025);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 26px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.feature-card {
  border-radius: var(--radius2);
  padding: 18px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.feature-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius2);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}

.compare-table th {
  background: rgba(124, 92, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
}

.compare-table td:first-child {
  color: var(--muted);
  font-weight: 800;
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.checklist li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(36, 209, 138, 0.95);
  box-shadow: 0 0 0 3px rgba(36, 209, 138, 0.12);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #0a0f1a;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(43, 212, 255, 0.9));
}
.step-title {
  font-weight: 800;
}
.step-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.cta-row {
  margin-top: 16px;
}
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.14), rgba(43, 212, 255, 0.10));
}
.cta-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.cta-card p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 34px 0 70px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: var(--gap);
}
.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer-title {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
}
.footer-col a:hover {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.to-top:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    min-height: unset;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    right: 16px;
    left: 16px;
    top: 64px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(10, 15, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .nav-menu.is-open {
    display: flex;
  }
  .nav-link {
    padding: 12px 12px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Common */
.is-hidden {
  display: none !important;
}

/* Pricing */
.pricing-hero {
  padding: 36px 0 18px;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  margin: 0 0 18px;
}

.toggle-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.toggle-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
}
.toggle-btn.is-active {
  border-color: rgba(124, 92, 255, 0.55);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(43, 212, 255, 0.24));
}

.toggle-hint {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
}

.price-card {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.price-card.is-featured {
  border-color: rgba(124, 92, 255, 0.55);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(43, 212, 255, 0.10));
}

.price-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.price-plan {
  font-weight: 900;
  font-size: 18px;
}

.price-badge {
  font-size: 12px;
  color: rgba(10, 15, 26, 1);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(43, 212, 255, 0.9));
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 6px;
}

.price-amount {
  font-size: 34px;
  font-weight: 1000;
  letter-spacing: -0.6px;
}

.price-unit {
  color: var(--muted);
  font-weight: 800;
}

.price-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.price-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}
.price-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 3px;
  background: rgba(36, 209, 138, 0.9);
  box-shadow: 0 0 0 4px rgba(36, 209, 138, 0.10);
}

.price-actions {
  margin-top: auto;
  padding-top: 16px;
}

.price-actions .btn {
  width: 100%;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--gap);
  align-items: start;
}

.form {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.16);
  padding: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field label {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.input,
.select,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  padding: 11px 12px;
  outline: none;
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(124, 92, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.contact-card {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.contact-card .muted {
  margin-top: 8px;
}

/* Agent map */
.agent-map {
  width: 100%;
  height: clamp(360px, 58vh, 640px);
  border-radius: var(--radius2);
  border: none;
  background: transparent;
  overflow: hidden;
}

/* Home: 横幅（隐藏 banner 背景）+ w1–w4 飞入 */
.hero-banner {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.hero-banner-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  /* 背景图移除后需要自身撑高，否则绝对定位内容会让容器塌陷 */
  height: 570px;
  max-height: 570px;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
  /* Banner：静态纯色背景（去掉变幻/扫光/雾光动画） */
  /* background-color: #1a0f38; */
  animation: none;
  overflow: hidden;
  line-height: 0;
  isolation: isolate; /* 将混合效果限制在 banner 内，避免滚动时叠到下方内容 */
  contain: paint;
}

.hero-banner-viewport::before {
  content: "";
  position: absolute;
  left: -8%;
  top: 2%;
  width: 42%;
  height: 44%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62% 56% at 44% 50%, rgba(111, 76, 255, 0.34), rgba(111, 76, 255, 0) 72%),
    radial-gradient(56% 52% at 58% 46%, rgba(43, 212, 255, 0.26), rgba(43, 212, 255, 0) 74%);
  opacity: 0.52;
  filter: blur(6px) saturate(130%);
  mix-blend-mode: normal;
  transform-origin: 50% 50%;
  animation: heroSideGlowLeft 8.8s ease-in-out infinite;
}

.hero-banner-viewport::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 2%;
  width: 42%;
  height: 44%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62% 56% at 56% 50%, rgba(43, 212, 255, 0.32), rgba(43, 212, 255, 0) 72%),
    radial-gradient(56% 52% at 42% 46%, rgba(111, 76, 255, 0.24), rgba(111, 76, 255, 0) 74%);
  opacity: 0.5;
  filter: blur(6px) saturate(128%);
  mix-blend-mode: normal;
  transform-origin: 50% 50%;
  animation: heroSideGlowRight 9.6s ease-in-out infinite;
}

@keyframes heroSideGlowLeft {
  0% {
    opacity: 0.42;
    transform: translate3d(0, 0, 0) scale(0.98);
    filter: blur(6px) saturate(120%);
  }
  50% {
    opacity: 0.62;
    transform: translate3d(1.8%, -1.2%, 0) scale(1.05);
    filter: blur(7px) saturate(145%);
  }
  100% {
    opacity: 0.42;
    transform: translate3d(0, 0, 0) scale(0.98);
    filter: blur(6px) saturate(120%);
  }
}

@keyframes heroSideGlowRight {
  0% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(0.98);
    filter: blur(6px) saturate(118%);
  }
  50% {
    opacity: 0.6;
    transform: translate3d(-1.8%, -1.4%, 0) scale(1.05);
    filter: blur(7px) saturate(142%);
  }
  100% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(0.98);
    filter: blur(6px) saturate(118%);
  }
}

/* 泡泡粒子：像吹泡泡一样上浮 */
.hero-banner-bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: none; /* 先保留但隐藏 */
}

.hero-banner-bubbles span {
  position: absolute;
  bottom: -120px;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 62%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 0 26px rgba(178, 108, 255, 0.16),
    0 0 34px rgba(92, 128, 255, 0.14);
  opacity: 0.0;
  transform: translate3d(0, 0, 0) scale(0.6);
  animation: heroBubbleRise 10s linear infinite;
  filter: saturate(140%);
  mix-blend-mode: screen;
}

.hero-banner-bubbles span:nth-child(1) { left: 8%;  width: 16px; height: 16px; animation-duration: 9.5s; animation-delay: -1.2s; }
.hero-banner-bubbles span:nth-child(2) { left: 16%; width: 26px; height: 26px; animation-duration: 12s;  animation-delay: -6.8s; }
.hero-banner-bubbles span:nth-child(3) { left: 24%; width: 20px; height: 20px; animation-duration: 10.5s;animation-delay: -3.4s; }
.hero-banner-bubbles span:nth-child(4) { left: 33%; width: 34px; height: 34px; animation-duration: 13.5s;animation-delay: -9.6s; }
.hero-banner-bubbles span:nth-child(5) { left: 42%; width: 22px; height: 22px; animation-duration: 11.2s;animation-delay: -7.1s; }
.hero-banner-bubbles span:nth-child(6) { left: 50%; width: 44px; height: 44px; animation-duration: 15.5s;animation-delay: -11.3s; }
.hero-banner-bubbles span:nth-child(7) { left: 58%; width: 20px; height: 20px; animation-duration: 10.8s;animation-delay: -4.9s; }
.hero-banner-bubbles span:nth-child(8) { left: 66%; width: 28px; height: 28px; animation-duration: 12.8s;animation-delay: -8.2s; }
.hero-banner-bubbles span:nth-child(9) { left: 74%; width: 16px; height: 16px; animation-duration: 9.8s; animation-delay: -2.6s; }
.hero-banner-bubbles span:nth-child(10){ left: 82%; width: 38px; height: 38px; animation-duration: 14.2s;animation-delay: -10.2s; }
.hero-banner-bubbles span:nth-child(11){ left: 90%; width: 22px; height: 22px; animation-duration: 11.6s;animation-delay: -5.7s; }
.hero-banner-bubbles span:nth-child(12){ left: 95%; width: 14px;  height: 14px;  animation-duration: 9.2s; animation-delay: -7.9s; }

@keyframes heroBubbleRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.55);
  }
  8% {
    opacity: 0.55;
  }
  55% {
    opacity: 0.32;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -720px, 0) scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-bubbles {
    display: none;
  }
}

/* 星际“从远到近”曲速粒子（正面视角） */
.hero-banner-warp {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.62;
  mix-blend-mode: screen;
  filter: saturate(160%) contrast(110%);
}

/* 紧促感粒子（科技感表达）：HUD 网格 + 扫描线 + 能量环 + 稳定微粒（减少眼晕） */
.hero-banner-impulse {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.72;
  mix-blend-mode: screen;
  display: none; /* 先隐藏，避免与 warp 叠加太花 */
}

.hero-banner-impulse::before,
.hero-banner-impulse::after {
  content: "";
  position: absolute;
  inset: -16%;
  pointer-events: none;
  transform: translateZ(0);
}

/* 底层：微粒 + 柔和网格漂移 */
.hero-banner-impulse::before {
  background:
    /* 微粒（低闪烁、稳定） */
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px) 0 0 / 34px 34px,
    radial-gradient(circle, rgba(185, 120, 255, 0.12) 0 1px, transparent 2px) 10px 18px / 46px 46px,
    radial-gradient(circle, rgba(90, 140, 255, 0.10) 0 1px, transparent 2px) 18px 6px / 58px 58px,
    /* 细网格（科技 HUD） */
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(140, 120, 255, 0.05) 1px, transparent 1px) 0 0 / 64px 64px;
  filter: blur(0.25px) saturate(155%) contrast(108%);
  opacity: 0.80;
  animation: heroHudDrift 6.4s linear infinite, heroHudBreath 2.8s ease-in-out infinite;
}

/* 上层：扫描线 + 能量环（节奏感更紧促，但不刺眼） */
.hero-banner-impulse::after {
  background:
    /* 扫描线（垂向） */
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.00) 0px,
      rgba(255, 255, 255, 0.00) 7px,
      rgba(150, 120, 255, 0.08) 8px,
      rgba(150, 120, 255, 0.00) 10px
    ),
    /* 能量环（淡淡的脉冲） */
    radial-gradient(circle at 52% 44%, rgba(200, 140, 255, 0.20), rgba(200, 140, 255, 0.00) 58%),
    radial-gradient(circle at 45% 54%, rgba(90, 160, 255, 0.16), rgba(90, 160, 255, 0.00) 62%);
  filter: blur(0.85px) saturate(165%) contrast(110%);
  opacity: 0.55;
  animation: heroHudScan 2.4s linear infinite, heroHudPulse 3.0s ease-in-out infinite;
}

@keyframes heroHudDrift {
  0% { transform: translate3d(-1.6%, 1.2%, 0) scale(1); }
  100% { transform: translate3d(1.6%, -1.2%, 0) scale(1.01); }
}

@keyframes heroHudBreath {
  0% { opacity: 0.62; }
  50% { opacity: 0.86; }
  100% { opacity: 0.68; }
}

@keyframes heroHudScan {
  0% { transform: translate3d(0, -3.5%, 0); opacity: 0.40; }
  35% { opacity: 0.62; }
  100% { transform: translate3d(0, 3.5%, 0); opacity: 0.42; }
}

@keyframes heroHudPulse {
  0% { filter: blur(0.9px) saturate(155%) contrast(108%); }
  55% { filter: blur(0.75px) saturate(175%) contrast(112%); }
  100% { filter: blur(0.95px) saturate(160%) contrast(108%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-impulse {
    display: none;
  }
}

@keyframes heroBannerSolidBreath {
  0% {
    background-color: #1a0f38; /* 深紫 */
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
  }
  35% {
    background-color: #2d1a74; /* 紫更亮 */
    box-shadow: inset 0 0 160px rgba(178, 108, 255, 0.18);
  }
  70% {
    background-color: #0c1f4f; /* 深蓝 */
    box-shadow: inset 0 0 220px rgba(92, 128, 255, 0.16);
  }
  100% {
    background-color: #071a3f; /* 更深蓝 */
    box-shadow: inset 0 0 260px rgba(92, 128, 255, 0.14);
  }
}

@keyframes heroBannerCornerSweep {
  0% {
    opacity: 0.28;
    transform: translate3d(-10%, -10%, 0) scale(1.02);
    filter: saturate(120%) brightness(0.92);
  }
  55% {
    opacity: 0.78;
    transform: translate3d(2%, 2%, 0) scale(1.08);
    filter: saturate(150%) brightness(1.08);
  }
  100% {
    opacity: 0.62;
    transform: translate3d(12%, 12%, 0) scale(1.12);
    filter: saturate(145%) brightness(1.12);
  }
}

@keyframes heroBannerDreamMist {
  0% {
    opacity: 0.28;
    transform: translate3d(-5.5%, 4.5%, 0) scale(1.02) rotate(-8deg);
    filter: blur(1.5px) saturate(155%) brightness(0.98);
  }
  60% {
    opacity: 0.62;
    transform: translate3d(2.5%, -1.5%, 0) scale(1.06) rotate(6deg);
    filter: blur(1.1px) saturate(185%) brightness(1.08);
  }
  100% {
    opacity: 0.48;
    transform: translate3d(7.5%, -4.5%, 0) scale(1.10) rotate(14deg);
    filter: blur(0.8px) saturate(205%) brightness(1.14);
  }
}

.hero-banner-stack {
  position: absolute;
  inset: 0;
  padding: 0 clamp(20px, 3.4vw, 46px);
  z-index: 1;
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
  pointer-events: auto;
}

/* 横幅中间文案：飞入后定格 */
.hero-banner-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(14px, 3.5vw, 32px) clamp(16px, 4vw, 40px);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.98);
  transform: translateZ(0);
}

.hero-banner-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(14px, 2.8vw, 26px);
  opacity: 0;
  animation: heroTextInTop 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-banner-brand-mark {
  width: clamp(34px, 6vw, 52px);
  height: clamp(34px, 6vw, 52px);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.hero-banner-brand-name {
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-banner-heading {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.2vw, 12px);
  margin-bottom: clamp(14px, 2.6vw, 22px);
  opacity: 0;
  animation: heroTextInBottom 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.hero-banner-title-cn {
  font-size: clamp(1.55rem, 4.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-banner-title-en {
  font-size: clamp(1.05rem, 2.85vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-banner-tagline {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vw, 8px);
  opacity: 0;
  animation: heroTextInBottom 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.hero-banner-tag-cn {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-banner-tag-en {
  font-size: clamp(0.78rem, 1.55vw, 0.98rem);
  font-weight: 520;
  opacity: 0.95;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

@keyframes heroTextInTop {
  0% {
    opacity: 0;
    transform: translateY(-40px);
    filter: blur(0.35rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroTextInBottom {
  0% {
    opacity: 0;
    transform: translateY(44px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Hover: “挤压错位/抗拒触碰” 只在悬停 w1~w4 时触发 */
.hero-banner-fly {
  pointer-events: auto;
  cursor: default;
  transition: transform 160ms ease, filter 160ms ease;
}

.hero-banner-fly:hover {
  filter: blur(0.4px)
    drop-shadow(0 18px 42px rgba(0, 0, 0, 0.5))
    drop-shadow(calc(var(--trail-x, 1) * 16px) calc(var(--trail-y, 0) * 16px) 0 rgba(255, 255, 255, 0.14))
    drop-shadow(calc(var(--trail-x, 1) * 10px) calc(var(--trail-y, 0) * 10px) 0 rgba(43, 212, 255, 0.12))
    drop-shadow(calc(var(--trail-x, 1) * 6px) calc(var(--trail-y, 0) * 6px) 0 rgba(124, 92, 255, 0.10));
}

.hero-banner-fly--1:hover {
  transform: translate3d(18px, -6px, 0) skewX(2deg) rotate(1deg);
}
.hero-banner-fly--2:hover {
  transform: translate3d(-18px, 6px, 0) skewX(-2deg) rotate(-1deg);
}
.hero-banner-fly--3:hover {
  transform: translate3d(8px, 16px, 0) skewY(1.8deg) rotate(0.6deg);
}
.hero-banner-fly--4:hover {
  transform: translate3d(-8px, -16px, 0) skewY(-1.8deg) rotate(-0.6deg);
}

.hero-banner-fly {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
  max-width: 100%;
  max-height: 100%;
  width: min(100%, 1180px);
  height: auto;
  object-fit: contain;
  opacity: 0;
  display: block;
  /* base depth */
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  /* 先飞入一次，再进入轻微漂浮 */
  animation-duration: 1.1s, 4.6s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  /* 第 2 段漂浮不要 backwards fill，否则会覆盖飞入的 transform */
  animation-fill-mode: forwards, none;
  animation-direction: normal, alternate;
  transform-origin: center center;
}

/* 让四张图“错位”而不是纵向堆叠，保证 570px 内都能显示全 */
.hero-banner-fly--1 .hero-banner-fly-img { transform: translateY(-54px); }
.hero-banner-fly--2 .hero-banner-fly-img { transform: translateY(-18px); }
.hero-banner-fly--3 .hero-banner-fly-img { transform: translateY(18px); }
.hero-banner-fly--4 .hero-banner-fly-img { transform: translateY(54px); }

/* w2/w3 层改成文案展示 */
.hero-banner-fly-text {
  display: inline-block;
  max-width: min(82vw, 920px);
  padding: 6px 10px;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.8px;
  color: #ffffff;
  text-align: center;
  text-shadow:
    0 6px 18px rgba(0, 0, 0, 0.52),
    0 0 16px rgba(255, 255, 255, 0.16);
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: heroBannerTextColorShift 5.2s ease-in-out infinite;
}

/* 确保包裹内图片始终按容器完整显示，避免首屏左右裁切 */
.hero-banner-fly > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.hero-banner-fly > .hero-banner-fly-text {
  margin: 0 auto;
}

.hero-banner-fly--2,
.hero-banner-fly--3 {
  /* 文案层使用独立动画，避免重叠 */
  opacity: 0;
  width: auto;
  max-width: min(92vw, 1120px);
  filter: none;
}

.hero-banner-fly--2 {
  animation-name: heroFlyText2, heroFloatText2;
  animation-delay: 1s, 2.1s;
  --trail-x: -1;
  --trail-y: 0;
}

.hero-banner-fly--3 {
  animation-name: heroFlyText3, heroFloatText3;
  animation-delay: 2s, 3.1s;
  --trail-x: 0;
  --trail-y: -1;
}

.hero-banner-fly--2:hover,
.hero-banner-fly--3:hover {
  transform: none;
}

.hero-banner-fly-text--en {
  font-size: clamp(22px, 2.8vw, 40px);
  letter-spacing: 0.2px;
  font-weight: 700;
  background: transparent;
  border: none;
  animation-duration: 6.2s;
}

.hero-banner-fly--1 {
  animation-name: heroFlyFromRight, heroFloat;
  animation-delay: 0s, 1.1s;
  --trail-x: 1;
  --trail-y: 0;
}

.hero-banner-fly--4 {
  animation-name: heroFlyFromBottom, heroFloat;
  animation-delay: 3s, 4.1s;
  --trail-x: 0;
  --trail-y: 1;
}

@keyframes heroFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-30px);
  }
}

@keyframes heroFlyText2 {
  0% {
    opacity: 0;
    transform: translateX(-120%) translateY(-40px) scale(0.88);
    filter: blur(8px) drop-shadow(0 16px 34px rgba(0, 0, 0, 0.35));
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(-40px) scale(1);
    filter: none;
  }
}

@keyframes heroFloatText2 {
  0% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(-56px);
  }
}

@keyframes heroFlyText3 {
  0% {
    opacity: 0;
    transform: translateY(-120%) scale(0.9);
    filter: blur(8px) drop-shadow(0 16px 34px rgba(0, 0, 0, 0.35));
  }
  100% {
    opacity: 1;
    transform: translateY(52px) scale(1);
    filter: none;
  }
}

@keyframes heroFloatText3 {
  0% {
    transform: translateY(52px);
  }
  100% {
    transform: translateY(36px);
  }
}

@keyframes heroBannerTextColorShift {
  0% {
    color: #ffffff;
    text-shadow:
      0 6px 18px rgba(0, 0, 0, 0.52),
      0 0 16px rgba(255, 255, 255, 0.16);
  }
  33% {
    color: #2ee0ff;
    text-shadow:
      0 6px 18px rgba(0, 0, 0, 0.52),
      0 0 24px rgba(46, 224, 255, 0.5);
  }
  66% {
    color: #b85cff;
    text-shadow:
      0 6px 18px rgba(0, 0, 0, 0.52),
      0 0 24px rgba(184, 92, 255, 0.5);
  }
  100% {
    color: #ffffff;
    text-shadow:
      0 6px 18px rgba(0, 0, 0, 0.52),
      0 0 16px rgba(255, 255, 255, 0.16);
  }
}

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

@keyframes heroTitleColorPulse {
  0% {
    color: #ffffff;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  33% {
    color: #8bd8ff;
    text-shadow: 0 0 12px rgba(139, 216, 255, 0.35);
  }
  66% {
    color: #d8b3ff;
    text-shadow: 0 0 12px rgba(216, 179, 255, 0.35);
  }
  100% {
    color: #ffffff;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes heroW2HueShift {
  0% {
    filter:
      hue-rotate(0deg)
      brightness(1.02)
      drop-shadow(0 0 12px rgba(255, 255, 255, 0.22))
      drop-shadow(0 0 22px rgba(120, 210, 255, 0.36));
  }
  33% {
    filter:
      hue-rotate(35deg)
      brightness(1.08)
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.26))
      drop-shadow(0 0 28px rgba(70, 210, 255, 0.58));
  }
  66% {
    filter:
      hue-rotate(85deg)
      brightness(1.08)
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.26))
      drop-shadow(0 0 28px rgba(190, 120, 255, 0.6));
  }
  100% {
    filter:
      hue-rotate(0deg)
      brightness(1.02)
      drop-shadow(0 0 12px rgba(255, 255, 255, 0.22))
      drop-shadow(0 0 22px rgba(120, 210, 255, 0.36));
  }
}

@keyframes heroFlyFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-120%) rotate(-6deg) scale(0.86);
    filter: blur(10px)
      drop-shadow(calc(var(--trail-x, 1) * 42px) calc(var(--trail-y, 0) * 42px) 0 rgba(255, 255, 255, 0.16))
      drop-shadow(calc(var(--trail-x, 1) * 26px) calc(var(--trail-y, 0) * 26px) 0 rgba(43, 212, 255, 0.12))
      drop-shadow(calc(var(--trail-x, 1) * 14px) calc(var(--trail-y, 0) * 14px) 0 rgba(124, 92, 255, 0.10))
      drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
  }
  18% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1.02);
    filter: blur(2px)
      drop-shadow(calc(var(--trail-x, 1) * 18px) calc(var(--trail-y, 0) * 18px) 0 rgba(255, 255, 255, 0.10))
      drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
  }
  34% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  }
}

@keyframes heroFlyFromRight {
  0% {
    opacity: 0;
    transform: translateX(120%) rotate(6deg) scale(0.86);
    filter: blur(10px)
      drop-shadow(calc(var(--trail-x, 1) * 42px) calc(var(--trail-y, 0) * 42px) 0 rgba(255, 255, 255, 0.16))
      drop-shadow(calc(var(--trail-x, 1) * 26px) calc(var(--trail-y, 0) * 26px) 0 rgba(43, 212, 255, 0.12))
      drop-shadow(calc(var(--trail-x, 1) * 14px) calc(var(--trail-y, 0) * 14px) 0 rgba(124, 92, 255, 0.10))
      drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
  }
  18% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1.02);
    filter: blur(2px)
      drop-shadow(calc(var(--trail-x, 1) * 18px) calc(var(--trail-y, 0) * 18px) 0 rgba(255, 255, 255, 0.10))
      drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
  }
  34% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  }
}

@keyframes heroFlyFromBottom {
  0% {
    opacity: 0;
    transform: translateY(105%) scale(0.88);
    filter: blur(10px)
      drop-shadow(calc(var(--trail-x, 0) * 42px) calc(var(--trail-y, 1) * 42px) 0 rgba(255, 255, 255, 0.16))
      drop-shadow(calc(var(--trail-x, 0) * 26px) calc(var(--trail-y, 1) * 26px) 0 rgba(43, 212, 255, 0.12))
      drop-shadow(calc(var(--trail-x, 0) * 14px) calc(var(--trail-y, 1) * 14px) 0 rgba(124, 92, 255, 0.10))
      drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
  }
  18% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    filter: blur(2px)
      drop-shadow(calc(var(--trail-x, 0) * 18px) calc(var(--trail-y, 1) * 18px) 0 rgba(255, 255, 255, 0.10))
      drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
  }
  34% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  }
}

@keyframes heroFlyFromTop {
  0% {
    opacity: 0;
    transform: translateY(-105%) scale(0.86);
    filter: blur(10px)
      drop-shadow(calc(var(--trail-x, 0) * 42px) calc(var(--trail-y, 1) * 42px) 0 rgba(255, 255, 255, 0.16))
      drop-shadow(calc(var(--trail-x, 0) * 26px) calc(var(--trail-y, 1) * 26px) 0 rgba(43, 212, 255, 0.12))
      drop-shadow(calc(var(--trail-x, 0) * 14px) calc(var(--trail-y, 1) * 14px) 0 rgba(124, 92, 255, 0.10))
      drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
  }
  18% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    filter: blur(2px)
      drop-shadow(calc(var(--trail-x, 0) * 18px) calc(var(--trail-y, 1) * 18px) 0 rgba(255, 255, 255, 0.10))
      drop-shadow(0 18px 40px rgba(0, 0, 0, 0.42));
  }
  34% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 92, 255, 0.12));
  }
}

@media (max-width: 720px) {
  .hero-banner-viewport {
    height: auto;
    max-height: none;
    min-height: 350px;
  }

  .hero-banner-stack {
    display: none;
  }

  .hero-banner-text {
    display: flex;
    justify-content: center;
    padding: 28px 20px 24px;
    animation: heroMobileBannerFloat 5.8s ease-in-out 1.1s infinite alternate;
    will-change: transform;
  }

  .hero-banner-brand {
    margin-bottom: 18px;
  }

  .hero-banner-brand-name {
    animation: heroBannerTextColorShift 5.8s ease-in-out 0.3s infinite;
  }

  .hero-banner-heading {
    gap: 14px;
    margin-bottom: 28px;
  }

  .hero-banner-title-cn {
    font-size: clamp(1.72rem, 7.4vw, 2.12rem);
    line-height: 1.18;
    letter-spacing: 0.02em;
    animation: heroBannerTextColorShift 5s ease-in-out 0.6s infinite;
  }

  .hero-banner-title-en {
    font-size: clamp(1.3rem, 5.4vw, 1.6rem);
    line-height: 1.34;
    animation: heroBannerTextColorShift 6.4s ease-in-out 1s infinite;
  }

  .hero-banner-tag-cn {
    font-size: 0.92rem;
    line-height: 1.58;
    letter-spacing: 0.04em;
    animation: heroBannerTextColorShift 6.8s ease-in-out 1.3s infinite;
  }

  .hero-banner-tag-en {
    font-size: 0.74rem;
    line-height: 1.62;
    animation: heroBannerTextColorShift 7.4s ease-in-out 1.5s infinite;
  }

  .hero-banner-tagline {
    gap: 12px;
  }

  .hero-banner-fly {
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
  }
}

/* Extra Responsive */
@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .toggle-hint {
    white-space: normal;
  }
}

/* Ensure CSS variables are defined even if the earlier ::root rule is ignored */
:root {
  --bg: #0b1220;
  --bg2: #0a0f1a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted2: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  --brand: #7c5cff;
  --brand2: #2bd4ff;
  --ok: #24d18a;
  --warn: #ffcb6b;
  --radius: 16px;
  --radius2: 24px;
  --container: 1120px;
  --gap: 24px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei",
    "Noto Sans CJK SC", Arial, sans-serif;
}
