/* ============================================================
   拷贝漫画2 · 官网样式
   风格：现代科技蓝 / 产品官网
   ============================================================ */

:root {
    --bg: #F8FAFC;
    --bg-card: #FFFFFF;
    --line: #E2E8F0;
    --text: #0F172A;
    --text-soft: #64748B;
    --text-faint: #94A3B8;
    --accent: #2563EB;
    --accent-bright: #3B82F6;
    --accent-deep: #1D4ED8;
    --gradient: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    --radius: 12px;
    --shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    --shadow-lg: 0 20px 60px rgba(37, 99, 235, 0.2);
}

* { 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.9);
    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-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}
.brand-icon.sm { width: 30px; height: 30px; font-size: 14px; }
.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(37, 99, 235, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 99, 235, 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(59, 130, 246, 0.1), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.06), 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(37, 99, 235, 0.08);
    color: var(--accent-deep);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* 手机模型 */
.hero-visual {
    display: flex;
    justify-content: center;
}
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #0F172A;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: #0F172A;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #F1F5F9;
    border-radius: 26px;
    overflow: hidden;
    padding-top: 32px;
}
.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.screen-title { font-weight: 700; font-size: 15px; color: var(--accent-deep); }
.screen-icons { font-size: 14px; }
.screen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
}
.grid-item {
    aspect-ratio: 3/4;
    border-radius: 8px;
}
.g1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.g2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.g3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.g4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.g5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.g6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }

/* ============ 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-visual {
    height: 200px;
    border-radius: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}
.showcase-emoji { font-size: 64px; }
.sv1 { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.sv2 { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); }
.sv3 { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.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: #0F172A;
    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-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; }
    .phone-mockup { width: 240px; height: 480px; }
}
