/* ==========================================================================
   红桃视频官网 全站样式
   ========================================================================== */
:root {
  --primary: #e5395c;
  --primary-dark: #c22547;
  --primary-light: #ff6b8a;
  --bg: #0f0f14;
  --bg-soft: #17171f;
  --bg-card: #1e1e29;
  --text: #f2f2f5;
  --text-muted: #a0a0b0;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 10px 40px rgba(229, 57, 92, 0.18);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  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(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.brand img { width: 34px; height: 34px; }
.brand .brand-name { background: linear-gradient(135deg, var(--primary-light), var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a.active { border-bottom: 2px solid var(--primary); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 999px;
  font-weight: 600;
  border-bottom: none !important;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(229, 57, 92, 0.3); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.25s;
}

.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(229, 57, 92, 0.28), transparent 65%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(229, 57, 92, 0.35); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.hero-stats .stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats .stat span { color: var(--text-muted); font-size: 14px; }

/* ---------- 通用 section ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ---------- 特性卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover { transform: translateY(-6px); border-color: rgba(229, 57, 92, 0.45); }

.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(229, 57, 92, 0.14);
  margin-bottom: 18px;
}

.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}

.step .num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  margin-bottom: 16px;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--primary-light); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--text-muted); font-size: 15px; }

/* ---------- 下载区 ---------- */
.download-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.dl-card:hover { transform: translateY(-6px); border-color: rgba(229, 57, 92, 0.45); }
.dl-card .os-icon { font-size: 46px; margin-bottom: 14px; }
.dl-card h3 { font-size: 20px; margin-bottom: 8px; }
.dl-card .meta { color: var(--text-muted); font-size: 13.5px; margin-bottom: 22px; }

.qr-tip { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 34px; }

/* ---------- 内容页(隐私/条款/关于) ---------- */
.page-hero {
  padding: 72px 0 48px;
  text-align: center;
  background: radial-gradient(ellipse at 50% -30%, rgba(229, 57, 92, 0.22), transparent 60%);
}

.page-hero h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; }

.prose { max-width: 780px; margin: 0 auto; padding: 20px 20px 80px; }
.prose h2 { font-size: 22px; margin: 38px 0 14px; color: var(--primary-light); }
.prose h3 { font-size: 17px; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--text-muted); font-size: 15.5px; margin-bottom: 10px; }
.prose ul { padding-left: 22px; }
.prose ul li { list-style: disc; }
.prose .updated { font-size: 13.5px; color: var(--text-muted); opacity: 0.8; }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
}

.contact-card .icon { font-size: 34px; margin-bottom: 12px; }
.contact-card h3 { margin-bottom: 8px; font-size: 17px; }
.contact-card p { color: var(--text-muted); font-size: 14.5px; }
.contact-card a { color: var(--primary-light); }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  margin: 0 20px;
}

.cta-banner .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(229, 57, 92, 0.22), rgba(194, 37, 71, 0.12));
  border: 1px solid rgba(229, 57, 92, 0.35);
  border-radius: 22px;
  padding: 56px 32px;
  text-align: center;
}

.cta-banner h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 56px 0 30px;
  margin-top: 84px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-grid h4 { font-size: 15px; margin-bottom: 16px; color: var(--text); }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--primary-light); }
.footer-about p { color: var(--text-muted); font-size: 14px; margin-top: 14px; max-width: 300px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.notfound .code {
  font-size: clamp(80px, 16vw, 150px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.notfound p { color: var(--text-muted); margin-bottom: 30px; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: rgba(15, 15, 20, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 20px 0 26px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links a.active { border-bottom: none; color: var(--primary-light); }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero { padding: 68px 0 80px; }
  .hero-stats { gap: 32px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
