:root {
  --accent: #00dbbf;
  --accent-2: #65dfff;
  --accent-dim: rgba(0, 219, 191, 0.14);
  --bg: #06080d;
  --bg-2: #0a1018;
  --panel: #101722;
  --text: #f4f8ff;
  --muted: #9ab0cb;
  --border: rgba(122, 151, 184, 0.22);
  --radius: 16px;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
  --max: 1200px;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

html,
body,
button,
input,
select,
textarea {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

body {
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(1200px 700px at 8% -10%, rgba(0, 219, 191, 0.22) 0%, transparent 62%),
    radial-gradient(1000px 700px at 100% 8%, rgba(69, 112, 255, 0.16) 0%, transparent 58%),
    linear-gradient(180deg, #090d14 0%, #06080d 50%, #090d14 100%);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

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

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  background: rgba(6, 10, 15, 0.72);
  border-bottom: 1px solid rgba(0, 219, 191, 0.14);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.site-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 219, 191, 0.28));
}

.brand-split {
  width: 1px;
  height: 22px;
  flex: 0 0 1px;
  background: rgba(154, 176, 203, 0.45);
}

.brand-product {
  color: #f4f8ff;
}

.brand-logo {
  width: 54px;
  height: 36px;
  flex: 0 0 54px;
  filter: drop-shadow(0 0 12px rgba(0, 219, 191, 0.28));
}

.brand-logo svg { width: 100%; height: 100%; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #bfd2ec;
  font-size: 14px;
}

.nav-links a:hover { color: #fff; }

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

/* ---------- buttons ---------- */
.btn {
  height: 46px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-main {
  color: #042720;
  background: linear-gradient(135deg, #00dbbf 0%, #8dfdef 46%, #00c8ad 100%);
  box-shadow: 0 0 0 1px rgba(0, 219, 191, 0.22), 0 12px 32px rgba(0, 219, 191, 0.28);
}

.btn-main:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: rgba(0, 219, 191, 0.5);
  background: rgba(0, 219, 191, 0.08);
  color: #a4fff3;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(0, 219, 191, 0.14);
}

.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }

/* ---------- hero ---------- */
.hero-wrap {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 219, 191, 0.18);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #06080d;
  background-image: url("../images/bg.png");
  background-image: url("../images/bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 8% -10%, rgba(0, 219, 191, 0.12) 0%, rgba(0, 219, 191, 0) 62%),
    radial-gradient(1000px 700px at 100% 10%, rgba(69, 112, 255, 0.09) 0%, rgba(69, 112, 255, 0) 58%),
    linear-gradient(180deg, rgba(6, 8, 13, 0.68) 0%, rgba(6, 8, 13, 0.68) 100%);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero > div {
  transform: translateY(calc(-1 * clamp(28px, 5vh, 76px) - 20px));
  width: 100%;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 219, 191, 0.4);
  background: rgba(0, 219, 191, 0.12);
  color: #a6fff2;
  font-size: 12px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: 0.2px;
  text-wrap: balance;
  margin: 0 auto 18px;
  max-width: 760px;
}

.hero h1 strong {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(0, 219, 191, 0.38);
}

.subtitle {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 620px;
  margin: 0 auto 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  justify-content: center;
}

.badge {
  font-size: 12px;
  color: #c9dcf3;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 5px 10px;
}

/* ---------- sections ---------- */
.stripe {
  padding: 92px 0;
  border-top: 1px solid rgba(127, 153, 183, 0.14);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.16;
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
}

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

.feat-grid {
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: #0b1018;
}

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

.fx-label {
  margin: 8px 0 16px;
  font-size: 18px;
  color: #d5e6fb;
}

.fx-grid + .fx-label { margin-top: 42px; }

.fx-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 10px 14px;
  background: linear-gradient(180deg, rgba(17, 24, 36, 0.96), rgba(12, 18, 27, 0.96));
}

.fx-card h3 {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #dce9fa;
}

.fx-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #0b1018;
}

.fx-stage .demo-clip {
  position: absolute;
  inset: 0;
}

.demo-clip { pointer-events: none; }

.scene-photo {
  background: #0b1018 url("../images/filter.webp") center / cover no-repeat;
}

.scene-trans {
  background: #0b1018 url("../images/tr.jpeg") center / cover no-repeat;
}

.trans .demo-clip:last-child { z-index: 1; }

.trans-fade .demo-clip:last-child { animation: fx-fade 2.8s ease-in-out infinite; }
.trans-slide .demo-clip:last-child { animation: fx-slide 2.8s ease-in-out infinite; }
.trans-wipe .demo-clip:last-child { animation: fx-wipe 2.8s ease-in-out infinite; }
.trans-zoom .demo-clip:last-child { animation: fx-zoom 2.8s ease-in-out infinite; }
.trans-iris .demo-clip:last-child { animation: fx-iris 2.8s ease-in-out infinite; }
.trans-flip {
  perspective: 780px;
}
.trans-flip .demo-clip {
  backface-visibility: hidden;
}
.trans-flip .demo-clip:first-child { animation: fx-flip-a 3.2s ease-in-out infinite; }
.trans-flip .demo-clip:last-child { animation: fx-flip-b 3.2s ease-in-out infinite; }
.trans-glitch .demo-clip:last-child { animation: fx-glitch 2.6s steps(2, end) infinite; }
.trans-black .demo-clip:last-child { animation: fx-fade 2.8s ease-in-out infinite; }
.trans-black::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  pointer-events: none;
  animation: fx-black 2.8s ease-in-out infinite;
}

@keyframes fx-fade {
  0%, 12% { opacity: 0; }
  42%, 62% { opacity: 1; }
  90%, 100% { opacity: 0; }
}
@keyframes fx-slide {
  0%, 10% { transform: translateX(100%); }
  42%, 58% { transform: translateX(0); }
  90%, 100% { transform: translateX(-100%); }
}
@keyframes fx-wipe {
  0%, 10% { clip-path: inset(0 100% 0 0); }
  45%, 58% { clip-path: inset(0 0 0 0); }
  90%, 100% { clip-path: inset(0 0 0 100%); }
}
@keyframes fx-zoom {
  0%, 10% { opacity: 0; transform: scale(1.35); }
  42%, 58% { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0.86); }
}
@keyframes fx-iris {
  0%, 10% { clip-path: circle(0% at 50% 50%); }
  45%, 58% { clip-path: circle(80% at 50% 50%); }
  90%, 100% { clip-path: circle(0% at 50% 50%); }
}
@keyframes fx-flip-a {
  0%, 12% { transform: rotateY(0deg); }
  45%, 62% { transform: rotateY(-180deg); }
  100% { transform: rotateY(-360deg); }
}
@keyframes fx-flip-b {
  0%, 12% { transform: rotateY(180deg); }
  45%, 62% { transform: rotateY(0deg); }
  100% { transform: rotateY(-180deg); }
}
@keyframes fx-glitch {
  0%, 18% { opacity: 0; transform: none; filter: none; }
  22% { opacity: 1; transform: translate(6px, -3px); filter: hue-rotate(80deg) saturate(2); clip-path: inset(12% 0 48% 0); }
  28% { opacity: 1; transform: translate(-8px, 2px); filter: hue-rotate(-50deg); clip-path: inset(40% 0 10% 0); }
  36%, 62% { opacity: 1; transform: none; filter: none; clip-path: none; }
  88%, 100% { opacity: 0; }
}
@keyframes fx-black {
  0%, 16% { opacity: 0; }
  40% { opacity: 1; }
  56% { opacity: 1; }
  82%, 100% { opacity: 0; }
}

.fx-stage:hover .demo-clip,
.fx-stage:hover::after {
  animation-play-state: paused;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  background: linear-gradient(180deg, rgba(17, 24, 36, 0.96), rgba(12, 18, 27, 0.96));
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 219, 191, 0.55);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
}

.feat {
  padding: 28px 24px 26px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

.feat:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #8ffdef;
  border: 1px solid rgba(0, 219, 191, 0.38);
  background: radial-gradient(circle at 30% 20%, rgba(167, 255, 245, 0.22), rgba(0, 219, 191, 0.08));
  font-size: 20px;
}

.feat .ico,
.scenes .ico,
.step .ico {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--accent);
  display: grid;
  place-items: center start;
}

.step .ico {
  margin: 0 auto 12px;
  place-items: center;
}

.feat .ico svg,
.scenes .ico svg,
.step .ico svg {
  width: 32px;
  height: 32px;
  display: block;
}

.feat h3,
.card h3 { font-size: 18px; margin-bottom: 8px; }
.feat h3 { font-size: 16px; font-weight: 700; }
.feat p,
.card p { color: var(--muted); font-size: 14px; }
.feat p { font-size: 13px; line-height: 1.75; }

.scenes {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: #0b1018;
}

.scenes .card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  padding: 28px 22px 26px;
  transform: none;
}

.scenes .card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
  border-right-color: var(--border);
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: #0b1018;
}

.step {
  text-align: center;
  padding: 32px 22px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.step-num {
  margin: 0 auto 10px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.75; max-width: 320px; margin: 0 auto; }

.final-cta {
  background: #0b1018;
  text-align: center;
}

.final-cta .section-head { margin-bottom: 28px; }

.final-cta .btn {
  border-radius: 4px;
  font-weight: 700;
  box-shadow: none;
}

.final-cta .btn-main {
  background: var(--accent);
  color: #042720;
  box-shadow: none;
}

.final-cta .btn-main:hover {
  transform: none;
  filter: none;
  background: #2aead2;
}

.final-cta .btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: #d5e6fb;
}

.final-cta .btn-ghost:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 219, 191, 0.45);
  color: #fff;
}

.final-cta .btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer {
  border-top: 1px solid rgba(133, 158, 191, 0.16);
  padding: 22px 0 40px;
  color: #7f96b6;
  font-size: 13px;
  text-align: center;
}

footer a { color: #a4fff3; }

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.8s var(--ease) forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none !important; opacity: 1; transform: none; }
  .fx-stage .demo-clip,
  .fx-stage::after { animation: none !important; }
  .trans .demo-clip:last-child { opacity: 1; transform: none; clip-path: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1080px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 32px); }
  .scenes, .fx-grid { grid-template-columns: 1fr 1fr; }
  .cards, .feat-grid, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 20px 20px;
    background: rgba(8, 12, 18, 0.96);
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .container { width: calc(100% - 28px); }
  .hero-wrap { min-height: 100svh; }
  .hero {
    padding-top: calc(var(--nav-h) + 28px + env(safe-area-inset-top, 0px));
    padding-bottom: 48px;
  }
  .hero > div {
    transform: translateY(calc(-1 * clamp(0px, 2vh, 20px)));
  }
  .hero-bg {
    background-size: cover;
    background-position: center top;
  }
  .brand { font-size: 15px; }
  .brand-group { gap: 8px; }
  .site-logo { width: 28px; height: 28px; flex-basis: 28px; }
  .brand-logo { width: 40px; height: 28px; flex-basis: 40px; }
  .brand-split { height: 16px; }
  .nav .btn-main { padding: 0 12px; font-size: 13px; }
  .stripe { padding: 64px 0; }
  .scenes, .feat-grid { grid-template-columns: 1fr; }
  .fx-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
}
