:root {
    --wine: #7C2D12;
    --wine-dark: #5C1D0A;
    --wine-light: #9A3412;
    --sand: #FEF3C7;
    --sand-dark: #FDE68A;
    --sand-muted: #FFFBEB;
    --ink: #292524;
    --muted: #78716C;
    --white: #FFFFFF;
    --border: #E7E5E4;
    --radius: 12px;
    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: Georgia, "Times New Roman", "PingFang SC", "Microsoft YaHei", serif;
    color: var(--ink);
    line-height: 1.7;
    background: var(--sand-muted);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.zc9d22container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--wine);
    border-bottom: 3px solid var(--sand-dark);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    gap: 16px;
}

.brand a {
    color: var(--sand);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: "PingFang SC", sans-serif;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    color: rgba(254, 243, 199, 0.85);
    text-decoration: none;
    font-size: 0.88rem;
    font-family: "PingFang SC", sans-serif;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links li.zc9d22this a {
    color: var(--wine);
    background: var(--sand);
    border-color: var(--sand-dark);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: 1px solid var(--sand-dark);
    border-radius: 6px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sand);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(-45deg) translate(-4px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(45deg) translate(-4px, -5px); }

/* Hero */
.zc9d22hero {
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-muted) 50%, #fff 100%);
    padding: 64px 20px 48px;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
}

.zc9d22hero-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    color: var(--wine);
    margin-bottom: 16px;
    line-height: 1.25;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22hero-content > p { color: var(--muted); margin-bottom: 12px; font-family: "PingFang SC", sans-serif; font-size: 0.95rem; }

.zc9d22hero-intro {
    font-size: 0.9rem;
    color: var(--muted);
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--wine);
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.zc9d22cta-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: "PingFang SC", sans-serif;
    border: 1px solid transparent;
    transition: var(--transition);
}

.zc9d22cta-btn.zc9d22android { background: var(--wine); color: var(--sand); }

.zc9d22cta-btn.zc9d22ios { background: var(--white); color: var(--wine); border-color: var(--wine); }

.zc9d22cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(124, 45, 18, 0.2); }

.zc9d22hero-image { text-align: center; }

.zc9d22platform-image {
    max-width: 280px;
    margin: 0 auto;
    border-radius: var(--radius);
    border: 2px solid var(--sand-dark);
    box-shadow: 0 16px 32px rgba(124, 45, 18, 0.12);
}

.zc9d22hero-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px dashed var(--border);
}

.zc9d22stat-item { text-align: center; padding: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }

.zc9d22stat-number { display: block; font-size: 1.75rem; font-weight: 700; color: var(--wine); font-family: "PingFang SC", sans-serif; }

.zc9d22stat-label { font-size: 0.85rem; color: var(--muted); font-family: "PingFang SC", sans-serif; }

.section-desc { color: var(--muted); max-width: 680px; margin: 0 auto 32px; text-align: center; font-size: 0.92rem; font-family: "PingFang SC", sans-serif; }

.zc9d22keyword-cloud { padding: 24px 0; background: var(--white); border-bottom: 1px solid var(--border); }

.zc9d22cloud-content p { text-align: center; font-size: 0.88rem; color: var(--muted); font-family: "PingFang SC", sans-serif; max-width: 800px; margin: 0 auto; }

/* Sections */
.zc9d22download-section,
.zc9d22features-section,
.zc9d22products-section,
.zc9d22guide-section,
.zc9d22about-section {
    padding: 64px 0;
}

.zc9d22download-section { background: var(--white); }

.zc9d22download-section h2,
.zc9d22features-section h2,
.zc9d22products-section h2,
.zc9d22guide-section h2,
.zc9d22about-section h2 {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--wine);
    margin-bottom: 12px;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22version-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.zc9d22version-card {
    background: var(--sand-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.zc9d22version-card:hover { border-color: var(--wine-light); }

.zc9d22card-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22card-header.zc9d22android { background: var(--wine); color: var(--sand); }

.zc9d22card-header.zc9d22ios { background: var(--sand-dark); color: var(--wine); }

.zc9d22card-header h3 { font-size: 1.05rem; }

.zc9d22version { font-size: 0.8rem; opacity: 0.85; }

.zc9d22card-content { padding: 20px; font-family: "PingFang SC", sans-serif; }

.zc9d22card-content p { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }

.zc9d22card-content ul { list-style: none; margin-bottom: 16px; }

.zc9d22card-content li { font-size: 0.85rem; color: var(--muted); padding: 4px 0; padding-left: 16px; position: relative; }

.zc9d22card-content li::before { content: "·"; position: absolute; left: 0; color: var(--wine); font-weight: bold; }

.zc9d22download-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--wine);
    color: var(--sand);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--wine);
    transition: var(--transition);
}

.zc9d22download-btn:hover { background: var(--wine-dark); }

.zc9d22features-section { background: var(--sand-muted); }

.zc9d22features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.zc9d22feature-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22feature-item h3 { color: var(--wine); margin-bottom: 10px; font-size: 1.05rem; }

.zc9d22feature-item p { font-size: 0.88rem; color: var(--muted); }

.zc9d22feature-icon { width: 40px; height: 4px; background: var(--wine); margin-bottom: 14px; border-radius: 2px; }

.zc9d22products-section { background: var(--white); }

.zc9d22product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.zc9d22product-card {
    background: var(--sand-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22product-card h3 { color: var(--wine); margin-bottom: 10px; }

.zc9d22product-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 12px; }

.zc9d22product-card ul { list-style: none; }

.zc9d22product-card li { font-size: 0.85rem; color: var(--muted); padding: 3px 0; }

.zc9d22guide-section { background: var(--sand); }

.zc9d22guide-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.zc9d22timeline-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22timeline-number {
    width: 36px;
    height: 36px;
    background: var(--wine);
    color: var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 12px;
    font-size: 0.9rem;
}

.zc9d22timeline-item h3 { font-size: 0.95rem; color: var(--wine); margin-bottom: 8px; }

.zc9d22timeline-item p { font-size: 0.82rem; color: var(--muted); }

.zc9d22about-section { background: var(--white); }

.zc9d22about-content > p { text-align: center; max-width: 760px; margin: 0 auto 32px; color: var(--muted); font-family: "PingFang SC", sans-serif; font-size: 0.92rem; }

.zc9d22about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.zc9d22stat-box {
    text-align: center;
    padding: 24px;
    background: var(--sand-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: "PingFang SC", sans-serif;
}

.zc9d22stat-box .zc9d22number { display: block; font-size: 2rem; font-weight: 700; color: var(--wine); }

.zc9d22stat-box .zc9d22label { font-size: 0.85rem; color: var(--muted); }

.zc9d22download-reminder {
    padding: 48px 0;
    background: var(--wine);
    color: var(--sand);
    text-align: center;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22reminder-content h2 { font-size: 1.5rem; margin-bottom: 12px; }

.zc9d22reminder-content p { max-width: 640px; margin: 0 auto 20px; opacity: 0.9; font-size: 0.92rem; }

.zc9d22reminder-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--sand);
    color: var(--wine);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid var(--sand-dark);
}

.zc9d22home-article-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.zc9d22home-article-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.zc9d22home-article-thumb img { width: 100%; height: 130px; object-fit: cover; }

.zc9d22home-article-item h3 { font-size: 0.85rem; padding: 10px 12px; line-height: 1.45; font-family: "PingFang SC", sans-serif; }

.zc9d22home-article-item h3 a { color: var(--ink); text-decoration: none; }

.zc9d22links-section { padding: 32px 0; background: var(--sand-muted); border-top: 1px solid var(--border); }

.zc9d22related-sites { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }

.zc9d22related-sites a {
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: "PingFang SC", sans-serif;
}

.zc9d22ad-section { text-align: center; padding: 12px 0; }

.zc9d22site-footer {
    background: var(--wine-dark);
    color: rgba(254, 243, 199, 0.75);
    padding: 32px 0;
    text-align: center;
    font-family: "PingFang SC", sans-serif;
    font-size: 0.88rem;
}

/* Inner pages */
.page-wrap {
    max-width: 1160px;
    margin: 24px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    font-family: "PingFang SC", sans-serif;
}

.list-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.list-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--sand-muted);
}

.list-item a.thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }

.list-item .txt { padding: 12px 14px; }

.list-item h3 { font-size: 0.95rem; margin-bottom: 6px; line-height: 1.45; }

.list-item h3 a { color: var(--ink); text-decoration: none; }

.list-item p { font-size: 0.82rem; color: var(--muted); margin: 0; }

.related-title { font-size: 1.1rem; color: var(--wine); margin: 28px 0 14px; }

.related-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.related-grid li { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }

.related-grid .thumb img { width: 100%; height: 140px; object-fit: cover; }

.related-grid .txt { padding: 10px 12px; }

.related-grid h4 { font-size: 0.88rem; margin-bottom: 4px; }

.related-grid h4 a { color: var(--ink); text-decoration: none; }

.related-grid p { font-size: 0.78rem; color: var(--muted); margin: 0; }

.side-list { list-style: none; display: grid; gap: 10px; }

.side-list li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: center; }

.side-list img { width: 84px; height: 58px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }

.side-list a { color: var(--ink); text-decoration: none; font-size: 0.82rem; line-height: 1.4; }

.sidebar-block + .sidebar-block { margin-top: 16px; }

.sidebar-block h3 { font-size: 0.95rem; color: var(--wine); margin-bottom: 12px; }

.zc9d22pages .pagelist { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; padding: 0; }

.zc9d22pages .pagelist a,
.zc9d22pages .pagelist span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.85rem;
}

.article-title { font-size: 1.75rem; color: var(--wine); margin-bottom: 10px; line-height: 1.35; }

.article-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }

.article-cover img { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 16px; }

.article-body { line-height: 1.85; word-break: break-word; font-size: 0.95rem; }

.article-body img { max-width: 100%; height: auto; }

.prenext { margin-top: 24px; display: grid; gap: 8px; font-size: 0.9rem; }

.prenext a { color: var(--wine); text-decoration: none; }

.related-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }

.related-list li { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.related-list a.thumb img { width: 100%; height: 130px; object-fit: cover; }

.related-list .txt { padding: 10px; }

.related-list h4 { font-size: 0.85rem; margin-bottom: 4px; }

.related-list h4 a { color: var(--ink); text-decoration: none; }

.related-list p { font-size: 0.78rem; color: var(--muted); margin: 0; }

@media (max-width: 992px) {
    .zc9d22hero { grid-template-columns: 1fr; text-align: center; }
    .zc9d22hero-intro { text-align: left; }
    .zc9d22cta-buttons { justify-content: center; }
    .zc9d22product-grid { grid-template-columns: 1fr; }
    .zc9d22guide-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zc9d22home-article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .page-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--wine-dark);
        flex-direction: column;
        padding: 12px 20px;
        border-top: 1px solid var(--sand-dark);
        max-height: 70vh;
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .main-nav { position: sticky; }
    .nav-container { position: relative; flex-wrap: wrap; }
    .nav-links a { border: 1px solid rgba(254, 243, 199, 0.2); }
    .zc9d22version-cards,
    .zc9d22features-grid,
    .zc9d22about-stats { grid-template-columns: 1fr; }
    .zc9d22guide-timeline { grid-template-columns: 1fr; }
    .zc9d22home-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .list-grid, .related-grid, .related-list { grid-template-columns: 1fr; }
    .zc9d22hero-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .zc9d22home-article-grid { grid-template-columns: 1fr; }
}
