/* ==========================================================================
   KAYICHONG 数字营销主题 · 首页样式
   主色 #1479f5 / 正文 #28313e / 分隔线 #e8edf4
   ========================================================================== */

:root {
    --kg-blue: #1479f5;
    --kg-deep: #1556dc;
    --kg-ink: #28313e;
    --kg-muted: #7a879d;
    --kg-line: #e8edf4;
    --kg-pale: #f5f8fc;
    --kg-orange: #ffb020;
    --kg-radius: 8px;
    --kg-container: 1200px;
    --kg-header-h: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    padding-top: var(--kg-header-h);
    background: #fff;
    color: var(--kg-ink);
    font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
}

.kg-container {
    width: 100%;
    max-width: var(--kg-container);
    margin: 0 auto;
    padding: 0 24px;
}

.kg-ico {
    width: 24px;
    height: 24px;
    display: block;
    stroke-width: 1.9;
}

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.kg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.kg-btn .kg-arrow {
    transition: transform .2s;
}

.kg-btn:hover .kg-arrow {
    transform: translateX(3px);
}

.kg-btn-primary {
    background: var(--kg-blue);
    color: #fff;
}

.kg-btn-primary:hover {
    background: var(--kg-deep);
    transform: translateY(-1px);
}

.kg-btn-white {
    background: #fff;
    color: var(--kg-blue);
}

.kg-btn-white:hover {
    background: #f2f7ff;
    transform: translateY(-1px);
}

.kg-btn-ghost {
    border-color: rgba(255, 255, 255, .62);
    color: #fff;
    background: transparent;
}

.kg-btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
}

.kg-btn-line {
    border-color: #c9dcf8;
    color: var(--kg-blue);
    background: #fff;
}

.kg-btn-line:hover {
    border-color: var(--kg-blue);
    background: #f5f9ff;
}

.kg-btn-sm {
    min-height: 38px;
    padding: 0 18px;
    font-size: 14px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.kg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: var(--kg-header-h);
    background: #fff;
    border-bottom: 1px solid var(--kg-line);
    transition: background .25s, border-color .25s, box-shadow .25s;
}

.kg-header.is-scrolled {
    background: #fff;
    border-bottom-color: var(--kg-line);
    box-shadow: 0 6px 20px rgba(24, 52, 77, .07);
}

/* 首页：首屏与导航融为一体；滚动后切换为白色导航 */
.kg-home .kg-header:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
}

.kg-home .kg-header:not(.is-scrolled) .kg-brand,
.kg-home .kg-header:not(.is-scrolled) .kg-nav-list > li > a {
    color: #fff;
}

.kg-home .kg-header:not(.is-scrolled) .kg-brand-mark {
    background: #fff;
    color: var(--kg-blue);
    box-shadow: none;
}

.kg-home .kg-header:not(.is-scrolled) .kg-nav-list > li > a:hover,
.kg-home .kg-header:not(.is-scrolled) .kg-nav-list > li > a[aria-current="page"] {
    color: #fff;
}

.kg-home .kg-header:not(.is-scrolled) .kg-nav-list > li > a[aria-current="page"]::after {
    display: none;
}

.kg-home .kg-header:not(.is-scrolled) .kg-btn-line {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.kg-home .kg-header:not(.is-scrolled) .kg-btn-line:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

.kg-home .kg-header:not(.is-scrolled) .kg-btn-primary {
    background: #fff;
    color: var(--kg-blue);
}

.kg-home .kg-header:not(.is-scrolled) .kg-btn-primary:hover {
    background: #f1f6ff;
}

.kg-home .kg-header:not(.is-scrolled) .kg-menu-toggle {
    color: #fff;
}

.kg-home .kg-header:not(.is-scrolled) .kg-nav.open .kg-nav-list > li > a {
    color: #3f4a5a;
}

.kg-home .kg-header:not(.is-scrolled) .kg-nav.open .kg-nav-list > li > a[aria-current="page"] {
    color: var(--kg-blue);
}

/* 移动端菜单展开时，导航整体切白 */
.kg-home.kg-menu-open .kg-header {
    background: #fff;
    border-bottom-color: var(--kg-line);
}

.kg-home.kg-menu-open .kg-header .kg-brand,
.kg-home.kg-menu-open .kg-header .kg-nav-list > li > a {
    color: #3f4a5a;
}

.kg-home.kg-menu-open .kg-header .kg-nav-list > li > a[aria-current="page"] {
    color: var(--kg-blue);
}

.kg-home.kg-menu-open .kg-header .kg-brand-mark {
    background: linear-gradient(140deg, #2f8dff, var(--kg-deep));
    color: #fff;
}

.kg-home.kg-menu-open .kg-header .kg-menu-toggle {
    color: #3f4a5a;
}

body.kg-menu-open {
    overflow: hidden;
}

.kg-header-row {
    display: flex;
    align-items: center;
    height: var(--kg-header-h);
    gap: 26px;
}

.kg-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--kg-ink);
}

.kg-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(140deg, #2f8dff, var(--kg-deep));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(20, 121, 245, .28);
}

.kg-brand-ico {
    width: 21px;
    height: 21px;
}

.kg-brand-img {
    max-height: 44px;
    width: auto;
}

.kg-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    background: none;
    color: var(--kg-ink);
    cursor: pointer;
}

.kg-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform .2s, opacity .2s;
}

.kg-nav {
    flex: 1;
    min-width: 0;
}

.kg-nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
}

.kg-nav-list > li {
    position: relative;
}

.kg-nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 80px;
    padding: 0 15px;
    font-size: 15px;
    color: #3f4a5a;
    white-space: nowrap;
    transition: color .2s;
}

.kg-nav-list > li > a:hover,
.kg-nav-list > li > a[aria-current="page"] {
    color: var(--kg-blue);
}

.kg-nav-list > li > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--kg-blue);
}

.kg-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: .55;
    margin-top: 2px;
}

.kg-dropdown {
    position: absolute;
    top: calc(100% - 12px);
    left: 6px;
    min-width: 168px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--kg-line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(24, 52, 77, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 20;
}

.kg-nav-has-sub:hover .kg-dropdown,
.kg-nav-user:hover .kg-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kg-dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #4b5666;
    white-space: nowrap;
}

.kg-dropdown a:hover {
    background: var(--kg-pale);
    color: var(--kg-blue);
}

.kg-nav-user > a {
    gap: 8px;
}

.kg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.kg-nav-user .kg-dropdown {
    left: auto;
    right: 0;
}

.kg-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* --------------------------------------------------------------------------
   首屏
   -------------------------------------------------------------------------- */
.kg-hero {
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--kg-header-h));
    padding-top: var(--kg-header-h);
    background: var(--kg-blue);
    color: #fff;
}

.kg-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(680px 460px at 76% 44%, rgba(255, 255, 255, .16), transparent 66%),
        radial-gradient(460px 340px at 6% 88%, rgba(255, 255, 255, .10), transparent 70%);
}

.kg-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .28;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), transparent 55%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), transparent 55%);
}

.kg-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 540px;
}

.kg-hero-copy {
    width: 46%;
    padding: 60px 0 72px;
}

.kg-eyebrow {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .06em;
    opacity: .94;
    margin-bottom: 20px;
}

.kg-hero-title {
    font-size: 46px;
    line-height: 1.42;
    font-weight: 700;
    letter-spacing: .015em;
}

.kg-hero-title span {
    display: block;
}

.kg-hero-desc {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.95;
    opacity: .9;
}

.kg-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.kg-hero-note {
    margin-top: 28px;
    font-size: 13px;
    letter-spacing: .02em;
    opacity: .82;
}

.kg-hero-art {
    position: absolute;
    top: 0;
    right: -24px;
    bottom: 0;
    width: 57%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    pointer-events: none;
}

.kg-hero-art img {
    width: 100%;
    max-width: 760px;
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(6, 48, 110, .18));
}

/* --------------------------------------------------------------------------
   公告栏
   -------------------------------------------------------------------------- */
.kg-announcement {
    background: #fff;
    border-bottom: 1px solid var(--kg-line);
}

.kg-announcement-row {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 58px;
    font-size: 13px;
    color: #5c6879;
}

.kg-announcement-label {
    flex-shrink: 0;
    padding-right: 24px;
    border-right: 1px solid var(--kg-line);
    font-size: 14px;
    font-weight: 700;
    color: var(--kg-ink);
    line-height: 1.2;
}

.kg-announcement-list {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 28px;
}

.kg-announcement-item {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color .2s;
}

a.kg-announcement-item:hover {
    color: var(--kg-blue);
}

.kg-announcement-more {
    flex-shrink: 0;
    color: var(--kg-blue);
    white-space: nowrap;
    transition: opacity .2s;
}

.kg-announcement-more:hover {
    opacity: .75;
}

/* --------------------------------------------------------------------------
   通用区块标题
   -------------------------------------------------------------------------- */
.kg-section {
    padding: 92px 0 104px;
}

.kg-section-title {
    position: relative;
    text-align: center;
    padding-top: 16px;
    margin-bottom: 54px;
}

.kg-watermark {
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    z-index: 0;
    width: 100%;
    font-size: clamp(20px, 4.6vw, 62px);
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.1;
    color: #eef2f8;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
}

.kg-section-title h2 {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .01em;
}

.kg-section-title p {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    font-size: 15px;
    color: var(--kg-muted);
}

/* --------------------------------------------------------------------------
   八项能力
   -------------------------------------------------------------------------- */
.kg-feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.kg-feature-card {
    min-height: 196px;
    padding: 32px 18px 34px;
    text-align: center;
    background: #fff;
    border: 1px solid #e4eaf4;
    border-radius: 9px;
    box-shadow: 0 5px 0 #f3f5f9;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.kg-feature-card:hover {
    transform: translateY(-4px);
    border-color: #bcd8ff;
    box-shadow: 0 12px 26px rgba(20, 90, 180, .10);
}

.kg-feature-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eaf2ff;
    color: var(--kg-blue);
}

.kg-feature-ico .kg-ico {
    width: 24px;
    height: 24px;
}

.kg-feature-card h3 {
    margin: 18px 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.kg-feature-card p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--kg-muted);
}

/* --------------------------------------------------------------------------
   场景方案
   -------------------------------------------------------------------------- */
.kg-solutions {
    position: relative;
    overflow: hidden;
    padding: 88px 0 104px;
    background: var(--kg-blue);
    color: #fff;
}

.kg-solutions::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 380px at 12% 10%, rgba(255, 255, 255, .10), transparent 70%),
        radial-gradient(520px 360px at 92% 90%, rgba(255, 255, 255, .08), transparent 70%);
    pointer-events: none;
}

.kg-solutions .kg-container {
    position: relative;
    z-index: 1;
}

.kg-section-title-light h2 {
    color: #fff;
}

.kg-section-title-light p {
    color: rgba(255, 255, 255, .82);
}

.kg-section-title-light .kg-watermark {
    color: rgba(255, 255, 255, .13);
}

.kg-solution-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
}

.kg-solution-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 286px;
    margin: 0 5px;
    padding: 34px 22px 26px;
    background: #e9f2ff;
    border-radius: 4px;
    color: var(--kg-ink);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: flex-grow .32s ease, transform .32s ease, box-shadow .32s ease, background .32s ease;
}

.kg-solution-card.is-open {
    flex-grow: 2.1;
    background: #fff;
    transform: translateY(-22px);
    margin-bottom: -22px;
    box-shadow: 0 18px 44px rgba(9, 45, 110, .20);
}

.kg-solution-ico {
    display: inline-flex;
    color: var(--kg-blue);
}

.kg-solution-ico .kg-ico {
    width: 30px;
    height: 30px;
}

.kg-solution-card h3 {
    margin-top: 16px;
    font-size: 19px;
    font-weight: 600;
    color: #1d2b40;
    transition: font-size .3s ease;
}

.kg-solution-card.is-open h3 {
    font-size: 23px;
}

.kg-solution-list {
    margin-top: 18px;
}

.kg-solution-list li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    line-height: 2;
    color: #5d6b80;
}

.kg-solution-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9db4d4;
}

.kg-solution-desc {
    display: none;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.9;
    color: #6a778c;
}

.kg-solution-card.is-open .kg-solution-desc {
    display: block;
}

.kg-solution-card.is-open .kg-solution-list {
    margin-top: 14px;
}

.kg-solution-cta {
    display: none;
    align-self: flex-start;
    margin-top: 22px;
}

.kg-solution-card.is-open .kg-solution-cta {
    display: inline-flex;
}

/* --------------------------------------------------------------------------
   新闻资讯（按分类三栏）
   -------------------------------------------------------------------------- */
.kg-news {
    background: #fff;
}

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

.kg-news-col {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9edf4;
    border-radius: 3px;
    transition: transform .25s, box-shadow .25s;
}

.kg-news-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(20, 60, 120, .09);
}

.kg-news-cover {
    position: relative;
    display: block;
    height: 172px;
    overflow: hidden;
    background: linear-gradient(135deg, #2b3544, #4a586c);
}

.kg-news-cover.no-img {
    background:
        radial-gradient(420px 200px at 84% 12%, rgba(255, 255, 255, .14), transparent 70%),
        linear-gradient(135deg, #2b3544, #4a586c);
}

.kg-news-col:nth-child(2) .kg-news-cover.no-img {
    background:
        radial-gradient(420px 200px at 84% 12%, rgba(255, 255, 255, .12), transparent 70%),
        linear-gradient(135deg, #26313f, #3f4d60);
}

.kg-news-col:nth-child(3) .kg-news-cover.no-img {
    background:
        radial-gradient(420px 200px at 84% 12%, rgba(255, 255, 255, .12), transparent 70%),
        linear-gradient(135deg, #303b49, #556173);
}

.kg-news-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.kg-news-col:hover .kg-news-img {
    transform: scale(1.05);
}

.kg-news-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 22, 36, .72) 0%, rgba(12, 22, 36, .38) 58%, rgba(12, 22, 36, .10) 100%);
}

.kg-news-kicker {
    position: absolute;
    left: 24px;
    top: 28px;
    z-index: 2;
    font-size: 14px;
    letter-spacing: .01em;
    color: rgba(255, 255, 255, .86);
}

.kg-news-heading {
    position: absolute;
    left: 24px;
    right: 20px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.kg-news-heading strong {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .02em;
}

.kg-news-heading i {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, .55);
}

.kg-news-heading em {
    font-style: normal;
    font-size: 13px;
    color: rgba(255, 255, 255, .88);
}

.kg-news-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 24px 18px;
}

.kg-news-featured {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
}

.kg-news-featured a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color .2s;
}

.kg-news-featured a:hover {
    color: var(--kg-blue);
}

.kg-new {
    flex-shrink: 0;
    margin-top: 4px;
    padding: 1px 6px;
    border-radius: 3px;
    background: #f34b59;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6;
}

.kg-news-desc {
    display: -webkit-box;
    margin: 10px 0 0;
    overflow: hidden;
    color: #8a94a4;
    font-size: 13px;
    line-height: 1.8;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kg-news-list {
    margin-top: 16px;
    padding-top: 8px;
    border-top: 1px solid #eef1f6;
}

.kg-news-list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    min-width: 0;
    padding: 6px 0;
}

.kg-news-list time {
    flex-shrink: 0;
    color: #9aa5b5;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.kg-news-list a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #4d5869;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color .2s;
}

.kg-news-list a:hover {
    color: var(--kg-blue);
}
/* --------------------------------------------------------------------------
   合作伙伴
   -------------------------------------------------------------------------- */
.kg-partners {
    padding-bottom: 84px;
}

.kg-partner-rows {
    position: relative;
    display: grid;
    gap: 18px;
    overflow: hidden;
}

.kg-partner-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.kg-partner-track {
    display: flex;
    width: max-content;
    animation: kg-marquee 46s linear infinite;
}

.kg-partner-row.reverse .kg-partner-track {
    animation-direction: reverse;
}

.kg-partner-row:nth-child(2) .kg-partner-track {
    animation-duration: 56s;
}

.kg-partner-row:nth-child(3) .kg-partner-track {
    animation-duration: 50s;
}

.kg-partner-row:hover .kg-partner-track {
    animation-play-state: paused;
}

.kg-partner-group {
    display: flex;
    gap: 18px;
    padding-right: 18px;
}

.kg-partner-logo {
    flex: 0 0 200px;
    width: 200px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--kg-line);
    border-radius: 4px;
    box-shadow: 0 3px 0 #f7f9fc;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.kg-partner-logo:hover {
    transform: translateY(-2px);
    border-color: #bfd8ff;
    box-shadow: 0 8px 20px rgba(20, 90, 180, .08);
}

.kg-partner-logo img {
    width: auto;
    height: auto;
    max-width: 140px;
    max-height: 46px;
    object-fit: contain;
    opacity: .92;
    transition: opacity .2s;
}

.kg-partner-logo:hover img {
    opacity: 1;
}

@keyframes kg-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

/* --------------------------------------------------------------------------
   底部 CTA
   -------------------------------------------------------------------------- */
.kg-cta {
    padding: 42px 0;
    background: #ebf3ff;
}

.kg-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.kg-cta-copy h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.kg-cta-copy p {
    margin-top: 10px;
    font-size: 14px;
    color: #65748a;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.kg-footer {
    padding: 50px 0 24px;
    background: #303742;
    color: #c7ced8;
    font-size: 13px;
}

.kg-footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 34px;
}

.kg-footer-brand {
    flex: 1.6 1 240px;
    min-width: 0;
}

.kg-footer-col {
    flex: 1 1 140px;
    min-width: 0;
}

.kg-footer-follow {
    flex: 0 0 224px;
}

.kg-brand-light {
    color: #fff;
    font-size: 22px;
}

.kg-brand-light .kg-brand-mark {
    box-shadow: none;
}

.kg-footer-slogan {
    margin-top: 16px;
    font-size: 13px;
    color: #8f9aaa;
}

.kg-footer-col h3,
.kg-footer-follow h3 {
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.kg-footer-col a {
    display: block;
    font-size: 13px;
    line-height: 2.2;
    color: #aeb8c6;
    transition: color .2s;
}

.kg-footer-col a:hover {
    color: #fff;
}

.kg-qr-grid {
    display: flex;
    gap: 16px;
}

.kg-qr-grid figure {
    margin: 0;
    width: 104px;
}

.kg-qr {
    width: 104px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 2px;
    color: #8a94a3;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.kg-qr img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.kg-qr img.kg-qr-ph {
    width: 64px;
    height: 64px;
    opacity: .5;
}

.kg-qr-grid figcaption {
    margin-top: 10px;
    font-size: 12px;
    color: #aeb8c6;
    text-align: center;
}

.kg-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px;
    color: #8d97a6;
}

.kg-footer-bottom a:hover {
    color: #fff;
}

.kg-footer-brandline {
    margin-top: 10px;
    font-size: 12px;
    color: #7f8a99;
    letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   滚动入场（JS 添加，禁用 JS 时不影响阅读）
   -------------------------------------------------------------------------- */
.kg-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.kg-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   内容页 / 404
   -------------------------------------------------------------------------- */
.kg-page-head {
    padding: 54px 0 46px;
    background: linear-gradient(110deg, #f6f9ff, #eaf2ff);
}

.kg-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--kg-muted);
}

.kg-crumb a:hover {
    color: var(--kg-blue);
}

.kg-page-head h1 {
    max-width: 920px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
}

.kg-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--kg-muted);
}

.kg-article {
    max-width: 920px;
    padding-top: 46px;
    padding-bottom: 80px;
}

.kg-article-cover img {
    width: 100%;
    height: auto;
    margin-bottom: 28px;
    border-radius: 8px;
}

.kg-rich {
    font-size: 16px;
    line-height: 2;
    color: #3f4b5c;
    overflow-wrap: anywhere;
}

.kg-rich h1,
.kg-rich h2 {
    margin: 38px 0 16px;
    font-size: 24px;
    line-height: 1.5;
    color: var(--kg-ink);
}

.kg-rich h3 {
    margin: 30px 0 12px;
    font-size: 20px;
    color: var(--kg-ink);
}

.kg-rich h4 {
    margin: 24px 0 10px;
    font-size: 17px;
    color: var(--kg-ink);
}

.kg-rich p {
    margin: 14px 0;
}

.kg-rich img {
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 6px;
}

.kg-rich a {
    color: var(--kg-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kg-rich ul,
.kg-rich ol {
    margin: 14px 0;
    padding-left: 24px;
    list-style: disc;
}

.kg-rich ol {
    list-style: decimal;
}

.kg-rich li {
    margin: 6px 0;
}

.kg-rich blockquote {
    margin: 22px 0;
    padding: 14px 20px;
    background: var(--kg-pale);
    border-left: 3px solid var(--kg-blue);
    border-radius: 0 6px 6px 0;
    color: #64748b;
}

.kg-rich pre {
    padding: 18px;
    background: #f4f6fa;
    border: 1px solid var(--kg-line);
    border-radius: 8px;
    overflow: auto;
    font-size: 13px;
    line-height: 1.8;
}

.kg-rich code {
    padding: 2px 6px;
    background: #f1f4f9;
    border-radius: 3px;
    font-size: 14px;
}

.kg-rich pre code {
    padding: 0;
    background: transparent;
}

.kg-rich table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.kg-rich th,
.kg-rich td {
    padding: 10px 14px;
    border: 1px solid #e2eaf4;
    text-align: left;
}

.kg-rich th {
    background: #f5f8fc;
}

.kg-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--kg-line);
}

.kg-article-tags a {
    padding: 4px 12px;
    border-radius: 20px;
    background: #edf4ff;
    color: var(--kg-blue);
    font-size: 12px;
}

.kg-neighbor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 26px;
}

.kg-neighbor-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--kg-line);
    border-radius: 8px;
    transition: border-color .2s, background .2s;
}

.kg-neighbor-item:hover {
    border-color: #bcd8ff;
    background: #f8fbff;
}

.kg-neighbor-item small {
    font-size: 12px;
    color: var(--kg-muted);
}

.kg-neighbor-item span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kg-neighbor-next {
    text-align: right;
}

.kg-article-back {
    margin-top: 34px;
}

.kg-404 {
    padding: 110px 0 120px;
    text-align: center;
}

.kg-404-code {
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    color: #e3edfb;
}

.kg-404 h1 {
    margin: 10px 0 0;
    font-size: 28px;
}

.kg-404-desc {
    margin: 12px 0 28px;
    color: var(--kg-muted);
}

/* --------------------------------------------------------------------------
   列表页（分类 / 标签 / 搜索 / 作者）
   -------------------------------------------------------------------------- */
.kg-list-head {
    padding: 48px 0 40px;
    background: linear-gradient(110deg, #f6f9ff, #eaf2ff);
}

.kg-list-head h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
}

.kg-list-count {
    margin-top: 10px;
    font-size: 13px;
    color: var(--kg-muted);
}

.kg-list-wrap {
    padding: 44px 0 80px;
}

.kg-post-list {
    display: grid;
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

.kg-post-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--kg-line);
    border-radius: 8px;
    transition: border-color .2s, box-shadow .2s;
}

.kg-post-card.no-cover {
    grid-template-columns: minmax(0, 1fr);
}

.kg-post-card:hover {
    border-color: #bcd8ff;
    box-shadow: 0 10px 26px rgba(20, 90, 180, .08);
}

.kg-post-cover img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.kg-post-body h2 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.kg-post-body h2 a:hover {
    color: var(--kg-blue);
}

.kg-post-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #7b8593;
}

.kg-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    font-size: 12px;
    color: #9aa6b8;
}

.kg-list-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
    font-size: 14px;
}

.kg-list-page a,
.kg-list-page span {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--kg-line);
    border-radius: 4px;
}

.kg-list-page a:hover {
    border-color: var(--kg-blue);
    color: var(--kg-blue);
}

.kg-list-page span {
    background: var(--kg-blue);
    border-color: var(--kg-blue);
    color: #fff;
}

/* --------------------------------------------------------------------------
   响应式：桌面小屏
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
    .kg-header-row {
        gap: 16px;
    }

    .kg-nav-list > li > a {
        padding: 0 11px;
        font-size: 14px;
    }

    .kg-hero-copy {
        width: 48%;
    }

    .kg-hero-title {
        font-size: 41px;
    }

    .kg-hero-art {
        width: 55%;
    }

    .kg-feature-grid {
        gap: 18px;
    }

    .kg-solution-card {
        padding: 30px 18px 24px;
    }
}

/* --------------------------------------------------------------------------
   响应式：平板
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .kg-menu-toggle {
        display: flex;
        order: 3;
    }

    .kg-header-actions {
        margin-left: auto;
        order: 2;
    }

    .kg-header-actions .kg-btn-line {
        display: none;
    }

    .kg-nav {
        position: absolute;
        top: var(--kg-header-h);
        left: 0;
        right: 0;
        display: none;
        max-height: calc(100vh - 80px);
        padding: 10px 24px 22px;
        overflow-y: auto;
        background: #fff;
        border-bottom: 1px solid var(--kg-line);
        box-shadow: 0 18px 30px rgba(24, 52, 77, .10);
    }

    .kg-nav.open {
        display: block;
    }

    .kg-nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .kg-nav-list > li > a {
        height: auto;
        padding: 13px 2px;
        border-bottom: 1px solid var(--kg-line);
    }

    .kg-nav-list > li > a[aria-current="page"]::after {
        display: none;
    }

    .kg-dropdown {
        position: static;
        display: none;
        padding: 0 0 8px 14px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .kg-nav-has-sub:hover .kg-dropdown {
        display: block;
    }

    .kg-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
    }

    .kg-hero-copy {
        width: 100%;
        padding: 52px 0 0;
    }

    .kg-hero-art {
        position: relative;
        right: auto;
        width: 100%;
        height: 310px;
        margin-top: 4px;
        justify-content: center;
    }

    .kg-hero-art img {
        width: auto;
        max-width: 100%;
        max-height: 330px;
    }

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

    .kg-solution-grid {
        flex-wrap: wrap;
    }

    .kg-solution-card,
    .kg-solution-card.is-open {
        flex: 1 1 calc(33.333% - 10px);
        min-height: 0;
        margin-bottom: 10px;
        padding: 26px 20px;
        transform: none;
        box-shadow: none;
    }

    .kg-solution-card.is-open {
        background: #fff;
        box-shadow: 0 12px 30px rgba(9, 45, 110, .16);
    }

    .kg-news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .kg-partner-logo {
        flex-basis: 170px;
        width: 170px;
        height: 80px;
    }

    .kg-footer-grid {
        gap: 30px;
    }

    .kg-footer-follow {
        flex-basis: 100%;
    }
}

/* --------------------------------------------------------------------------
   响应式：手机
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
    :root {
        --kg-header-h: 68px;
    }

    html {
        scroll-padding-top: 74px;
    }

    .kg-container {
        padding: 0 20px;
    }

    .kg-header-row {
        height: var(--kg-header-h);
    }

    .kg-brand {
        font-size: 20px;
    }

    .kg-brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .kg-brand-img {
        max-height: 36px;
    }

    .kg-nav {
        top: var(--kg-header-h);
        max-height: calc(100vh - var(--kg-header-h));
    }

    .kg-header-actions {
        display: none;
    }

    .kg-header-actions .kg-btn {
        min-height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }

    .kg-hero-copy {
        padding-top: 40px;
    }

    .kg-eyebrow {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .kg-hero-title {
        font-size: 34px;
        line-height: 1.44;
    }

    .kg-hero-desc {
        margin-top: 16px;
        font-size: 15px;
    }

    .kg-hero-btns {
        gap: 12px;
        margin-top: 26px;
    }

    .kg-hero-btns .kg-btn {
        min-height: 43px;
        padding: 0 20px;
        font-size: 14px;
    }

    .kg-hero-note {
        margin-top: 20px;
        font-size: 12px;
    }

    .kg-hero-art {
        height: 240px;
    }

    .kg-hero-art img {
        max-height: 250px;
    }

    .kg-announcement-row {
        gap: 14px;
        min-height: 56px;
        font-size: 12px;
    }

    .kg-announcement-label {
        padding-right: 14px;
        font-size: 13px;
    }

    .kg-announcement-list {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 4px;
    }

    .kg-announcement-item {
        max-width: none;
    }

    .kg-announcement-extra,
    .kg-announcement-item:nth-of-type(2) {
        display: none;
    }

    .kg-announcement-more {
        font-size: 12px;
    }

    .kg-section {
        padding: 56px 0 64px;
    }

    .kg-section-title {
        padding-top: 8px;
        margin-bottom: 34px;
    }

    .kg-watermark {
        top: -2px;
    }

    .kg-section-title h2 {
        font-size: 24px;
    }

    .kg-section-title p {
        margin-top: 12px;
        font-size: 13px;
    }

    .kg-feature-grid {
        gap: 14px;
    }

    .kg-feature-card {
        min-height: 0;
        padding: 24px 12px;
    }

    .kg-feature-ico {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .kg-feature-card h3 {
        margin: 14px 0 8px;
        font-size: 17px;
    }

    .kg-feature-card p {
        font-size: 12px;
    }

    .kg-solutions {
        padding: 56px 0 64px;
    }

    .kg-solution-grid {
        display: block;
    }

    .kg-solution-card,
    .kg-solution-card.is-open {
        display: block;
        flex: none;
        margin: 0 0 12px;
        padding: 22px;
        border-radius: 5px;
        background: #e9f2ff;
        transform: none;
        box-shadow: none;
    }

    .kg-solution-card.is-open {
        background: #fff;
        box-shadow: 0 12px 28px rgba(9, 45, 110, .14);
    }

    .kg-solution-card h3,
    .kg-solution-card.is-open h3 {
        display: inline-block;
        margin: 0 0 0 12px;
        font-size: 19px;
        vertical-align: middle;
    }

    .kg-solution-ico {
        vertical-align: middle;
    }

    .kg-solution-list {
        display: none;
        margin-top: 14px;
    }

    .kg-solution-card.is-open .kg-solution-list {
        display: block;
    }

    .kg-news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .kg-news-cover {
        height: 184px;
    }

    .kg-news-heading strong {
        font-size: 22px;
    }

    .kg-news-body {
        padding: 18px 18px 14px;
    }

    .kg-news-featured {
        font-size: 16px;
    }

    .kg-section-more {
        justify-content: center;
        margin-top: 20px;
    }

    .kg-partner-rows {
        gap: 12px;
    }

    .kg-partner-group {
        gap: 12px;
        padding-right: 12px;
    }

    .kg-partner-logo {
        flex-basis: 150px;
        width: 150px;
        height: 70px;
        padding: 12px 16px;
    }

    .kg-partner-logo img {
        max-width: 110px;
        max-height: 38px;
    }

    .kg-cta {
        padding: 30px 0;
    }

    .kg-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .kg-cta-copy h2 {
        font-size: 20px;
    }

    .kg-footer {
        padding: 38px 0 26px;
    }

    .kg-footer-grid {
        gap: 26px 20px;
    }

    .kg-footer-brand,
    .kg-footer-follow {
        flex-basis: 100%;
    }

    .kg-footer-col {
        flex: 1 1 40%;
    }

    .kg-footer-col h3,
    .kg-footer-follow h3 {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .kg-qr-grid figure {
        width: 112px;
    }

    .kg-qr {
        width: 112px;
        height: 112px;
    }

    .kg-qr img {
        width: 100px;
        height: 100px;
    }

    .kg-page-head {
        padding: 34px 0 30px;
    }

    .kg-page-head h1 {
        font-size: 24px;
    }

    .kg-article {
        padding-top: 28px;
        padding-bottom: 56px;
    }

    .kg-rich {
        font-size: 15px;
    }

    .kg-neighbor {
        grid-template-columns: 1fr;
    }

    .kg-neighbor-next {
        text-align: left;
    }

    .kg-404 {
        padding: 70px 0 80px;
    }

    .kg-404-code {
        font-size: 80px;
    }

    .kg-list-head {
        padding: 32px 0 28px;
    }

    .kg-list-head h1 {
        font-size: 24px;
    }

    .kg-list-wrap {
        padding: 28px 0 56px;
    }

    .kg-post-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .kg-post-cover img {
        height: 180px;
    }

    .kg-post-body h2 {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .kg-reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   套餐版本
   -------------------------------------------------------------------------- */
.kg-pricing {
    background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.kg-price-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.kg-price-card {
    position: relative;
    display: flex;
    flex: 1 1 320px;
    max-width: 360px;
    flex-direction: column;
    padding: 32px 28px 30px;
    background: #fff;
    border: 1px solid var(--kg-line);
    border-radius: 10px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.kg-price-card:hover {
    transform: translateY(-4px);
    border-color: #c9dcf8;
    box-shadow: 0 18px 40px rgba(20, 60, 120, .10);
}

.kg-price-card.is-recommended {
    border-color: var(--kg-blue);
    box-shadow: 0 16px 40px rgba(20, 97, 245, .12);
}

.kg-price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 14px;
    border-radius: 20px;
    background: var(--kg-blue);
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
}

.kg-price-card h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.kg-price-desc {
    margin-top: 10px;
    min-height: 42px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--kg-muted);
}

.kg-price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 16px 0 18px;
    color: var(--kg-ink);
}

.kg-price-amount strong {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
}

.kg-price-amount em {
    font-style: normal;
    font-size: 13px;
    color: var(--kg-muted);
}

.kg-price-features {
    flex: 1;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--kg-line);
    list-style: none;
}

.kg-price-features li {
    position: relative;
    margin: 9px 0;
    padding-left: 22px;
    font-size: 13px;
    line-height: 1.7;
    color: #5d6b80;
}

.kg-price-features li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--kg-blue);
    border-bottom: 2px solid var(--kg-blue);
    transform: rotate(-45deg);
}

.kg-price-card .kg-btn {
    width: 100%;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .kg-price-grid {
        max-width: 560px;
        gap: 16px;
    }

    .kg-price-card {
        flex-basis: 100%;
        max-width: none;
    }
}

@media (max-width: 720px) {
    .kg-price-card {
        padding: 26px 22px;
    }

    .kg-price-desc {
        min-height: 0;
    }

    .kg-price-amount strong {
        font-size: 32px;
    }
}