/* ============================================================
   可乐IP导航 - Main Stylesheet
   设计语言：浅色科技风 · 内容优先 · 移动适配
   说明：保留所有类名与 CSS 变量名（--color-*），文章页自动跟随
   ============================================================ */

/* --- Design Tokens --- */
:root {
    /* 品牌色（简约蓝主调，不掺紫） */
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: rgba(37, 99, 235, .1);
    --color-violet: #0ea5e9;
    --color-accent: #0ea5e9;
    --color-accent-dark: #0284c7;
    --color-danger: #e5484d;
    --color-warning: #f59e0b;

    /* 背景 / 文本（清爽蓝白） */
    --color-bg: #f5f8ff;
    --color-bg-soft: #e9f0fb;
    --color-surface: #ffffff;
    --color-surface-2: #f2f6fe;
    --color-text: #17203a;
    --color-text-secondary: #5b6b8f;
    --color-border: rgba(59, 91, 173, .16);
    --color-border-strong: rgba(37, 99, 235, .45);

    /* 尺寸 / 阴影 */
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(30, 64, 120, .06), 0 1px 2px rgba(30, 64, 120, .04);
    --shadow: 0 8px 24px rgba(30, 64, 120, .10);
    --shadow-lg: 0 20px 48px rgba(30, 64, 120, .16);
    --glow-cyan: 0 6px 22px rgba(37, 99, 235, .18);
    --glow-violet: 0 6px 22px rgba(14, 165, 233, .18);
    --glow-green: 0 6px 18px rgba(2, 132, 199, .16);

    /* 渐变（蓝→深蓝，无紫） */
    --grad-brand: linear-gradient(135deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
    --grad-hero: radial-gradient(1100px 520px at 16% -12%, rgba(96, 165, 250, .24) 0%, transparent 55%),
                 radial-gradient(900px 460px at 88% 6%, rgba(14, 165, 233, .18) 0%, transparent 55%),
                 radial-gradient(760px 440px at 50% 118%, rgba(37, 99, 235, .12) 0%, transparent 55%),
                 linear-gradient(180deg, #e8efff 0%, #f5f8ff 62%, #f2f6fd 100%);

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;

    --transition: .2s ease;
    --max-width: 1080px;
    --header-height: 62px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    background-image:
        linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(37, 99, 235, .2); color: #0b2c6b; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; color: inherit; }
input { font: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: #c9d6f2; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #a8bde8; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: 14px;
    line-height: 1.3; transition: all var(--transition); white-space: nowrap;
    border: 1px solid transparent; min-height: 42px; letter-spacing: .01em;
}
.btn-primary {
    background: var(--grad-brand); color: #fff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .28);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(37, 99, 235, .38); }
.btn-outline {
    border-color: var(--color-border); color: var(--color-text); background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--color-border-strong); color: var(--color-primary); box-shadow: var(--glow-cyan); transform: translateY(-1px); }
.btn-accent {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9); color: #fff;
    box-shadow: 0 6px 18px rgba(14, 165, 233, .26);
}
.btn-accent:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14, 165, 233, .36); }

/* 按钮扫光效果 */
.btn-primary, .btn-accent { position: relative; overflow: hidden; }
.btn-primary::after, .btn-accent::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg); pointer-events: none; transition: left .55s ease;
}
.btn-primary:hover::after, .btn-accent:hover::after { left: 135%; }
.btn-ghost {
    background: rgba(255, 255, 255, .65); color: var(--color-primary);
    border-color: rgba(37, 99, 235, .3);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; box-shadow: var(--glow-cyan); transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: 13px; min-height: 36px; border-radius: 10px; }
.btn-lg { padding: 14px 30px; font-size: 16px; min-height: 50px; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }

/* --- Section --- */
.section { padding: 26px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 38px 0; } }
.section.tint { background: linear-gradient(180deg, #e9f0fb 0%, #f2f6fd 100%); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section.plain { background: var(--color-surface); }

.section-header { margin-bottom: 16px; position: relative; }
.section-tag {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 14px; background: rgba(37, 99, 235, .08);
    color: var(--color-primary); border: 1px solid rgba(37, 99, 235, .25);
    border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
    font-family: var(--font-mono); margin-bottom: 10px;
}
.section-tag::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(37, 99, 235, .55);
    animation: pulse-dot 2.2s ease-in-out infinite;
}
.section-tag em { font-style: normal; font-size: 10px; color: var(--color-text-secondary); opacity: .8; font-weight: 600; }
.section-title {
    font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -.015em;
    position: relative; display: inline-block; color: var(--color-text);
}
.section-title::after {
    content: ''; position: absolute; left: 0; bottom: -6px; width: 40px; height: 3px;
    border-radius: 3px; background: var(--grad-brand);
    box-shadow: 0 0 12px rgba(37, 99, 235, .35);
}
.section-desc { margin-top: 9px; font-size: 13px; color: var(--color-text-secondary); max-width: 620px; }
@media (min-width: 768px) { .section-title { font-size: 26px; } }

.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-more {
    font-size: 13px; font-weight: 700; color: var(--color-primary);
    font-family: var(--font-mono); white-space: nowrap;
}
.section-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 平台区排序：移动端平台列表优先，桌面端使用须知置顶 */
#platforms .container { display: flex; flex-direction: column; }
#platforms .section-head-row { order: 0; }
#platforms .platform-grid { order: 1; }
#platforms .site-notice { order: 2; margin-top: 18px; margin-bottom: 0; }
@media (min-width: 768px) {
    #platforms .site-notice { order: 1; margin: 0 0 22px; }
    #platforms .platform-grid { order: 2; }
}

/* --- Notice --- */
.site-notice {
    display: flex; gap: 10px; align-items: flex-start;
    background: linear-gradient(135deg, #fff9e6, #fdf0d0); border: 1px solid #f2d489;
    border-radius: var(--radius); padding: 11px 14px; font-size: 13px; color: #8a5a00; line-height: 1.7; margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.site-notice strong { color: #7c4a03; }

/* --- Badges & Chips --- */
.badge-8 {
    display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 6px;
    background: linear-gradient(135deg, #ef4444, #f97316); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: .05em; font-family: var(--font-mono);
    box-shadow: 0 2px 8px rgba(239, 68, 68, .35);
}
.chip {
    display: inline-block; padding: 4px 11px; border-radius: 8px;
    background: var(--color-surface); border: 1px solid var(--color-border);
    font-size: 12px; font-weight: 600; color: var(--color-text-secondary);
    font-family: var(--font-mono);
    box-shadow: var(--shadow-sm);
}
.chip.protocol {
    background: rgba(37, 99, 235, .08); border-color: rgba(37, 99, 235, .25); color: var(--color-primary);
}
.tag-type {
    display: inline-block; padding: 3px 10px; border-radius: 6px;
    background: rgba(37, 99, 235, .08); color: var(--color-primary);
    font-size: 11px; font-weight: 800; border: 1px solid rgba(37, 99, 235, .22);
    font-family: var(--font-mono);
}
.tag-type.datacenter { background: rgba(14, 165, 233, .1); color: #2563eb; border-color: rgba(14, 165, 233, .25); }
.tag-type.residential { background: rgba(225, 29, 72, .08); color: #e11d48; border-color: rgba(225, 29, 72, .22); }

/* --- 动效 --- */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.78); }
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    transition: box-shadow var(--transition);
}
.site-header .container { height: 100%; display: flex; align-items: center; }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--grad-brand);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 17px; font-weight: 800;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .35);
}
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--color-text); }
.logo-text small { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); margin-left: 4px; font-family: var(--font-mono); }

.site-nav { display: none; margin-left: auto; align-items: center; gap: 2px; }
.site-nav .nav-link {
    padding: 8px 14px; border-radius: 10px;
    font-size: 15px; font-weight: 600; color: var(--color-text-secondary);
    transition: all var(--transition);
}
.site-nav .nav-link:hover { color: var(--color-primary); background: rgba(37, 99, 235, .07); }
.site-nav .nav-link.active {
    color: #fff; font-weight: 800; background: var(--grad-brand);
    box-shadow: 0 4px 14px rgba(37, 99, 235, .32);
}

.nav-burger {
    margin-left: auto; display: inline-flex; flex-direction: column; gap: 4px;
    padding: 10px; border-radius: 10px;
}
.nav-burger span { width: 20px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all var(--transition); }
.nav-burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer-overlay {
    position: fixed; inset: 0; z-index: 199; background: rgba(23, 32, 58, .4);
    opacity: 0; pointer-events: none; transition: opacity var(--transition);
    backdrop-filter: blur(4px);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
    width: 80%; max-width: 320px; background: var(--color-surface);
    transform: translateX(100%); transition: transform .24s ease;
    display: flex; flex-direction: column; padding: 20px 20px 32px;
    overflow-y: auto; border-left: 1px solid var(--color-border);
}
.mobile-drawer.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); margin-bottom: 12px; }
.drawer-close { padding: 6px; font-size: 24px; line-height: 1; color: var(--color-text-secondary); }
.drawer-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 15px 12px; border-radius: 12px;
    font-size: 16px; font-weight: 700; color: var(--color-text);
}
.drawer-nav a:hover, .drawer-nav a.active { color: var(--color-primary); background: rgba(37, 99, 235, .07); }
.drawer-nav .d-icon {
    width: 36px; height: 36px; border-radius: 10px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 17px;
    background: var(--color-bg); border: 1px solid var(--color-border);
}

@media (min-width: 900px) {
    .site-nav { display: inline-flex; }
    .nav-burger { display: none; }
    .mobile-drawer, .drawer-overlay { display: none; }
}

/* ============================================================
   Hero (首页)
   ============================================================ */
.hero {
    position: relative; overflow: hidden;
    background: var(--grad-hero);
    padding: 30px 0 36px;
}
@media (min-width: 768px) { .hero { padding: 56px 0 64px; } }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .blob {
    position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55;
}
.hero-bg .blob-1 { width: 420px; height: 420px; background: rgba(96, 165, 250, .5); top: -170px; right: -100px; }
.hero-bg .blob-2 { width: 380px; height: 380px; background: rgba(14, 165, 233, .4); bottom: -190px; left: -110px; }
.hero-bg .blob-3 { width: 260px; height: 260px; background: rgba(96, 165, 250, .38); top: 36%; left: 40%; }
@media (min-width: 900px) {
    .hero-bg .blob-1 { width: 560px; height: 560px; }
    .hero-bg .blob-2 { width: 500px; height: 500px; }
}
.hero-bg .grid-pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 40%, transparent 95%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, transparent 95%);
}
.hero-bg .scanline {
    position: absolute; left: 0; right: 0; height: 120px;
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, .05), transparent);
    animation: scanmove 7s linear infinite;
}
@keyframes scanmove {
    0% { top: -20%; }
    100% { top: 110%; }
}

.hero-inner { position: relative; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .72); color: var(--color-primary);
    border: 1px solid rgba(37, 99, 235, .28);
    padding: 6px 13px; border-radius: 100px; font-size: 13px; font-weight: 700;
    margin-bottom: 14px; backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    box-shadow: var(--shadow-sm);
}
.hero-badge::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: #0ea5e9; box-shadow: 0 0 10px rgba(14, 165, 233, .6);
    animation: pulse-dot 2s ease-in-out infinite;
}
.hero-title {
    font-size: clamp(27px, 6vw, 40px); font-weight: 800; line-height: 1.16;
    letter-spacing: -.025em; margin-bottom: 12px; color: #101a33;
}
.hero-title .hl {
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc { font-size: 15px; color: var(--color-text-secondary); max-width: 600px; margin-bottom: 20px; line-height: 1.8; }
@media (min-width: 768px) { .hero-desc { font-size: 16px; } }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

/* Hero 底部淡出衔接正文 */
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 72px;
    background: linear-gradient(180deg, transparent, var(--color-bg));
    pointer-events: none;
}

/* 移动端：压缩 Hero，让平台列表尽早进入首屏 */
@media (max-width: 767px) {
    .hero { padding: 20px 0 24px; }
    .hero-badge { margin-bottom: 14px; padding: 6px 12px; font-size: 12px; }
    .hero-title { font-size: 28px; margin-bottom: 10px; }
    .hero-desc {
        font-size: 14px; margin-bottom: 16px;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .hero-ctas { margin-bottom: 18px; gap: 8px; }
    .hero-ctas .btn { padding: 11px 16px; font-size: 14px; }
    .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: none; }
    .stat-item { padding: 8px 4px; border-radius: 10px; align-items: center; }
    .stat-num { font-size: 16px; }
    .stat-label { font-size: 10px; }
    .sysbar { padding: 8px 0; }
    .sysbar-text { font-size: 11px; }
}

.hero-stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
    max-width: 520px;
}
@media (min-width: 900px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
    display: flex; flex-direction: column; gap: 2px;
    background: rgba(255, 255, 255, .78); border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 14px; padding: 10px 12px;
    backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.stat-item:hover { border-color: var(--color-border-strong); box-shadow: var(--glow-cyan); }
.stat-num { font-size: 22px; font-weight: 800; color: var(--color-text); font-family: var(--font-mono); }
.stat-num em {
    font-style: normal; background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 12px; color: var(--color-text-secondary); font-family: var(--font-mono); }

/* Hero 右侧漂浮卡片 */
.hero-visual { display: none; }
@media (min-width: 900px) {
    .hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
    .hero-visual {
        display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
        position: relative;
    }
    .float-card {
        background: rgba(255, 255, 255, .82); border: 1px solid rgba(37, 99, 235, .2);
        border-radius: 16px; padding: 16px 14px;
        backdrop-filter: blur(12px);
        box-shadow: 0 12px 32px rgba(37, 99, 235, .12);
        display: flex; flex-direction: column; gap: 5px;
        animation: floaty 6s ease-in-out infinite;
        position: relative; overflow: hidden;
    }
    .float-card::after {
        content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
        background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .5), transparent);
    }
    .float-card:nth-child(2) { animation-delay: 1.2s; transform: translateY(14px); }
    .float-card:nth-child(3) { animation-delay: 2.4s; }
    .float-card:nth-child(4) { animation-delay: 3.6s; transform: translateY(8px); }
    .float-card .fc-icon { font-size: 22px; }
    .float-card .fc-name { font-size: 14px; font-weight: 800; color: var(--color-text); font-family: var(--font-mono); }
    .float-card .fc-sub { font-size: 11px; color: var(--color-text-secondary); }
    .float-card .fc-tag {
        align-self: flex-start; padding: 2px 8px; border-radius: 6px;
        background: rgba(37, 99, 235, .08); color: var(--color-primary);
        font-size: 10px; font-weight: 800; font-family: var(--font-mono);
        border: 1px solid rgba(37, 99, 235, .22);
    }
}

/* ============================================================
   系统状态条 (首页 hero 下方)
   ============================================================ */
.sysbar {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #e7eefb;
    padding: 7px 0;
    overflow: hidden;
}
.sysbar-text {
    display: block; font-family: var(--font-mono); font-size: 12px;
    color: var(--color-text-secondary); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.sysbar-text .s-cyan { color: var(--color-primary); }
.sysbar-text .s-green { color: var(--color-accent); }
.sysbar-text .s-violet { color: var(--color-violet); }
.sysbar-text .s-dim { color: #9aa8c8; }
.sysbar-cursor {
    display: inline-block; width: 8px; height: 14px; background: var(--color-primary);
    vertical-align: middle; margin-left: 6px; box-shadow: 0 0 8px rgba(37, 99, 235, .5);
    animation: blink 1s steps(1) infinite;
}

/* ============================================================
   三步使用 (首页)
   ============================================================ */
.steps { padding: 16px 0 2px; position: relative; }
.steps-grid { display: grid; gap: 10px; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
    display: flex; gap: 12px; align-items: flex-start;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 14px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.step-card:hover { border-color: var(--color-border-strong); box-shadow: var(--glow-cyan); transform: translateY(-2px); }
.step-num {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
    background: var(--grad-brand); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; font-family: var(--font-mono);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .32);
}
.step-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.step-card p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.6; }

/* ============================================================
   平台卡片
   ============================================================ */
.platform-grid { display: grid; gap: 12px; }
@media (min-width: 920px) { .platform-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

.platform-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: 16px;
    display: flex; flex-direction: column; gap: 10px;
    transition: all var(--transition); position: relative; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.platform-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent, var(--grad-brand));
    opacity: 0; transition: opacity var(--transition);
}
.platform-card::after {
    content: ''; position: absolute; top: 10px; right: 12px;
    width: 6px; height: 6px; border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 8px rgba(96, 165, 250, .7);
}
.platform-card:hover {
    border-color: var(--color-border-strong);
    border-color: color-mix(in srgb, var(--accent, #2563eb) 45%, transparent);
    box-shadow: var(--shadow-lg), var(--glow-cyan);
    box-shadow: var(--shadow-lg), 0 0 26px color-mix(in srgb, var(--accent, #2563eb) 20%, transparent);
    transform: translateY(-3px);
}
.platform-card:hover::before { opacity: 1; }

.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-logo {
    width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    overflow: hidden; background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
}
.pc-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pc-logo.text {
    color: #fff; font-size: 21px; font-weight: 800; border: none;
    background: var(--grad-brand);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .32);
}
.pc-info { min-width: 0; flex: 1; }
.pc-name { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pc-sub { font-size: 12px; color: var(--color-text-secondary); margin-top: 2px; }
.pc-tags { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }

.pc-desc { font-size: 14px; color: var(--color-text-secondary); line-height: 1.75; }

.pc-protocols { display: flex; flex-wrap: wrap; gap: 6px; }

.pc-features { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-features span {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600; color: var(--color-text-secondary);
    background: var(--color-bg); border: 1px solid var(--color-border);
    padding: 3px 9px; border-radius: 7px;
}
.pc-features span::before { content: '✓'; color: var(--color-accent); font-weight: 800; }

.pc-price {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(37, 99, 235, .07), rgba(14, 165, 233, .07));
    border: 1px solid rgba(37, 99, 235, .2);
    border-radius: 12px; padding: 9px 13px;
}
.pc-price .label { font-size: 12px; color: var(--color-text-secondary); font-weight: 600; font-family: var(--font-mono); }
.pc-price .num {
    font-size: 25px; font-weight: 800; color: var(--color-danger); line-height: 1;
    font-family: var(--font-mono);
}
.pc-price .num .unit { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); margin-left: 2px; }
.pc-price .orig { font-size: 12px; color: var(--color-text-secondary); text-decoration: line-through; font-family: var(--font-mono); }
.pc-price .off {
    margin-left: auto; padding: 3px 9px; border-radius: 7px;
    background: rgba(14, 165, 233, .1); color: var(--color-accent);
    border: 1px solid rgba(14, 165, 233, .28);
    font-size: 11px; font-weight: 800; font-family: var(--font-mono);
}

.pc-actions { display: flex; gap: 8px; margin-top: auto; }
.pc-actions .btn { flex: 1; }
.pc-actions .btn-reg { flex: 1.5; }

/* ============================================================
   软件卡片
   ============================================================ */
.tools-grid { display: grid; gap: 12px; }
@media (min-width: 680px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }

.tool-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: 16px;
    display: flex; flex-direction: column; gap: 10px;
    transition: all var(--transition); position: relative;
    box-shadow: var(--shadow-sm);
}
.tool-card:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-lg), var(--glow-cyan); transform: translateY(-3px); }

.tool-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, #eef4fd, #f4f8ff);
    border: 1px solid rgba(37, 99, 235, .18);
    display: inline-flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 9px;
    box-shadow: var(--shadow-sm);
}
.tool-icon img { width: 100%; height: 100%; object-fit: contain; }
.tool-name { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-name .os {
    font-size: 11px; font-weight: 800; color: var(--color-primary);
    background: rgba(37, 99, 235, .08); border: 1px solid rgba(37, 99, 235, .22);
    padding: 3px 9px; border-radius: 7px; font-family: var(--font-mono);
}
.tool-desc { font-size: 13px; color: var(--color-text-secondary); line-height: 1.7; flex: 1; }
.tool-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tool-meta .tag {
    font-size: 11px; font-weight: 700; color: var(--color-text-secondary);
    background: var(--color-bg); border: 1px solid var(--color-border);
    padding: 3px 10px; border-radius: 8px; font-family: var(--font-mono);
}
.tool-actions { display: flex; gap: 10px; }
.tool-actions .btn { flex: 1; }

/* ============================================================
   教程列表 (首页)
   ============================================================ */
.tutorial-list { display: flex; flex-direction: column; }
.tutorial-item {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 12px 14px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.tutorial-item + .tutorial-item { margin-top: 10px; }
.tutorial-item:hover {
    border-color: var(--color-border-strong); box-shadow: var(--glow-cyan);
    transform: translateX(4px);
}
.t-item-icon {
    width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; font-weight: 800;
    background: var(--grad-brand);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .3);
}
.t-item-main { flex: 1; min-width: 0; }
.t-item-title { font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-item-meta { font-size: 12px; color: var(--color-text-secondary); margin-top: 4px; font-family: var(--font-mono); }
.t-item-arrow {
    color: var(--color-primary); flex-shrink: 0; font-size: 18px; font-weight: 800;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(37, 99, 235, .08); border: 1px solid rgba(37, 99, 235, .22);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.tutorial-item:hover .t-item-arrow { background: var(--grad-brand); color: #fff; }

/* ============================================================
   筛选按钮
   ============================================================ */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-tag {
    padding: 9px 17px; border-radius: 10px; font-size: 14px; font-weight: 700;
    background: var(--color-surface); border: 1px solid var(--color-border);
    color: var(--color-text-secondary); transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.filter-tag:hover { border-color: var(--color-border-strong); color: var(--color-primary); transform: translateY(-1px); }
.filter-tag.active {
    background: var(--grad-brand); border-color: transparent; color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .3);
}

/* ============================================================
   文章卡片 (grid)
   ============================================================ */
.articles-grid { display: grid; gap: 14px; }
@media (min-width: 680px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column; transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.article-card:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-lg), var(--glow-cyan); transform: translateY(-3px); }
.article-thumb { position: relative; aspect-ratio: 5 / 3; background: var(--color-bg-soft); overflow: hidden; }
.article-thumb img, .article-thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.article-card:hover .article-thumb img, .article-card:hover .article-thumb svg { transform: scale(1.04); }
.article-thumb .article-tag {
    position: absolute; left: 10px; top: 10px;
    background: rgba(255, 255, 255, .85); color: var(--color-primary);
    border: 1px solid rgba(37, 99, 235, .25);
    padding: 5px 11px; border-radius: 100px; font-size: 11px; font-weight: 700;
    backdrop-filter: blur(6px); font-family: var(--font-mono);
    box-shadow: var(--shadow-sm);
}
.article-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-title { font-size: 15px; font-weight: 800; line-height: 1.5; }
.article-title a:hover { color: var(--color-primary); }
.article-excerpt {
    font-size: 13px; color: var(--color-text-secondary); line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-meta { margin-top: auto; display: flex; gap: 14px; font-size: 12px; color: var(--color-text-secondary); font-family: var(--font-mono); }
.article-meta time::before { content: '📅 '; }
.article-meta span::before { content: '👁 '; }

/* ============================================================
   价格中心
   ============================================================ */
.page-hero {
    position: relative; overflow: hidden;
    background: var(--grad-hero);
    padding: 30px 0 8px;
}
@media (min-width: 768px) { .page-hero { padding: 44px 0 12px; } }
.page-hero::before, .page-hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.page-hero::before { width: 380px; height: 380px; background: rgba(96, 165, 250, .4); top: -170px; right: -60px; }
.page-hero::after { width: 340px; height: 340px; background: rgba(14, 165, 233, .34); bottom: -180px; left: -80px; }
.page-hero h1 { font-size: clamp(27px, 5.6vw, 42px); font-weight: 800; letter-spacing: -.02em; position: relative; }
.page-hero .sub { font-size: 14px; color: var(--color-text-secondary); margin-top: 10px; position: relative; max-width: 640px; }
@media (min-width: 768px) { .page-hero .sub { font-size: 16px; } }

.notice-bar {
    display: flex; gap: 10px; align-items: flex-start;
    background: linear-gradient(135deg, #fff9e6, #fdf0d0); border: 1px solid #f2d489;
    border-radius: var(--radius); padding: 11px 14px; font-size: 13px; color: #8a5a00; line-height: 1.7;
    margin: 14px 0; box-shadow: var(--shadow-sm);
}
.notice-bar strong { color: #7c4a03; }

.price-nav {
    display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 6px;
    position: sticky; top: calc(var(--header-height) + 6px); z-index: 50;
    background: rgba(246, 250, 255, .9); backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    padding: 6px; border-radius: 14px;
    box-shadow: var(--shadow);
}
.price-nav-btn {
    padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 700;
    background: var(--color-surface); border: 1px solid var(--color-border);
    color: var(--color-text-secondary); transition: all var(--transition);
    display: inline-flex; align-items: center; gap: 6px;
}
.price-nav-btn .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.price-nav-btn:hover, .price-nav-btn.active {
    border-color: transparent; color: #fff;
    background: var(--grad-brand);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .3);
}
.price-nav-btn.active .dot { background: #fff !important; }

.price-section { padding: 18px 0; scroll-margin-top: calc(var(--header-height) + 78px); }
.price-section + .price-section { border-top: 1px dashed var(--color-border); }
.price-section:nth-of-type(even) { background: var(--color-bg-soft); }

.price-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 12px 14px;
    box-shadow: var(--shadow-sm);
}
.price-logo {
    width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    overflow: hidden; background: #fff; border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.price-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.price-logo.text {
    color: #fff; font-size: 21px; font-weight: 800; border: none;
    background: var(--grad-brand);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .32);
}
.price-title { flex: 1; min-width: 0; }
.price-title h2 { font-size: 20px; font-weight: 800; }
.price-title p { font-size: 12px; color: var(--color-text-secondary); margin-top: 2px; font-family: var(--font-mono); }
.price-head .btn { flex-shrink: 0; }

/* 价格网格 */
.price-grid { display: grid; gap: 8px; }
.price-grid-head {
    display: none;
    grid-template-columns: 1.35fr .95fr .95fr .95fr .8fr 1.6fr;
    padding: 0 16px; font-size: 12px; font-weight: 700; color: var(--color-text-secondary);
    font-family: var(--font-mono);
}
.plan {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 12px 14px;
    display: grid; gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.plan:hover { border-color: var(--color-border-strong); box-shadow: var(--glow-cyan); }
.plan .p-name { font-size: 15px; font-weight: 800; }
.plan .p-bw { font-size: 12px; color: var(--color-text-secondary); font-weight: 700; font-family: var(--font-mono); }

.plan-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-prices .pp {
    display: flex; flex-direction: column; gap: 3px;
    background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: 10px; padding: 8px 10px; min-width: 0;
    transition: all var(--transition);
}
.plan:hover .pp { border-color: rgba(37, 99, 235, .3); background: rgba(37, 99, 235, .05); }
.pp-label { font-size: 11px; color: var(--color-text-secondary); font-weight: 600; font-family: var(--font-mono); }
.pp-cur {
    font-size: 18px; font-weight: 800; color: var(--color-danger); line-height: 1.2;
    font-family: var(--font-mono);
}
.pp-orig { font-size: 11px; color: var(--color-text-secondary); text-decoration: line-through; font-family: var(--font-mono); }
.pp .na { font-size: 12px; color: var(--color-text-secondary); }

.plan .p-desc { font-size: 12px; color: var(--color-text-secondary); line-height: 1.6; }

@media (min-width: 860px) {
    .price-grid-head { display: grid; }
    .plan {
        display: grid;
        grid-template-columns: 1.35fr .95fr .95fr .95fr .8fr 1.6fr;
        align-items: center; gap: 0; padding: 13px 16px;
    }
    .plan-prices { display: contents; }
    .plan .p-desc { grid-column: 6; grid-row: 1; }
    .plan .p-bw { grid-column: 5; grid-row: 1; }
    .plan .p-name { grid-column: 1; grid-row: 1; }
    .plan-prices .pp { background: none; border: none; padding: 0; box-shadow: none; }
    .plan:hover .pp { background: none; border: none; }
    .plan .pp-d { grid-column: 2; grid-row: 1; }
    .plan .pp-w { grid-column: 3; grid-row: 1; }
    .plan .pp-m { grid-column: 4; grid-row: 1; }
}

/* ============================================================
   文章详情页 (articles)
   ============================================================ */
.article-detail { padding-top: var(--header-height) !important; padding-bottom: 32px; }
.article-container { max-width: 760px; margin: 0 auto; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-secondary); margin-bottom: 24px; flex-wrap: wrap; font-family: var(--font-mono); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { color: var(--color-border); }
.breadcrumb .current { color: var(--color-text); font-weight: 700; }

.article-detail-header { margin-bottom: 28px; }
.article-detail-header .article-tag {
    display: inline-block; padding: 5px 15px; background: rgba(37, 99, 235, .08);
    color: var(--color-primary); border: 1px solid rgba(37, 99, 235, .25);
    border-radius: 8px; font-size: 13px; font-weight: 700; margin-bottom: 16px;
    font-family: var(--font-mono);
}
.article-detail-header h1 { font-size: clamp(23px, 4.4vw, 34px); font-weight: 800; line-height: 1.35; margin-bottom: 14px; letter-spacing: -.015em; }
.article-detail-meta { display: flex; gap: 16px; font-size: 13px; color: var(--color-text-secondary); flex-wrap: wrap; font-family: var(--font-mono); }

.article-content { font-size: 16px; line-height: 1.9; color: var(--color-text); }
.article-content h2 {
    font-size: 21px; font-weight: 800; margin: 28px 0 12px; padding-top: 12px;
    display: flex; align-items: center; gap: 10px;
}
.article-content h2::before {
    content: ''; width: 5px; height: 22px; border-radius: 4px;
    background: var(--grad-brand); flex-shrink: 0;
}
.article-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin-bottom: 16px; padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content strong { font-weight: 700; }
.article-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote {
    border-left: 4px solid var(--color-primary); background: rgba(37, 99, 235, .07);
    padding: 13px 17px; margin: 18px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 14px; color: var(--color-text-secondary);
}
.article-content .highlight-box {
    background: linear-gradient(135deg, #fff9e6, #fdf0d0) !important;
    border: 1px solid #f2d489 !important;
    border-radius: var(--radius); padding: 14px 18px; margin: 18px 0;
}
.article-content .highlight-box strong { color: #7c4a03 !important; }

.step-screenshot {
    margin: 16px 0; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--color-border); background: var(--color-surface);
    box-shadow: var(--shadow);
}
.step-screenshot img { width: 100%; height: auto; display: block; }
.step-screenshot figcaption {
    padding: 10px 14px; font-size: 13px; color: var(--color-text-secondary);
    text-align: center; background: var(--color-bg-soft); font-family: var(--font-mono);
}

.article-detail-footer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--color-border); }
.article-tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.article-tag-item {
    padding: 4px 12px; background: var(--color-bg-soft); border: 1px solid var(--color-border);
    border-radius: 8px; font-size: 12px; color: var(--color-text-secondary); font-family: var(--font-mono);
}
.btn-back { display: inline-flex; align-items: center; gap: 6px; }

.related-articles { margin-top: 30px; }
.related-articles h2 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }

/* 文章内价格表 */
.article-pricing-table {
    width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0;
    border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden;
    background: var(--color-surface); box-shadow: var(--shadow);
}
.article-pricing-table thead th {
    padding: 12px 10px; font-weight: 800; font-size: 13px; color: #fff;
    background: var(--grad-brand); text-align: center; font-family: var(--font-mono);
}
.article-pricing-table thead th:first-child { text-align: left; }
.article-pricing-table tbody td { padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.article-pricing-table tbody td:first-child { text-align: left; font-weight: 700; white-space: nowrap; }
.article-pricing-table tbody tr:last-child td { border-bottom: none; }
.article-pricing-table tbody tr:nth-child(even) td { background: var(--color-bg); }
.article-pricing-table .orig-price { text-decoration: line-through; color: var(--color-text-secondary); font-size: 12px; margin-right: 4px; font-family: var(--font-mono); }
.article-pricing-table .cur-price {
    font-weight: 800; color: var(--color-danger); font-size: 16px; font-family: var(--font-mono);
}
.article-pricing-table .bw-info { color: var(--color-text-secondary); font-size: 13px; font-family: var(--font-mono); }
.article-pricing-table .plan-desc { font-size: 12px; color: var(--color-text-secondary); text-align: left; line-height: 1.5; }
.article-pricing-table .na { color: var(--color-text-secondary); font-size: 13px; }

.cta-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, .07), rgba(14, 165, 233, .07));
    border: 1px solid rgba(37, 99, 235, .25);
    border-radius: var(--radius-lg); padding: 24px 22px; margin: 20px 0; text-align: center;
    position: relative; overflow: hidden;
}
.cta-box::before {
    content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
    background: rgba(14, 165, 233, .12); filter: blur(36px); top: -90px; right: -50px;
}
.cta-box h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; position: relative; }
.cta-box p { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 18px; position: relative; }

.price-note {
    background: linear-gradient(135deg, #fff9e6, #fdf0d0); border: 1px solid #f2d489;
    border-radius: var(--radius); padding: 12px 16px; margin: 14px 0;
    font-size: 13px; color: #8a5a00; line-height: 1.7;
}

/* ============================================================
   页脚（深色，作为全站对比锚点）
   ============================================================ */
.site-footer {
    margin-top: 40px; background: linear-gradient(180deg, #0b1226, #070d1c);
    color: #93a4c8; position: relative;
    border-top: 1px solid rgba(37, 99, 235, .2);
}
.footer-main { display: grid; gap: 24px; padding: 32px 0 22px; }
@media (min-width: 768px) { .footer-main { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } }
.footer-brand .logo-text { color: #fff; font-size: 20px; }
.footer-brand p { font-size: 13px; color: #6d7ea6; line-height: 1.8; margin-top: 12px; max-width: 380px; }
.footer-col h4 {
    color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 14px;
    position: relative; padding-left: 12px; font-family: var(--font-mono);
}
.footer-col h4::before {
    content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px;
    background: var(--grad-brand);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: #6d7ea6; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(147, 164, 200, .12); padding: 16px 0 20px; font-size: 12px; color: #52628a; line-height: 1.8; }
.footer-bottom .disclaimer { margin-bottom: 10px; color: #6d7ea6; }
.footer-bottom a { color: #6d7ea6; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .icp-line { margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.footer-bottom .icp-icon { width: 14px; height: 15px; flex: 0 0 auto; }

/* ============================================================
   入场动效 (JS 添加 .reveal 后启用；无 JS 时内容正常显示)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   工具类
   ============================================================ */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.text-secondary { color: var(--color-text-secondary); }
.text-center { text-align: center; }
.min-w-0 { min-width: 0; }

/* ============================================================
   公告条
   ============================================================ */
.notice-strip {
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 8px 0;
}
.notice-strip .container { display: flex; align-items: center; gap: 9px; }
.ns-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-danger); box-shadow: 0 0 8px rgba(229, 72, 77, .6); flex-shrink: 0; }
.ns-text { font-size: 13px; color: var(--color-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 767px) { .ns-text { font-size: 12px; } }

/* ============================================================
   常用入口
   ============================================================ */
.quick-section { padding: 14px 0 2px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 479px) { .quick-grid { gap: 8px; } }
.entry-tile {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 13px 6px; background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.entry-tile:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.tile-icon {
    width: 44px; height: 44px; border-radius: 12px; color: #fff;
    display: grid; place-items: center; font-size: 14px; font-weight: 800;
    box-shadow: var(--shadow-sm);
}
.tile-name { font-size: 12px; font-weight: 700; color: var(--color-text); text-align: center; white-space: nowrap; }

/* ============================================================
   平台密集卡片
   ============================================================ */
.pcard {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid var(--color-border); border-radius: var(--radius);
    padding: 14px; display: flex; flex-direction: column; gap: 12px;
    box-shadow: var(--shadow-sm); transition: all var(--transition); position: relative;
}
.pcard:hover {
    border-color: color-mix(in srgb, var(--accent, #2563eb) 45%, transparent);
    box-shadow: var(--shadow-lg), 0 0 22px color-mix(in srgb, var(--accent, #2563eb) 16%, transparent);
    transform: translateY(-1px);
}
.pcard-head { display: flex; gap: 12px; align-items: flex-start; }
.pcard-logo {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; overflow: hidden;
    background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.pcard-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.pcard-logo.text {
    color: #fff; font-size: 18px; font-weight: 800; border: none;
    background: var(--grad-brand);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}
.pcard-name { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pcard-desc {
    margin-top: 4px; font-size: 13px; color: var(--color-text-secondary); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pcard-meta > div { border-radius: 10px; padding: 8px 10px; }
.pcard-price { background: rgba(37, 99, 235, .07); border: 1px solid rgba(37, 99, 235, .18); }
.pcard-test { background: rgba(14, 165, 233, .07); border: 1px solid rgba(14, 165, 233, .18); }
.pcard-meta .l { display: block; font-size: 11px; color: var(--color-text-secondary); font-family: var(--font-mono); }
.pcard-price strong { font-size: 20px; color: var(--color-danger); font-family: var(--font-mono); line-height: 1.2; }
.pcard-price .u { font-size: 12px; color: var(--color-text-secondary); }
.pcard-test .o { font-size: 13px; color: var(--color-text-secondary); text-decoration: line-through; font-family: var(--font-mono); }
.pcard-test .off { display: block; font-size: 12px; font-weight: 700; color: var(--color-accent); font-family: var(--font-mono); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-actions { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; }
.pcard-actions .btn { padding: 9px 12px; font-size: 13px; min-height: 38px; }
.btn-link { font-size: 13px; font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   更新/教程 迷你列表
   ============================================================ */
.updates-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .updates-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
.updates-title {
    font-size: 15px; font-weight: 800; margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}
.updates-title::before { content: ''; width: 4px; height: 16px; border-radius: 3px; background: var(--grad-brand); }
.mini-list { display: flex; flex-direction: column; }
.mini-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 10px;
    background: var(--color-surface); box-shadow: var(--shadow-sm);
    margin-bottom: 8px; transition: all var(--transition);
}
.mini-item:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow); transform: translateX(2px); }
.mini-tag {
    flex-shrink: 0; padding: 2px 8px; border-radius: 6px;
    background: var(--color-primary-light); color: var(--color-primary);
    font-size: 11px; font-weight: 700; font-family: var(--font-mono);
}
.mini-title { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-item time { flex-shrink: 0; font-size: 11px; color: var(--color-text-secondary); font-family: var(--font-mono); }

/* ============================================================
   常见问题
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--color-border-strong); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 12px 16px;
    font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
    content: 'Q'; width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0;
    background: var(--grad-brand); color: #fff; font-size: 11px; font-weight: 800;
    display: grid; place-items: center;
}
.faq-item summary::after {
    content: '+'; margin-left: auto; color: var(--color-text-secondary);
    font-size: 17px; transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 16px 14px 48px; font-size: 13px; color: var(--color-text-secondary); line-height: 1.8; }

/* ============================================================
   悬浮联系方式
   ============================================================ */
.float-contact {
    position: fixed; right: 16px; bottom: 24px; z-index: 300;
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.float-contact-btn,
.float-preview-btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 44px; padding: 0 16px; border-radius: 100px;
    font-size: 13px; font-weight: 700; white-space: nowrap; color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    transition: transform var(--transition), box-shadow var(--transition);
}
.float-contact-btn svg, .float-preview-btn svg { flex-shrink: 0; }
.float-contact-btn { background: linear-gradient(135deg, #07c160, #059669); box-shadow: 0 6px 18px rgba(7, 193, 96, .32); }
.float-contact-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7, 193, 96, .42); }
.float-preview-btn { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 6px 18px rgba(37, 99, 235, .32); }
.float-preview-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 99, 235, .42); }
.contact-panel {
    width: 244px; background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: 16px;
    box-shadow: var(--shadow-lg); padding: 14px; text-align: center;
}
.cp-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.cp-close {
    width: 26px; height: 26px; border-radius: 8px; color: var(--color-text-secondary);
    font-size: 17px; line-height: 1; display: grid; place-items: center;
}
.cp-close:hover { background: var(--color-bg); color: var(--color-text); }
.cp-qr {
    width: 168px; height: 168px; margin: 0 auto 10px;
    border-radius: 10px; border: 1px solid var(--color-border); object-fit: cover;
}
.cp-id {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: 8px; padding: 8px 10px;
}
.cp-id code { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--color-text); }
.cp-copy {
    padding: 4px 10px; border-radius: 6px;
    background: var(--color-primary); color: #fff;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.cp-copy:hover { background: var(--color-primary-dark); }
.cp-hint { margin-top: 8px; font-size: 11px; color: var(--color-text-secondary); }
@media (max-width: 767px) {
    .float-contact { right: 12px; bottom: 16px; }
}

/* ============================================================
   使用指南
   ============================================================ */
/* 类型对比表 */
.cmp-table {
    width: 100%; border-collapse: collapse; font-size: 14px;
    border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden;
    background: var(--color-surface); box-shadow: var(--shadow);
}
.cmp-table thead th {
    padding: 12px 12px; font-weight: 800; font-size: 13px; color: #fff;
    background: var(--grad-brand); text-align: left; font-family: var(--font-mono);
}
.cmp-table tbody td {
    padding: 11px 12px; border-bottom: 1px solid var(--color-border); vertical-align: top;
    font-size: 13px; line-height: 1.7;
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:nth-child(even) td { background: var(--color-bg); }
.cmp-table tbody td:first-child { font-weight: 700; white-space: nowrap; color: var(--color-text); }
.cmp-table .pos { color: var(--color-accent); font-weight: 700; }
.cmp-table .neg { color: var(--color-danger); font-weight: 700; }

.guide-note {
    margin-top: 14px; padding: 12px 16px; border-radius: var(--radius);
    background: rgba(37, 99, 235, .07); border: 1px solid rgba(37, 99, 235, .22);
    font-size: 13px; color: var(--color-text-secondary); line-height: 1.8;
}
.guide-note strong { color: var(--color-text); }

/* 场景推荐卡 */
.scene-grid { display: grid; gap: 12px; }
@media (min-width: 680px) { .scene-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .scene-grid { grid-template-columns: repeat(3, 1fr); } }
.scene-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid var(--color-border); border-radius: var(--radius);
    padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
    box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.scene-card:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.scene-head { display: flex; align-items: center; gap: 10px; }
.scene-icon {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    background: var(--grad-brand); color: #fff; font-size: 17px;
    display: grid; place-items: center; box-shadow: 0 4px 10px rgba(37, 99, 235, .25);
}
.scene-name { font-size: 15px; font-weight: 800; }
.scene-reco { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.scene-reco .l { font-size: 12px; color: var(--color-text-secondary); }
.scene-reco .chip { font-weight: 800; color: var(--color-primary); background: rgba(37, 99, 235, .08); border-color: rgba(37, 99, 235, .22); }
.scene-why { font-size: 12px; color: var(--color-text-secondary); line-height: 1.7; }
.scene-more { font-size: 12px; font-weight: 700; color: var(--color-primary); }

/* 指南底部 CTA 带 */
.cta-band {
    margin: 8px 0 40px; padding: 24px 20px; text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(14, 165, 233, .08));
    border: 1px solid rgba(37, 99, 235, .25); border-radius: var(--radius-lg);
}
.cta-band h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.cta-band p { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 16px; }
.cta-band .btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}
