:root {
  --bg-deep: #05060d;
  --bg-panel: #0b0f1c;
  --bg-elev: #121829;
  --line: rgba(120, 160, 255, 0.16);
  --cyan: #2ff3e0;
  --violet: #9b5cff;
  --yellow: #f6e14b;
  --text: #e8ecf6;
  --text-dim: #9aa6c2;
  --radius: 18px;
  --gap: 24px;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-stack);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--yellow));
  z-index: 999; box-shadow: 0 0 12px var(--cyan);
  transition: width .1s linear;
}

/* custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #070912; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(47, 243, 224, 0.5);
}

/* nav */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6vw;
  transition: background .3s, backdrop-filter .3s, padding .3s;
}
.site-nav.scrolled {
  background: rgba(5, 6, 13, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 10px 6vw;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--text-dim); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-cta {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #04060e;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(47,243,224,.45); }

/* section shared */
.section {
  position: relative;
  padding: 96px 6vw;
  border-top: 1px solid var(--line);
}
.section.alt-bg { background: var(--bg-panel); }
.section.grid-bg {
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(155,92,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,92,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
}
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.sec-num {
  font-size: 13px; font-weight: 800; letter-spacing: 2px;
  color: var(--bg-deep); background: linear-gradient(135deg, var(--cyan), var(--violet));
  padding: 3px 12px; border-radius: 6px;
}
.sec-kicker { font-size: 13px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.sec-title {
  font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; line-height: 1.25; margin-bottom: 14px;
  background: linear-gradient(100deg, #ffffff 10%, var(--cyan) 55%, var(--violet) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-desc { color: var(--text-dim); max-width: 680px; margin-bottom: 42px; font-size: 16px; }

/* cards */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(47,243,224,.5); box-shadow: 0 12px 40px rgba(47,243,224,.12); }

/* HERO */
.hero {
  min-height: 100vh;
  padding: 120px 6vw 70px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(47,243,224,.14), transparent 45%),
    radial-gradient(circle at 82% 68%, rgba(155,92,255,.18), transparent 50%);
  pointer-events: none;
}
.hero-frame {
  position: relative;
  max-width: 1240px; margin: 0 auto; width: 100%;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 54px 4vw;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  background: rgba(11, 15, 28, 0.55);
  backdrop-filter: blur(4px);
  overflow: hidden;
}
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--cyan) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .1; pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--cyan);
  border: 1px solid rgba(47,243,224,.4); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 22px;
}
.hero-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero h1 {
  font-size: clamp(32px, 5vw, 58px); line-height: 1.18; font-weight: 900; letter-spacing: 1px;
  background: linear-gradient(110deg, #ffffff 20%, var(--cyan) 60%, var(--violet) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 20px;
}
.hero-sub { color: var(--text-dim); font-size: 17px; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #04060e;
  position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 26px rgba(47,243,224,.5); }
.btn-ghost {
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid rgba(155,92,255,.55); color: var(--text-dim);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* hero right collage */
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-card {
  border: 1px solid rgba(155,92,255,.35); border-radius: 16px; overflow: hidden;
  background: var(--bg-elev); position: relative;
  animation: floaty 7s ease-in-out infinite;
}
.hero-card img { height: 100%; width: 100%; object-fit: cover; aspect-ratio: 3/4; }
.hero-card:nth-child(2) { margin-top: 34px; animation-delay: -2.5s; }
.hero-card:nth-child(3) { grid-column: span 2; aspect-ratio: 16/9; animation-delay: -1.2s; }
.hero-card:nth-child(3) img { aspect-ratio: 16/9; }
.hero-card .ai-tag {
  position: absolute; top: 10px; left: 10px; font-size: 11px; letter-spacing: 1px;
  padding: 2px 9px; border-radius: 6px; color: #04060e;
  background: linear-gradient(135deg, var(--cyan), var(--yellow)); font-weight: 700;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--text-dim); letter-spacing: 2px; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-hint span { animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* pipeline */
.pipeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative;
}
.pipe-step {
  position: relative; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 14px; text-align: center;
  transition: transform .3s, border-color .3s;
}
.pipe-step:hover { transform: translateY(-6px); border-color: rgba(246,225,75,.5); }
.pipe-step img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 12px; }
.pipe-idx {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 800; padding: 1px 10px; border-radius: 999px;
  background: var(--violet); color: #fff;
}
.pipe-step h3 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.pipe-step p { font-size: 12.5px; color: var(--text-dim); }
.pipe-step::after {
  content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-size: 18px;
}
.pipe-step:last-child::after { display: none; }

/* character grid */
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
.char-card { padding: 0; overflow: hidden; }
.char-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.char-body { padding: 16px; }
.char-body h3 { font-size: 17px; margin-bottom: 4px; }
.char-role { font-size: 12.5px; color: var(--cyan); margin-bottom: 8px; }
.char-quote { font-size: 13px; color: var(--text-dim); border-left: 2px solid var(--violet); padding-left: 10px; }

/* marquee */
.marquee-wrap { overflow: hidden; position: relative; padding: 6px 0; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scrollX 42s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.style-card { width: 220px; flex: none; }
.style-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.style-card h3 { font-size: 15px; margin-bottom: 4px; }
.style-card p { font-size: 12.5px; color: var(--text-dim); }

/* showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.showcase img { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.showcase-text h3 { font-size: 22px; margin-bottom: 12px; color: var(--cyan); }
.showcase-text p { color: var(--text-dim); margin-bottom: 12px; }
.showcase.reverse .showcase-media { order: 2; }

/* spotlight carousel */
.spotlight { position: relative; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--bg-elev); }
.spotlight-track { display: flex; transition: transform .55s ease; }
.spotlight-slide { min-width: 100%; position: relative; }
.spotlight-slide img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.spotlight-caption { padding: 20px 24px; }
.spotlight-caption h3 { font-size: 20px; margin-bottom: 6px; }
.spotlight-caption p { color: var(--text-dim); font-size: 14px; }
.spotlight-dots { display: flex; gap: 8px; justify-content: center; padding-bottom: 18px; }
.spotlight-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.22); transition: background .25s, transform .25s;
}
.spotlight-dots button.on { background: var(--cyan); transform: scale(1.35); }

/* stats */
.stats-band { background: linear-gradient(120deg, #090c19, #121a30); border-radius: var(--radius); padding: 44px 32px; position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; background: linear-gradient(120deg, var(--cyan), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* echoes */
.echo-track { display: flex; gap: 16px; width: max-content; animation: scrollX 36s linear infinite; }
.echo-row.reverse .echo-track { animation-direction: reverse; }
.echo-card { width: 260px; flex: none; }
.echo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.echo-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--violet)); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #04060e; }
.echo-name { font-size: 14px; font-weight: 600; }
.echo-stars { color: var(--yellow); font-size: 12px; letter-spacing: 1px; }
.echo-card p { font-size: 13px; color: var(--text-dim); }

/* prompt grid */
.prompt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.prompt-card img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 12px; }
.prompt-card h3 { font-size: 15px; margin-bottom: 4px; }
.prompt-card .tag { display: inline-block; font-size: 11.5px; color: var(--cyan); border: 1px solid rgba(47,243,224,.35); border-radius: 999px; padding: 1px 10px; }
.prompt-card .prompt-full { font-size: 12.5px; color: var(--text-dim); margin-top: 10px; }

/* schedule */
.schedule-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); }
.schedule-item { display: flex; gap: 16px; align-items: center; }
.schedule-date { flex: none; text-align: center; padding: 10px 14px; border-radius: 12px; background: linear-gradient(160deg, rgba(47,243,224,.15), rgba(155,92,255,.18)); border: 1px solid var(--line); }
.schedule-date .d { font-size: 20px; font-weight: 800; color: var(--cyan); }
.schedule-date .m { font-size: 11px; color: var(--text-dim); }
.schedule-info h3 { font-size: 15.5px; margin-bottom: 4px; }
.schedule-info p { font-size: 12.5px; color: var(--text-dim); }

/* FAQ */
.faq { max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: var(--bg-elev); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 18px 20px; background: none; border: none; color: var(--text); font-size: 15.5px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-q span { color: var(--cyan); transition: transform .3s; }
.faq-a { padding: 0 20px 18px; color: var(--text-dim); font-size: 14px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span { transform: rotate(45deg); }

/* CTA banner */
.cta-banner {
  position: relative; border-radius: 26px; padding: 60px 6vw; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(47,243,224,.18), rgba(155,92,255,.28));
  border: 1px solid rgba(47,243,224,.3);
}
.cta-banner h2 { font-size: clamp(24px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-banner p { color: var(--text-dim); margin-bottom: 28px; }

/* floating assistant */
.assistant-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #04060e;
  font-size: 22px; font-weight: 800; box-shadow: 0 8px 30px rgba(47,243,224,.4);
}
.assistant-panel {
  position: fixed; right: 22px; bottom: 90px; z-index: 200;
  width: 300px; padding: 20px; border-radius: 18px;
  background: rgba(18, 24, 41, 0.92); backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  display: none; transform-origin: bottom right;
}
.assistant-panel.on { display: block; animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.assistant-panel h3 { font-size: 15px; margin-bottom: 8px; color: var(--cyan); }
.assistant-panel p { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; }
.assistant-panel input, .assistant-panel textarea {
  width: 100%; margin-bottom: 8px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #080c17; color: var(--text); font-family: inherit; font-size: 13px;
}
.assistant-panel button.submit {
  width: 100%; padding: 10px; border-radius: 10px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #04060e; font-weight: 700; font-family: inherit;
}

/* footer */
.site-footer { padding: 48px 6vw 30px; border-top: 1px solid var(--line); background: #04060c; color: var(--text-dim); font-size: 12.5px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 30px; }
.footer-grid h4 { font-size: 13px; color: var(--text); margin-bottom: 10px; }
.footer-grid a { display: block; color: var(--text-dim); margin-bottom: 6px; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; font-size: 11.5px; line-height: 1.9; }
.footer-marquee { overflow: hidden; padding: 10px 0; border-top: 1px solid var(--line); }
.footer-marquee span { display: inline-block; white-space: nowrap; animation: scrollX 26s linear infinite; font-size: 12px; letter-spacing: 4px; color: rgba(255,255,255,.22); }

/* reveal */
.reveal { opacity: 1; transform: none; transition: transform .7s ease, opacity .7s ease; }

/* responsive */
@media (max-width: 1024px) {
  .hero-frame { grid-template-columns: 1fr; }
  .hero-collage { display: none; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipe-step::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .section { padding: 68px 5vw; }
  .hero { padding: 100px 5vw 50px; }
  .hero-frame { padding: 36px 22px; }
  .pipeline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}