/* ============================================================
   怦怦 ppai.net.cn  落地页样式
   主题：樱花粉白 + 桃粉主色 + 深莓区块
   ============================================================ */

:root {
  --bg: #FFF5F8;
  --bg-tint: #FDE6EF;
  --ink: #2A1622;
  --muted: #8A6B78;
  --brand: #FF5C96;
  --brand-deep: #E23E7C;
  --brand-soft: #FFE0EC;
  --dark: #2A1020;
  --dark-soft: #3A1830;
  --card: #FFFFFF;
  --line: #F6D8E4;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(180, 50, 100, .35);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
}

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

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

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-family: inherit; font-weight: 600; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-small { padding: 9px 20px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, #FF7FAE, var(--brand-deep)); color: #fff; box-shadow: 0 12px 26px -12px rgba(255, 92, 150, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(255, 92, 150, .8); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(42, 22, 34, .25); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 导航 ---------- */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .25s ease, box-shadow .25s ease; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 20px; letter-spacing: 2px; }
.nav-links { display: flex; gap: 28px; }
.nav-link { font-size: 15px; color: var(--muted); transition: color .18s; }
.nav-link:hover, .nav-link.active { color: var(--brand); }
.nav-download { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 24px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.site-nav.scrolled { background: rgba(255, 245, 248, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 90px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, var(--brand-soft), transparent 70%); z-index: 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-title { font-family: var(--font-serif); font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.18; letter-spacing: 1px; margin-bottom: 20px; }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 36px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 22px; font-family: var(--font-serif); color: var(--brand); }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-visual { display: flex; justify-content: center; }
.hero-img { width: 100%; max-width: 420px; border-radius: 24px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 通用 section ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-tag { display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--brand); font-weight: 700; margin-bottom: 12px; }
.section-title { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.section-desc { color: var(--muted); font-size: 16px; }

/* ---------- 产品预览 ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; justify-items: center; }
.showcase-item { text-align: center; }
.phone { width: 230px; border-radius: 32px; padding: 8px; background: #2A1622; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); }
.phone img { border-radius: 25px; width: 100%; aspect-ratio: 9/18; object-fit: cover; object-position: top; }
.showcase-item figcaption strong { display: block; font-size: 17px; margin-bottom: 6px; margin-top: 16px; }
.showcase-item figcaption { color: var(--muted); font-size: 14px; }

/* ---------- 核心功能 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.faq-arrow { width: 10px; height: 10px; flex: none; margin-left: 16px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .25s; }
.faq-item.open .faq-arrow { transform: rotate(225deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ---------- 下载 CTA ---------- */
.section-cta { background: linear-gradient(135deg, var(--brand-deep), var(--dark)); color: #fff; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-logo { width: 80px; height: 80px; border-radius: 20px; object-fit: cover; margin-bottom: 22px; box-shadow: var(--shadow); }
.cta-title { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-sub { color: rgba(255,255,255,.88); margin-bottom: 30px; max-width: 520px; }
.cta-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- 页脚 ---------- */
.site-footer { background: #1F0D18; color: #B08A9C; padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #FBE4EE; font-weight: 600; }
.footer-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 14px; transition: color .18s; }
.footer-links a:hover { color: #FF9CC0; }
.footer-copy { font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 1; }
  .hero-visual { order: 0; margin-bottom: 10px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .showcase-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav-links.open { max-height: 320px; }
  .nav-link { padding: 16px 8%; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-download { display: none; }
  .nav-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .hero-stats { gap: 22px; }
  .phone { width: 210px; }
  .feature-grid { grid-template-columns: 1fr; }
}
