/* ============================================================
   漫蛙 · 官网样式
   风格：深青暗色 Hero + Bento 网格
   ============================================================ */

:root {
    --bg: #F8FAFA;
    --dark: #042F2E;
    --dark-2: #134E4A;
    --accent: #14B8A6;
    --accent-bright: #2DD4BF;
    --accent-deep: #0D9488;
    --gradient: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
    --text: #1E293B;
    --text-soft: #64748B;
    --text-faint: #94A3B8;
    --line: #E2E8F0;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(13, 148, 136, 0.12);
    --shadow-lg: 0 24px 60px rgba(4, 47, 46, 0.35);
}

* { 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(255,255,255,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: 36px; border-radius: 8px; object-fit: contain; }
.brand-name { font-size: 18px; font-weight: 700; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-soft); transition: color .2s; }
.nav-links a:hover { color: var(--accent-deep); }

/* ============ 按钮 ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; border-radius: 10px;
    font-size: 14px; font-weight: 600; transition: all .25s;
}
.btn-small { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 14px rgba(20,184,166,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,184,166,0.5); }
.btn-accent { background: #fff; color: var(--accent-deep); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.btn-accent:hover { transform: translateY(-2px); }

/* ============ 深色 Hero ============ */
.hero-dark {
    position: relative;
    background: linear-gradient(160deg, #042F2E 0%, #134E4A 60%, #0F766E 100%);
    color: #fff;
    padding: 90px 0;
    overflow: hidden;
}
.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .4;
}
.glow1 { width: 400px; height: 400px; background: #2DD4BF; top: -100px; right: -80px; }
.glow2 { width: 300px; height: 300px; background: #14B8A6; bottom: -60px; left: -60px; }
.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
.hero-tag {
    display: inline-block; padding: 6px 16px;
    background: rgba(45,212,191,0.15); border: 1px solid rgba(45,212,191,0.3);
    border-radius: 20px; font-size: 13px; color: #5EEAD4; margin-bottom: 24px;
}
.hero-text h1 { font-size: 46px; font-weight: 800; line-height: 1.25; margin-bottom: 20px; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.9; margin-bottom: 32px; max-width: 500px; }
.hero-actions { margin-bottom: 36px; }
.hero-stats { display: flex; align-items: center; gap: 20px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 22px; font-weight: 800; color: #5EEAD4; }
.stat span { font-size: 13px; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.15); }
.hero-photo { display: flex; justify-content: center; }
.hero-photo img {
    max-width: 280px; border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ============ Bento 网格 ============ */
.bento { padding: 80px 0; background: #fff; }
.section-title { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 48px; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bento-card {
    padding: 32px 28px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: all .3s;
    border: 1px solid transparent;
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--accent-bright); box-shadow: var(--shadow); }
.bento-card.card-lg { grid-column: span 2; }
.bento-card.card-wide { grid-column: span 3; display: flex; align-items: center; gap: 20px; }
.bento-card.card-wide .card-emoji { margin-bottom: 0; }
.card-emoji { font-size: 36px; margin-bottom: 14px; }
.bento-card h3 { font-size: 18px; margin-bottom: 8px; }
.bento-card p { font-size: 14px; color: var(--text-soft); line-height: 1.8; }

/* ============ 截图展示 ============ */
.showcase { padding: 80px 0; background: var(--bg); }
.section-sub { text-align: center; color: var(--text-soft); font-size: 15px; margin-top: -36px; margin-bottom: 48px; }
.showcase-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.show-card { text-align: center; }
.show-card img {
    width: 100%; max-width: 260px; margin: 0 auto 14px;
    border-radius: 16px; box-shadow: var(--shadow);
    transition: transform .3s;
}
.show-card:hover img { transform: translateY(-6px); }
.show-label {
    display: inline-block; padding: 6px 18px;
    background: #fff; border-radius: 20px;
    font-size: 14px; font-weight: 600; color: var(--accent-deep);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ============ FAQ ============ */
.faq { padding: 80px 0; background: #fff; }
.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;
}
.faq-list details[open] { border-color: var(--accent-bright); }
.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: var(--dark); color: rgba(255,255,255,0.5); padding: 32px 0;
}
.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; border-radius: 6px; object-fit: contain; }
.footer-copy { font-size: 13px; }

/* ============ 底部悬浮下载栏 ============ */
.sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
    background: rgba(255,255,255,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; border-radius: 8px; object-fit: contain; }
.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) {
    .nav-links { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-text h1 { font-size: 32px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.card-lg, .bento-card.card-wide { grid-column: span 1; }
    .bento-card.card-wide { flex-direction: column; align-items: flex-start; }
    .showcase-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .hero-stats { flex-wrap: wrap; }
}
