/* ============================================================
   皮皮喵漫画 · 官网样式
   风格：暗夜紫红 / 居中 Hero + 发光
   ============================================================ */

:root {
    --bg: #1A0A14;
    --bg-card: #2A1525;
    --line: #3D2438;
    --text: #FFF0F5;
    --text-soft: #C49BAE;
    --text-faint: #8A6B7A;
    --accent: #EC4899;
    --accent-bright: #F472B6;
    --accent-deep: #DB2777;
    --gradient: linear-gradient(135deg, #DB2777 0%, #EC4899 100%);
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 70px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ============ 导航 ============ */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(26,10,20,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 38px; width: 38px; border-radius: 10px; object-fit: cover; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--accent-bright); }

/* ============ 按钮 ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; border-radius: 12px;
    font-size: 14px; font-weight: 600; transition: all .25s;
}
.btn-small { padding: 8px 18px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-glow {
    background: var(--gradient); color: #fff;
    box-shadow: 0 0 20px rgba(236,72,153,0.4);
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(236,72,153,0.6); }

/* ============ 居中 Hero 暗夜 ============ */
.hero-dark {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    text-align: center;
}
.glow-orb {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: .2;
}
.orb1 { width: 400px; height: 400px; background: #EC4899; top: -80px; left: -80px; }
.orb2 { width: 350px; height: 350px; background: #DB2777; bottom: -60px; right: -60px; }
.hero-center { position: relative; z-index: 1; }
.hero-logo {
    width: 100px; height: 100px; border-radius: 24px; object-fit: cover;
    margin: 0 auto 24px;
    box-shadow: 0 0 40px rgba(236,72,153,0.4);
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-center h1 {
    font-size: 48px; font-weight: 800; margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #F472B6 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 16px; color: var(--accent-bright); margin-bottom: 20px; }
.hero-desc {
    font-size: 15px; color: var(--text-soft); line-height: 1.9;
    max-width: 480px; margin: 0 auto 36px;
}

/* ============ Section ============ */
section { padding: 80px 0; }
.section-title {
    font-size: 30px; font-weight: 800; text-align: center; margin-bottom: 48px;
}

/* ============ 核心功能（4列） ============ */
.features { background: var(--bg-card); }
.feature-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.f-item {
    padding: 30px 24px; border-radius: var(--radius);
    background: var(--bg); border: 1px solid var(--line);
    text-align: center; transition: all .3s;
}
.f-item:hover { border-color: var(--accent); transform: translateY(-4px); }
.f-icon { font-size: 36px; margin-bottom: 14px; }
.f-item h3 { font-size: 17px; margin-bottom: 8px; color: var(--accent-bright); }
.f-item p { font-size: 14px; color: var(--text-soft); line-height: 1.8; }

/* ============ 界面展示（4列手机截图） ============ */
.show-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.show-card { text-align: center; }
.show-card img {
    width: 100%; max-width: 180px; margin: 0 auto 14px;
    border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,0.4); transition: transform .3s;
}
.show-card:hover img { transform: translateY(-6px); }
.show-label {
    display: inline-block; padding: 6px 16px; background: var(--bg-card); border-radius: 20px;
    font-size: 13px; font-weight: 600; color: var(--accent-bright);
    border: 1px solid var(--line);
}

/* ============ FAQ ============ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list details {
    border: 1px solid var(--line); border-radius: 12px;
    padding: 18px 24px; margin-bottom: 10px; background: var(--bg-card);
}
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary {
    font-size: 15px; font-weight: 600; cursor: pointer;
    list-style: none; position: relative; padding-right: 28px;
}
.faq-list summary::after {
    content: "+"; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%); font-size: 20px; color: var(--accent);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { font-size: 14px; color: var(--text-soft); padding-top: 10px; }

/* ============ 页脚 ============ */
.footer {
    background: #0D050A; color: var(--text-faint); padding: 32px 0;
    border-top: 1px solid var(--line);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer-logo { height: 32px; width: 32px; border-radius: 6px; object-fit: cover; }
.footer-copy { font-size: 13px; }

/* ============ 底部悬浮下载栏 ============ */
.sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
    background: rgba(42,21,37,0.95); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 10px 0;
}
.sticky-inner { display: flex; align-items: center; gap: 12px; }
.sticky-logo { height: 36px; width: 36px; border-radius: 8px; object-fit: cover; }
.sticky-text { flex: 1; display: flex; flex-direction: column; }
.sticky-text strong { font-size: 14px; }
.sticky-text span { font-size: 12px; color: var(--text-soft); }

/* ============ 滚动渐入 ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
    .hero-center h1 { font-size: 32px; }
    .feature-row { grid-template-columns: repeat(2, 1fr); }
    .show-row { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { flex-direction: column; text-align: center; }
}
