/* 奇笔 网站样式 — 2026-06-30 重新设计
 * 暖色系，沿用应用截图配色
 */

:root {
    --bg: #f5f0e1;
    --text: #2c2620;
    --accent: #c8463b;
    --accent-soft: #c8463b15;
    --card: #ffffff;
    --border: #d4cfc0;
    --muted: #7a7368;
    --serif: 'Noto Serif SC', 'Source Han Serif SC', serif;
    --sans: 'PingFang SC', 'Inter', system-ui, -apple-system, sans-serif;
    --max-w: 1120px;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(44, 38, 32, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
}

/* === Topbar === */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 240, 225, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--accent); }
.nav-cta { padding: 8px 18px; font-size: 14px; }

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all .2s;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    font-family: var(--sans);
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover:not(:disabled) { background: #b03e34; border-color: #b03e34; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* === Hero === */
.hero { padding: 80px 0 100px; }
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-text h1 {
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--text);
}
.hero-sub {
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 500;
}
.hero-desc {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-desc strong { color: var(--text); }
.hero-cta { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-note {
    font-size: 13px;
    color: var(--muted);
    background: var(--card);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}
.hero-visual {
    background: var(--card);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: 560px;
    width: 100%;
    justify-self: center;
}
.hero-img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    aspect-ratio: 3024 / 1964;
}

/* === Pain === */
.pain { padding: 80px 0; background: rgba(255, 255, 255, 0.4); }
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.pain-card {
    background: var(--card);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all .2s;
}
.pain-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pain-icon { color: var(--accent); margin-bottom: 12px; }
.pain-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.pain-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* === Download === */
.download { padding: 80px 0; }
.download-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 48px;
    font-size: 15px;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.download-card {
    background: var(--card);
    padding: 28px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: all .2s;
}
.download-card:hover:not(.soon) { border-color: var(--accent); transform: translateY(-2px); }
.download-card.primary { border: 2px solid var(--accent); background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%); }
.download-card.soon { opacity: .55; }
.badge, .badge-soon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}
.badge { background: var(--accent); color: #fff; }
.badge-soon { background: var(--border); color: var(--muted); }
.download-platform {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}
.download-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.download-size { font-size: 13px; color: var(--text); margin-bottom: 16px; font-weight: 500; }
.download-card .btn { width: 100%; padding: 10px; font-size: 14px; }

.install-guide {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.install-guide h3 { font-size: 18px; margin-bottom: 16px; }
.install-guide ol { padding-left: 20px; }
.install-guide li { margin-bottom: 10px; line-height: 1.7; }
.install-guide code {
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: ui-monospace, 'SF Mono', monospace;
}
.install-guide .hint { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* === Showcase === */
.showcase { padding: 80px 0; background: rgba(255, 255, 255, 0.4); }
.showcase-sub { text-align: center; color: var(--muted); margin-bottom: 48px; }
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.showcase-item {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .2s;
    aspect-ratio: 3024 / 1964;
    display: flex;
    flex-direction: column;
}
.showcase-item:hover { transform: translateY(-4px); }
.showcase-item img {
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    object-position: top;
}
.showcase-item figcaption {
    padding: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

/* === Activate (QR) === */
.activate { padding: 80px 0; }
.activate-lead {
    text-align: center;
    color: var(--muted);
    margin-bottom: 48px;
    font-size: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.qr-card {
    max-width: 320px;
    margin: 0 auto;
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}
.qr-img { width: 240px; height: auto; margin: 0 auto 16px; border-radius: 4px; }
.qr-tip-img { width: 200px; }
.qr-caption {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}
.qr-caption strong { color: var(--accent); }
.activate-hint {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 24px;
}

/* === Free Features === */
.free-features { padding: 80px 0; background: rgba(255, 255, 255, 0.4); }
.pricing-sub { text-align: center; color: var(--muted); margin-bottom: 48px; }
.free-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.free-card h3 {
    font-family: var(--serif);
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}
.free-card ul { list-style: none; padding: 0; margin-bottom: 24px; }
.free-card li {
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.7;
}
.free-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.free-card li strong { color: var(--accent); }
.free-note {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* === FAQ === */
.faq { padding: 80px 0; }
.faq-item {
    max-width: 720px;
    margin: 0 auto 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
    position: relative;
    transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    font-size: 20px;
    color: var(--muted);
    transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
    padding: 0 24px 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.faq-item p strong { color: var(--text); }

/* === Tip === */
.tip { padding: 80px 0; background: rgba(255, 255, 255, 0.4); }
.tip-lead {
    text-align: center;
    color: var(--muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === Footer === */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer-inner p { font-size: 13px; color: var(--muted); }
.footer-contact a { color: var(--accent); }

/* === Responsive === */
@media (max-width: 768px) {
    .nav { display: none; }
    .hero { padding: 48px 0 64px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: 32px; }
    .section-title { font-size: 26px; }
    .pain-grid, .showcase-grid, .download-grid { grid-template-columns: 1fr; }
    .free-card, .install-guide { padding: 24px; }
    .container { padding: 0 20px; }
}