:root {
  --bg: #05060a;
  --bg-soft: #0b0d16;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef1f7;
  --muted: #9aa3b6;
  --brand: #6ea8ff;
  --brand-2: #b78bff;
  --accent: #34e0c4;
  --maxw: 1160px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===================== 阅读进度条 ===================== */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: transparent; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
  transition: width .12s linear;
}

/* ===================== 加载动画 ===================== */
.loader {
  position: fixed; inset: 0; z-index: 900;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: radial-gradient(circle at 50% 40%, #11131f, #05060a 70%);
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .12);
  border-top-color: var(--brand);
  animation: spin 1s linear infinite;
}
.loader__brand { letter-spacing: .35em; font-weight: 700; font-size: 14px; color: var(--muted); }
.loader__bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loader__bar span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  animation: load 1.2s var(--ease) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ===================== 导航 ===================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(18px, 4vw, 40px) 14px;
  background: rgba(5, 6, 10, .6);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.nav__logo { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: .14em; font-size: 16px; }
.nav__logo span { color: var(--brand); }
.nav__mark {
  width: 16px; height: 16px; border-radius: 4px;
  background: conic-gradient(from 180deg, var(--brand), var(--brand-2), var(--accent), var(--brand));
}
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 14px; position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--brand); transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background .2s;
}
.lang:hover { border-color: var(--brand); background: var(--panel-2); }
.nav__cta { font-size: 14px; padding: 9px 18px; }

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; border-radius: 999px; padding: 13px 24px;
  cursor: pointer; border: 1px solid transparent; -webkit-appearance: none; appearance: none;
  transition: transform .15s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn--solid { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #06070d; box-shadow: 0 10px 30px -10px rgba(110, 168, 255, .6); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(110, 168, 255, .7); }
.btn--ghost { background: var(--panel); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); background: var(--panel-2); }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center;
  padding: 90px clamp(18px, 4vw, 40px) calc(60px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__scene {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .85; transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero.is-in .hero__scene { transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(5, 6, 10, .35), rgba(5, 6, 10, .78) 70%, rgba(5, 6, 10, .92)),
    linear-gradient(180deg, rgba(5, 6, 10, .55) 0%, rgba(5, 6, 10, .25) 40%, rgba(5, 6, 10, .85) 100%);
}
.hero__grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  opacity: .6;
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hero__glow--a { width: 50vw; height: 50vw; top: -10%; left: -10%; background: radial-gradient(circle, rgba(110, 168, 255, .5), transparent 70%); }
.hero__glow--b { width: 45vw; height: 45vw; bottom: -15%; right: -10%; background: radial-gradient(circle, rgba(183, 139, 255, .45), transparent 70%); }
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero__eyebrow { color: var(--brand); letter-spacing: .25em; text-transform: uppercase; font-size: 12px; margin-bottom: 18px; }
.hero__title { font-size: clamp(42px, 8vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -1px; }
.hero__title .grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2) 50%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 22px; max-width: 46ch; color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); }
.hero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { margin-top: 40px; display: flex; gap: clamp(20px, 5vw, 48px); list-style: none; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-size: clamp(22px, 4vw, 30px); font-weight: 800; }
.hero__stats span { color: var(--muted); font-size: 13px; }
.hero__device { position: relative; z-index: 1; display: none; }
.hero__img { width: 100%; border-radius: 24px; }
.hero__img-glow { position: absolute; inset: -20% -10%; background: radial-gradient(circle, rgba(110, 168, 255, .35), transparent 65%); filter: blur(60px); z-index: -1; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3;
  color: var(--muted); font-size: 12px; letter-spacing: .1em;
}
.scroll-cue__arrow { width: 18px; height: 28px; border: 2px solid var(--line); border-radius: 12px; position: relative; }
.scroll-cue__arrow::after {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 6px; border-radius: 4px; background: var(--brand); animation: bob 1.6s var(--ease) infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); opacity: 1; } 50% { transform: translate(-50%, 8px); opacity: .3; } }

/* ===================== 通用区块 ===================== */
.section { padding: clamp(70px, 12vw, 130px) clamp(18px, 4vw, 40px); position: relative; }
.section--alt { background: var(--bg-soft); }
.section__head { max-width: var(--maxw); margin: 0 auto clamp(36px, 6vw, 64px); text-align: center; }
.kicker { color: var(--brand); letter-spacing: .25em; text-transform: uppercase; font-size: 12px; margin-bottom: 14px; }
.section__head h2 { font-size: clamp(28px, 5vw, 46px); font-weight: 800; letter-spacing: -.5px; }
.lead { margin-top: 16px; color: var(--muted); max-width: 52ch; margin-inline: auto; }

/* ===================== 产品卡片 ===================== */
.cards { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: transform .3s var(--ease), border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(110, 168, 255, .4); background: var(--panel-2); }
.card--hl { border-color: rgba(110, 168, 255, .35); box-shadow: 0 0 0 1px rgba(110, 168, 255, .15) inset; }
.card__art { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0e1018; margin-bottom: 16px; }
.card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__art img { transform: scale(1.06); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card__tags { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.card__tags li { font-size: 12px; color: var(--brand); border: 1px solid rgba(110, 168, 255, .3); border-radius: 999px; padding: 4px 10px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===================== 应用场景 ===================== */
.scenes { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scene {
  position: relative; min-height: 200px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
  background-size: cover; background-position: center; border: 1px solid var(--line);
  transition: transform .35s var(--ease);
}
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 6, 10, .85)); z-index: 0; }
.scene:hover { transform: translateY(-5px); }
.scene__n { position: absolute; top: 14px; left: 16px; z-index: 1; font-size: 13px; color: var(--muted); letter-spacing: .2em; }
.scene figcaption { position: relative; z-index: 1; font-weight: 700; font-size: 17px; }
.scene__explore { position: relative; z-index: 1; margin-top: 6px; color: var(--brand); font-size: 13px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.scene:hover .scene__explore { opacity: 1; transform: none; }
@media (hover: none) {
  .scene__explore { opacity: 1; transform: none; }
}

/* ===================== 表单 ===================== */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.field input, .field select {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); background: var(--panel-2); }
.form__submit { margin-top: 6px; justify-self: start; }
.form__hint { font-size: 13px; min-height: 1.2em; }
.form__hint.ok { color: var(--accent); }
.form__hint.err { color: #ff7b8a; }

/* ===================== FAQ ===================== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 4px 18px; transition: border-color .2s; }
.qa[open] { border-color: rgba(110, 168, 255, .4); }
.qa summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--brand); font-size: 20px; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 16px; color: var(--muted); font-size: 14px; }

/* ===================== 粘性预约条 ===================== */
.sticky-cta {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%);
  z-index: 150; display: flex; align-items: center; gap: 16px;
  padding: 12px 14px 12px 22px; border-radius: 999px;
  background: rgba(11, 13, 22, .82); -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease);
}
.sticky-cta.is-show { transform: translate(-50%, 0); }
.sticky-cta__txt { font-size: 14px; color: var(--text); }
.sticky-cta__x { background: none; border: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.sticky-cta__x:hover { color: var(--text); }

/* ===================== 预约弹窗（温和） ===================== */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(3, 4, 8, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s var(--ease); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__dialog {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -46%);
  width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 30px 28px calc(24px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(20, 24, 34, .98), rgba(12, 14, 22, .98));
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55); text-align: center;
  opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.modal.is-open .modal__dialog { opacity: 1; transform: translate(-50%, -50%); }
.modal__close {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px;
  background: none; border: none; color: var(--muted); font-size: 26px; line-height: 1;
  cursor: pointer; border-radius: 50%; transition: background .2s, color .2s;
}
.modal__close:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.modal__kicker { color: var(--brand); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.modal__title { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.modal__sub { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.modal__form { display: flex; gap: 10px; }
.modal__input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  color: var(--text); font-size: 16px; outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s;
}
.modal__input:focus { border-color: var(--brand); }
.modal__input::placeholder { color: rgba(255, 255, 255, .35); }
.modal__submit { white-space: nowrap; padding-inline: 18px; }
.modal__hint { font-size: 13px; min-height: 18px; margin: 12px 0 0; }
.modal__hint.ok { color: #5fd08a; }
.modal__hint.err { color: #ff7a7a; }
.modal__trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.modal__trust li { color: var(--muted); font-size: 12px; position: relative; padding-left: 16px; }
.modal__trust li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
@media (max-width: 460px) {
  .modal__form { flex-direction: column; }
  .modal__submit { width: 100%; }
}

/* ===================== 页脚 ===================== */
.foot { padding: 50px clamp(18px, 4vw, 40px); border-top: 1px solid var(--line); text-align: center; }
.foot__brand { font-weight: 800; letter-spacing: .14em; margin-bottom: 10px; }
.foot__brand span { color: var(--brand); }
.foot__copy { color: var(--muted); font-size: 13px; }

/* ===================== 响应式 ===================== */
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .hero__device { display: block; }
}
@media (max-width: 860px) {
  .cards, .features, .scenes { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .sticky-cta__txt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
