:root {
    --bg: #eef2ff;
    --surface: #ffffff;
    --surface-alt: #f4f6fb;
    --text: #111827;
    --muted: #5b6478;
    --line: #d8deee;
    --blue: #2563eb;
    --blue-deep: #163fb3;
    --violet: #6d28d9;
    --violet-soft: #ede9fe;
    --gray: #6b7280;
    --shadow: 0 24px 60px rgba(20, 32, 75, 0.14);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font: 16px/1.8 "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(109, 40, 217, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 26%),
        linear-gradient(180deg, #f6f8ff 0%, #eef2ff 48%, #f8f9fc 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(760px, 100%);
}

.medium {
    width: min(980px, 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(248, 250, 255, 0.82);
    border-bottom: 1px solid rgba(216, 222, 238, 0.75);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--muted);
    font-size: 15px;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--blue-deep);
}

.header-download,
.btn-primary,
.btn-secondary,
.article-more,
.pagination a {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-download,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
    box-shadow: 0 14px 32px rgba(67, 56, 202, 0.26);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    color: var(--blue-deep);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.header-download:hover,
.btn-primary:hover,
.btn-secondary:hover,
.article-more:hover,
.pagination a:hover {
    transform: translateY(-2px);
}

.hero-section,
.page-hero {
    padding: 62px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.page-hero .narrow,
.download-card,
.article-list-card,
.article-detail,
.cta-box,
.text-panel,
.contact-panel {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(216, 222, 238, 0.82);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 46px;
}

.hero-copy h1,
.page-hero h1 {
    margin: 8px 0 16px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    font-size: clamp(34px, 4.3vw, 52px);
}

.page-hero h1 {
    font-size: clamp(30px, 3.8vw, 42px);
}

.page-hero .narrow,
.page-hero .medium {
    padding: 38px 42px 34px;
}

.page-hero p {
    max-width: 100%;
    margin: 0;
    font-size: 17px;
    line-height: 1.85;
}

.hero-copy p,
.page-hero p,
.text-panel p,
.contact-panel p,
.feature-card p,
.pricing-card p,
.article-card p,
.article-list-card p,
.download-card p,
.cta-box p,
.site-footer p {
    color: var(--muted);
}

.hero-actions,
.cta-actions,
.download-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-points {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-points span,
.eyebrow,
.pricing-tag,
.article-date {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(109, 40, 217, 0.1);
    color: var(--violet);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.eyebrow {
    margin-bottom: 10px;
}

.hero-panel {
    display: grid;
    gap: 18px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(33, 52, 129, 0.95), rgba(71, 42, 145, 0.92)),
        linear-gradient(180deg, #fff, #fff);
}

.metric-card {
    padding: 26px;
    color: #eef3ff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
}

.metric-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 21px;
}

.section-block {
    padding: 28px 0 40px;
}

.section-head {
    margin-bottom: 26px;
    text-align: center;
}

.section-head.left {
    text-align: left;
}

.section-head h2,
.text-panel h2,
.pricing-card h2,
.contact-panel h2,
.download-card h2,
.article-list-card h2,
.article-detail h2,
.cta-box h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.18;
}

.feature-grid,
.pricing-grid,
.article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.feature-card,
.pricing-card,
.article-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(216, 222, 238, 0.82);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 40px rgba(31, 41, 55, 0.08);
}

.feature-card h3,
.article-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.35;
}

.band-section {
    position: relative;
}

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

.text-panel,
.contact-panel {
    padding: 30px;
}

.text-panel p,
.contact-panel p,
.download-card p,
.article-list-card p,
.cta-box p {
    font-size: 16px;
    line-height: 1.85;
}

.scene-list {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.scene-list.compact li {
    margin-bottom: 6px;
}

.download-card {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    padding: 34px;
}

.download-actions {
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.pricing-card .price-line {
    margin: 4px 0 18px;
    color: var(--blue-deep);
    font-weight: 700;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.92), rgba(109, 40, 217, 0.92));
    color: #fff;
}

.pricing-card.featured p,
.pricing-card.featured .price-line,
.pricing-card.featured .pricing-tag {
    color: #eef3ff;
}

.pricing-card.featured .pricing-tag {
    background: rgba(255, 255, 255, 0.14);
}

.article-card h3,
.article-list-card h2 {
    margin: 12px 0;
}

.article-list {
    display: grid;
    gap: 20px;
}

.article-list-card {
    padding: 30px 32px;
}

.article-more {
    display: inline-flex;
    margin-top: 12px;
    color: var(--blue-deep);
    font-weight: 700;
}

.pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.pagination a {
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(216, 222, 238, 0.82);
    color: var(--muted);
}

.pagination a.is-current {
    color: #fff;
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
}

.article-detail {
    padding: 38px 40px;
}

.article-content p {
    margin: 0 0 18px;
    color: #374151;
    font-size: 17px;
}

.article-bottom-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.cta-section {
    padding-bottom: 72px;
}

.cta-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
    padding: 34px 36px;
    background:
        radial-gradient(circle at top left, rgba(109, 40, 217, 0.12), transparent 40%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.12), transparent 36%),
        rgba(255, 255, 255, 0.9);
}

.contact-hero .medium,
.blog-hero .medium {
    width: min(900px, 100%);
}

.contact-hero h1 {
    max-width: 760px;
}

.contact-grid {
    width: min(980px, 100%);
}

.floating-service {
    right: 14px;
    min-width: 106px;
    min-height: 48px;
    padding: 0 16px;
    font-size: 15px;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.site-footer {
    padding: 26px 0 38px;
    border-top: 1px solid rgba(216, 222, 238, 0.82);
    background: rgba(246, 248, 255, 0.86);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
    gap: 22px;
}

.footer-brand {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-title,
.friend-title {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.friend-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(216, 222, 238, 0.82);
    color: #64748b;
    font-size: 14px;
}

.friend-empty {
    color: #94a3b8;
}

.footer-note {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 14px;
}

.floating-service {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}

@media (max-width: 1024px) {
    .hero-grid,
    .feature-grid,
    .pricing-grid,
    .article-grid,
    .split-grid,
    .download-card,
    .cta-box,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        gap: 14px;
    }

    .hero-copy,
    .page-hero .narrow,
    .page-hero .medium,
    .article-detail {
        padding: 34px;
    }

    .page-hero h1 {
        font-size: clamp(28px, 5vw, 38px);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero-section,
    .page-hero {
        padding-top: 42px;
    }

    .hero-copy,
    .text-panel,
    .contact-panel,
    .article-list-card,
    .article-detail,
    .download-card,
    .cta-box,
    .page-hero .narrow,
    .page-hero .medium {
        padding: 24px;
    }

    .floating-service {
        right: 10px;
        min-width: 92px;
        min-height: 42px;
        padding: 0 12px;
        font-size: 13px;
    }
}
