/* ============================================
   Libvio - libviopro.com.cn
   主题：深靛蓝紫 + 亮黄撞色
   ============================================ */

:root {
  --bg-deep: #0f0c29;
  --bg-mid: #1a1a4e;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 214, 10, 0.22);
  --text: #f5f3ff;
  --text-dim: #b8b3d9;
  --gold: #ffd60a;
  --amber: #ffb703;
  --purple: #7c3aed;
  --grad: linear-gradient(135deg, #ffd60a 0%, #ff8c00 100%);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse at top, var(--bg-mid) 0%, var(--bg-deep) 70%) fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { max-width: 820px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn-primary {
  background: var(--grad);
  color: #1a1005;
  box-shadow: 0 8px 24px rgba(255, 214, 10, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 140, 0, 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-lg { padding: 15px 38px; font-size: 16px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 12, 41, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name {
  font-weight: 800; font-size: 20px; letter-spacing: 2px;
}
.menu { display: flex; gap: 28px; }
.menu a { color: var(--text-dim); font-size: 15px; transition: color .2s; }
.menu a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-download { padding: 9px 22px; font-size: 14px; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.menu-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.blob-1 { width: 380px; height: 380px; background: #ffd60a; top: -80px; right: -80px; opacity: 0.3; }
.blob-2 { width: 420px; height: 420px; background: #7c3aed; bottom: -120px; left: -60px; opacity: 0.5; }
.blob-3 { width: 240px; height: 240px; background: #ff8c00; top: 40%; left: 45%; opacity: 0.2; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 214, 10, 0.12);
  color: var(--gold);
  font-size: 13px;
  border: 1px solid rgba(255, 214, 10, 0.35);
  margin-bottom: 22px;
}
.hero-text h1 {
  font-size: clamp(48px, 8vw, 80px);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f5f3ff 20%, #ffd60a 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 4px;
}
.subtitle { font-size: 18px; color: var(--text-dim); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.hero-meta li { position: relative; padding-left: 18px; }
.hero-meta li::before {
  content: "▶"; position: absolute; left: 0; color: var(--gold); font-size: 11px;
}

/* 手机样机 */
.hero-phones {
  position: relative;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  position: absolute;
  width: 220px;
  border-radius: 30px;
  overflow: hidden;
  border: 6px solid rgba(255, 214, 10, 0.25);
  box-shadow: var(--shadow);
  background: #000;
}
.phone img { width: 100%; height: auto; display: block; }
.phone-main {
  position: relative;
  z-index: 3;
  width: 240px;
}
.phone-back {
  z-index: 1;
  transform: translateX(-120px) rotate(-8deg) scale(0.92);
  opacity: 0.85;
}
.phone-front {
  z-index: 2;
  transform: translateX(120px) rotate(8deg) scale(0.92);
  opacity: 0.85;
}

/* ---------- 通用 section ---------- */
section { padding: 90px 0; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center; color: var(--text-dim);
  margin-bottom: 50px; font-size: 16px;
}

/* ---------- 功能 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .25s ease, background .25s ease, border-color .25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 214, 10, 0.5);
}
.feature-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border-radius: 14px;
  background: var(--grad);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- 海报墙 ---------- */
.shows { background: rgba(0, 0, 0, 0.25); }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.poster-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s;
}
.poster-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 140, 0, 0.55);
}
.poster-img { position: relative; overflow: hidden; }
.poster-img img { width: 100%; display: block; aspect-ratio: 2/3; object-fit: cover; }
.poster-card figcaption {
  padding: 14px 16px;
}
.poster-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster-card figcaption span {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ---------- 数据 ---------- */
.stats { padding: 60px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat b span { font-size: 0.6em; }
.stat span:last-child { color: var(--text-dim); font-size: 14px; }

/* ---------- CTA ---------- */
.cta { padding: 80px 0; }
.cta-inner {
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.13), rgba(124, 58, 237, 0.18));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 60px 30px;
  text-align: center;
}
.cta-logo {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 18px;
}
.cta h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.cta p { color: var(--text-dim); margin-bottom: 30px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none; border: none;
  color: #fff;
  padding: 18px 22px;
  font-size: 16px; font-weight: 600;
  text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-q .arrow {
  font-size: 22px; color: var(--gold);
  transition: transform .25s;
}
.faq-item.open .faq-q .arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--text-dim); font-size: 14.5px; }

/* ---------- 底部 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: rgba(0, 0, 0, 0.4);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-copy { color: var(--text-dim); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 50px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-phones { height: 440px; margin-top: 20px; }
  .phone { width: 170px; }
  .phone-main { width: 190px; }
  .phone-back { transform: translateX(-85px) rotate(-8deg) scale(0.9); }
  .phone-front { transform: translateX(85px) rotate(8deg) scale(0.9); }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  .menu {
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(15, 12, 41, 0.98);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .menu.open { max-height: 320px; }
  .menu a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .menu-toggle { display: flex; }
  .nav-download { display: none; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  section { padding: 60px 0; }
}
