/* ===========================================================
   空马变身器 · 苹果风样式（高级感粉紫 · 动态渐变）
   主色：兰花紫 #E879F9 / 品牌紫 #A855F7 / 玫粉 #EC4899
   =========================================================== */
:root {
  --bg: #0b0612;
  --bg-2: #0f0918;
  --bg-card: rgba(255, 255, 255, 0.045);
  --ink: #f6f3fb;
  --muted: #bcb2cf;
  --muted-2: #8a8199;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.07);
  --accent: #e879f9;        /* 兰花紫 · 小点 / kicker / 描边 */
  --accent-press: #d946ef;
  --accent-2: #a855f7;      /* 品牌紫 */
  --accent-grad: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --accent-ink: #ffffff;    /* 渐变按钮上的文字 */
  --accent-glow: rgba(232, 121, 249, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1080px;
  --nav-h: 52px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- 动态粉紫渐变背景（aurora / mesh） ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* 深色底 + 顶部微光，作为渐变的承托 */
  background:
    radial-gradient(125% 120% at 50% -10%, #241036 0%, #14091f 46%, #0b0612 74%, #07040c 100%);
  animation: auroraHue 46s ease-in-out infinite alternate;
}
.aurora-layer {
  position: absolute;
  inset: -28%;
  will-change: transform;
  filter: blur(64px) saturate(135%);
}
.aurora .a1 {
  background:
    radial-gradient(38% 44% at 22% 28%, rgba(236, 72, 153, 0.46), transparent 62%),
    radial-gradient(42% 48% at 80% 20%, rgba(139, 92, 246, 0.44), transparent 64%),
    radial-gradient(46% 50% at 68% 80%, rgba(168, 85, 247, 0.40), transparent 66%);
  animation: auroraA 26s ease-in-out infinite alternate;
}
.aurora .a2 {
  background:
    radial-gradient(40% 46% at 82% 70%, rgba(217, 70, 239, 0.38), transparent 64%),
    radial-gradient(44% 50% at 24% 82%, rgba(124, 58, 237, 0.34), transparent 66%),
    radial-gradient(38% 42% at 48% 48%, rgba(244, 114, 182, 0.26), transparent 62%);
  mix-blend-mode: screen;
  animation: auroraB 34s ease-in-out infinite alternate;
}
/* 细腻噪点，增加高级质感、消除色带 */
.aurora-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes auroraA {
  0%   { transform: translate3d(-4%, -2%, 0) scale(1.04) rotate(0deg); }
  100% { transform: translate3d(5%, 4%, 0) scale(1.18) rotate(7deg); }
}
@keyframes auroraB {
  0%   { transform: translate3d(4%, 3%, 0) scale(1.12) rotate(0deg); }
  100% { transform: translate3d(-5%, -3%, 0) scale(1) rotate(-9deg); }
}
@keyframes auroraHue {
  0%   { filter: hue-rotate(-12deg); }
  100% { filter: hue-rotate(14deg); }
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(13, 7, 22, 0.55);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(13, 7, 22, 0.82);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { width: 22px; height: 22px; object-fit: contain; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }
.brand-name .thin { color: var(--muted); font-weight: 400; margin-left: 1px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-grad);
  padding: 7px 15px;
  border-radius: 980px;
  box-shadow: 0 6px 18px -6px var(--accent-glow);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---------- 通用按钮 ---------- */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 980px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--accent-grad);
  color: var(--accent-ink);
  box-shadow: 0 12px 30px -10px var(--accent-glow);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.35); }
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
}
.btn-text:hover { text-decoration: underline; }
.btn-text .chev { font-size: 19px; line-height: 1; }
.wide { width: 100%; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 22px 60px;
}
.hero-glow {
  position: absolute;
  top: 16%;
  left: 50%;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232, 121, 249, 0.20), rgba(168, 85, 247, 0.10) 38%, transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero > *:not(.hero-glow) { position: relative; z-index: 1; }
.hero-logo {
  width: min(340px, 74vw);
  margin-bottom: 6px;
  filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.6));
}
.eyebrow {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(48px, 11vw, 124px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  background: linear-gradient(165deg, #ffffff 0%, #f3e3ff 55%, #e9c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(19px, 3vw, 29px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-foot { margin-top: 30px; font-size: 13px; color: var(--muted-2); }

/* ---------- 区块通用 ---------- */
.section { padding: clamp(88px, 13vh, 168px) 22px; }
.section-band {
  background: linear-gradient(180deg, rgba(20, 11, 32, 0.62), rgba(14, 8, 24, 0.42));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.kicker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-head h2,
.try-copy h2 {
  font-size: clamp(30px, 5.4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.07;
}
.lead {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.5;
}
.fineprint, .mini-note {
  color: var(--muted-2);
  font-size: 13px;
  text-align: center;
  margin-top: 30px;
}
.m-only { display: none; }

/* ---------- 案例展示 ---------- */
.showcase-row {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.showcase-row figure { display: flex; flex-direction: column; gap: 14px; }
.v-tile {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, border-color 0.3s ease;
}
.showcase-row figure:hover .v-tile {
  transform: translateY(-6px);
  border-color: rgba(232, 121, 249, 0.45);
  box-shadow: 0 28px 70px rgba(168, 85, 247, 0.22), 0 0 0 1px rgba(232, 121, 249, 0.18);
}
.showcase-row figcaption { color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- 三连图 ---------- */
.triptych { max-width: var(--maxw); margin: 0 auto; }
.triptych img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.triptych-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* ---------- 三种方向 ---------- */
.ways-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.way {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.way:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 121, 249, 0.4);
  box-shadow: 0 24px 50px -20px var(--accent-glow);
}
.way-dot {
  display: block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 16px var(--accent-glow);
  margin-bottom: 22px;
}
.way h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; }
.way p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.way-scenes { display: block; margin-top: 18px; color: var(--muted-2); font-size: 13px; }

/* ---------- 套餐 ---------- */
.price-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.price.featured {
  border-color: rgba(232, 121, 249, 0.55);
  box-shadow: 0 0 0 1px rgba(232, 121, 249, 0.28), 0 30px 70px rgba(124, 58, 237, 0.30);
}
.price-badge {
  position: absolute;
  top: -11px; left: 30px;
  background: var(--accent-grad);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 980px;
  box-shadow: 0 6px 16px -6px var(--accent-glow);
}
.price-tag { color: var(--muted); font-size: 15px; }
.price-num { font-size: 38px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 20px; }
.price-unit { font-size: 16px; color: var(--muted); font-weight: 400; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.price li { color: var(--muted); font-size: 15px; padding-left: 22px; position: relative; }
.price li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-grad);
}
.price .wide { margin-top: auto; }

/* ---------- 试做 / 留资 ---------- */
.try-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.try-copy { padding-top: 8px; }
.try-copy .kicker { text-align: left; }
.try-copy h2 { text-align: left; }
.try-copy .lead { margin-left: 0; text-align: left; }
.try-copy .mini-note { text-align: left; margin-top: 18px; }
.try-form {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 30px;
}
.upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 30px 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.upload:hover { border-color: rgba(232, 121, 249, 0.55); background: rgba(232, 121, 249, 0.05); }
.upload input[type="file"] { display: none; }
.upload-title { font-size: 16px; font-weight: 600; }
.upload-sub { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
.upload img { margin-top: 16px; max-height: 180px; border-radius: 10px; }
.field-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 13.5px; color: var(--muted); }
.field input, .field select {
  background: rgba(10, 6, 18, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  padding: 12px 14px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field input::placeholder { color: var(--muted-2); }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.form-status { margin-top: 16px; font-size: 14px; color: var(--accent); text-align: center; }

/* ---------- 安全 ---------- */
.safety-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.safety-grid > div {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  font-size: 16px;
}
.tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 14px -2px var(--accent-glow);
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 7px; top: 4px;
  width: 5px; height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 6px 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 19px;
  font-weight: 500;
  padding: 20px 40px 20px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); font-size: 16px; padding: 0 30px 22px 0; line-height: 1.55; }

/* ---------- 联系方式 ---------- */
.contact-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 121, 249, 0.4);
  box-shadow: 0 24px 50px -20px var(--accent-glow);
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-grad);
  box-shadow: 0 8px 20px -8px var(--accent-glow);
  margin-bottom: 18px;
}
.contact-icon svg { width: 22px; height: 22px; color: #fff; }
.contact-role { color: var(--muted-2); font-size: 13px; letter-spacing: 0.04em; }
.contact-name { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 4px 0 8px; }
.contact-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}
.contact-value:hover { color: var(--accent); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line-2); padding: 48px 22px; background: var(--bg); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-brand img { width: 20px; height: 20px; object-fit: contain; }
.footer p { color: var(--muted-2); font-size: 13px; }
.footer .copy { margin-top: 8px; }

/* ---------- 移动端固定 CTA ---------- */
.dock-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  text-align: center;
  background: var(--accent-grad);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 15px;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 12px 30px -8px var(--accent-glow), 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ---------- 滚动渐显 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .try-wrap { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .m-only { display: inline; }
  .showcase-row,
  .ways-grid,
  .price-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .showcase-row { max-width: 440px; }
  .v-tile { aspect-ratio: 3 / 4; }
  .safety-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 20px; }
  .dock-cta { display: block; }
  body { padding-bottom: 84px; }
  .hero { min-height: 90vh; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .aurora,
  .aurora .a1,
  .aurora .a2 { animation: none; }
}
