/* ============================================================
   漫蛙 · 官网样式
   风格：暖橙夕阳 / 产品官网
   ============================================================ */

:root {
    --bg: #FFF7ED;
    --bg-card: #FFFFFF;
    --line: #FED7AA;
    --text: #431407;
    --text-soft: #57534E;
    --text-faint: #A8A29E;
    --accent: #F97316;
    --accent-bright: #FB923C;
    --accent-deep: #EA580C;
    --gradient: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    --radius: 12px;
    --shadow: 0 4px 20px rgba(249, 115, 22, 0.12);
    --shadow-lg: 0 20px 60px rgba(249, 115, 22, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: 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.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}
.brand-name {
    font-size: 19px;
    font-weight: 700;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 15px;
    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 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: all .25s;
}
.btn-small { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5); }
.btn-light {
    background: #fff;
    color: var(--accent-deep);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}
.btn-light:hover { transform: translateY(-2px); }

/* ============ Hero ============ */
.hero {
    padding: 80px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(251, 146, 60, 0.15), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(249, 115, 22, 0.08), transparent 50%),
        var(--bg);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.hero-desc {
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.9;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-note { font-size: 13px; color: var(--text-faint); }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
    padding: 6px 16px;
    background: rgba(249, 115, 22, 0.08);
    color: var(--accent-deep);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Hero 截图 */
.hero-visual {
    display: flex;
    justify-content: center;
}
.hero-img {
    width: 100%;
    max-width: 300px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* ============ Section 通用 ============ */
section { padding: 80px 0; }
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}
.section-sub {
    text-align: center;
    color: var(--text-soft);
    font-size: 16px;
    margin-bottom: 56px;
}

/* ============ 功能特色 ============ */
.features { background: #fff; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 36px 28px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: all .3s;
    border: 1px solid transparent;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-bright);
    box-shadow: var(--shadow);
}
.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.8;
}

/* ============ 产品展示 ============ */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.showcase-item { text-align: center; }
.showcase-item img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 16px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform .3s;
}
.showcase-item:hover img { transform: translateY(-6px); }
.showcase-item h4 {
    font-size: 18px;
    margin-bottom: 6px;
}
.showcase-item p {
    font-size: 14px;
    color: var(--text-soft);
}

/* ============ CTA ============ */
.cta {
    background: var(--gradient);
    color: #fff;
    text-align: center;
    padding: 90px 0;
}
.cta h2 {
    font-size: 36px;
    margin-bottom: 12px;
}
.cta p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 36px;
}

/* ============ FAQ ============ */
.faq { background: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: border-color .2s;
}
.faq-list details[open] { border-color: var(--accent-bright); }
.faq-list summary {
    font-size: 16px;
    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: 22px;
    color: var(--accent);
    font-weight: 300;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
    font-size: 15px;
    color: var(--text-soft);
    padding-top: 12px;
    line-height: 1.9;
}

/* ============ 页脚 ============ */
.footer {
    background: #431407;
    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: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer-logo { height: 36px; border-radius: 6px; object-fit: contain; }
.footer-copy { font-size: 13px; }

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

/* ============ 响应式 ============ */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: 34px; }
    .features-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
    .hero-text h1 { font-size: 28px; }
    .section-title { font-size: 26px; }
    .hero-img { max-width: 240px; }
}
