/* ============================================================
   夜之幕剧本社 · 星云夜幕·紫晶剧场
   紫色系炫酷沉浸风 · 双端响应式官网
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root{
  /* 基底色 */
  --c-void: #080514;
  --c-drape: #120A2A;
  --c-violet-deep: #1A0F3D;
  /* 主强调紫 */
  --c-nebula: #8B5CF6;
  --c-electric: #A855F7;
  --c-crystal-1: #C084FC;
  --c-crystal-2: #7C3AED;
  /* 辅助点缀 */
  --c-silver: #E9E5FF;
  --c-gold: #E8D9A7;
  --c-warn: #FF8A3D;
  /* 文字 */
  --c-title: #F5F3FF;
  --c-body: #C4B5FD;
  --c-muted: #8B84A3;

  /* 渐变 */
  --grad-crystal: linear-gradient(135deg, #C084FC 0%, #7C3AED 100%);
  --grad-crystal-soft: linear-gradient(135deg, rgba(192,132,252,.18), rgba(124,58,237,.18));
  --grad-void: radial-gradient(ellipse at 50% 30%, #1A0F3D 0%, #0E0820 45%, #080514 100%);

  /* 玻璃 */
  --glass-bg: rgba(26, 15, 61, .42);
  --glass-bg-strong: rgba(18, 10, 42, .62);
  --glass-border: rgba(168, 85, 247, .35);
  --glass-hi: rgba(233, 229, 255, .14);

  /* 光影 */
  --glow-purple: 0 0 24px rgba(139, 92, 246, .45);
  --glow-electric: 0 0 32px rgba(168, 85, 247, .55);
  --shadow-card: 0 18px 50px -12px rgba(10, 4, 28, .85), 0 4px 18px -6px rgba(124, 58, 237, .35);

  /* 字体 */
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  /* 尺寸 */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 基础重置 ---------- */
*,*::before,*::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.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;
}
body{
  font-family: var(--font-body);
  background: var(--c-void);
  color: var(--c-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg{ width: 100%; height: 100%; }

/* 选中色 */
::selection{ background: rgba(168, 85, 247, .4); color: var(--c-title); }

/* 滚动条 */
::-webkit-scrollbar{ width: 8px; }
::-webkit-scrollbar-track{ background: var(--c-void); }
::-webkit-scrollbar-thumb{ background: linear-gradient(var(--c-crystal-2), var(--c-electric)); border-radius: 8px; }

/* ---------- 容器 ---------- */
.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section{ position: relative; padding: 120px 0; }

/* ============================================================
   星云粒子背景层
   ============================================================ */
.cosmos-bg{
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grad-void);
}
.cosmos-radial{
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(139, 92, 246, .22), transparent 38%),
    radial-gradient(circle at 82% 70%, rgba(168, 85, 247, .18), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(124, 58, 237, .16), transparent 55%);
}
.cosmos-grid{
  position: absolute; inset: 0; opacity: .4;
  background-image:
    linear-gradient(rgba(168, 85, 247, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift{ to{ background-position: 60px 60px; } }

.star-field{ position: absolute; inset: 0; }
.star{
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--c-silver);
  box-shadow: 0 0 6px var(--c-crystal-1);
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle{
  0%, 100%{ opacity: .15; transform: scale(.6); }
  50%{ opacity: 1; transform: scale(1.2); }
}

/* ============================================================
   导航栏
   ============================================================ */
.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: all .4s var(--ease);
}
.nav__inner{
  max-width: var(--container); height: 100%; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav.is-scrolled{
  background: rgba(8, 5, 20, .72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(8, 5, 20, .5);
}
.nav__brand{ display: flex; align-items: center; gap: 12px; }
.nav__logo{ width: auto; height: 48px; filter: drop-shadow(0 0 8px rgba(168, 85, 247, .6)); }
.nav__logo img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.nav__name{ display: flex; flex-direction: column; line-height: 1.2; }
.nav__name-cn{
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--c-title); letter-spacing: .04em;
}
.nav__name-en{
  font-family: var(--font-en); font-style: italic; font-size: 11px;
  color: var(--c-muted); letter-spacing: .12em;
}
.nav__menu{ display: flex; align-items: center; gap: 34px; }
.nav__link{
  position: relative; font-size: 15px; color: var(--c-silver); font-weight: 400;
  transition: color .3s;
}
.nav__link::after{
  content: ""; position: absolute; left: 0; bottom: -8px; height: 2px; width: 0;
  background: var(--grad-crystal); border-radius: 2px;
  box-shadow: 0 0 8px var(--c-electric);
  transition: width .35s var(--ease);
}
.nav__link:hover{ color: var(--c-electric); }
.nav__link:hover::after{ width: 100%; }
.nav__cta{ padding: 10px 22px !important; font-size: 14px !important; }

.nav__burger{ display: none; width: 44px; height: 44px; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; }
.nav__burger span{ width: 22px; height: 2px; background: var(--c-silver); border-radius: 2px;
  transition: all .3s var(--ease); }

/* 抽屉 */
.drawer{
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: 78%; max-width: 320px;
  background: linear-gradient(160deg, #160B34, #0C0620);
  border-left: 1px solid var(--glass-border);
  box-shadow: -20px 0 60px rgba(8, 5, 20, .8);
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; padding: 24px;
}
.drawer.is-open{ transform: translateX(0); }
.drawer__head{ display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--glass-border); }
.drawer__title{ font-family: var(--font-en); font-style: italic; color: var(--c-muted);
  letter-spacing: .2em; font-size: 14px; }
.drawer__close{ font-size: 30px; color: var(--c-silver); width: 44px; height: 44px; line-height: 1; }
.drawer__menu{ display: flex; flex-direction: column; gap: 4px; }
.drawer__link{
  padding: 16px 14px; font-size: 17px; color: var(--c-silver);
  border-radius: 12px; transition: all .3s;
  border-left: 3px solid transparent;
}
.drawer__link:hover{ background: var(--grad-crystal-soft); color: var(--c-title);
  border-left-color: var(--c-electric); padding-left: 20px; }
.drawer__cta{ margin-top: auto; width: 100%; }
.drawer__mask{
  position: fixed; inset: 0; z-index: 150; background: rgba(8, 5, 20, .7);
  backdrop-filter: blur(4px); opacity: 0; visibility: hidden;
  transition: opacity .4s;
}
.drawer__mask.is-open{ opacity: 1; visibility: visible; }

/* ============================================================
   按钮
   ============================================================ */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  padding: 12px 28px; border-radius: 12px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn--lg{ padding: 16px 38px; font-size: 16px; }
.btn--block{ width: 100%; }

.btn--primary{
  background: var(--grad-crystal); color: var(--c-title);
  box-shadow: 0 8px 24px -6px rgba(124, 58, 237, .6), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary::before{
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn--primary:hover{ transform: translateY(-3px);
  box-shadow: 0 14px 36px -6px rgba(168, 85, 247, .75), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--primary:hover::before{ left: 130%; }

.btn--ghost{
  background: rgba(168, 85, 247, .06); color: var(--c-crystal-1);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover{
  background: rgba(168, 85, 247, .16); border-color: var(--c-electric);
  color: var(--c-title); transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

/* ============================================================
   玻璃拟态通用
   ============================================================ */
.glass{
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
.glass::before{
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, var(--glass-hi), transparent 40%);
  opacity: .6;
}

/* ---------- 板块标题 ---------- */
.section-head{ display: flex; align-items: flex-start; gap: 18px; margin-bottom: 56px; }
.section-head--center{ flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__bar{ width: 4px; height: 44px; }
.section-head__bar{
  width: 4px; align-self: stretch; min-height: 60px; border-radius: 4px;
  background: var(--grad-crystal); box-shadow: 0 0 12px var(--c-electric);
  position: relative;
}
.section-head__bar::after{
  content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--c-crystal-1);
  box-shadow: 0 0 12px var(--c-crystal-1);
}
.section-head__en{
  font-family: var(--font-en); font-style: italic; font-size: 15px;
  color: var(--c-electric); letter-spacing: .25em; margin-bottom: 8px; text-transform: uppercase;
}
.section-head__cn{
  font-family: var(--font-display); font-weight: 900; font-size: 38px;
  color: var(--c-title); line-height: 1.3; letter-spacing: .02em;
}

/* ============================================================
   1. Hero 首屏
   ============================================================ */
.hero{
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  padding: var(--nav-h) 40px 60px;
}
.hero__bg{
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../assets/hero-bg.jpg');
  background-image: -webkit-image-set(url('../assets/hero-bg.webp') 1x, url('../assets/hero-bg.jpg') 1x);
  background-image: image-set(url('../assets/hero-bg.webp') 1x, url('../assets/hero-bg.jpg') 1x);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: .55;
}
.hero__bg::after{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 55%, transparent 0%, rgba(8,5,20,.5) 60%, var(--c-void) 95%);
}

/* 紫色帷幕 */
.curtain{
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2;
  background:
    linear-gradient(90deg, rgba(26,15,61,.96), rgba(18,10,42,.88)),
    repeating-linear-gradient(90deg, rgba(168,85,247,.08) 0 38px, rgba(8,5,20,.12) 38px 42px);
  box-shadow: inset 0 0 80px rgba(8,5,20,.6);
  transform-origin: top;
}
.curtain--left{ left: 0; border-right: 2px solid rgba(192,132,252,.4);
  box-shadow: inset 0 0 80px rgba(8,5,20,.6), 6px 0 24px rgba(168,85,247,.25);
  animation: curtainOpenLeft 2.2s var(--ease) .3s forwards; transform: scaleX(1); }
.curtain--right{ right: 0; border-left: 2px solid rgba(192,132,252,.4);
  box-shadow: inset 0 0 80px rgba(8,5,20,.6), -6px 0 24px rgba(168,85,247,.25);
  animation: curtainOpenRight 2.2s var(--ease) .3s forwards; transform: scaleX(1); }
@keyframes curtainOpenLeft{ to{ transform: translateX(-100%); } }
@keyframes curtainOpenRight{ to{ transform: translateX(100%); } }

/* 聚光灯 */
.spotlight{
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 90%; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(192,132,252,.28), rgba(168,85,247,.1) 35%, transparent 60%);
  animation: spotBreath 6s ease-in-out infinite;
}
@keyframes spotBreath{ 0%,100%{ opacity: .7; } 50%{ opacity: 1; } }

.hero__content{ position: relative; z-index: 5; max-width: 900px; }
.hero__eyebrow{
  font-family: var(--font-en); font-style: italic; font-size: 16px;
  letter-spacing: .3em; color: var(--c-crystal-1); margin-bottom: 28px;
  text-shadow: 0 0 16px rgba(192,132,252,.6);
}
.hero__title{
  font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 6vw, 76px);
  line-height: 1.18; color: var(--c-title); letter-spacing: .04em;
  margin-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .3em;
}
.hero__title span{ display: inline-block; }
.hero__title-accent{
  background: var(--grad-crystal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(168,85,247,.7));
  animation: titleGlow 4s ease-in-out infinite;
}
@keyframes titleGlow{ 0%,100%{ filter: drop-shadow(0 0 14px rgba(168,85,247,.5)); }
  50%{ filter: drop-shadow(0 0 26px rgba(192,132,252,.85)); } }
.hero__subtitle{
  font-size: 18px; color: var(--c-body); margin-bottom: 56px; letter-spacing: .08em;
}

/* 核心数据 */
.hero__stats{
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.stat{ display: flex; flex-direction: column; align-items: center; padding: 0 26px; }
.stat__num{
  font-family: var(--font-display); font-weight: 900; font-size: 42px; line-height: 1;
  background: var(--grad-crystal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(168,85,247,.5));
}
.stat__label{ font-size: 13px; color: var(--c-muted); margin-top: 8px; letter-spacing: .12em; }
.stat__sep{ width: 1px; height: 40px; background: linear-gradient(transparent, var(--glass-border), transparent); }

.hero__actions{ display: flex; gap: 18px; justify-content: center; }

.hero__scroll{
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--c-muted); font-size: 12px; letter-spacing: .25em;
}
.hero__scroll-arrow{
  width: 22px; height: 36px; border: 2px solid var(--glass-border); border-radius: 12px;
  position: relative;
}
.hero__scroll-arrow::after{
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; border-radius: 2px; background: var(--c-crystal-1);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot{ 0%{ opacity: 0; top: 8px; } 50%{ opacity: 1; } 100%{ opacity: 0; top: 20px; } }

/* ============================================================
   2. 品牌介绍
   ============================================================ */
.brand__grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.brand__lead{
  font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.7;
  color: var(--c-title); margin-bottom: 20px;
}
.brand__text{ font-size: 16px; color: var(--c-body); margin-bottom: 20px; }
.brand__fact{
  font-size: 14px; line-height: 1.8; color: var(--c-muted);
  padding: 14px 18px; margin-bottom: 36px;
  border-left: 2px solid var(--c-electric);
  background: var(--glass-bg); border-radius: 0 var(--radius-sm, 10px) var(--radius-sm, 10px) 0;
}

.value-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px; }
.value-card{ padding: 26px 22px; transition: transform .4s var(--ease), box-shadow .4s; }
.value-card:hover{ transform: translateY(-6px); box-shadow: var(--glow-electric), var(--shadow-card); }
.value-card__icon{
  display: block; width: 38px; height: 38px; color: var(--c-electric);
  margin-bottom: 16px; filter: drop-shadow(0 0 8px rgba(168,85,247,.6));
}
.value-card__title{ font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--c-title); margin-bottom: 6px; }
.value-card__desc{ font-size: 14px; color: var(--c-muted); line-height: 1.5; }

.brand__identity{
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 14px; color: var(--c-gold); letter-spacing: .08em;
  padding-top: 24px; border-top: 1px solid var(--glass-border);
}
.brand__identity .dot{ width: 4px; height: 4px; border-radius: 50%; background: var(--c-gold); }

/* 银幕 */
.screen{
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #1A0F3D, #0C0620);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card), 0 0 60px rgba(124,58,237,.2);
}
.screen__inner{
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(circle at 50% 40%, rgba(168,85,247,.22), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(192,132,252,.12), transparent 50%);
}
.screen__glow{
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(192,132,252,.35), transparent 70%);
  filter: blur(20px);
}
.screen__play{
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--grad-crystal); color: var(--c-title);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(168,85,247,.5); z-index: 2;
  animation: playPulse 2.4s ease-out infinite; transition: transform .3s;
}
.screen__play svg{ width: 30px; height: 30px; margin-left: 4px; }
.screen__play:hover{ transform: scale(1.1); }
@keyframes playPulse{ 0%{ box-shadow: 0 0 0 0 rgba(168,85,247,.5); }
  100%{ box-shadow: 0 0 0 28px rgba(168,85,247,0); } }
.screen__caption{ font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--c-title); z-index: 2; }
.screen__sub{ font-family: var(--font-en); font-style: italic; font-size: 13px;
  color: var(--c-crystal-1); letter-spacing: .25em; z-index: 2; }

.screen__corner{ position: absolute; width: 28px; height: 28px; z-index: 3; }
.screen__corner--tl{ top: 14px; left: 14px; border-top: 2px solid var(--c-electric); border-left: 2px solid var(--c-electric); border-top-left-radius: 8px; }
.screen__corner--tr{ top: 14px; right: 14px; border-top: 2px solid var(--c-electric); border-right: 2px solid var(--c-electric); border-top-right-radius: 8px; }
.screen__corner--bl{ bottom: 14px; left: 14px; border-bottom: 2px solid var(--c-electric); border-left: 2px solid var(--c-electric); border-bottom-left-radius: 8px; }
.screen__corner--br{ bottom: 14px; right: 14px; border-bottom: 2px solid var(--c-electric); border-right: 2px solid var(--c-electric); border-bottom-right-radius: 8px; }

/* 品牌影像幻灯片 */
.screen__slides{ position: absolute; inset: 0; z-index: 1; }
.screen__slide{ position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ease); }
.screen__slide.is-active{ opacity: 1; }
.screen__slide img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.screen__slide::after{ content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,5,20,.05) 45%, rgba(8,5,20,.78)); }
.screen__cap{ position: absolute; left: 22px; bottom: 18px; z-index: 2;
  display: flex; flex-direction: column; gap: 5px; }
.screen__cap-city{ font-family: var(--font-display); font-weight: 700; font-size: 26px;
  color: #fff; letter-spacing: .08em; text-shadow: 0 2px 12px rgba(8,5,20,.6); }
.screen__cap-tag{ font-size: 12px; color: rgba(255,255,255,.82); letter-spacing: .24em; }
.screen__arrow{ position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: rgba(8,5,20,.42); color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s; }
.screen__arrow svg{ width: 18px; height: 18px; }
.screen__arrow:hover{ background: rgba(124,58,237,.75); border-color: transparent; }
.screen__arrow--prev{ left: 14px; }
.screen__arrow--next{ right: 14px; }
.screen__dots{ position: absolute; right: 18px; bottom: 18px; z-index: 3;
  display: flex; gap: 7px; }
.screen__dot{ width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255,255,255,.42); cursor: pointer; transition: background .3s, transform .3s; }
.screen__dot.is-active{ background: var(--c-electric); transform: scale(1.3); }

/* ============================================================
   3. 时间轴
   ============================================================ */
.timeline{ position: relative; padding: 60px 0 40px; }
.timeline__track{
  position: absolute; top: 50%; left: 4%; right: 4%; height: 3px; transform: translateY(-50%);
  background: rgba(168,85,247,.15); border-radius: 3px;
}
.timeline__fill{
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  background: var(--grad-crystal); border-radius: 3px;
  box-shadow: 0 0 16px var(--c-electric); transition: width 1.6s var(--ease);
}
.timeline__nodes{ display: flex; justify-content: space-between; position: relative; }
.t-node{ position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; }
.t-node__dot{
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-drape); border: 2px solid rgba(168,85,247,.4);
  position: relative; z-index: 2; transition: all .5s var(--ease);
}
.t-node.is-lit .t-node__dot{
  background: var(--grad-crystal); border-color: var(--c-crystal-1);
  box-shadow: 0 0 18px var(--c-electric), 0 0 36px rgba(168,85,247,.5);
}
.t-node--now .t-node__dot{ width: 26px; height: 26px; }
.t-node--now.is-lit .t-node__dot{ box-shadow: 0 0 26px var(--c-crystal-1), 0 0 52px var(--c-electric);
  animation: nodePulse 2s ease-in-out infinite; }
@keyframes nodePulse{ 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.15); } }

.t-node__card{
  position: absolute; width: 180px; padding: 16px 18px; text-align: center;
  transition: transform .5s var(--ease), opacity .5s;
}
.t-node[data-side="up"] .t-node__card{ bottom: calc(50% + 30px); }
.t-node[data-side="down"] .t-node__card{ top: calc(50% + 30px); }
.t-node__year{
  font-family: var(--font-en); font-weight: 600; font-size: 24px;
  background: var(--grad-crystal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: block; margin-bottom: 4px;
}
.t-node__title{ font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--c-title); margin-bottom: 4px; }
.t-node__desc{ font-size: 12px; color: var(--c-muted); line-height: 1.5; }
.t-node--now .t-node__year{ font-size: 28px; }

/* ============================================================
   4. 痛点
   ============================================================ */
.pain-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.pain-card{ padding: 32px 26px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.pain-card:hover{ transform: translateY(-8px);
  box-shadow: var(--glow-electric), var(--shadow-card); }
.pain-card__icon{
  display: block; width: 44px; height: 44px; color: var(--c-warn);
  margin-bottom: 20px; filter: drop-shadow(0 0 8px rgba(255,138,61,.4));
}
.pain-card__title{ font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--c-title); margin-bottom: 10px; }
.pain-card__desc{ font-size: 14px; color: var(--c-body); line-height: 1.7; }
.pain-card__band{ position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--c-warn), transparent); opacity: .6; }
.pain__bridge{ text-align: center; font-family: var(--font-display); font-size: 18px;
  color: var(--c-crystal-1); letter-spacing: .06em; }

/* ============================================================
   5. 核心优势
   ============================================================ */
.adv-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card{ padding: 30px 26px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.adv-card::after{
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-crystal-1), transparent);
  transition: left .8s var(--ease);
}
.adv-card:hover{ transform: translateY(-8px); box-shadow: var(--glow-electric), var(--shadow-card); }
.adv-card:hover::after{ left: 100%; }
.adv-card__icon{
  display: block; width: 40px; height: 40px; color: var(--c-electric);
  margin-bottom: 18px; filter: drop-shadow(0 0 8px rgba(168,85,247,.6));
}
.adv-card__title{ font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--c-title); margin-bottom: 12px; }
.adv-card__data{ font-size: 15px; color: var(--c-muted); margin-bottom: 10px; }
.adv-card__data span{
  font-family: var(--font-display); font-weight: 900; font-size: 26px;
  background: var(--grad-crystal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-left: 4px;
}
.adv-card__desc{ font-size: 13px; color: var(--c-body); line-height: 1.6; }
.adv-more{ display: none; margin: 32px auto 0; }

/* ============================================================
   6. 盈利模型
   ============================================================ */
.profit-tabs{ display: none; gap: 10px; margin-bottom: 28px; }
.profit-tab{
  flex: 1; padding: 14px; border-radius: 12px; font-size: 14px; color: var(--c-muted);
  border: 1px solid var(--glass-border); background: var(--glass-bg); transition: all .3s;
}
.profit-tab.is-active{ background: var(--grad-crystal); color: var(--c-title); border-color: transparent;
  box-shadow: var(--glow-purple); }

.profit-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.profit-card{ padding: 38px 34px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s; }
.profit-card:hover{ transform: translateY(-6px); box-shadow: var(--glow-electric), var(--shadow-card); }
.profit-card__tag{
  position: absolute; top: 22px; right: -30px; transform: rotate(35deg);
  background: var(--grad-crystal); color: var(--c-title); font-size: 12px; font-weight: 500;
  padding: 6px 36px; box-shadow: var(--glow-purple); letter-spacing: .1em;
}
.profit-card__tag--ghost{ background: rgba(232,217,167,.18); color: var(--c-gold);
  border: 1px solid rgba(232,217,167,.4); box-shadow: none; }
.profit-card__head{ margin-bottom: 30px; }
.profit-card__title{ font-family: var(--font-display); font-weight: 700; font-size: 24px;
  color: var(--c-title); margin-bottom: 6px; }
.profit-card__sub{ font-size: 14px; color: var(--c-muted); }
.profit-card__data{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.pdata{ display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; border-radius: 12px;
  background: rgba(8,5,20,.3); }
.pdata--hl{ background: var(--grad-crystal-soft); border: 1px solid var(--glass-border); }
.pdata__num{
  font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1;
  color: var(--c-title);
}
.pdata--hl .pdata__num{
  background: var(--grad-crystal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px rgba(168,85,247,.5));
}
.pdata__unit{ font-size: 16px; }
.pdata__label{ font-size: 13px; color: var(--c-muted); }
.profit__note{ text-align: center; font-size: 13px; color: var(--c-muted); margin-top: 28px; }

/* ============================================================
   7. 标杆门店
   ============================================================ */
.cases__rail-wrap{ position: relative; display: flex; flex-direction: column; align-items: center; }
.cases__rail{
  width: 100%; max-width: var(--container); display: flex; justify-content: center;
  flex-wrap: wrap; gap: 24px; padding: 12px 40px 28px; margin: 0 auto;
}
.case-card{
  width: calc((100% - 72px) / 4); min-width: 260px; max-width: 330px; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border); background: var(--glass-bg-strong);
  box-shadow: var(--shadow-card); transition: transform .4s var(--ease);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.case-card:hover{ transform: translateY(-8px); }
.case-card__img{ aspect-ratio: 16/11; background-size: cover; background-position: center;
  position: relative; }
.case-card__img--1{ background-image:url('../assets/store-1.jpg');
  background-image:-webkit-image-set(url('../assets/store-1.webp') 1x, url('../assets/store-1.jpg') 1x);
  background-image:image-set(url('../assets/store-1.webp') 1x, url('../assets/store-1.jpg') 1x); }
.case-card__img--2{ background-image:url('../assets/store-2.jpg');
  background-image:-webkit-image-set(url('../assets/store-2.webp') 1x, url('../assets/store-2.jpg') 1x);
  background-image:image-set(url('../assets/store-2.webp') 1x, url('../assets/store-2.jpg') 1x); }
.case-card__img--3{ background-image:url('../assets/store-3.jpg');
  background-image:-webkit-image-set(url('../assets/store-3.webp') 1x, url('../assets/store-3.jpg') 1x);
  background-image:image-set(url('../assets/store-3.webp') 1x, url('../assets/store-3.jpg') 1x); }
.case-card__img::after{ content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18,10,42,.85)); }
.case-card__body{ padding: 22px 24px 26px; }
.case-card__city{ font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--c-title); margin-bottom: 10px; }
.case-card__meta{ display: flex; align-items: center; gap: 10px; font-size: 13px;
  color: var(--c-body); margin-bottom: 14px; }
.case-card__meta .dot{ width: 4px; height: 4px; border-radius: 50%; background: var(--c-electric); }
.case-card__rev{ font-size: 14px; color: var(--c-muted); }
.case-card__rev strong{ font-family: var(--font-display); font-weight: 900; font-size: 22px;
  background: var(--grad-crystal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }

.cases__arrow,
.cases__dots{ display: none; }

@media (max-width: 1024px){
  .cases__arrow{ display: none; }
  .cases__dots{ display: flex; }
}

.cases__cities{
  margin-top: 28px; text-align: center;
  font-size: 14px; line-height: 1.9; color: var(--c-muted);
  letter-spacing: .04em;
}

/* ============================================================
   8. 常见问题 FAQ
   ============================================================ */
.faq__inner{ max-width: 860px; }
.faq__list{ display: flex; flex-direction: column; gap: 14px; margin-top: 48px; }
.faq__item{
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq__item[open]{ border-color: rgba(192, 132, 252, .55); background: var(--glass-bg-strong); }
.faq__q{
  list-style: none; cursor: pointer; user-select: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-family: var(--font-display);
  font-weight: 700; font-size: 15px; color: var(--c-title);
}
.faq__q::-webkit-details-marker{ display: none; }
.faq__q::after{
  content: "+"; flex-shrink: 0; font-size: 22px; font-weight: 400;
  color: var(--c-electric); line-height: 1;
  transition: transform .35s var(--ease);
}
.faq__item[open] .faq__q::after{ transform: rotate(45deg); }
.faq__a{ padding: 0 24px 22px; font-size: 14px; line-height: 1.9; color: var(--c-body); }
.faq__a p{ margin: 0; }

/* ============================================================
   9. 加盟 CTA
   ============================================================ */
.join{ position: relative; overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(18,10,42,.6)); }
.join__beam{ position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90%; height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(168,85,247,.3), transparent 65%);
  filter: blur(30px); pointer-events: none; }
.join__inner{ display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2; }
.join__en{ font-family: var(--font-en); font-style: italic; font-size: 16px;
  color: var(--c-crystal-1); letter-spacing: .25em; margin-bottom: 16px; }
.join__title{ font-family: var(--font-display); font-weight: 900; font-size: 48px;
  line-height: 1.2; color: var(--c-title); margin-bottom: 22px; }
.join__text{ font-size: 16px; color: var(--c-body); line-height: 1.8; }
.join__right{ display: flex; flex-direction: column; gap: 16px; }
.join__call{ }
.join__addr{ font-size: 13px; color: var(--c-muted); text-align: center; margin-top: 6px; }

/* ============================================================
   页脚
   ============================================================ */
.footer{ border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, transparent, rgba(8,5,20,.6)); padding: 56px 0 28px; }
.footer__inner{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand{ display: flex; align-items: center; gap: 14px; }
.footer__logo{ width: 42px; height: 42px; filter: drop-shadow(0 0 8px rgba(168,85,247,.5)); }
.footer__logo img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.footer__name{ font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-title); }
.footer__slogan{ font-family: var(--font-en); font-style: italic; font-size: 13px;
  color: var(--c-muted); letter-spacing: .12em; }
.footer__nav{ display: flex; flex-direction: column; gap: 12px; }
.footer__nav a{ font-size: 14px; color: var(--c-body); transition: color .3s; }
.footer__nav a:hover{ color: var(--c-electric); }
.footer__contact p{ font-size: 14px; color: var(--c-body); margin-bottom: 8px; }
.footer__social{ display: flex; flex-direction: column; gap: 14px; }
.footer__social-title{ font-size: 13px; color: var(--c-muted); letter-spacing: .08em; }
.footer__social-links{ display: flex; flex-direction: column; gap: 10px; }
.footer__social-link{ display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--c-body); transition: color .3s var(--ease); }
.footer__social-link svg{ width: 18px; height: 18px; flex-shrink: 0; }
.footer__social-link:hover{ color: var(--c-electric); }
.footer__bottom{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--glass-border);
  font-size: 12px; color: var(--c-muted); }

/* ============================================================
   悬浮按钮
   ============================================================ */
.fab{
  display: none; position: fixed; right: 16px; bottom: 20px; z-index: 90;
  padding: 14px 24px; border-radius: 30px; font-size: 15px; font-weight: 500;
  background: var(--grad-crystal); color: var(--c-title);
  box-shadow: 0 8px 28px rgba(124,58,237,.5), inset 0 1px 0 rgba(255,255,255,.25);
  animation: fabGlow 2.4s ease-in-out infinite;
}
@keyframes fabGlow{ 0%,100%{ box-shadow: 0 8px 24px rgba(124,58,237,.45); }
  50%{ box-shadow: 0 8px 36px rgba(168,85,247,.7); } }
.to-top{
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  color: var(--c-crystal-1); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px); box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .4s var(--ease);
}
.to-top.is-show{ opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover{ background: var(--grad-crystal); color: var(--c-title); box-shadow: var(--glow-electric); }
.to-top svg{ width: 22px; height: 22px; }

/* ============================================================
   滚动揭示动画
   ============================================================ */
.reveal{ opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in{ opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"]{ transition-delay: .1s; }
.reveal[data-delay="2"]{ transition-delay: .25s; }
.reveal[data-delay="3"]{ transition-delay: .4s; }
.reveal[data-delay="4"]{ transition-delay: .55s; }
.reveal[data-delay="5"]{ transition-delay: .7s; }
.reveal[data-delay="6"]{ transition-delay: .85s; }

/* ============================================================
   响应式 · H5
   ============================================================ */
@media (max-width: 1024px){
  :root{ --nav-h: 56px; }
  .container{ padding: 0 20px; }
  .section{ padding: 80px 0; }

  /* 导航 */
  .nav__menu{ display: none; }
  .nav__burger{ display: flex; }
  .nav__name-en{ display: none; }
  .nav__inner{ padding: 0 20px; }

  /* Hero */
  .hero{ padding: var(--nav-h) 20px 100px; min-height: 86vh; }
  .hero__title{ font-size: clamp(34px, 9vw, 52px); flex-direction: column; gap: 4px; }
  .hero__subtitle{ font-size: 15px; margin-bottom: 40px; }
  .hero__stats{ gap: 0; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; }
  .stat{ padding: 16px 8px; }
  .stat__num{ font-size: 34px; }
  .stat__sep{ display: none; }
  .hero__actions{ flex-direction: column; width: 100%; max-width: 320px; }
  .hero__actions .btn{ width: 100%; }
  .hero__scroll{ display: none; }

  /* 品牌 */
  .brand__grid{ grid-template-columns: 1fr; gap: 40px; }
  .brand__lead{ font-size: 18px; }
  .section-head__cn{ font-size: 28px; }
  .section-head{ margin-bottom: 36px; }

  /* 时间轴 → 纵向 */
  .timeline{ padding: 20px 0; }
  .timeline__track{ top: 0; bottom: 0; left: 18px; right: auto; width: 3px; height: auto;
    transform: none; }
  .timeline__fill{ width: 3px !important; height: 0; transition: height 1.6s var(--ease); }
  .timeline__nodes{ flex-direction: column; gap: 28px; align-items: flex-start; padding-left: 44px; }
  .t-node{ flex-direction: row; align-items: center; width: 100%; }
  .t-node__dot{ position: absolute; left: -33px; }
  .t-node__card{ position: relative !important; top: auto !important; bottom: auto !important;
    width: 100% !important; text-align: left !important; padding: 14px 18px; }
  .t-node[data-side="down"] .t-node__card, .t-node[data-side="up"] .t-node__card{ top: auto; bottom: auto; }

  /* 痛点 */
  .pain-grid{ grid-template-columns: 1fr; gap: 16px; }
  .pain-card{ padding: 22px 20px; }
  .pain-card__icon{ width: 36px; height: 36px; margin-bottom: 14px; }
  .pain-card__title{ font-size: 18px; }

  /* 优势 */
  .adv-grid{ grid-template-columns: 1fr; gap: 14px; }
  .adv-card{ padding: 22px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .adv-card__icon{ width: 36px; height: 36px; margin-bottom: 0; }
  .adv-card__title{ font-size: 17px; margin-bottom: 0; flex: 1; min-width: 100px; }
  .adv-card__data{ margin-bottom: 0; font-size: 14px; }
  .adv-card__desc{ width: 100%; }
  .adv-more{ display: block; }
  .adv-card:nth-child(n+4){ display: none; }
  .adv-grid.is-open .adv-card{ display: flex; }

  /* 盈利模型 */
  .profit-tabs{ display: flex; }
  .profit-grid{ grid-template-columns: 1fr; gap: 20px; }
  .profit-card{ padding: 28px 22px; }
  .profit-card[data-model="1"]{ display: none; }
  .profit-grid.is-model-1 .profit-card[data-model="0"]{ display: none; }
  .profit-grid.is-model-1 .profit-card[data-model="1"]{ display: block; }
  .profit-card__title{ font-size: 20px; }
  .pdata__num{ font-size: 28px; }

  /* 案例 */
  .cases__rail-wrap{ padding: 0 16px; }
  .cases__rail{
    display: flex; flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scroll-behavior: smooth; gap: 16px;
    padding: 12px 6px 28px; scrollbar-width: none;
  }
  .cases__rail::-webkit-scrollbar{ display: none; }
  .case-card{ flex: 0 0 82%; min-width: auto; max-width: none; width: auto; }
  .cases__arrow{ display: none !important; }
  .cases__dots{ display: flex; }

  /* CTA */
  .join__inner{ grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .join__title{ font-size: 34px; }
  .join__en{ margin-bottom: 10px; }

  /* 页脚 */
  .footer__inner{ grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__brand{ justify-content: center; }
  .footer__nav{ flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 18px; }
  .footer__bottom{ flex-direction: column; text-align: center; }

  /* 悬浮按钮 */
  .fab{ display: inline-flex; }
  .to-top{ right: 16px; bottom: 76px; }
}

@media (max-width: 480px){
  .hero__stats{ grid-template-columns: 1fr 1fr; }
  .stat{ padding: 12px 6px; }
  .stat__num{ font-size: 28px; }
  .section-head__cn{ font-size: 24px; }
  .value-grid{ grid-template-columns: 1fr 1fr; gap: 12px; }
  .value-card{ padding: 18px 14px; }
  .value-card__title{ font-size: 17px; }
  .profit-card__data{ gap: 14px 12px; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .curtain--left, .curtain--right{ display: none; }
  .star-field{ display: none; }
}
