﻿:root {
    --page-bg-top: #eaf1fb;
    --page-bg-bottom: #eaf1fb;
    --hero-start: #254d9a;
    --hero-end: #1e4a98;
    --hero-highlight: #4ad2e9;
    --text-main: #0f3d85;
    --text-muted: #7089b3;
    --line: #d8e2f1;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    color: #1d3560;
    background: linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-bottom) 100%);
}

#features,
#updates,
#news,
#site-footer {
    scroll-margin-top: 18px;
}

.main-box {
    width: min(1220px, calc(100% - 64px));
    margin: 32px auto 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(20, 55, 110, 0.16);
}

.site-topbar {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    background: linear-gradient(90deg, #173c86 0%, #1664bd 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-logo {
    color: #ffffff;
    text-decoration: none;
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-logo-mark {
    width: 22px;
    height: 22px;
    display: inline-grid;
    grid-template-columns: repeat(2, 9px);
    grid-template-rows: repeat(2, 9px);
    gap: 4px;
}

.site-logo-mark::before,
.site-logo-mark::after {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background:
        linear-gradient(#35c7f1 0 0) 0 0 / 9px 9px no-repeat,
        linear-gradient(#4fd15f 0 0) 13px 0 / 9px 9px no-repeat,
        linear-gradient(#ffc83d 0 0) 0 13px / 9px 9px no-repeat,
        linear-gradient(#35c7f1 0 0) 13px 13px / 9px 9px no-repeat;
    border-radius: 2px;
}

.site-logo-mark::after {
    display: none;
}

.site-logo span {
    color: #49d6e9;
}

.site-logo em {
    color: #f2c600;
    font-style: normal;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav .vip-link {
    min-width: 40px;
    height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #1b3569;
    background: #f2c600;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 900;
}

.site-banner {
    position: relative;
    min-height: 320px;
    padding: 44px 34px 36px;
    overflow: hidden;
    background: linear-gradient(155deg, var(--hero-start) 0%, var(--hero-end) 72%);
}

.banner-inner {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.banner-shape {
    position: absolute;
    border-radius: 999px;
    opacity: 0.09;
}

.banner-shape-left {
    width: 240px;
    height: 240px;
    left: -80px;
    bottom: -112px;
    background: #35d4ff;
}

.banner-shape-right {
    width: 330px;
    height: 330px;
    right: -80px;
    top: -100px;
    background: #7ca6ff;
}

.banner-kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    color: #8de9ff;
    background: rgba(25, 143, 207, 0.3);
    border: 1px solid rgba(114, 214, 255, 0.32);
}

.banner-title {
    margin: 20px 0 10px;
    font-size: 30px;
    line-height: 1.16;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.banner-title span {
    display: block;
    margin-top: 4px;
    color: var(--hero-highlight);
    font-size: 34px;
}

.banner-desc {
    margin: 0;
    max-width: 600px;
    color: #d9e7ff;
    font-size: 14px;
    line-height: 1.75;
}

.hero-product-img {
    position: absolute;
    z-index: 1;
    right: 78px;
    top: 92px;
    width: 330px;
    max-width: 32%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 26px rgba(3, 22, 63, 0.28));
}

.btn-row {
    margin-top: 28px;
    display: flex;
    justify-content: start;
    gap: 12px;
}

.btn {
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-row .btn-accent {
    width: 150px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #083774;
    background: #4fc3d9;
    border: 2px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 5px 13px rgba(28, 198, 226, 0.26);
}

.btn-accent {
    color: #2d2e3d;
    background: #f2c600;
    border: 2px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 5px 13px rgba(242, 198, 0, 0.28);
}

.btn-outline {
    color: #f2f8ff;
    background: transparent;
    border: 2px solid rgba(233, 244, 255, 0.74);
}

.btn-row-bottom {
    grid-column: auto;
    justify-self: auto;
    width: auto;
}

.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #f6f7fb;
    border-top: 1px solid #e7ecf4;
    border-bottom: 1px solid #e5ebf5;
}

.metric {
    text-align: center;
    padding: 24px 10px 20px;
}

.metric + .metric {
    border-left: 1px solid #e7ecf4;
}

.metric strong {
    display: block;
    color: #154491;
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 6px;
    font-weight: 700;
}

.metric span {
    display: block;
    color: #6f87ae;
    font-size: 13px;
}

.feature-section {
    background: #edf2fa;
    padding: 18px 30px 22px;
    border-top: 8px solid #e2e8f3;
}

.section-title {
    margin: 0 0 12px;
    font-size: 18px;
    color: #114289;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #cad8ed;
}

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

.feature-card {
    background: #f5f7fb;
    border: 1px solid #dce5f4;
    border-radius: 14px;
    padding: 18px 14px 18px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(44, 89, 172, 0.12);
}

.feature-icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 0;
    border: 0;
    position: relative;
    font-size: 34px;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.feature-icon::before,
.feature-icon::after {
    display: none;
}

.feature-icon-blue { color: #2a76dd; }
.feature-icon-cyan { color: #25a6c8; }
.feature-icon-green { color: #2da458; }

.feature-card h3 {
    margin: 0 0 5px;
    color: #0f418c;
    font-size: 17px;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: #7f93b4;
    font-size: 12px;
}

#external-ad-box {
    display: none;
}

.ad-entry {
    min-height: 400px;
    border-top: 8px solid #e2e8f3;
    background: #cfcfd2;
}

.ad-frame {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
    background: #cfcfd2;
}

.content-gap {
    height: 150px;
    background: #f7f7f9;
    border-top: 1px solid #e8ebf3;
    border-bottom: 8px solid #e2e8f3;
}

.update-wrap {
    background: #f7f8fb;
    padding: 18px 28px 0;
}

.update-box {
    background: #eaf2fb;
    border: 1px solid #d5e3f5;
    border-left: 4px solid #19b3ee;
    border-radius: 8px;
    padding: 14px 16px 10px;
    margin-bottom: 16px;
}

.update-box h3 {
    margin: 0 0 8px;
    color: #bd5f0a;
    font-size: 32px;
    font-weight: 800;
}

.update-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.update-list li {
    margin-bottom: 7px;
    padding-left: 17px;
    color: #4a618f;
    font-size: 13px;
    line-height: 1.6;
    position: relative;
}

.update-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28b85d;
    font-weight: 700;
}

.highlight {
    color: #ff7d1d;
    font-weight: 700;
}

.news-section {
    padding: 0 28px 28px;
    background: #f7f8fb;
}

.news-title {
    margin: 0 0 6px;
    padding: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dde5f2;
}

.news-title span {
    font-size: 18px;
    color: #114289;
    font-weight: 800;
    position: relative;
    padding-left: 10px;
}

.news-title span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background: #3c7fd9;
}

.more-link {
    text-decoration: none;
    color: #8da1c2;
    font-size: 12px;
}

.news-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-list li {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #edf1f7;
}

.news-list li a {
    min-width: 0;
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4d628d;
    text-decoration: none;
    font-size: 12px;
}

.news-list li a::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #cfd9e9;
    flex: 0 0 auto;
}

.news-tag {
    padding: 2px 8px;
    border-radius: 6px;
    color: #fff;
    font-size: 11px;
    line-height: 1.45;
    background: #2e7adb;
}

.news-list li:nth-child(3n + 2) .news-tag { background: #f49b2c; }
.news-list li:nth-child(3n + 3) .news-tag { background: #33aa5d; }
.news-tag-top { background: #2e7adb !important; }

.news-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-date {
    color: #a7b6cf;
    font-size: 12px;
    flex: 0 0 auto;
}

.news-empty {
    justify-content: center !important;
    color: #98a7c0;
}

.my-custom-footer {
    width: min(1220px, calc(100% - 64px));
    margin: 14px auto 24px;
    border-radius: 0 0 14px 14px;
    background: #1b3f83;
    color: rgba(220, 233, 255, 0.8);
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
    padding: 12px 16px 14px;
}

@media (max-width: 760px) {
    .main-box,
    .my-custom-footer {
        width: calc(100% - 14px);
    }

    .site-topbar {
        height: auto;
        min-height: 56px;
        padding: 10px 14px;
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .hero-product-img {
        display: none;
    }

    .site-banner {
        padding: 16px 12px 22px;
        min-height: 0;
    }

    .banner-title {
        font-size: 34px;
    }

    .banner-desc {
        font-size: 12px;
    }

    .btn-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn-row-bottom {
        grid-column: auto;
        justify-self: auto;
        width: auto;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .metrics-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric:nth-child(odd) {
        border-right: 1px solid #e7ecf4;
    }

    .metric + .metric {
        border-left: 0;
    }

    .metric:nth-child(n + 3) {
        border-top: 1px solid #e7ecf4;
    }

    .content-gap {
        height: 90px;
    }
}

/* Sketch lock: keep the first viewport close to the supplied layout. */
.index-page .main-box {
    width: min(1220px, calc(100% - 72px));
    margin-top: 34px;
}

.index-page .site-banner {
    min-height: 318px !important;
    padding: 44px 34px 34px !important;
}

.index-page .banner-inner {
    max-width: 660px;
}

.index-page .banner-kicker {
    min-height: 28px;
    padding: 0 18px;
    font-size: 13px;
}

.index-page .banner-title {
    margin: 20px 0 10px !important;
    font-size: 30px !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
}

.index-page .banner-title span {
    margin-top: 4px;
    font-size: 32px !important;
    line-height: 1.18 !important;
}

.index-page .banner-desc {
    max-width: 610px;
    font-size: 14px !important;
    line-height: 1.75;
}

.index-page .btn-row {
    margin-top: 28px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center;
}

.index-page .btn {
    width: 150px !important;
    min-width: 150px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    box-sizing: border-box;
}

.index-page .metrics-strip {
    min-height: 88px;
}

.index-page .metric {
    padding: 20px 10px 17px !important;
}

.index-page .metric strong {
    font-size: 24px !important;
}

.index-page .metric span {
    font-size: 13px !important;
}

@media (max-width: 760px) {
    .index-page .main-box {
        width: calc(100% - 16px);
        margin-top: 8px;
    }

    .index-page .site-banner {
        min-height: 0 !important;
        padding: 22px 16px 24px !important;
    }

    .index-page .banner-title,
    .index-page .banner-title span {
        font-size: 28px !important;
    }

    .index-page .btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    .index-page .btn {
        width: 100% !important;
    }
}

.index-page .feature-icon {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.index-page .feature-icon::before,
.index-page .feature-icon::after {
    content: none !important;
    display: none !important;
}

.detail-shell {
    border-radius: 12px;
}

.detail-main {
    padding: 26px 34px 36px;
    background: #f4f7fc;
}

.detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #7d91b4;
    font-size: 13px;
}

.detail-breadcrumb a {
    color: #24539c;
    text-decoration: none;
}

.detail-card {
    background: #ffffff;
    border: 1px solid #dbe6f5;
    border-radius: 10px;
    padding: 28px 36px 32px;
    box-shadow: 0 10px 22px rgba(34, 68, 125, 0.08);
}

.detail-card-page {
    min-height: 360px;
}

.detail-header {
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5edf8;
}

.detail-header h1 {
    margin: 0 0 12px;
    color: #113f89;
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: 0;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #8194b6;
    font-size: 13px;
}

.detail-content {
    color: #2f446d;
    font-size: 16px;
    line-height: 1.9;
    word-break: break-word;
}

.detail-content p {
    margin: 0 0 18px;
}

.detail-content h2,
.detail-content h3,
.detail-content h4 {
    color: #123f87;
    line-height: 1.45;
    margin: 28px 0 14px;
}

.detail-content h2 {
    font-size: 24px;
    padding-left: 12px;
    border-left: 4px solid #2b7de0;
}

.detail-content h3 {
    font-size: 20px;
}

.detail-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 22px auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(19, 51, 105, 0.12);
}

.detail-content a {
    color: #1e68c8;
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 104, 200, 0.25);
}

.detail-content ul,
.detail-content ol {
    margin: 16px 0 18px;
    padding-left: 24px;
}

.detail-content li {
    margin-bottom: 8px;
}

.detail-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    color: #52698f;
    background: #f0f5fc;
    border-left: 4px solid #4fc3d9;
    border-radius: 6px;
}

.detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
}

.detail-content th,
.detail-content td {
    padding: 10px 12px;
    border: 1px solid #dfe8f6;
}

.detail-content th {
    background: #f1f6fd;
    color: #123f87;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5edf8;
}

.detail-btn {
    min-width: 112px;
    height: 40px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: #1e68c8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.detail-btn-light {
    color: #164b98;
    background: #eaf2ff;
}

@media (max-width: 760px) {
    .detail-main {
        padding: 16px 12px 24px;
    }

    .detail-card {
        padding: 22px 16px 24px;
    }

    .detail-header h1 {
        font-size: 24px;
    }

    .detail-content {
        font-size: 15px;
        line-height: 1.85;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-btn {
        width: 100%;
        box-sizing: border-box;
    }
}
