* {
    box-sizing: border-box;
}

:root {
    --primary: #1a73e8;
    --primary-strong: #0b57d0;
    --primary-soft: #e8f0fe;
    --ink: #202124;
    --text: #3c4043;
    --muted: #5f6368;
    --line: #e6e9ef;
    --bg: #ffffff;
    --bg-soft: #f8fbff;
    --bg-alt: #f3f7fd;
    --success: #188038;
    --warning: #f9ab00;
    --danger: #d93025;
    --shadow-sm: 0 10px 30px rgba(26, 115, 232, 0.08);
    --shadow-lg: 0 24px 60px rgba(20, 45, 90, 0.14);
    --radius: 24px;
    --radius-sm: 16px;
    --maxw: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img,
svg {
    display: block;
}

.container {
    width: min(var(--maxw), calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.section.alt {
    background: var(--bg-alt);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-header h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.18;
    color: var(--ink);
}

.section-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(230, 233, 239, 0.8);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 11px 18px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--ink);
    background: #f1f6ff;
}

.nav-links a.active {
    color: var(--primary-strong);
    background: var(--primary-soft);
    box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.15);
}

.hero {
    padding: 56px 0 34px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(66, 133, 244, 0.18), transparent 32%),
        radial-gradient(circle at left bottom, rgba(52, 168, 83, 0.18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
    box-shadow: var(--shadow-lg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(26, 115, 232, 0.08);
    color: var(--primary-strong);
    font-size: 13px;
    font-weight: 700;
}

.eyebrow svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    color: var(--ink);
}

.hero p.lead {
    margin: 18px 0 0;
    max-width: 640px;
    font-size: 18px;
    line-height: 1.9;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn,
.btn-secondary,
.download-btn,
.mini-btn,
.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn,
.download-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(26, 115, 232, 0.26);
}

.btn-secondary,
.mini-btn {
    background: #fff;
    color: var(--primary-strong);
    box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.14);
}

.btn:hover,
.btn-secondary:hover,
.download-btn:hover,
.mini-btn:hover,
.cta-link:hover {
    transform: translateY(-2px);
}

.btn svg,
.btn-secondary svg,
.download-btn svg,
.mini-btn svg,
.cta-link svg {
    width: 18px;
    height: 18px;
}

.hero-panel {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-window {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #e7ecf4;
    background: #fff;
}

.hero-window-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #f7f9fc;
    border-bottom: 1px solid #edf1f7;
}

.hero-window-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-window-top span:nth-child(1) { background: #ea4335; }
.hero-window-top span:nth-child(2) { background: #fbbc04; }
.hero-window-top span:nth-child(3) { background: #34a853; }

.hero-window-body {
    padding: 28px 24px;
}

.hero-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.badge-card,
.metric-card,
.feature-card,
.platform-card,
.review-card,
.faq-item,
.timeline-card,
.compare-card,
.tip-card,
.install-card,
.note-card,
.version-card,
.keyword-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.badge-card {
    padding: 16px;
}

.badge-card strong,
.metric-card strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    margin-bottom: 4px;
}

.badge-card span,
.metric-card span,
.platform-meta,
.version-card p,
.compare-card p,
.tip-card p,
.install-card p,
.note-card p,
.keyword-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.metric-card {
    padding: 20px;
    text-align: center;
}

.metric-card strong {
    font-size: 28px;
    margin-bottom: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.feature-card,
.platform-card,
.review-card,
.timeline-card,
.compare-card,
.tip-card,
.install-card,
.note-card,
.version-card,
.keyword-card {
    padding: 24px;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 16px;
    background: var(--primary-soft);
    color: var(--primary-strong);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3,
.platform-card h3,
.review-card h3,
.timeline-card h3,
.compare-card h3,
.tip-card h3,
.install-card h3,
.note-card h3,
.version-card h3,
.keyword-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 20px;
}

.feature-card p,
.platform-card p,
.review-card p,
.timeline-card p,
.compare-card p,
.tip-card p,
.install-card p,
.note-card p,
.version-card p,
.keyword-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.platform-card.featured {
    border-color: rgba(26, 115, 232, 0.32);
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.platform-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.platform-pill {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--primary-strong);
    font-size: 12px;
    font-weight: 700;
}

.download-btn,
.mini-btn {
    width: 100%;
    margin-top: 18px;
}

.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dfe9ff 0%, #f2f6ff 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-strong);
    font-weight: 700;
}

.star-row {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    color: #fbbc04;
}

.star-row svg {
    width: 18px;
    height: 18px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: #fff;
    border: 0;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    font-weight: 700;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--primary-strong);
    transition: transform 0.2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-top: 1px solid transparent;
}

.faq-answer p {
    margin: 0;
    padding: 0 24px 22px;
    line-height: 1.9;
    color: var(--muted);
}

.faq-item.open .faq-answer {
    max-height: 260px;
    border-top-color: var(--line);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.footer {
    padding: 28px 0 48px;
}

.footer-card {
    display: grid;
    gap: 10px;
    padding: 22px 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--muted);
    line-height: 1.8;
}

.footer-card strong {
    color: var(--success);
}

.download-layout,
.seo-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: stretch;
}

.download-hero-box,
.seo-hero-box,
.info-box {
    padding: 30px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.check-list,
.clean-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.check-list li,
.clean-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    line-height: 1.8;
}

.check-list svg,
.clean-list svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex: 0 0 18px;
    margin-top: 4px;
}

.install-grid,
.compare-grid,
.timeline-grid,
.keyword-grid,
.notes-grid {
    display: grid;
    gap: 20px;
}

.install-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compare-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.keyword-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-band {
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0b57d0 0%, #4285f4 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-band h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 40px);
}

.cta-band p {
    margin: 0 0 18px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
}

.cta-link {
    background: #fff;
    color: var(--primary-strong);
    font-weight: 700;
}

.kicker {
    color: var(--primary-strong);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 10px;
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.compare-table th,
.compare-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    line-height: 1.7;
}

.compare-table th {
    background: #f6f9ff;
    color: var(--ink);
}

.compare-table td {
    color: var(--muted);
}

.compare-table tr:last-child td {
    border-bottom: 0;
}

.highlight-cell {
    color: var(--primary-strong);
    font-weight: 700;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .download-layout,
    .seo-layout,
    .compare-grid,
    .timeline-grid,
    .notes-grid,
    .keyword-grid {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .grid-4,
    .install-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .section {
        padding: 68px 0;
    }

    .navbar {
        min-height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nav-links a {
        text-align: center;
        padding: 10px 8px;
    }

    .hero-card,
    .download-hero-box,
    .seo-hero-box,
    .info-box,
    .cta-band {
        padding: 24px;
    }

    .grid-3,
    .grid-4,
    .install-grid {
        grid-template-columns: 1fr;
    }

    .metrics {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-secondary,
    .cta-link {
        width: 100%;
    }
}
