:root {
  color-scheme: dark;
  --bg: #04060d;
  --bg-soft: #07101f;
  --panel: rgba(10, 18, 34, 0.72);
  --panel-strong: rgba(10, 20, 38, 0.92);
  --line: rgba(113, 211, 255, 0.22);
  --line-hot: rgba(158, 99, 255, 0.42);
  --text: #f4f8ff;
  --muted: #9db2cf;
  --blue: #33d8ff;
  --violet: #8b5cff;
  --mint: #41f6bf;
  --amber: #ffb84d;
  --danger: #ff4f8b;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(51, 216, 255, 0.08), transparent 24%),
    linear-gradient(300deg, rgba(139, 92, 255, 0.1), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 82px),
    var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0 38%, rgba(51, 216, 255, 0.08) 39%, transparent 42%),
    linear-gradient(104deg, transparent 0 54%, rgba(139, 92, 255, 0.08) 55%, transparent 58%);
  opacity: 0.9;
  z-index: -2;
}

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

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

.page-shell {
  position: relative;
  min-height: 100vh;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(91, 210, 255, 0.16);
  background: rgba(4, 6, 13, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 22px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 18px rgba(51, 216, 255, 0.55));
}

.brand-name {
  display: grid;
  gap: 0;
  line-height: 1.12;
}

.brand-name strong {
  font-size: 1.05rem;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 9px 12px;
  color: #c8d8ee;
  font-size: 0.94rem;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(51, 216, 255, 0.1);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 24px rgba(51, 216, 255, 0.18);
}

.btn-primary {
  background: linear-gradient(100deg, #16cfff, #6c5cff 54%, #c653ff);
  animation: pulseGlow 3s ease-in-out infinite;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px -80%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: translateX(-35%) skewX(-16deg);
  animation: arcSweep 4s ease-in-out infinite;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(51, 216, 255, 0.32), 0 0 42px rgba(139, 92, 255, 0.2);
}

.hero {
  position: relative;
  padding: 88px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 0.86rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 3.35rem;
  line-height: 1.08;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.2rem;
  line-height: 1.22;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.35;
}

.lead {
  max-width: 720px;
  color: #c6d5ec;
  font-size: 1.08rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.stat {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(87, 216, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 17, 31, 0.58);
  box-shadow: inset 0 0 28px rgba(51, 216, 255, 0.045);
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.visual-card {
  position: relative;
  border: 1px solid rgba(91, 210, 255, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 34, 60, 0.74), rgba(5, 9, 18, 0.92));
  box-shadow: var(--shadow), inset 0 0 48px rgba(92, 119, 255, 0.08);
  overflow: hidden;
}

.visual-card::before,
.visual-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.visual-card::before {
  inset: 0;
  background: linear-gradient(112deg, transparent 18%, rgba(51, 216, 255, 0.18) 19%, transparent 25%, transparent 62%, rgba(139, 92, 255, 0.16) 63%, transparent 69%);
  mix-blend-mode: screen;
}

.visual-card::after {
  left: -35%;
  right: -35%;
  top: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: rotate(-12deg);
  animation: trailSlide 3.8s ease-in-out infinite;
}

.visual-card img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.section {
  padding: 76px 0;
}

.section-alt {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 13, 25, 0.52);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
}

.grid-3,
.grid-2,
.article-grid {
  display: grid;
  gap: 18px;
}

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

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

.feature-card,
.info-card,
.article-card,
.faq-item,
.contact-card,
.step-card {
  position: relative;
  border: 1px solid rgba(99, 210, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(17, 29, 51, 0.76), rgba(5, 9, 18, 0.72));
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 30px rgba(51, 216, 255, 0.035);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card,
.info-card,
.contact-card,
.step-card {
  padding: 22px;
}

.feature-card::before,
.info-card::before,
.article-card::before,
.faq-item::before,
.contact-card::before,
.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(51, 216, 255, 0.12), transparent 32%, rgba(139, 92, 255, 0.12));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.feature-card:hover,
.info-card:hover,
.article-card:hover,
.faq-item:hover,
.contact-card:hover,
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 222, 255, 0.48);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34), 0 0 38px rgba(51, 216, 255, 0.12);
}

.feature-card:hover::before,
.info-card:hover::before,
.article-card:hover::before,
.faq-item:hover::before,
.contact-card:hover::before,
.step-card:hover::before {
  opacity: 1;
}

.icon-chip {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(65, 246, 191, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(51, 216, 255, 0.16), rgba(139, 92, 255, 0.16));
  color: var(--mint);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(65, 246, 191, 0.12);
}

.feature-card p,
.info-card p,
.article-card p,
.faq-item p,
.contact-card p,
.step-card p {
  color: var(--muted);
}

.image-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 34px;
}

.image-frame {
  border: 1px solid rgba(91, 210, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.list-check {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  color: #cbd9ef;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

.page-hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(110deg, rgba(51, 216, 255, 0.1), transparent 34%, rgba(139, 92, 255, 0.1));
}

.page-hero .lead {
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: #dceaff;
}

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

.article-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-body {
  padding: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(65, 246, 191, 0.22);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.78rem;
  background: rgba(65, 246, 191, 0.06);
}

.steps {
  counter-reset: step;
}

.step-card {
  counter-increment: step;
}

.step-card .icon-chip::before {
  content: counter(step, decimal-leading-zero);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px;
}

.faq-item h2,
.faq-item h3 {
  font-size: 1.08rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #d6e6ff;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(99, 210, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(3, 8, 18, 0.8);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(51, 216, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(51, 216, 255, 0.12);
}

.cta-band {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(91, 210, 255, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(15, 29, 54, 0.92), rgba(9, 12, 24, 0.92)),
    linear-gradient(90deg, rgba(51, 216, 255, 0.12), rgba(139, 92, 255, 0.12));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -15% 24px -15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51, 216, 255, 0.8), rgba(139, 92, 255, 0.8), transparent);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 4, 10, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: #c7d8f0;
}

.copyright {
  margin: 18px 0 0;
  color: var(--muted);
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.redirect-panel {
  width: min(560px, 100%);
  padding: 32px;
  border: 1px solid rgba(91, 210, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 14, 28, 0.86);
  text-align: center;
  box-shadow: var(--shadow), 0 0 40px rgba(51, 216, 255, 0.1);
}

.redirect-panel .brand {
  justify-content: center;
  margin: 0 auto 18px;
}

.countdown {
  color: var(--mint);
  font-weight: 800;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(51, 216, 255, 0.2), 0 0 30px rgba(139, 92, 255, 0.12);
  }
  50% {
    box-shadow: 0 0 34px rgba(51, 216, 255, 0.36), 0 0 52px rgba(139, 92, 255, 0.22);
  }
}

@keyframes arcSweep {
  0%,
  62% {
    transform: translateX(-55%) skewX(-16deg);
    opacity: 0;
  }
  76% {
    opacity: 0.82;
  }
  100% {
    transform: translateX(85%) skewX(-16deg);
    opacity: 0;
  }
}

@keyframes trailSlide {
  0%,
  100% {
    transform: translateX(-8%) rotate(-12deg);
    opacity: 0.2;
  }
  45% {
    transform: translateX(8%) rotate(-12deg);
    opacity: 0.86;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 68px;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(99, 210, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(5, 10, 20, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-grid,
  .image-band,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .grid-3,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand-name span {
    display: none;
  }

  .nav-actions .btn {
    padding: 10px 13px;
    min-height: 40px;
  }

  .hero {
    padding: 44px 0 42px;
  }

  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-stats,
  .grid-3,
  .grid-2,
  .article-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 54px 0;
  }

  .page-hero {
    padding: 50px 0 34px;
  }

  .cta-band,
  .redirect-panel {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
