:root {
  --bg: #190611;
  --bg-dark: #1E0915;
  --panel: #2E0F20;
  --panel-light: #40162C;
  --primary: #F45C96;
  --wine: #B93A70;
  --gold: #FFC879;
  --text: #FCE8F0;
  --text-muted: #D9AFC0;
  --border: rgba(255,190,215,.10);
  --border-strong: rgba(255,190,215,.20);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* 通用渐变与文字 */
.grad-text {
  background: linear-gradient(90deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-grad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: var(--bg);
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 28px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 15px rgba(244,92,150,.3);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,92,150,.5); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(25,6,17,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); }
.brand img { height: 32px; width: auto; border-radius: 8px; border: 1px solid var(--border-strong); }
.nav-links { display: none; gap: 20px; }
.nav-links a { font-size: 14px; color: var(--text-muted); transition: color .3s, text-shadow .3s; position: relative; }
.nav-links a:hover { color: var(--gold); text-shadow: 0 0 8px rgba(255,200,121,.5); }
.menu-toggle { display: block; padding: 8px; color: var(--primary); font-size: 24px; line-height: 1; }
.mobile-nav {
  display: none; flex-direction: column; gap: 10px;
  padding: 16px 20px; background: var(--panel); border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text-muted); font-size: 15px; padding: 6px 0; }

/* Hero */
.hero { position: relative; padding: 40px 0 60px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(244,92,150,.15) 0%, transparent 70%);
  border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 30px; }
.hero-text { text-align: center; }
.hero-tagline { font-size: 13px; color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase; }
.hero h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.2; margin-bottom: 16px; font-weight: 800; }
.hero p.desc { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.hero-gallery img {
  width: 100%; height: auto; aspect-ratio: 9/16; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  transition: transform .4s, border-color .4s;
}
.hero-gallery img:hover { transform: scale(1.03); border-color: var(--primary); }

/* Marquee */
.marquee-wrap {
  overflow: hidden; white-space: nowrap; background: var(--panel);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.marquee-content {
  display: inline-block; animation: scroll 20s linear infinite;
  font-size: 14px; font-weight: 700;
}
.marquee-content span { margin: 0 20px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections & Cards */
.section { padding: 60px 0; border-bottom: 1px solid var(--border); }
.section-title { font-size: 24px; text-align: center; margin-bottom: 8px; font-weight: 800; }
.section-sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card h3 { color: var(--gold); font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 14px; color: var(--text-muted); }

/* Feature grid layout */
.feature-card { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon {
  flex: 0 0 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(244,92,150,.2), rgba(185,58,112,.2));
  display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary);
}
.feature-card h3 { margin-bottom: 6px; }

/* Split row */
.split-row { display: flex; flex-direction: column; gap: 30px; align-items: center; }
.split-img { width: 100%; max-width: 320px; border-radius: var(--radius); border: 1px solid var(--border); }
.split-content { flex: 1; }
.split-content ul { display: flex; flex-direction: column; gap: 12px; }
.split-content li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.split-content li::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0; margin-top: 8px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 16px; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.faq-q:hover { color: var(--gold); }
.faq-a { padding: 0 16px 16px; font-size: 14px; color: var(--text-muted); display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { color: var(--gold); }

/* Reviews */
.review-card {
  background: var(--panel-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; display: flex; gap: 16px;
}
.review-avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary); flex-shrink: 0; object-fit: cover; }
.review-body p { font-size: 14px; color: var(--text); font-style: italic; margin-bottom: 8px; }
.review-user { font-size: 12px; color: var(--text-muted); }

/* Download Area */
.download-area { text-align: center; }
.download-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }
.download-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: var(--bg); font-weight: 700; padding: 14px 32px;
  border-radius: 30px; font-size: 16px; box-shadow: 0 4px 15px rgba(244,92,150,.3);
  transition: transform .2s, box-shadow .2s;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,92,150,.5); }
.steps { margin-top: 40px; text-align: left; background: var(--panel); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); max-width: 600px; margin-left: auto; margin-right: auto; }
.steps ol { list-style: decimal inside; color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.steps li { margin-bottom: 8px; }

/* Footer */
.site-footer { padding: 30px 0; background: var(--bg-dark); font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.footer-about { margin-bottom: 8px; }
.footer-about summary { cursor: pointer; display: inline-block; font-size: 12px; color: var(--text-muted); list-style: none; }
.footer-about summary::-webkit-details-marker { display: none; }
.footer-about summary:hover { color: var(--primary); }
.footer-about-content { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
.footer-about-content a { color: var(--text-muted); transition: color .2s; }
.footer-about-content a:hover { color: var(--gold); }
.footer-meta { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-meta a { color: var(--text-muted); }
.footer-meta a:hover { color: var(--primary); }

/* Floating Download */
.float-download {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 99; background: rgba(46,15,32,.95); backdrop-filter: blur(8px);
  border: 1px solid var(--primary); border-radius: 30px;
  padding: 8px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
  white-space: nowrap;
}
.float-download img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-strong); }
.float-download .float-info { display: flex; flex-direction: column; line-height: 1.3; }
.float-info .title { font-size: 13px; font-weight: 700; color: var(--gold); }
.float-info .sub { font-size: 11px; color: var(--text-muted); }
.float-download .btn-small { background: linear-gradient(135deg, var(--primary), var(--gold)); color: var(--bg); font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 20px; }

/* Dialog for Baidu/Apple */
.copy-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.7); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.copy-modal.open { display: flex; }
.copy-box { background: var(--panel); border: 1px solid var(--primary); border-radius: var(--radius); padding: 24px; max-width: 400px; width: 100%; text-align: center; }
.copy-box p { font-size: 15px; margin-bottom: 16px; color: var(--text); }
.copy-box input { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-dark); color: var(--gold); font-size: 13px; text-align: center; margin-bottom: 16px; outline: none; }
.copy-box button { width: 100%; }

/* Responsive */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: row; align-items: center; gap: 40px; }
  .hero-text { flex: 1 1 50%; text-align: left; }
  .hero-gallery { flex: 1 1 50%; grid-template-columns: repeat(3, 1fr); margin-top: 0; }
  .split-row { flex-direction: row; align-items: stretch; }
  .split-row.reverse { flex-direction: row-reverse; }
  .split-img { max-width: 300px; object-fit: cover; height: 100%; }
  .hero-actions { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split-row { gap: 50px; }
  .split-img { max-width: 350px; }
  .section { padding: 80px 0; }
}