/* ============================================
   久久直播官网 全站样式
   ============================================ */
:root {
  --primary: #ff3e6c;
  --primary-dark: #e02b57;
  --primary-light: #ff6b8f;
  --secondary: #7c3aed;
  --dark: #14121a;
  --dark-2: #1e1b29;
  --dark-3: #2a2638;
  --text: #333333;
  --text-light: #777788;
  --text-invert: #f5f4f8;
  --bg: #ffffff;
  --bg-soft: #f7f6fa;
  --border: #ebe9f1;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(20, 18, 26, 0.08);
  --shadow-lg: 0 16px 48px rgba(255, 62, 108, 0.18);
  --gradient: linear-gradient(135deg, #ff3e6c 0%, #7c3aed 100%);
  --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: var(--shadow-lg);
}

.logo span.brand-99 { color: var(--primary); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active { color: var(--primary); }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient);
}

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 62, 108, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 62, 108, 0.4);
}

.main-nav a.nav-cta.active::after { display: none; }

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, 0.12), transparent),
              radial-gradient(900px 500px at 10% 10%, rgba(255, 62, 108, 0.10), transparent),
              var(--bg-soft);
  padding: 90px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-light);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.hero-badge b { color: var(--primary); }

.hero h1 {
  font-size: 46px;
  line-height: 1.25;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .sub {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 34px;
  max-width: 520px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 62, 108, 0.35);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(255, 62, 108, 0.45); }

.btn-ghost {
  background: #fff;
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
}

.hero-stats .stat b {
  display: block;
  font-size: 26px;
  color: var(--dark);
  font-weight: 800;
}

.hero-stats .stat span { font-size: 13px; color: var(--text-light); }

/* 手机模型 */
.phone-mock {
  width: 280px;
  height: 570px;
  margin: 0 auto;
  border-radius: 42px;
  background: var(--dark);
  padding: 12px;
  box-shadow: 0 30px 80px rgba(20, 18, 26, 0.35);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(160deg, #2b1b4d 0%, #4a154b 45%, #ff3e6c 130%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: var(--dark);
  border-radius: 16px;
  z-index: 2;
}

.live-tag {
  position: absolute;
  top: 54px;
  left: 22px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.viewer-tag {
  position: absolute;
  top: 54px;
  right: 22px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 50px;
}

.chat-bubbles { display: flex; flex-direction: column; gap: 10px; }

.chat-bubbles .bubble {
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 50px;
  align-self: flex-start;
  backdrop-filter: blur(4px);
}

.chat-bubbles .bubble b { color: #ffd166; font-weight: 600; }

.gift-float {
  position: absolute;
  right: 20px;
  bottom: 120px;
  font-size: 42px;
  animation: floatUp 3s ease-in-out infinite;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ---------- 通用 section ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }

.section-head .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 34px;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p { color: var(--text-light); font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 62, 108, 0.12), rgba(124, 58, 237, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 19px; color: var(--dark); margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 14.5px; color: var(--text-light); }

/* ---------- 步骤 ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
}

.step-num {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-light); }

/* ---------- 数据展示 ---------- */
.stats-band {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 54px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-band .stat b {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-band .stat span { color: rgba(245, 244, 248, 0.65); font-size: 14px; }

/* ---------- 用户评价 ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.review-stars { color: #ffb400; font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.review-card p { font-size: 14.5px; color: var(--text); margin-bottom: 20px; }

.review-user { display: flex; align-items: center; gap: 12px; }

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-user b { display: block; font-size: 14px; color: var(--dark); }
.review-user span { font-size: 12px; color: var(--text-light); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-q::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p { padding: 0 24px 20px; color: var(--text-light); font-size: 14.5px; }

/* ---------- CTA 大区块 ---------- */
.cta-band {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -120px;
  right: -80px;
}

.cta-band h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: 0.9; margin-bottom: 30px; font-size: 16px; }

.cta-band .btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.cta-band .btn-white:hover { transform: translateY(-3px); }

/* ---------- 下载页 ---------- */
.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
}

.dl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.dl-icon { font-size: 52px; margin-bottom: 18px; }
.dl-card h3 { font-size: 22px; color: var(--dark); margin-bottom: 8px; }
.dl-card .dl-meta { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.dl-card .btn { width: 100%; }

.qr-tip {
  text-align: center;
  margin-top: 40px;
  color: var(--text-light);
  font-size: 14px;
}

.sys-req {
  max-width: 860px;
  margin: 60px auto 0;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
}

.sys-req h3 { color: var(--dark); font-size: 18px; margin-bottom: 16px; }
.sys-req ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.sys-req li { font-size: 14px; color: var(--text-light); padding-left: 22px; position: relative; }
.sys-req li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ---------- 关于页 ---------- */
.about-hero { text-align: center; max-width: 720px; margin: 0 auto; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 32px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--secondary));
}

.timeline-item { position: relative; padding-bottom: 34px; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(255, 62, 108, 0.3);
}

.timeline-item .time { font-size: 13px; font-weight: 700; color: var(--primary); }
.timeline-item h3 { font-size: 17px; color: var(--dark); margin: 4px 0 6px; }
.timeline-item p { font-size: 14px; color: var(--text-light); }

/* ---------- 内页 Hero ---------- */
.page-hero {
  background: radial-gradient(900px 400px at 70% -20%, rgba(124, 58, 237, 0.12), transparent),
              radial-gradient(700px 380px at 15% 0%, rgba(255, 62, 108, 0.10), transparent),
              var(--bg-soft);
  padding: 72px 0 60px;
  text-align: center;
}

.page-hero h1 { font-size: 38px; color: var(--dark); font-weight: 800; margin-bottom: 14px; }
.page-hero p { color: var(--text-light); font-size: 16px; max-width: 620px; margin: 0 auto; }

/* 面包屑 */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- 法律文档页 ---------- */
.legal-body { max-width: 820px; margin: 0 auto; padding: 60px 24px 80px; }
.legal-body h1 { font-size: 32px; color: var(--dark); margin-bottom: 8px; }
.legal-body .updated { color: var(--text-light); font-size: 13px; margin-bottom: 36px; }
.legal-body h2 { font-size: 21px; color: var(--dark); margin: 34px 0 12px; }
.legal-body h3 { font-size: 17px; color: var(--dark); margin: 24px 0 10px; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--text); margin-bottom: 10px; }
.legal-body ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }
.legal-body strong { color: var(--dark); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark);
  color: var(--text-invert);
  padding: 64px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(245, 244, 248, 0.6); max-width: 280px; }

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 700;
}

.footer-col li { margin-bottom: 12px; }

.footer-col a {
  font-size: 14px;
  color: rgba(245, 244, 248, 0.65);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(245, 244, 248, 0.45);
}

.footer-bottom a { color: rgba(245, 244, 248, 0.6); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ---------- 动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .hero-stats { justify-content: center; }
  .phone-mock { margin-top: 40px; }
  .feature-grid, .review-grid, .steps-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }

  .main-nav.open { transform: translateY(0); }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    align-items: stretch;
  }

  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav li:last-child { border-bottom: none; padding-top: 12px; }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-cta { text-align: center; }

  .hero { padding: 56px 0; }
  .hero h1 { font-size: 32px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 28px; }
  .feature-grid, .review-grid, .steps-grid, .value-grid, .download-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .sys-req ul { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 24px; }
  .phone-mock { width: 240px; height: 490px; }
}
