:root {
    --bg-top: #f6f8ff;
    --bg-bottom: #eef2ff;
    --surface: rgba(255, 255, 255, 0.86);
    --text: #131b3e;
    --muted: #5f6b95;
    --line: rgba(80, 97, 220, 0.14);
    --blue: #2f6bff;
    --purple: #7e44ff;
    --shadow: 0 26px 80px rgba(33, 47, 122, 0.14);
    --radius-xl: 36px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 8% 8%, rgba(126, 68, 255, 0.16), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(47, 107, 255, 0.18), transparent 25%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 45%, #f8f9ff 100%);
}

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

.container { width: min(var(--container), calc(100% - 56px)); margin: 0 auto; }
.narrow { width: min(920px, calc(100% - 56px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: rgba(248, 250, 255, 0.8);
    border-bottom: 1px solid rgba(72, 92, 208, 0.08);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-brand, .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-brand { font-size: 1.26rem; }
.site-brand img, .footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(47, 107, 255, 0.24);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
    transition: .2s ease;
}

.site-nav a:hover, .site-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 16px 32px rgba(75, 66, 214, 0.28);
}

.page-shell { overflow: hidden; }

.hero { position: relative; padding: 86px 0 54px; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 50%;
    width: min(820px, 68vw);
    height: 420px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 118, 255, 0.22) 0%, rgba(110, 118, 255, 0.05) 44%, transparent 72%);
    filter: blur(8px);
    pointer-events: none;
}

.hero-grid, .split-grid, .story-grid, .contact-grid, .download-grid, .feature-grid, .article-grid, .pricing-grid, .stats-grid, .blog-highlights, .card-grid.three-up, .footer-grid, .hero-metrics {
    display: grid;
    gap: 20px;
}

.hero-grid { grid-template-columns: 1.18fr .82fr; align-items: stretch; position: relative; }
.split-grid, .contact-grid, .download-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.story-grid { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.feature-grid, .pricing-grid, .article-grid, .card-grid.three-up, .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hero-copy h1, .hero-inner h1 {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero-copy p, .hero-inner p, .lead, .section-heading p, .feature-card p, .price-card p, .article-card p, .list-card p, .download-card p, .large-card p, .contact-card p {
    color: var(--muted);
    line-height: 1.9;
}

.hero-copy p, .hero-inner p { margin: 0 0 18px; font-size: 1.05rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(99, 96, 220, 0.12);
    color: var(--purple);
    font-size: 0.92rem;
    font-weight: 700;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 32px; }

.btn {
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 18px 38px rgba(73, 63, 219, 0.28);
}

.btn-secondary {
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(73, 89, 216, 0.14);
}

.glass-panel, .feature-card, .price-card, .article-card, .list-card, .download-card, .large-card, .contact-card, .stat-card, .mini-card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.glass-panel, .feature-card, .price-card, .article-card, .list-card, .download-card, .large-card, .contact-card, .stat-card { padding: 28px; }

.glass-panel h2, .section-heading h2, .large-card h2, .download-card h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    line-height: 1.2;
}

.feature-card h3, .price-card h3, .article-card h3, .list-card h2, .contact-card h3 {
    margin: 0 0 12px;
    font-size: 1.26rem;
    line-height: 1.35;
}

.feature-list, .price-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.9;
}

.status-box {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.12), rgba(126, 68, 255, 0.14));
}

.status-box span {
    display: block;
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 0.9rem;
    font-weight: 700;
}

.status-box strong { display: block; line-height: 1.8; }

.section { padding: 36px 0 64px; }
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.46)); }
.section-heading { margin-bottom: 26px; text-align: center; }
.section-heading.left { text-align: left; }

.accent-panel {
    display: grid;
    gap: 18px;
    padding: 26px;
    border-radius: var(--radius-xl);
    background: linear-gradient(155deg, rgba(33, 83, 255, 0.98), rgba(116, 59, 255, 0.94));
    box-shadow: 0 26px 64px rgba(55, 63, 182, 0.28);
    color: #fff;
}

.mini-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.mini-card span { display: block; margin-bottom: 8px; opacity: .82; }
.mini-card strong { display: block; line-height: 1.76; }

.stat-card strong, .hero-metrics strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.stat-card span, .hero-metrics span {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.94rem;
}

.price-card { text-align: center; }
.price-card strong { display: block; margin-bottom: 10px; font-size: 2.5rem; }
.price-card.featured { transform: translateY(-10px); background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,240,255,0.96)); }
.badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(47, 107, 255, 0.1);
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 700;
}

.article-date, .article-meta {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--purple);
    font-weight: 700;
    font-size: 0.9rem;
}

.article-card h3 a, .list-card h2 a { transition: color .2s ease; }
.article-card h3 a:hover, .list-card h2 a:hover, .text-link:hover { color: var(--blue); }

.section-action { margin-top: 28px; text-align: center; }
.hero-inner { padding: 92px 0 38px; text-align: center; }
.article-list { display: grid; gap: 20px; }

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

.pagination a {
    min-width: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    text-align: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--line);
    color: var(--muted);
}

.pagination a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.article-detail { width: min(920px, calc(100% - 56px)); }
.article-detail .detail-shell {
    padding: 34px;
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.article-detail p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 2;
    font-size: 1.04rem;
}

.article-detail h2 {
    margin: 28px 0 14px;
    font-size: 1.52rem;
    color: var(--text);
}

.download-specs { display: grid; gap: 16px; }
.download-specs .spec {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.66);
    border: 1px solid var(--line);
}

.download-specs strong { display: block; margin-bottom: 6px; }

.site-footer {
    padding: 46px 0 30px;
    background: #101634;
    color: rgba(255,255,255,0.88);
}

.footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
.footer-block { display: grid; gap: 10px; }
.footer-block h3 { margin: 0 0 6px; font-size: 1rem; }
.footer-brand p, .footer-block a, .friend-links a, .friend-links em, .footer-copy { color: rgba(255,255,255,0.68); }
.footer-brand p { line-height: 1.9; }

.friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.94rem;
}

.friend-links__items { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-copy { margin-top: 16px; font-size: 0.9rem; }

.floating-contact {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    box-shadow: 0 20px 40px rgba(66, 69, 201, 0.3);
}

.floating-contact__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    font-weight: 800;
}

.floating-contact__text { white-space: nowrap; font-weight: 700; }

@media (max-width: 1120px) {
    .hero-grid, .split-grid, .story-grid, .contact-grid, .download-grid, .feature-grid, .pricing-grid, .article-grid, .stats-grid, .blog-highlights, .card-grid.three-up, .footer-grid, .hero-metrics {
        grid-template-columns: 1fr;
    }

    .price-card.featured { transform: none; }
}

@media (max-width: 820px) {
    .container, .narrow, .article-detail { width: min(100% - 30px, var(--container)); }
    .header-inner { padding: 16px 0; min-height: 0; align-items: flex-start; flex-direction: column; }
    .site-nav { justify-content: flex-start; }
    .hero { padding-top: 58px; }
    .hero-copy h1, .hero-inner h1 { font-size: 2.26rem; }
    .floating-contact { right: 10px; padding: 12px 14px; }
    .floating-contact__text { display: none; }
    .article-detail .detail-shell { padding: 24px; }
}
