:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-2: #0a0f17;
  --ink: #e9f1f4;
  --muted: #8b98a8;
  --line: rgba(255, 255, 255, 0.10);
  --panel: rgba(255, 255, 255, 0.04);
  --neon: #2fe6d0;
  --neon-2: #38b6ff;
  --gold: #e0a23a;
  --brand: #2fe6d0;
  --brand-strong: #2fe6d0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 12% -5%, rgba(47, 230, 208, 0.14), transparent 60%),
    radial-gradient(900px 520px at 92% 8%, rgba(56, 182, 255, 0.12), transparent 58%),
    radial-gradient(800px 500px at 70% 100%, rgba(224, 162, 58, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.68;
}

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

img {
  max-width: 100%;
}

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

main {
  flex: 1 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 16, 0.92);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #03110f;
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(47, 230, 208, 0.55);
  font-size: 12px;
  font-weight: 900;
}

.page-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.page-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease;
}

.page-nav a:hover,
.page-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(47, 230, 208, 0.12);
}

.nav-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #03110f;
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 0 24px rgba(47, 230, 208, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(47, 230, 208, 0.55);
}

/* ---- hero / 科技背景 ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 48px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(47, 230, 208, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 230, 208, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 30% 0%, #000 40%, transparent 80%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.5;
}

.hero-orbs span:nth-child(1) {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(47, 230, 208, 0.5), transparent 70%);
}

.hero-orbs span:nth-child(2) {
  width: 360px;
  height: 360px;
  right: -90px;
  top: -40px;
  background: radial-gradient(circle, rgba(56, 182, 255, 0.42), transparent 70%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--neon);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
}

h1 {
  max-width: 780px;
  margin: 14px 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  background: linear-gradient(120deg, #ffffff 0%, #b8f5ec 45%, var(--neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(47, 230, 208, 0.22);
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.section {
  position: relative;
  z-index: 1;
  padding: 34px 0 88px;
}

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

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

.card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 230, 208, 0.5);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 28px rgba(47, 230, 208, 0.16);
}

.card:hover::before {
  opacity: 1;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 10px;
  color: var(--neon);
  background: rgba(47, 230, 208, 0.1);
  border: 1px solid rgba(47, 230, 208, 0.35);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.card p,
.body-copy {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 9, 14, 0.86), rgba(7, 91, 96, 0.6)),
    url("/assets/images/home-enterprise-ai.jpg") center / cover;
  border-color: rgba(47, 230, 208, 0.35);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(47, 230, 208, 0.14);
}

.feature p {
  color: rgba(255, 255, 255, 0.82);
}

.price-tag {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 16px;
  padding: 0 13px;
  color: var(--neon);
  background: rgba(47, 230, 208, 0.1);
  border: 1px solid rgba(47, 230, 208, 0.45);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #03110f;
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  box-shadow: 0 0 28px rgba(47, 230, 208, 0.4);
}

.button-primary:hover {
  box-shadow: 0 0 44px rgba(47, 230, 208, 0.65);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  color: var(--neon);
  border-color: rgba(47, 230, 208, 0.5);
}

.button-demo {
  color: var(--neon);
  background: rgba(47, 230, 208, 0.08);
  border-color: rgba(47, 230, 208, 0.45);
}

.contact-hero {
  padding: 64px 0 48px;
}

.contact-hero .lead {
  margin-bottom: 4px;
}

.contact-hero .button-row {
  margin-top: 20px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
  margin-top: 28px;
}

.qr-card {
  text-align: center;
}

.qr-card .qr-frame {
  width: 188px;
  height: 188px;
  margin: 0 auto;
  padding: 10px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(47, 230, 208, 0.18);
}

.qr-card .qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-card strong {
  display: block;
  margin-top: 14px;
  font-size: 16px;
}

.qr-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 560px) {
  .qr-grid {
    grid-template-columns: 1fr;
  }
}

footer {
  position: relative;
  z-index: 1;
  padding: 36px 0;
  color: var(--muted);
  background: rgba(5, 8, 13, 0.6);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

footer a {
  color: var(--ink);
}

footer a:hover {
  color: var(--neon);
}

/* ---- 动效 ---- */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px; }
}

@keyframes blob {
  0% { transform: translate(0, 0); }
  50% { transform: translate(38px, 26px); }
  100% { transform: translate(0, 0); }
}

.page-hero .eyebrow { animation: rise 0.7s 0.05s both cubic-bezier(0.2, 0.7, 0.2, 1); }
.page-hero h1 { animation: rise 0.8s 0.12s both cubic-bezier(0.2, 0.7, 0.2, 1); }
.page-hero .lead { animation: rise 0.8s 0.22s both cubic-bezier(0.2, 0.7, 0.2, 1); }
.page-hero .price-tag { animation: rise 0.7s 0.3s both cubic-bezier(0.2, 0.7, 0.2, 1); }
.page-hero .button-row { animation: rise 0.8s 0.34s both cubic-bezier(0.2, 0.7, 0.2, 1); }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .page-nav {
    justify-self: stretch;
    flex-wrap: wrap;
    border-radius: 8px;
  }

  .grid,
  .grid-four {
    grid-template-columns: 1fr;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
