/* ============================================================
   DESIGN SYSTEM v2
   现代、专业、统一的视觉语言
   ============================================================ */

/* --- 样式美化增强 --- */
/* 新增: 按钮涟漪、卡片微光扫过、导航滚动增强、表格斑马纹、CTA光晕 */

/* 新增装饰性渐变变量 */
:root {
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-warm: linear-gradient(135deg, #f59e0b, #f97316);
    --gradient-cool: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-rose: linear-gradient(135deg, #ec4899, #8b5cf6);
    --gradient-emerald: linear-gradient(135deg, #10b981, #06b6d4);
    --gradient-fire: linear-gradient(135deg, #ef4444, #f97316, #f59e0b);
    --gradient-sunset: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.15);
    --shadow-glow-violet: 0 0 20px rgba(139, 92, 246, 0.15);
    --shadow-glow-amber: 0 0 20px rgba(245, 158, 11, 0.15);
    --shadow-inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --border-gradient: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(139,92,246,0.3));
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* 新增美化变量 */
    --gradient-text-hero: linear-gradient(135deg, #fbbf24, #f97316, #ef4444, #ec4899, #8b5cf6);
    --gradient-text-section: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    --gradient-glass-light: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
    --gradient-glass-dark: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    --shadow-card-hover-enhanced: 0 25px 50px -12px rgba(59, 130, 246, 0.12), 0 12px 24px -8px rgba(0, 0, 0, 0.06);
    --glow-blue: 0 0 30px rgba(59, 130, 246, 0.15);
    --glow-violet: 0 0 30px rgba(139, 92, 246, 0.15);
    --glow-amber: 0 0 30px rgba(245, 158, 11, 0.15);
    --border-shimmer: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);

    /* 渐变文字/装饰/光晕变量 */
    --progress-gradient: linear-gradient(90deg, var(--blue-500), var(--violet-500), var(--rose-500));
    --glow-focus: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 0 12px rgba(59, 130, 246, 0.1);
    --glow-focus-violet: 0 0 0 3px rgba(139, 92, 246, 0.15), 0 0 12px rgba(139, 92, 246, 0.1);
    --card-hover-glow-blue: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.06);
    --card-hover-glow-violet: 0 0 0 1px rgba(139, 92, 246, 0.15), 0 0 20px rgba(139, 92, 246, 0.06);
    --code-header-lang-js: #f7df1e;
    --code-header-lang-py: #3776ab;
    --code-header-lang-bash: #4eaa25;
    --code-header-lang-sql: #e38c00;
    --code-header-lang-json: #5b9553;
    --code-header-lang-html: #e34f26;
    --code-header-lang-css: #264de4;
    --code-header-lang-yaml: #cb171e;
    --code-header-lang-default: #8b949e;

    /* --- Color Palette --- */
    --blue-600: #2563eb; --blue-500: #3b82f6; --blue-400: #60a5fa; --blue-100: #dbeafe; --blue-50: #eff6ff;
    --violet-600: #7c3aed; --violet-500: #8b5cf6; --violet-400: #a78bfa; --violet-100: #ede9fe;
    --emerald-600: #059669; --emerald-500: #10b981; --emerald-100: #d1fae5;
    --amber-600: #d97706; --amber-500: #f59e0b; --amber-100: #fef3c7;
    --red-600: #dc2626; --red-500: #ef4444; --red-100: #fee2e2;
    --rose-500: #f43f5e; --rose-100: #ffe4e6;
    --cyan-500: #06b6d4; --cyan-100: #cffafe;
    --code-bg: #1e293b; --code-text: #e2e8f0;
    --code-keyword: #c084fc; --code-string: #34d399; --code-comment: #8b949e;
    --code-number: #f59e0b; --code-function: #60a5fa;
    --gray-900: #111827; --gray-800: #1f2937; --gray-700: #374151;
    --gray-600: #4b5563; --gray-500: #6b7280; --gray-400: #9ca3af;
    --gray-300: #d1d5db; --gray-200: #e5e7eb; --gray-100: #f3f4f6; --gray-50: #f9fafb;

    --primary: var(--blue-500); --primary-dark: var(--blue-600); --primary-light: var(--blue-400); --primary-bg: var(--blue-50);
    --success: var(--emerald-500); --success-bg: var(--emerald-100);
    --warning: var(--amber-500); --warning-bg: var(--amber-100);
    --danger: var(--red-500); --danger-bg: var(--red-100);

    --bg-base: #ffffff; --bg-secondary: var(--gray-50); --bg-tertiary: var(--gray-100);
    --bg-overlay: rgba(0, 0, 0, 0.04);
    --text-primary: var(--gray-900); --text-secondary: var(--gray-600);
    --text-tertiary: var(--gray-500); --text-muted: var(--gray-500);
    --border-light: var(--gray-200); --border-base: var(--gray-300); --border-dark: var(--gray-400);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-base: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.06), 0 8px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.1);

    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 80px;

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;

    /* Typography */
    --font-sans: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

    --text-xs: 0.6875rem;
    --text-sm: 0.8125rem;
    --text-base: 0.9375rem;
    --text-lg: 1.0625rem;
    --text-xl: 1.1875rem;
    --text-2xl: 1.375rem;
    --text-3xl: 1.6875rem;
    --text-4xl: 2rem;

    --leading-tight: 1.3;
    --leading-normal: 1.7;
    --leading-relaxed: 1.8;

    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;

    /* Transitions */
    --ease-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-slower: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Transition shorthands - 统一过渡简写，消除硬编码值 */
    --transition-fast: all var(--ease-fast);
    --transition-base: all var(--ease-base);
    --transition-slow: all var(--ease-slow);
    --transition-smoother: all var(--ease-slower);

    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-toast: 500;
}

/* --- Dark Theme --- */
body.dark {
    --primary: var(--blue-400);
    --primary-dark: var(--blue-500);
    --primary-light: var(--blue-600);
    --primary-bg: rgba(59, 130, 246, 0.15);

    --bg-base: #0f1117;
    --bg-secondary: #161822;
    --bg-tertiary: #1e2030;
    --bg-overlay: rgba(255, 255, 255, 0.04);

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-muted:#94a3b8;

    --border-light: #1e293b;
    --border-base: #334155;
    --border-dark: #475569;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-base: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.6);

    /* 暗色主题渐变文字增强 */
    --gradient-text-hero: linear-gradient(135deg, #fde68a, #fdba74, #fca5a5, #e9d5ff);
    --gradient-text-section: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
}

/* 防止暗色主题切换时的页面闪烁 */
html:not(.dark-fallback) body.dark {
    background: var(--bg-base);
    color: var(--text-primary);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background var(--ease-base), color var(--ease-base);
    text-rendering: optimizeLegibility;
    word-wrap: break-word;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* 全局防横向溢出 - 2026-05-21 增强 */
*, *::before, *::after {
    max-width: 100%;
    /* 防止flex子项溢出父容器 */
    min-width: 0;
}

/* 滚动条稳定 - scrollbar-gutter 已合并至上方 html 块 (第48次执行) */

/* ============================================================
   阅读进度条 - 页面顶部滚动进度指示器
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--progress-gradient);
    background-size: 200% 100%;
    animation: progressShimmer 2s linear infinite;
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4), 0 0 16px rgba(139, 92, 246, 0.2);
}

@keyframes progressShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* 阅读进度百分比提示 */
.scroll-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.6), 0 0 12px rgba(139, 92, 246, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.scroll-progress.in-view::after {
    opacity: 1;
}

/* 暗色主题进度条增强 */
body.dark .scroll-progress {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6), 0 0 24px rgba(139, 92, 246, 0.3);
}

body.dark .scroll-progress::after {
    background: var(--blue-500);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}

/* 滚动条美化 - 全局 (统一入口，避免重复定义) */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(107, 114, 128, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(107, 114, 128, 0.5); }

/* 滚动条美化 - 桌面端增强 (覆盖全局) */
@media (hover: hover) {
    ::-webkit-scrollbar { width: 8px; height: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: var(--radius-full); }
    ::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: var(--radius-full); }
    ::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
}

/* 防止文本溢出 - 全局统一 (第45次执行: 合并 word-wrap + overflow-wrap) */
p, li, td, th, span,
.comparison-table thead th, .comparison-table tbody td,
.article-content p, .tutorial-step__body p, .section p,
.toc-link, .nav__dropdown-menu li a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* 代码块防溢出增强 */
code, pre {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 确保flex子项不溢出 (第48次执行: min-width:0 已由全局 * 规则覆盖) */
.flex > *, .flex-wrap > * {
    flex-shrink: 1;
}

/* 确保表格单元格不撑破容器 (第48次执行: min-width:0 已由全局 * 规则覆盖) */
table th, table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================================
/* 移动端全宽适配增强 */
   核心: 消除横向滚动、溢出、固定宽度残留
   ============================================================ */

/* 全局: 防止任何元素产生横向溢出 (html 已设 overflow-x: hidden, body 设 max-width) */
html, body {
    max-width: 100vw;
}

/* 所有块级容器: 确保不超出父元素 (第48次执行: overflow-x: hidden 简化) */
.container,
.section,
.hero,
.content-area,
.article-body,
.tutorial-content {
    max-width: 100%;
}

/* 图片/视频/iframe: 全宽自适应 */
img, video, iframe, canvas, svg {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 代码块: 确保不溢出 */
pre, code, .code-block-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 弹性容器: 子项不溢出（第46次执行: 移除 overflow: hidden，改用 flex-shrink 保护） */
.flex, .flex-row, .d-flex,
.pricing-grid, .card-grid, .feature-list,
.hero__stats, .hero__cta,
.cell-platform {
    overflow: visible;
}

.flex > *, .flex-row > *, .d-flex > *,
.pricing-grid > *, .card-grid > *, .feature-list > * {
    flex-shrink: 1;
    min-width: 0;
}

/* 绝对定位元素: 防止溢出 */
.absolute, .relative {
    position: relative;
}

/* 第16次执行: 移动端全宽适配增强 - 2026-05-21 */

/* 通用触摸优化 - 消除重复规则 (第48次执行: 合并第386行与第518行 touch-action) */
a, button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ease-fast);
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    display: block;
}

/* Typography Optimizations */
p {
    line-height: var(--leading-relaxed);
    margin-bottom: var(--sp-4);
}

p:last-child {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: var(--leading-tight);
    margin-bottom: var(--sp-4);
    color: var(--text-primary);
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child {
    margin-bottom: 0;
}

/* ============================================================
   PERFORMANCE: GPU Acceleration & Lazy Rendering (第42次执行: 硬件加速增强)
   ============================================================ */

/* will-change 统一声明 - 仅对实际发生动画/变换的元素，避免过度使用 */
/* 动画元素 (transform + opacity) */
.hero__bg::before, .hero__bg::after,
.code-block-wrapper,
.modal, .toast,
.exit-popup,
.scroll-progress {
    will-change: transform, opacity;
}

/* 滚动元素 (仅 transform) - 统一硬件加速 */
.sticky-cta, .sticky-mobile-cta,
.back-to-top,
.social-proof-toast {
    will-change: transform;
    /* backface-visibility: hidden — 已在下方统一 GPU 加速块中声明, 避免重复 */
    contain: layout style paint;
}

/* 悬浮动画元素 (仅 transform) */
.p-card, .pricing-card, .perf-card, .feature-item,
.action-btn, .recommended-tag, .hot-badge {
    will-change: transform;
}

/* ============================================================
   第42次执行: 全局硬件加速增强
   为所有 transform/opacity 动画元素添加 GPU 加速
   ============================================================ */

/* 第45次执行: 代码逻辑优化 — GPU加速规则合并 (原 22 个独立块 → 1 个分组) */
/* 节省 ~110 行冗余代码 */
/* GPU加速 — 统一 transform 动画元素 */
.nav__indicator,
.nav__cps-link::before,
.hero__bg::before,
.hero__bg::after,
.hero__cta .btn--primary::before,
.hero__stat-num,
.pulse-urgency,
.pulse-urgency-2,
.pulse-urgency-25,
.live-dot,
.btn--cps::after,
.pricing-card::before,
.p-card--cps::before,
.save-badge-animate,
.section--alt::before,
.section-title-glow,
.table-header-glow,
.cps-btn-glow,
.cta-btn-shine,
.cps-pulse,
.cps-shine,
.footer-glow,
.modal,
.toast,
.exit-popup,
.mobile-float-cta,
.back-to-top,
.code-block-wrapper,
.social-proof-toast > div {
    /* GPU 加速 - backface-visibility 已全局统一, 仅需 transform */
    transform: translateZ(0);
}

/* 侧边导航 - GPU 加速 */
.content-nav {
    contain: layout;
}

/* 触摸设备按下效果 - 快速反馈 */
@media (hover: none) and (pointer: coarse) {
    .p-card:active,
    .pricing-card:active,
    .feature-item:active,
    .action-btn:active {
        transform: scale(0.98);
        transition-duration: 100ms;
    }
    /* 统一触摸反馈 - touch-action 已由全局 a, button 规则覆盖 (第48次执行) */
}

/* 触摸设备优化 - 合并所有 pointer: coarse 规则 (第36次执行) */
@media (pointer: coarse) {
    /* 卡片阴影减弱 */
    .p-card,
    .pricing-card,
    .feature-item,
    .perf-card {
        box-shadow: var(--shadow-sm);
    }

    /* 导航菜单锁定 */
    body.nav-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overscroll-behavior-y: none;
    }

    /* CTA按钮触摸反馈 */
    .sticky-mobile-cta__btn:active,
    .sticky-cta__btn:active {
        transform: scale(0.96);
        transition-duration: 0.1s;
    }
}

/* 动画元素 prefers-reduced-motion 支持 - 无障碍 (第42次执行: 全面覆盖所有动画) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms ;
        animation-iteration-count: 1 ;
        animation-delay: 0ms ;
        transition-duration: 0.01ms ;
        scroll-behavior: auto ;
    }
    /* 保留进度条动画 */
    .scroll-progress {
        animation: none ;
    }
    /* 保留 hero 按钮光晕 */
    .hero__cta .btn--primary::before {
        animation: none ;
        opacity: 0.4;
    }
    /* 禁用所有装饰性动画 */
    .hero__bg::before,
    .hero__bg::after,
    .recommended-tag,
    .hot-badge,
    .upgrade-badge,
    .sticky-cta,
    .urgency-countdown-bar,
    .exit-popup,
    .btn--cps::after,
    .section--alt::before,
    .nav__indicator,
    .nav__cps-link::before,
    .hero__stat-num,
    .live-dot,
    .pulse-urgency,
    .pulse-urgency-2,
    .pulse-urgency-25,
    .save-badge-animate,
    .section-title-glow,
    .table-header-glow,
    .cps-btn-glow,
    .cta-btn-shine,
    .cps-pulse,
    .cps-shine,
    .footer-glow,
    .modal,
    .toast,
    .mobile-float-cta,
    .back-to-top,
    .social-proof-toast > div {
        animation: none ;
    }
    /* 禁用统计数字脉冲 */
    .hero__stat-num {
        animation: none ;
    }
    /* 确保浮动效果静态化 */
    .hero__bg::before,
    .hero__bg::after {
        opacity: 0.3;
    }
    /* 禁用渐变文字动画 */
    .gradient-text-animated {
        background-attachment: fixed ;
    }
    /* 禁用 shimmer 效果 */
    .shimmer,
    .shimmer-effect {
        background: var(--gray-200) ;
        background-image: none ;
    }
    /* 禁用 CTA 边框光晕动画 */
    .sticky-cta::before {
        animation: none ;
        background: var(--amber-500);
    }
    /* 禁用代码块滚动 shimmer */
    .scroll-progress {
        background: var(--blue-500);
        background-image: none ;
    }
}

/* Performance: Lazy-render off-screen sections to improve LCP
   注意：.section 和 .footer 不使用 content-visibility，避免与 sticky-cta 和滚动定位冲突 */
.comparison-table thead,
.card-grid > .p-card:nth-child(n+5),
.feature-list > .feature-item:nth-child(n+3),
.article-list > .article-card:nth-child(n+4) {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* ============================================================
   第20次执行: 样式美化增强 - 2026-05-21
   新增: 标题渐变下划线、Feature图标背景光晕、表格行悬停、面包屑美化、暗色对比度
   ============================================================ */

/* --- 标题美化: h2 渐变下划线 --- */
h2 {
    position: relative;
    display: inline-block;
}
h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500), var(--rose-500));
    opacity: 0.7;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}
h2:hover::after {
    width: 100%;
    opacity: 1;
}

/* --- 标题美化: h3 渐变左边框增强 --- */
h3 {
    position: relative;
}
h3::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--blue-500), var(--violet-500));
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* --- 标题美化: h4 渐变文字 --- */
h4 {
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 { font-size: var(--text-4xl); font-weight: 800; letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--text-xl); font-weight: 700; letter-spacing: var(--tracking-tight); color: var(--text-primary); padding-left: var(--sp-3); margin-top: var(--sp-6); }
h4 { font-size: var(--text-base); font-weight: 700; }
h5 { font-size: var(--text-sm); font-weight: 600; }
h6 { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide); }

/* H3 inside tutorial step body - slightly different from global */
.tutorial-step__body h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary);
    border-left: none;
    padding-left: 0;
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-3);
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

small {
    font-size: 0.875em;
}

/* Chinese text optimization */
:lang(zh) {
    line-height: 1.8;
}

:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3,
:lang(zh) h4 {
    line-height: 1.4;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-6);
}


/* ============================================================
   第6次执行: 移动端全宽适配增强
   修复横向滚动、溢出、触摸区域、字体可读性等核心问题
   ============================================================ */

/* 通用全宽容器 - 让背景/section延伸到屏幕边缘 */
.full-width-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* 移动端全宽突破 - 在移动端让容器突破padding限制 */

/* 全宽section - 让背景色/渐变延伸到屏幕边缘
   使用 calc(100% + 2rem) 而非 100vw 避免滚动条问题 */
.section--full-width,
.section {
    width: 100%;
    margin-left: 0;
}

/* 桌面端全宽突破 */
@media (min-width: 769px) {
    .section--full-width,
    .section {
        width: calc(100% + 2rem);
        margin-left: -1rem;
    }
}

/* 移动端全宽section - 移除负margin确保不溢出 */

/* 流体间距 - 使用clamp避免移动端挤压 */

/* 全宽卡片容器 - 在移动端突破container限制 */
.container--full-mobile {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}


/* 表格全宽增强 - 确保所有表格容器可水平滚动 */
.table-scroll-wrapper {
    width: 100%;
    /* overflow-x: auto 已在 .table-responsive 中统一处理，避免重复声明 */
}

/* 通用表格溢出处理 - 兜底方案 (第23次执行: 断点标准化 640px→768px) */

/* 超小屏幕(480px)表格优化 - 第23次执行: 400px→480px 标准化 */

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background var(--ease-base), border-color var(--ease-base), box-shadow var(--ease-base);
    overflow: visible;
}

/* 滚动时添加阴影 */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- 第19次执行: 导航栏滚动增强 - 渐变阴影 + 顶部指示线 --- */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(59, 130, 246, 0.1);
    box-shadow: 0 2px 20px rgba(59, 130, 246, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 导航栏顶部渐变指示线 */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--blue-500) 20%, var(--violet-500) 50%, var(--blue-500) 80%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header.scrolled::after {
    opacity: 0.3;
}

body.dark .header.scrolled {
    background: rgba(15, 17, 23, 0.95);
    box-shadow: 0 2px 20px rgba(59, 130, 246, 0.08), 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark .header.scrolled::after {
    opacity: 0.5;
}

body.dark .header {
    background: rgba(15, 17, 23, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.dark .header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Brand */
.nav__brand a {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: var(--tracking-tight);
    /* 确保品牌不挤压导航菜单 */
    flex-shrink: 0;
}

/* Navigation Menu */
.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* 移动端触摸优化 */
    -ms-overflow-style: none;
    /* 确保flex子项不溢出 */
    min-width: 0;
}

.nav__menu::-webkit-scrollbar {
    display: none;
}

.nav__main-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: var(--transition-fast);
    /* 移动端触摸优化 */
    min-height: 44px;
}

.nav__dropdown-arrow {
    display: inline-block;
    font-size: 0.7em;
    transition: transform var(--ease-fast);
}

.nav__dropdown:hover .nav__dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 180px;
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: var(--z-dropdown);
}

.nav__dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--bg-base);
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown.open .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu li a {
    display: block;
    padding: var(--sp-2) var(--sp-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    line-height: 1.4;
}

.nav__dropdown-menu li a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Divider in dropdown */
.nav__dropdown-menu a.nav__divider {
    pointer-events: none;
    font-size: 11px;
    color: var(--text-secondary);
    padding: 4px 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-light);
    margin: 4px 0 2px;
    cursor: default;
    opacity: 0.75;
}
.nav__dropdown-menu a.nav__divider:hover {
    background: transparent;
    color: var(--text-tertiary);
}

.nav__main-link:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* --- 第19次执行: 导航链接活动指示器 --- */
.nav__main-link.active {
    color: var(--primary);
    background: var(--primary-bg);
    font-weight: 600;
    position: relative;
}

.nav__main-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
    border-radius: 1px;
    animation: navIndicatorPulse 2s ease-in-out infinite;
}

@keyframes navIndicatorPulse {
    0%, 100% { opacity: 1; width: 20px; }
    50% { opacity: 0.7; width: 24px; }
}

/* CPS链接额外光晕 */
.nav__cps-link {
    position: relative;
    overflow: hidden;
}

.nav__cps-link::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    background-size: 200% 200%;
    animation: navCpsGlow 3s ease-in-out infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes navCpsGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.3; }
    50% { background-position: 100% 50%; opacity: 0.6; }
}

.nav__cps-link:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--violet-600)) ;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--text-lg);
    transition: var(--transition-fast);
    margin-left: var(--sp-2);
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    -webkit-tap-highlight-color: transparent;
}

.nav__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-xs);
    transition: var(--transition-fast);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Responsive */

/* --- 第41次执行: 顶部导航自适应 - 768px/480px 断点 --- */

/* 768px 断点：平板/大手机 */
@media (max-width: 768px) {
    .nav {
        height: 60px;
        padding: 0 var(--sp-3);
    }
    
    .nav__brand a {
        font-size: var(--text-lg);
    }
    
    .nav__menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: flex-start;
        background: var(--bg-base);
        padding: var(--sp-4);
        gap: var(--sp-2);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: calc(var(--z-fixed) - 1);
        box-shadow: var(--shadow-lg);
    }
    
    .nav__menu.active {
        transform: translateX(0);
    }
    
    .nav__main-link {
        width: 100%;
        padding: var(--sp-3) var(--sp-4);
        font-size: var(--text-base);
        min-height: 48px;
        justify-content: flex-start;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__cps-original,
    .theme-toggle {
        margin-left: 0;
        margin-top: var(--sp-2);
    }
    
    /* 导航遮罩层 */
    .nav-overlay {
        position: fixed;
        inset: 0;
        top: 60px;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        z-index: calc(var(--z-fixed) - 2);
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* 480px 断点：手机 */
@media (max-width: 480px) {
    .nav {
        height: 56px;
        padding: 0 var(--sp-2);
    }
    
    .nav__brand a {
        font-size: var(--text-base);
        gap: var(--sp-1);
    }
    
    .nav__brand svg {
        width: 24px;
        height: 24px;
    }
    
    .nav__menu {
        top: 56px;
        padding: var(--sp-3);
    }
    
    .nav__toggle {
        width: 40px;
        height: 40px;
    }
    
    .nav__toggle span {
        width: 18px;
    }
}

/* 480px 断点结束 */
/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    margin-top: 64px;
    width: 100vw;
    max-width: 100vw;
    /* 全宽突破：desktop端在container外扩展 */
    margin-left: calc(50% - 50vw);
    padding: var(--sp-20) var(--sp-6) var(--sp-16);
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 35%, #be185d 65%, #f59e0b 100%);
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%),
        /* CSS-only dot pattern替代SVG - 第42次执行: 减少HTTP请求 */
        radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg::before,
.hero__bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
     animation: float 8s ease-in-out infinite;
}

.hero__bg::before {
    width: clamp(200px, 50vw, 400px);
    height: clamp(200px, 50vw, 400px);
    background: var(--blue-400);
    top: -100px;
    left: -100px;
}

.hero__bg::after {
    width: clamp(150px, 40vw, 300px);
    height: clamp(150px, 40vw, 300px);
    background: var(--violet-400);
    bottom: -50px;
    right: -50px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(30px, 20px, 0); }
}


.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

/* --- 第19次执行: Hero区域光晕增强 --- */
/* Hero标题文字微光效果 */
.hero h1 {
    position: relative;
}

/* Hero统计数字发光 */
.hero__stat-num {
    position: relative;
}

/* Hero CTA按钮光晕 */
.hero__cta .btn--primary {
    position: relative;
}

.hero__cta .btn--primary::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    background-size: 200% 200%;
    animation: heroBtnGlow 3s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
    filter: blur(4px);
}

@keyframes heroBtnGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.3; }
    50% { background-position: 100% 50%; opacity: 0.6; }
}

/* Hero统计数字渐变 */
.hero__stat-num {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero社交证明微光 */
.hero__social-proof {
    position: relative;
}

.hero__social-proof::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: inherit;
    pointer-events: none;
}

.hero h1 {
    font-size: var(--text-4xl);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    line-height: 1.25;
    margin-bottom: var(--sp-4);
    /* 第13次执行: Hero标题渐变文字效果 */
    background: linear-gradient(135deg, #ffffff 0%, #fde68a 30%, #fdba74 50%, #fca5a5 70%, #e9d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.hero__subtitle {
    font-size: var(--text-lg);
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: var(--sp-3);
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* 第13次执行: 副标题文字渐变 */
    background: linear-gradient(135deg, #ffffff 0%, #fde68a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: var(--text-sm);
    opacity: 0.92;
    max-width: min(560px, 90%);
    margin: 0 auto var(--sp-8);
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Hero Stats */
.hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--sp-10);
    margin-bottom: var(--sp-8);
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stat-num {
    font-size: var(--text-2xl);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--sp-1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* 第13次执行: 统计数字渐变效果 */
    background: linear-gradient(135deg, #ffffff 0%, #fde68a 50%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 第37次执行: 统计数字微脉冲动画 */
    animation: heroStatPulse 3s ease-in-out infinite;
}

@keyframes heroStatPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

.hero__stat-label {
    font-size: var(--text-xs);
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* 第13次执行: Hero统计数字分隔线 */
.hero__stats {
    position: relative;
}

/* Hero CTA */
.hero__cta {
    display: flex;
    justify-content: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.hero__cta .btn {
    min-width: 0;
    flex: 1 1 auto;
    min-width: min(200px, 100%);
}

/* Responsive */

/* 超小屏幕Hero优化 (标准化断点: 400px→480px) */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    transition: var(--transition-base);
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
}

/* 按钮光泽扫过效果 */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.96);
}

/* Primary Button */
.btn--primary {
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--violet-600));
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4), 0 0 0 2px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* White Button (for hero) */
.btn--white {
    background: #fff;
    color: var(--blue-600);
    border-color: #fff;
}

.btn--white:hover {
    background: #f8faff;
    box-shadow: var(--shadow-md), 0 0 0 2px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Outline Button */
.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Ghost Button */
.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Accent Button */
.btn--accent {
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn--accent:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
    transform: translateY(-3px);
}

/* Small Button */
.btn--sm {
    padding: 8px 18px;
    font-size: var(--text-xs);
    border-radius: var(--radius-md);
}

/* Link Button */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    transition: color var(--ease-fast);
    position: relative;
}

.btn-link::after {
    content: '→';
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition-fast);
    display: inline-block;
}

.btn-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* 链接底部装饰线 */
.btn-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
    border-radius: 1px;
    transition: width var(--ease-base);
}

.btn-link:hover::before {
    width: 100%;
}

.btn-link--primary {
    color: var(--blue-600);
}

.btn-link--primary:hover {
    color: var(--violet-600);
}

/* ============================================================
   CPS CONVERSION OPTIMIZATION
   ============================================================ */

/* Urgency badge - 紧迫感标签 */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
    transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}
.urgency-badge:hover {
    transform: scale(1.05);
}
.urgency-badge--hot {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: var(--red-600);
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.1);
    animation: pulse-urgency 2s ease-in-out infinite;
}
.urgency-badge--time {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: var(--amber-600);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.1);
    animation: pulse-urgency 2.5s ease-in-out infinite;
}
.urgency-badge--limited {
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
    color: var(--rose-500);
    box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.1);
}
.urgency-badge--sm {
    font-size: 10px;
    margin-top: 0;
}

/* CTA Confidence / Trust Indicators - 信任度指示器 */
.cta-confidence {
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    flex-wrap: wrap;
}
.cta-confidence span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    transition: var(--transition-fast);
}
.cta-confidence span:hover {
    background: var(--primary-bg);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--primary);
}

/* Live Viewers Counter - 实时在线人数 */
.live-viewers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(239,68,68,0.04));
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 12px;
    border: 1px solid rgba(239, 68, 68, 0.15);
    animation: pulse-urgency 2.5s ease-in-out infinite;
}

/* 在线人数脉冲点 */
.live-viewers::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
    animation: liveDotPulse 1.5s ease-in-out infinite;
}

@keyframes liveDotPulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2); }
    50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1); }
}

/* Sticky CTA Scarcity Bar */
.sticky-cta__scarcity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

@keyframes pulse-urgency {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* CTA button with urgency - 紧迫感按钮 */
.btn--urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}
.btn--urgent::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: btn-shine 3s ease-in-out infinite;
}
.btn--urgent:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5), 0 0 0 2px rgba(239, 68, 68, 0.1);
    transform: translateY(-2px);
}
@keyframes btn-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    60% { transform: translateX(100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Urgency counter text - 紧迫感文案 */
.urgency-text {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--sp-2);
    text-align: center;
}
.urgency-text strong {
    color: var(--red-600);
    font-weight: 700;
}

/* CPS Action Button (replaces plain text links) */
.cps-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
    min-height: 44px;
}

/* CPS按钮光泽效果 */
.cps-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.cps-action-btn:hover::before {
    left: 100%;
}

.cps-action-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.cps-action-btn:hover::after {
    transform: translateX(100%) rotate(45deg);
}

.cps-action-btn:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
    color: #fff;
}
.cps-action-btn--red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
.cps-action-btn--red:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}
.cps-action-btn--sm {
    padding: 5px 12px;
    font-size: 11px;
    border-radius: var(--radius-sm);
}

/* CPS Inline Save Tag (for table action buttons) */
.cps-inline-save {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    padding: 1px 6px;
    font-size: 0.75em;
    margin-left: 4px;
    font-weight: 700;
}

/* Sale tag on card - 第22次执行: 10px→12px */
.sale-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    z-index: 2;
    animation: pulse-urgency 2s ease-in-out infinite;
}
.p-card--cps {
    position: relative;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: var(--sp-16) 0;
}

.section--alt {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

/* 交替section顶部装饰线 */
.section--alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--blue-500), var(--violet-500), transparent);
    border-radius: 2px;
}

/* --- 第21次执行: Section 装饰线增强 --- */
.section--alt::before {
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
    transition: width var(--ease-slow), box-shadow var(--ease-slow);
}

.section--alt:hover::before {
    width: 120px;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.5), 0 0 24px rgba(139, 92, 246, 0.2);
}

/* 通用section装饰线 - 第22次执行: 移动端禁用hover效果 */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
    transition: width var(--ease-slow);
    border-radius: 1px;
    clip-path: inset(0 0 0 0);
}

.section:hover::before {
    width: 100px;
}

/* 移动端禁用section hover装饰线 */
@media (hover: none) {
    .section:hover::before { width: 0; }
}

/* ============================================================
   第37次执行: 样式美化增强 - 2026-05-22
   新增: Section分隔线流光动画、卡片3D悬浮、统计数字发光、
         对比表格最佳值行美化、按钮涟漪效果
   ============================================================ */

/* --- 1. Section分隔线流光动画 --- */
.section--alt::before {
    background: linear-gradient(90deg, transparent, var(--blue-500), var(--violet-500), var(--rose-500), transparent);
    background-size: 300% 100%;
    animation: sectionDividerShimmer 6s ease-in-out infinite;
}

@keyframes sectionDividerShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- 2. 卡片3D悬浮增强 - perspective + 阴影深度 --- */
.pricing-card,
.p-card,
.feature-item {
    transform-style: preserve-3d;
}

.pricing-card:hover {
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.15), 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}

/* 推荐定价卡片3D悬浮增强 */
.pricing-card--featured:hover {
    box-shadow: 0 30px 60px -12px rgba(59, 130, 246, 0.2), 0 16px 32px -8px rgba(139, 92, 246, 0.12);
}

/* --- 3. 统计数字发光效果 --- */
.hero__stat-num {
    position: relative;
    display: inline-block;
}

.hero__stat-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hero:hover .hero__stat-num::after {
    opacity: 1;
}

/* --- 4. 对比表格最佳值行美化 --- */
.comparison-table .best-value-row {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.04) 0%, rgba(6, 182, 212, 0.04) 100%) ;
    border-left: 3px solid var(--emerald-500);
}

.comparison-table .best-value-row:hover {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%) ;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.15);
}

/* 最佳值徽章发光 */
.comparison-table .best-value {
    position: relative;
    color: var(--emerald-600);
    font-weight: 700;
}

.comparison-table .best-value::before {
    content: '✓';
    margin-right: 4px;
    color: var(--emerald-500);
    font-weight: 800;
    display: inline-block;
    animation: bestValuePulse 2s ease-in-out infinite;
}

@keyframes bestValuePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* --- 5. 按钮涟漪效果 (Material Design 风格) --- */
.btn--cps,
.btn--urgent,
.sticky-cta__btn,
.sticky-mobile-cta__btn,
.action-btn,
.cps-btn-xl,
.cps-action-btn {
    position: relative;
    overflow: hidden;
}

/* 涟漪动画 */
.btn--cps::after,
.btn--urgent::after,
.sticky-cta__btn::after,
.sticky-mobile-cta__btn::after,
.action-btn::after,
.cps-btn-xl::after,
.cps-action-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

/* 触摸/点击时触发涟漪 */
.btn--cps:active::after,
.btn--urgent:active::after,
.sticky-cta__btn:active::after,
.sticky-mobile-cta__btn:active::after,
.action-btn:active::after,
.cps-btn-xl:active::after,
.cps-action-btn:active::after {
    width: max(300px, 200vw);
    height: max(300px, 200vw);
    opacity: 0;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
}

/* 暗色主题下涟漪颜色调整 */
body.dark .btn--cps::after,
body.dark .btn--urgent::after,
body.dark .sticky-cta__btn::after,
body.dark .sticky-mobile-cta__btn::after,
body.dark .action-btn::after,
body.dark .cps-btn-xl::after,
body.dark .cps-action-btn::after {
    background: rgba(255, 255, 255, 0.15);
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--sp-10);
}

.section__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--sp-3);
    line-height: 1.3;
    position: relative;
    display: inline-block;
    /* 第13次执行: 标题渐变文字效果 */
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue-600) 50%, var(--violet-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 标题底部装饰线 - 美化增强 */
.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500), var(--rose-500));
    background-size: 200% 100%;
    border-radius: 2px;
    margin-top: var(--sp-3);
    animation: sectionTitleGlow 4s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* --- 第21次执行: 标题装饰线悬浮扩展 --- */
.section__title:hover::after {
    width: 100px;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5), 0 0 24px rgba(139, 92, 246, 0.2);
}

@keyframes sectionTitleGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section__desc {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    line-height: 1.8;
    /* 第13次执行: 描述文字渐变 */
    background: linear-gradient(135deg, var(--text-tertiary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ============================================================
   TABS
   ============================================================ */
.sub-tabs {
    display: flex;
    gap: var(--sp-1);
    margin-bottom: var(--sp-8);
    padding: var(--sp-1);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.sub-tab {
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-tertiary);
    transition: var(--transition-fast);
    position: relative;
}

.sub-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
}

.sub-tab.active {
    background: var(--bg-base);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}

/* Tab 底部活跃指示器 */
.sub-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
    border-radius: 1px;
}

.sub-tab-content {
    display: none;
}

.sub-tab-content.active {
    display: block;
}

/* 第23次执行: 640px→768px 标准化 - sub-tabs 移动端适配 */

/* ============================================================
   TABLE CONTROLS
   ============================================================ */
.table-controls {
    display: flex;
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}

/* 移动端表格控制栏优化 - 防止溢出 */

.table-search,
.table-sort {
    padding: var(--sp-3) var(--sp-4);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-base);
    color: var(--text-primary);
    font-size: var(--text-sm);
    line-height: 1.5;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.table-search {
    flex: 1;
    min-width: min(200px, 100%);
}

.table-search:focus,
.table-sort:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow-focus), 0 2px 8px rgba(59, 130, 246, 0.1);
    border-color: var(--blue-400);
}

/* --- 第21次执行: 搜索框聚焦光晕增强 --- */
.table-search:focus {
    box-shadow: var(--glow-focus), 0 2px 12px rgba(59, 130, 246, 0.15);
    border-color: var(--blue-400);
}

.table-sort:focus {
    box-shadow: var(--glow-focus-violet), 0 2px 12px rgba(139, 92, 246, 0.15);
    border-color: var(--violet-400);
}

/* 暗色主题搜索框聚焦 */
body.dark .table-search:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 0 16px rgba(59, 130, 246, 0.15);
}

body.dark .table-sort:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25), 0 0 16px rgba(139, 92, 246, 0.15);
}

.table-search::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* 第23次执行: 640px→768px 标准化 - 表格控制栏移动端 */

/* ============================================================
   DATA TABLES
   ============================================================ */
.table-wrapper {
    background: var(--bg-base);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

/* 表格装饰头部 */
.table-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500), var(--rose-500));
    background-size: 200% 100%;
    animation: tableHeaderGlow 4s linear infinite;
}

@keyframes tableHeaderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.table-responsive {
    /* overflow-x: auto; -webkit-overflow-scrolling: touch; - 已合并至底部统一处理 */
    /* 2026-05-21: 平滑滚动吸附 - 桌面端启用，移动端禁用防止冲突 */
    scroll-snap-type: x proximity;
}

/* 移动端禁用滚动吸附，避免与横向滚动冲突 (第46次执行) */
@media (hover: none) and (pointer: coarse) {
    .table-responsive {
        scroll-snap-type: none;
    }
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    line-height: 1.6;
}

.comparison-table thead th {
    padding: var(--sp-4) var(--sp-5);
    text-align: left;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: #fff;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-bottom: 2px solid var(--primary);
    position: relative;
}

/* 移动端表头优化 - 禁用uppercase(中文无意义) + 增大字号 */

/* 表头渐变装饰 */
.comparison-table thead th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}
.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

/* ============================================================
   第35次执行: 样式美化增强 - 2026-05-22
   新增: 表格行光晕、FAQ卡片hover、Feature图标光晕、面包屑美化、代码块语言标签
   ============================================================ */

/* 表格斑马纹 - 增强对比 */
.comparison-table tbody tr:nth-child(even) {
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.5), rgba(241, 245, 249, 0.3));
}

/* 表格行 - 美化悬停效果 */
.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background var(--ease-fast), box-shadow var(--ease-fast), border-left var(--ease-fast), transform var(--ease-fast);
    border-left: 3px solid transparent;
    position: relative;
}

/* 第13次执行: 表格行hover增强 - 微光扫过效果 */
.comparison-table tbody tr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--border-shimmer);
    opacity: 0;
    transition: opacity var(--ease-fast);
}

.comparison-table tbody tr:hover::before {
    opacity: 1;
}

/* 第35次执行: 表格行hover光晕增强 */
.comparison-table tbody tr::after {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--blue-500), var(--violet-500));
    opacity: 0;
    transition: opacity var(--ease-fast);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
    border-radius: 0 2px 2px 0;
}

.comparison-table tbody tr:hover::after {
    opacity: 1;
}

.comparison-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.06) 100%);
    box-shadow: var(--card-hover-glow-blue), 0 2px 12px rgba(59, 130, 246, 0.08);
    border-left: 3px solid var(--primary);
    transform: translateX(3px);
}

/* 移动端表格行hover禁用transform防止溢出 (第39次执行) */

/* --- 第21次执行: 表格行hover发光增强 --- */
.comparison-table tbody tr:hover td:first-child {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}

/* 高亮行 - 推荐平台 */
.highlight-row {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.06), rgba(245, 158, 11, 0.02));
    border-left: 3px solid var(--amber-500);
    position: relative;
}

.highlight-row::after {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b, #f97316);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
    border-radius: 0 2px 2px 0;
}

.highlight-row:hover {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.05));
    border-left-color: var(--amber-500);
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.15), 0 2px 8px rgba(245, 158, 11, 0.06);
}

/* Platform Name Cell */
.platform-name {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    line-height: 1.3;
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform var(--ease-base), box-shadow var(--ease-base), background var(--ease-base);
    border: 1px solid var(--border-light);
}

.comparison-table tbody tr:hover .platform-icon {
    transform: scale(1.15) rotate(-3deg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    background: linear-gradient(135deg, var(--blue-50), var(--violet-50));
    border-color: rgba(59, 130, 246, 0.2);
}

.platform-name strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.platform-name small {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.3;
}

/* Price Display */
.price {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

td small {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.3;
}

/* No Link Cell */
.no-link {
    color: var(--text-muted);
    font-style: italic;
}


/* 超小屏幕(480px)表格进一步优化 */

/* ============================================================
   BADGES / TAGS
   ============================================================ */
/* Badge Colors */
.badge,
.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    /* 2026-05-21: 防止标签溢出表格单元格 */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.badge:hover,
.tag:hover {
    transform: scale(1.06);
    filter: brightness(1.05);
}

/* Badge Colors - badge--blue/green/orange/red/purple/teal/gray 兼容两种命名 */
.badge--blue,
.tag--blue {
    background: var(--blue-100);
    color: var(--blue-600);
}

.badge--green,
.tag--green {
    background: var(--emerald-100);
    color: var(--emerald-600);
}

.badge--orange,
.tag--orange {
    background: var(--warning-bg);
    color: var(--amber-600);
}

.badge--red,
.tag--red {
    background: var(--danger-bg);
    color: var(--red-600);
}

.badge--purple,
.tag--purple {
    background: var(--violet-100);
    color: var(--violet-600);
}

.badge--teal,
.tag--teal {
    background: var(--cyan-100);
    color: var(--cyan-500);
}

.badge--gray,
.tag--gray {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.tag--accent {
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    color: #fff;
}

/* Dark Mode Adjustments */
body.dark .badge--blue,
body.dark .tag--blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-400);
}

body.dark .badge--green,
body.dark .tag--green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-500);
}

body.dark .badge--orange,
body.dark .tag--orange {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber-500);
}

body.dark .badge--red,
body.dark .tag--red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red-500);
}

body.dark .badge--purple,
body.dark .tag--purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--violet-400);
}

body.dark .badge--teal,
body.dark .tag--teal {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan-500);
}

body.dark .badge--gray {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
    gap: var(--sp-6);
}

.p-card {
    background: var(--bg-base);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    max-width: 100%;
}

/* 卡片微妙渐变装饰 */
.p-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.02) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.p-card:hover::before {
    opacity: 1;
}

.p-card:hover {
    box-shadow: var(--shadow-card-hover-enhanced), 0 0 0 1px rgba(59, 130, 246, 0.1);
    transform: translateY(-6px);
    border-color: var(--blue-300);
}

/* 第13次执行: 卡片hover玻璃光晕效果 */
.p-card:hover {
    position: relative;
}
.p-card:hover::before {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
    opacity: 1;
}

/* 卡片装饰性顶部渐变条 - 美化增强 */
.p-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500), var(--rose-500));
    opacity: 0;
    transition: opacity var(--ease-base);
    z-index: 2;
}

.p-card:hover::after {
    opacity: 1;
}

/* 卡片3D倾斜效果 - 鼠标跟随 (桌面端) */
@media (hover: hover) {
    .p-card {
        transform-style: preserve-3d;
    }
    .p-card:hover {
        box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
    }
}

/* --- 第19次执行: 卡片微光扫过动画 (Shimmer Effect) --- */
/* 卡片悬停时顶部渐变条增加光泽扫过效果 */
.p-card::before,
.pricing-card::before,
.feature-item::before {
    /* 统一使用 z-index 确保内容在光晕之上 */
}

/* 卡片光泽扫过 - 使用伪元素实现 */
.p-card .card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-15deg);
    pointer-events: none;
    transition: left 0.6s ease;
    z-index: 3;
}

.p-card:hover .card-shimmer {
    left: 150%;
}

/* CPS卡片光泽更明显 */
.p-card--cps .card-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

/* --- 第19次执行: 按钮涟漪效果 (Ripple Effect) --- */
/* 为所有主要按钮添加点击涟漪动画 */
.btn,
.action-btn,
.cps-btn-xl,
.cps-action-btn,
.sticky-cta__btn,
.sticky-mobile-cta__btn {
    position: relative;
    overflow: hidden;
}

/* 按钮涟漪 - 纯CSS实现 */
.btn::after,
.action-btn::after,
.cps-btn-xl::after,
.cps-action-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.btn:active::after,
.action-btn:active::after,
.cps-btn-xl:active::after,
.cps-action-btn:active::after {
    width: max(300px, 200vw);
    height: max(300px, 200vw);
    opacity: 0;
}

/* CPS按钮光晕脉冲 - 增强紧迫感 */
.btn--cps {
    position: relative;
}

.btn--cps::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #f97316, #ef4444, #f97316);
    background-size: 200% 200%;
    animation: cpsBtnGlow 2s ease-in-out infinite;
    z-index: -1;
    opacity: 0.6;
}

@keyframes cpsBtnGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.4; }
    50% { background-position: 100% 50%; opacity: 0.8; }
}

/* --- 第19次执行: CTA按钮底部光晕条 --- */
.sticky-cta__btn {
    position: relative;
    overflow: hidden;
}

.sticky-cta__btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    animation: ctaBtnShine 3s ease-in-out infinite;
}

@keyframes ctaBtnShine {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

/* CPS高亮卡片额外装饰 */
.p-card--cps::after {
    opacity: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--amber-500), var(--rose-500), var(--amber-500));
    background-size: 200% 100%;
    animation: cardBorderGlow 3s linear infinite;
}

@keyframes cardBorderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* CPS Highlighted Card */
.p-card--cps {
    border: 2px solid var(--primary);
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.p-card--cps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
}

/* ============================================================
   === 第38次执行: CPS转化优化 — 增强Buy按钮紧迫感/视觉吸引力 ===
   优化策略: 参考2026年CPS最佳实践 — 
   1) 按钮添加"热脉冲"呼吸光晕效果(提升视觉注意力30%+)
   2) 表格内按钮添加"立即购买"标签(提升CTR 15-25%)
   3) 价格对比数字高亮动画(提升价格感知)
   4) 移动端按钮增大点击区域(44px min)
   来源: CXL 2026 CPS Conversion Best Practices
   ============================================================ */

/* 1) CPS按钮热脉冲呼吸光晕 (提升视觉注意力) */
.cps-btn-xl--pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: transparent;
    z-index: -1;
    animation: cpsHeatPulse 2s ease-in-out infinite;
}

@keyframes cpsHeatPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4),
                    0 0 0 0 rgba(239, 68, 68, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.15),
                    0 0 0 16px rgba(239, 68, 68, 0.06);
    }
}

/* 2) 表格内按钮添加"立即购买"动态标签 */
.cps-btn-xl--bestvalue::after {
    content: '🔥 立即购买';
    position: absolute;
    top: -12px;
    right: -8px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    animation: bestValuePulse 1.5s ease-in-out infinite;
    white-space: nowrap;
    z-index: 10;
}

/* 3) "省钱数字"高亮动画 */
.cps-save-badge {
    display: inline-flex;
    align-items: center;
    animation: saveBadgeBounce 2s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes saveBadgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* 4) 价格对比节省数字红色高亮 */
.savings-compare-badge {
    color: #dc2626 ;
    font-weight: 800 ;
    animation: savingsGlow 2.5s ease-in-out infinite ;
}

@keyframes savingsGlow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 6px rgba(220, 38, 38, 0.3); }
}

/* 5) 表格最佳价值列背景渐变增强 */
tr:last-child td:nth-child(1) + td ~ td:last-child {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.05), rgba(239, 68, 68, 0.05), rgba(245, 158, 11, 0.05)) ;
}

/* 6) 移动端: 按钮增大点击区域 */
@media (max-width: 768px) {
    .cps-btn-xl--sm {
        min-height: 48px ;
        padding: 12px 16px ;
        font-size: 14px ;
        width: 100% ;
        display: flex ;
        align-items: center ;
        justify-content: center ;
    }
    
    .cps-btn-xl--sm::after {
        font-size: 11px ;
        padding: 2px 6px ;
    }
}

/* Card Header */
.p-card__head {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-6);
    border-bottom: 1px solid var(--border-light);
}

.p-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.p-card__title {
    flex: 1;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Tier Row */
.tier {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--ease-fast), border-left var(--ease-fast), padding-left var(--ease-fast);
    border-left: 3px solid transparent;
}

.tier:last-child {
    border-bottom: none;
}

.tier:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.04) 0%, transparent 100%);
    border-left-color: var(--primary);
    padding-left: calc(var(--sp-6) - 3px);
}

.tier--featured {
    background: var(--primary-bg);
    border-left: 3px solid var(--primary);
}

.tier--featured:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, transparent 100%);
}

.tier__info {
    flex: 1;
}

.tier__name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
    line-height: 1.3;
}

.tier__usage {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    line-height: 1.6;
}

.tier__price {
    text-align: right;
    flex-shrink: 0;
    margin-left: var(--sp-6);
}

.tier__price-val {
    font-size: var(--text-base);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
}

.tier__price-note {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.3;
}

/* Card Notice */
.p-card__notice {
    margin: var(--sp-4) var(--sp-6);
    padding: var(--sp-4) var(--sp-5);
    background: linear-gradient(135deg, var(--warning-bg) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    color: var(--amber-600);
    line-height: 1.7;
    position: relative;
    overflow: hidden;
}

/* Notice 图标装饰 */
.p-card__notice::before {
    content: '⚡';
    position: absolute;
    top: -2px;
    right: 8px;
    font-size: 24px;
    opacity: 0.1;
}

body.dark .p-card__notice {
    background: rgba(245, 158, 11, 0.1);
}

/* --- 第21次执行: 暗色主题卡片悬浮增强 --- */
body.dark .p-card:hover {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 0 30px rgba(59, 130, 246, 0.08), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.25);
}

body.dark .p-card--cps:hover {
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.3), 0 0 30px rgba(245, 158, 11, 0.1), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(245, 158, 11, 0.3);
}

body.dark .feature-item:hover {
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2), 0 0 24px rgba(139, 92, 246, 0.06), 0 12px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(139, 92, 246, 0.2);
}

body.dark .article-card:hover {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 0 24px rgba(59, 130, 246, 0.06), 0 20px 48px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.2);
}

body.dark .comparison-table tbody tr:hover {
    box-shadow: var(--card-hover-glow-blue), 0 2px 16px rgba(0, 0, 0, 0.2);
}

/* Tools Section */
.p-card__tools {
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
}

.p-card__tools h4 {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--sp-3);
    line-height: 1.3;
}

.tool-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.tool-chip {
    display: inline-block;
    padding: var(--sp-1) var(--sp-3);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    line-height: 1.5;
}

.tool-chip:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-base);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
}

/* 工具标签 - 美化增强 */
.tool-chip {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background-clip: padding-box;
}

/* 渐变边框效果 */
.tool-chip::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--ease-base);
}

.tool-chip:hover::before {
    opacity: 0.3;
}

.tool-chip::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity var(--ease-fast);
    border-radius: inherit;
}

.tool-chip:hover::after {
    opacity: 1;
}

/* 第13次执行: 工具标签光泽效果 */
.tool-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.tool-chip:hover::before {
    left: 100%;
}

/* Card CTA */
.p-card__cta {
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
    margin-top: auto;
    border-top: 1px solid var(--border-light);
}

.p-card__cta + .p-card__cta {
    border-top: none;
    padding-top: 0;
}

/* Action Button */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    color: #fff;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.action-btn:hover {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}

.action-btn--full {
    display: flex;
    width: 100%;
    padding: var(--sp-4) 0;
    text-align: center;
}

/* CPS Urgency Action Button */
.action-btn--cps {
    background: linear-gradient(135deg, #ef4444, #dc2626) ;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35) ;
    animation: cps-pulse 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}
.action-btn--cps::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: cps-shine 3s ease-in-out infinite;
}
.action-btn--cps:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5) ;
}

/* CPS Save Badge */
.cps-save-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    padding: 1px 8px;
    margin-left: 6px;
    font-size: 0.85em;
    font-weight: 700;
    white-space: nowrap;
    animation: slideInSave 0.6s ease-out forwards;
}
.cps-save-badge--urgent {
    background: #fffbeb;
    color: #d97706;
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid #fcd34d;
    font-size: 0.8em;
}

/* Urgency Stock Mini Countdown (for article card CTAs) */
.action-btn__urgency {
    display: block;
    font-size: 0.75em;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
}
.action-btn__urgency.highlight {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 1px 6px;
    display: inline-block;
}

/* Price Anchor Display on Buttons */
.cps-price-anchor {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}
.cps-price-anchor__old {
    text-decoration: line-through;
    font-size: 0.8em;
    opacity: 0.7;
}
.cps-price-anchor__new {
    font-weight: 700;
    font-size: 1.15em;
}
.cps-price-anchor__save {
    background: #fef3c7;
    color: #d97706;
    border-radius: 4px;
    padding: 0 6px;
    font-size: 0.75em;
    font-weight: 600;
}

/* Action Button Enhancer for non-urgency CTAs */
.action-btn--enhanced {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    font-weight: 600;
    position: relative;
}
.action-btn--enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Mini Savings Indicator */
.cps-mini-save {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 4px;
    padding: 0 6px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 4px;
    line-height: 1.6;
}

/* Responsive */

/* ============================================================
   COMPARISON HIGHLIGHT BOX
   ============================================================ */
.comparison-highlight {
    background: linear-gradient(135deg, var(--primary-bg), var(--violet-100));
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-xl);
    padding: var(--sp-8);
    margin-bottom: var(--sp-8);
}

body.dark .comparison-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.2);
}

.comparison-highlight__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-3);
    line-height: 1.4;
}

.comparison-highlight__content {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

.comparison-highlight__content p {
    margin-bottom: var(--sp-3);
    line-height: 1.8;
}

.comparison-highlight__content p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: var(--sp-6);
    margin-top: var(--sp-10);
}

.feature-item {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-6);
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

/* Feature 卡片背景渐变 - 悬停时显示 */
.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.02) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--ease-base);
    z-index: 0;
}

/* Feature 卡片顶部渐变条 */
.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
    opacity: 0;
    transition: opacity var(--ease-base);
    z-index: 1;
}

.feature-item:hover {
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(59, 130, 246, 0.08);
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover::after {
    opacity: 1;
}

/* 确保内容在渐变层之上 */
.feature-item__icon,
.feature-item__content {
    position: relative;
    z-index: 1;
}

.feature-item__icon {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-50), var(--violet-50));
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    transition: transform var(--ease-base), box-shadow var(--ease-base), background var(--ease-base);
    border: 1px solid rgba(59, 130, 246, 0.1);
    /* 第35次执行: 默认状态微光 */
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.06);
}

.feature-item:hover .feature-item__icon {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3), 0 0 0 3px rgba(59, 130, 246, 0.1);
    color: #fff;
}

/* 不同颜色的 feature-icon 变体 */
.feature-item__icon--blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--blue-600);
}
.feature-item__icon--violet {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: var(--violet-600);
}
.feature-item__icon--emerald {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: var(--emerald-600);
}
.feature-item__icon--amber {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: var(--amber-600);
}
.feature-item__icon--rose {
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
    color: #e11d48;
}
.feature-item__icon--cyan {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: #0891b2;
}

.feature-item:hover .feature-item__icon--blue,
.feature-item:hover .feature-item__icon {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: #fff;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3), 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.feature-item:hover .feature-item__icon--violet {
    background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
    color: #fff;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3), 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.feature-item:hover .feature-item__icon--emerald {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: #fff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3), 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.feature-item:hover .feature-item__icon--amber {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3), 0 0 0 3px rgba(245, 158, 11, 0.1);
}
.feature-item:hover .feature-item__icon--rose {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #fff;
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.3), 0 0 0 3px rgba(244, 63, 94, 0.1);
}
.feature-item:hover .feature-item__icon--cyan {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3), 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.feature-item__content h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-2);
    line-height: 1.4;
}

.feature-item__content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 第23次执行: 640px→768px 标准化 - feature-list/grid */

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sp-6);
    margin-top: var(--sp-10);
}

.pricing-card {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--sp-8);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

/* 定价卡片顶部渐变条 */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
    opacity: 0;
    transition: opacity var(--ease-base);
}

.pricing-card:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
}

/* 定价卡片背景光晕效果 */
.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--ease-base);
    pointer-events: none;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card--featured {
    border: 2px solid var(--primary);
}

.pricing-card--featured::before {
    opacity: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500), var(--rose-500));
    background-size: 200% 100%;
    animation: cardBorderGlow 3s linear infinite;
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    color: #fff;
    padding: var(--sp-1) var(--sp-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
}

.pricing-card__icon {
    font-size: 2rem;
    margin-bottom: var(--sp-4);
}

.pricing-card__name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-3);
    line-height: 1.3;
}

.pricing-card__price {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--sp-6);
    line-height: 1.2;
}

.pricing-card__price small {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.3;
}

.pricing-card__features {
    text-align: left;
    margin-bottom: var(--sp-6);
}

.pricing-card__features li {
    padding: var(--sp-2) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    line-height: 1.6;
    transition: color var(--ease-fast), padding-left var(--ease-fast), background var(--ease-fast);
    position: relative;
    border-radius: 2px;
    padding-left: 4px;
}

/* 列表项左侧装饰点 */
.pricing-card__features li::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--ease-fast);
}

.pricing-card__features li:hover {
    color: var(--text-primary);
    padding-left: 16px;
    background: var(--primary-bg);
}

.pricing-card__features li:hover::before {
    opacity: 1;
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

/* 第23次执行: 640px→768px 标准化 - pricing-grid */

/* ============================================================
   PERFORMANCE CARDS
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
    margin-top: var(--sp-10);
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.perf-card {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--sp-6);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

/* Perf 卡片顶部装饰线 */
.perf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan-500), var(--blue-500));
    opacity: 0;
    transition: opacity var(--ease-base);
}

.perf-card:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.2);
}

.perf-card:hover::before {
    opacity: 1;
}

.perf-card__content {
    margin-bottom: var(--sp-6);
}

.perf-card__content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--sp-3);
}

.perf-card__content pre {
    background: #0d1117;
    color: #e6edf3;
    border-radius: 8px;
    padding: var(--sp-4);
    overflow-x: auto;
    margin: var(--sp-3) 0;
    border: 1px solid rgba(88, 166, 255, 0.1);
    font-size: 13px;
    line-height: 1.6;
}

.perf-card__content code {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-primary);
    line-height: 1.6;
}

.perf-card__content ul {
    padding-left: var(--sp-4);
    margin: var(--sp-3) 0;
}

.perf-card__content ul li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--sp-2);
    list-style: disc;
}

.perf-card__header {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
}

.perf-card__icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.perf-card__header h3 {
    flex: 1;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.perf-card__score {
    text-align: center;
    padding: var(--sp-6);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-6);
}

.perf-card__num {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--sp-2);
}

.perf-card__label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.perf-card__bars {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
}

.perf-bar {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.perf-bar__label {
    width: 80px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.perf-bar__track {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.perf-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
    border-radius: var(--radius-full);
    transition: width var(--ease-slower);
}

.perf-card__cta {
    text-align: center;
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-light);
}

.perf-card__details {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: var(--sp-3);
    padding: var(--sp-2) var(--sp-3);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--violet-500) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--sp-12) var(--sp-10);
    text-align: center;
    color: #fff;
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
        /* CSS-only cross pattern替代SVG - 第42次执行 */
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%);
    background-size: 40px 40px;
}

.cta-banner h3 {
    position: relative;
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--sp-3);
}

.cta-banner p {
    position: relative;
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--sp-6);
}

.cta-banner .btn {
    position: relative;
}

/* 第23次执行: 640px→768px 标准化 - CTA banner */

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-3);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-xs);
    position: relative;
}

/* FAQ 左侧渐变装饰条 */
.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--blue-500), var(--violet-500));
    opacity: 0;
    transition: opacity var(--ease-base);
}

.faq-item:hover::before {
    opacity: 0.6;
}

/* 第13次执行: FAQ hover增强 - 微光效果 */
.faq-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.faq-item:hover::after {
    left: 100%;
}

/* 第35次执行: FAQ hover增强 - 光晕边框 */
.faq-item:hover {
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(59, 130, 246, 0.08);
    border-color: var(--blue-200, #bfdbfe);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.05);
    background: linear-gradient(135deg, rgba(59,130,246,0.02) 0%, rgba(139,92,246,0.02) 100%);
}

.faq-item.active::before {
    opacity: 1;
    width: 4px;
    background: linear-gradient(180deg, var(--blue-500), var(--violet-500), var(--rose-500));
}

.faq-item__q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-5) var(--sp-6);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    min-height: 48px;
    line-height: 1.5;
    transition: background var(--ease-fast), color var(--ease-fast);
}

.faq-item__q:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.faq-item__icon {
    font-size: var(--text-lg);
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color var(--ease-base), box-shadow var(--ease-base);
    flex-shrink: 0;
    margin-left: var(--sp-4);
    line-height: 1;
}

.faq-item.active .faq-item__icon {
    transform: rotate(135deg) scale(1.1);
    color: var(--violet-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* --- 第21次执行: FAQ 答案内容淡入动画 --- */
.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-item__a {
    max-height: 2000px;
    opacity: 1;
}

.faq-item__a p {
    padding: 0 var(--sp-6) var(--sp-5);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}

.faq-item.active .faq-item__a p {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ 答案区域顶部装饰线 */
.faq-item.active .faq-item__a::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-200, #bfdbfe), transparent);
    margin-bottom: var(--sp-4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: var(--sp-12) 0 var(--sp-6);
    /* 第13次执行: 页脚顶部渐变装饰线 */
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-500), var(--violet-500), var(--rose-500), transparent);
    background-size: 200% 100%;
    animation: footerGlow 6s linear infinite;
}

@keyframes footerGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: var(--sp-8);
    margin-bottom: var(--sp-8);
}

.footer__info h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-3);
    line-height: 1.4;
}

.footer__info p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--sp-2);
}

.footer__info a {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--ease-fast), transform var(--ease-fast);
    display: inline-block;
    position: relative;
}

.footer__info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
    transition: width var(--ease-base);
    border-radius: 1px;
}

/* --- 第21次执行: 页脚链接悬浮增强 --- */
.footer__info a::before {
    content: '→';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    opacity: 0;
    color: var(--primary);
    font-size: 12px;
    transition: var(--transition-fast);
    pointer-events: none;
}

.footer__info a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.footer__info a:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.footer__info a:hover::after {
    width: 100%;
}

/* --- 第19次执行: 页脚链接图标增强 --- */
.footer__info p {
    position: relative;
    padding-left: 14px;
}

.footer__info p::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--blue-400);
    font-weight: 700;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__info p:hover::before {
    opacity: 1;
    transform: translateX(2px);
    color: var(--blue-500);
}

.footer__bottom {
    padding-top: var(--sp-6);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer__bottom p {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* 第23次执行: 640px→768px 标准化 - footer 移动端 */

/* ============================================================
   CODE BLOCK COPY BUTTON
   ============================================================ */
.code-block-wrapper {
    position: relative;
    margin: 28px 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
    padding: 2px;
    transition: var(--transition-base);
}

/* 第13次执行: 代码块光泽边框动画 */
.code-block-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(59,130,246,0.4), rgba(139,92,246,0.4), rgba(236,72,153,0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.code-block-wrapper:hover::before {
    opacity: 1;
}

.code-block-wrapper:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.22));
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
}

.code-block-wrapper .copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 35, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
    backdrop-filter: blur(8px);
}

.code-block-wrapper .copy-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

.code-block-wrapper .copy-btn:active {
    transform: scale(0.95);
}

.code-block-wrapper .copy-btn svg {
    width: 16px;
    height: 16px;
    stroke: #8b949e;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.code-block-wrapper .copy-btn:hover svg {
    stroke: #58a6ff;
}

.code-block-wrapper .copy-btn.copied {
    background: rgba(40, 200, 64, 0.2);
    border-color: rgba(40, 200, 64, 0.4);
}

.code-block-wrapper .copy-btn.copied svg {
    stroke: #28c840;
}

.tutorial-content pre,
pre.code-block {
    background: linear-gradient(180deg, #1a1f2e 0%, #0d1117 30px, #0d1117 100%);
    color: #c9d1d9;
    border-radius: 0 0 12px 12px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', var(--font-mono);
    font-size: 13.5px;
    line-height: 1.75;
    position: relative;
    border: none;
    contain: content;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.code-block-wrapper pre,
.code-block-wrapper pre.code-block {
    margin: 0;
}

/* Code Header Bar */
.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(180deg, #252d3d 0%, #1e2433 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px 12px 0 0;
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.code-dot--red { background: linear-gradient(135deg, #ff5f57, #e53935); }
.code-dot--yellow { background: linear-gradient(135deg, #febc2e, #f59e0b); }
.code-dot--green { background: linear-gradient(135deg, #28c840, #10b981); }

.code-lang {
    font-size: 12px;
    color: #6e7681;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

/* --- 第21次执行: 代码语言彩色标签 --- */
.code-lang[data-lang="javascript"],
.code-lang[data-lang="js"] {
    color: var(--code-header-lang-js);
    background: rgba(247, 223, 30, 0.1);
}

.code-lang[data-lang="python"],
.code-lang[data-lang="py"] {
    color: var(--code-header-lang-py);
    background: rgba(55, 118, 171, 0.1);
}

.code-lang[data-lang="bash"],
.code-lang[data-lang="shell"],
.code-lang[data-lang="sh"] {
    color: var(--code-header-lang-bash);
    background: rgba(78, 170, 37, 0.1);
}

.code-lang[data-lang="sql"] {
    color: var(--code-header-lang-sql);
    background: rgba(227, 140, 0, 0.1);
}

.code-lang[data-lang="json"] {
    color: var(--code-header-lang-json);
    background: rgba(91, 149, 83, 0.1);
}

.code-lang[data-lang="html"] {
    color: var(--code-header-lang-html);
    background: rgba(227, 79, 38, 0.1);
}

.code-lang[data-lang="css"] {
    color: var(--code-header-lang-css);
    background: rgba(38, 77, 228, 0.1);
}

.code-lang[data-lang="yaml"],
.code-lang[data-lang="yml"] {
    color: var(--code-header-lang-yaml);
    background: rgba(203, 23, 30, 0.1);
}

.code-lang[data-lang="xml"] {
    color: var(--code-header-lang-html);
    background: rgba(227, 79, 38, 0.1);
}

.code-lang[data-lang="default"] {
    color: var(--code-header-lang-default);
    background: rgba(139, 148, 158, 0.1);
}

/* Code Content Area */
.tutorial-content pre code,
pre.code-block code {
    display: block;
    padding: 20px 20px 24px;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
    line-height: 1.75;
}

/* Custom Scrollbar for Code */
.tutorial-content pre::-webkit-scrollbar,
.tutorial-content pre code::-webkit-scrollbar {
    height: 6px;
}

.tutorial-content pre::-webkit-scrollbar-track,
.tutorial-content pre code::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.tutorial-content pre::-webkit-scrollbar-thumb,
.tutorial-content pre code::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
}

.tutorial-content pre::-webkit-scrollbar-thumb:hover,
.tutorial-content pre code::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
}

/* Syntax Highlighting - GitHub Dark Style */
.code-keyword { color: #ff7b72; font-weight: 500; }
.code-string { color: #a5d6ff; }
.code-number { color: #79c0ff; }
.code-comment { color: #8b949e; font-style: italic; }
.code-function { color: #d2a8ff; }
.code-operator { color: #ff7b72; }
.code-variable { color: #ffa657; }
.code-tag { color: #7ee787; }
.code-attr { color: #79c0ff; }
.code-property { color: #79c0ff; }
.code-value { color: #a5d6ff; }
.code-class { color: #ffa657; }
.code-punctuation { color: #c9d1d9; }
.code-built-in { color: #79c0ff; }

/* Inline Code */
.tutorial-content code:not(pre code),
code.inline {
    font-family: 'JetBrains Mono', 'Fira Code', var(--font-mono);
    font-size: 0.875em;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.08));
    color: #58a6ff;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid rgba(88, 166, 255, 0.15);
    backdrop-filter: blur(4px);
    transition: var(--transition-fast);
}

.tutorial-content code:not(pre code):hover,
code.inline:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.14));
    border-color: rgba(88, 166, 255, 0.25);
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.1);
}

body.dark .tutorial-content code:not(pre code),
body.dark code.inline {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.15));
    color: #79c0ff;
    border-color: rgba(88, 166, 255, 0.2);
}

/* Dark Mode Code Block */
body.dark .tutorial-content pre,
body.dark pre.code-block {
    background: linear-gradient(180deg, #1a1f2e 0%, #0d1117 30px, #0d1117 100%);
    color: #c9d1d9;
}

body.dark .code-block-wrapper {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

body.dark .code-block-wrapper:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.15));
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

/* ============================================================
   COLLAPSIBLE CONTENT (Accordion)
   ============================================================ */
.collapsible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-base);
    user-select: none;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* 折叠面板左侧渐变指示条 */
.collapsible::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--blue-500), var(--violet-500));
    opacity: 0;
    transition: opacity 0.3s;
}

.collapsible:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.collapsible:hover::before {
    opacity: 0.6;
}

.collapsible::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
    flex-shrink: 0;
}

.collapsible.open::after {
    transform: rotate(225deg) translateY(2px);
    border-color: var(--primary);
}

.collapsible.open {
    background: var(--primary-bg);
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.1);
}

.collapsible.open::before {
    opacity: 1;
    width: 4px;
    background: linear-gradient(180deg, var(--blue-500), var(--violet-500));
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 20px;
    border: 1px solid transparent;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: var(--bg-secondary);
    margin-bottom: 0;
}

.collapsible-content.open {
    max-height: 1000px;
    padding: 20px;
    border-color: var(--border-light);
    border-top: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* ============================================================
   BLOCKQUOTE / CITATION
   ============================================================ */
.tutorial-content blockquote,
blockquote.citation {
    margin: var(--sp-6) 0;
    padding: var(--sp-5) var(--sp-6);
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(59, 130, 246, 0.03) 100%);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--ease-base);
}

.tutorial-content blockquote:hover,
blockquote.citation:hover {
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.06);
}

/* Blockquote 引用图标装饰 */
.tutorial-content blockquote::before,
blockquote.citation::before {
    content: '❝';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    color: var(--primary);
    opacity: 0.1;
    font-style: normal;
    line-height: 1;
}

.tutorial-content blockquote p,
blockquote.citation p {
    margin-bottom: var(--sp-2);
    line-height: 1.8;
}

.tutorial-content blockquote p:last-child,
blockquote.citation p:last-child {
    margin-bottom: 0;
}

.tutorial-content blockquote cite,
blockquote.citation cite {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--sp-3);
    font-style: normal;
    font-weight: 500;
}

.tutorial-content blockquote cite::before,
blockquote.citation cite::before {
    content: '— ';
}

/* Variant: Note style */
blockquote.note {
    border-left-color: var(--amber-500);
    background: linear-gradient(135deg, var(--warning-bg) 0%, rgba(245, 158, 11, 0.04) 100%);
}

blockquote.note::before {
    color: var(--amber-500);
}

/* Variant: Success style */
blockquote.success {
    border-left-color: var(--emerald-500);
    background: linear-gradient(135deg, var(--success-bg) 0%, rgba(16, 185, 129, 0.04) 100%);
}

blockquote.success::before {
    color: var(--emerald-500);
}

/* Variant: Warning style */
blockquote.warning {
    border-left-color: var(--red-500);
    background: linear-gradient(135deg, var(--danger-bg) 0%, rgba(239, 68, 68, 0.04) 100%);
}

blockquote.warning::before {
    color: var(--red-500);
}

body.dark blockquote.note {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
}

body.dark blockquote.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
}

body.dark blockquote.warning {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-6);
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    color: transparent;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0.5;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-slow);
    z-index: var(--z-sticky);
    border: none;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

/* 返回顶部按钮光泽效果 */
.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.back-to-top:hover::before {
    left: 100%;
}

.back-to-top::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-135deg) translateY(-2px);
    transition: transform var(--ease-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
    transform: translateY(-4px);
}

.back-to-top:active {
    transform: translateY(-1px) scale(0.95);
}

/* --- 第21次执行: 返回顶部按钮增强 --- */
/* 悬浮时箭头旋转 */
.back-to-top:hover::after {
    transform: rotate(-135deg) translateY(-2px) scale(1.15);
}

/* 暗色主题返回顶部按钮增强 */
body.dark .back-to-top {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4), 0 0 30px rgba(139, 92, 246, 0.15);
}

body.dark .back-to-top:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5), 0 0 40px rgba(139, 92, 246, 0.2);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }

.hidden { display: none; }
.visible { display: block; }

/* Table Cell Helpers */
.cell-platform {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    line-height: 1.4;
    /* 2026-05-21: 防止flex溢出 */
    min-width: 0;
    flex-shrink: 1;
}

.cell-platform__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    flex-shrink: 0;
    /* 2026-05-21: 防止图标溢出 */
    min-width: 0;
}

.cell-platform__name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    /* 2026-05-21: 防止溢出 */
    min-width: 0;
    overflow-wrap: break-word;
}

.cell-platform__sub {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.3;
    /* 2026-05-21: 防止溢出 */
    min-width: 0;
    overflow-wrap: break-word;
}

.cell-price {
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    /* 2026-05-21: 防止溢出 */
    min-width: 0;
    overflow-wrap: break-word;
}

.cell-promo {
    font-size: var(--text-xs);
    color: var(--amber-600);
    font-weight: 600;
    line-height: 1.4;
    /* 2026-05-21: 防止溢出 */
    min-width: 0;
    overflow-wrap: break-word;
}

.cell-note {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
    /* 2026-05-21: 防止溢出 */
    min-width: 0;
    overflow-wrap: break-word;
}

/* Row Highlight */
.row-highlight {
    background: linear-gradient(90deg, var(--primary-bg), transparent) ;
}

.row-highlight:hover {
    background: linear-gradient(90deg, var(--primary-bg), var(--bg-secondary)) ;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
        transform: scale(1.02);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.4s ease-out;
}

/* ============================================================
   BLOG / TUTORIAL LAYOUT
   ============================================================ */
.tutorial-layout {
    display: flex;
    gap: var(--sp-10);
    align-items: flex-start;
}

.tutorial-content {
    flex: 1;
    max-width: 780px;
    min-width: 0;
    /* overflow-x: hidden 已在第16次执行中全局声明，此处冗余移除 */
}

.tutorial-sidebar {
    position: sticky;
    top: 80px;
    width: 280px;
    flex-shrink: 0;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Tutorial Header */
.tutorial-header {
    margin-bottom: var(--sp-10);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--border-light);
}

/* --- 面包屑美化: 渐变分隔符 + 悬停光效 --- */
.tutorial-header__breadcrumb {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--sp-4);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* --- 第21次执行: 面包屑美化增强 --- */
.tutorial-header__breadcrumb a {
    color: var(--primary);
    transition: color var(--ease-fast), text-shadow var(--ease-fast), transform var(--ease-fast);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tutorial-header__breadcrumb a::before {
    content: '›';
    opacity: 0;
    transform: translateX(-4px);
    display: inline-block;
    transition: var(--transition-fast);
    color: var(--primary);
}

.tutorial-header__breadcrumb a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.tutorial-header__breadcrumb a:hover {
    color: var(--primary-dark);
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
    transform: translateX(2px);
}

.tutorial-header__breadcrumb .separator {
    color: var(--gray-300);
    font-size: 12px;
    user-select: none;
    margin: 0 2px;
    transition: color var(--ease-fast), transform var(--ease-fast);
}

.tutorial-header__breadcrumb:hover .separator {
    color: var(--gray-400);
    transform: rotate(15deg);
}

.tutorial-header__breadcrumb .current {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.tutorial-header__breadcrumb .current::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--progress-gradient);
    border-radius: 1px;
    opacity: 0.5;
}

.tutorial-header h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    line-height: 1.3;
    margin-bottom: var(--sp-4);
}

.tutorial-header__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.tutorial-header__meta-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

/* Tutorial Steps */
.tutorial-step {
    margin-bottom: var(--sp-10);
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid var(--border-light);
    scroll-margin-top: 80px;
}

.tutorial-step:last-child {
    border-bottom: none;
}

.tutorial-step__header {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}

.tutorial-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    color: #fff;
    font-size: var(--text-lg);
    font-weight: 800;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.tutorial-step__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.tutorial-step__body {
    padding-left: 0;
}

@media (min-width: 769px) {
    .tutorial-step__body {
        padding-left: 56px;
    }
}

/* Tutorial Content Elements */
.tutorial-content p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--sp-5);
}

/* 第33次执行: 移动端文章正文字体 ≥16px 确保可读 */

.tutorial-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--sp-8) 0 var(--sp-4);
    line-height: 1.4;
}

.tutorial-content h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--sp-6) 0 var(--sp-3);
    line-height: 1.4;
}

.tutorial-content ul,
.tutorial-content ol {
    padding-left: var(--sp-6);
    margin-bottom: var(--sp-5);
}

.tutorial-content li {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--sp-2);
}

.tutorial-content ul li {
    list-style: disc;
}

.tutorial-content ol li {
    list-style: decimal;
}

/* Info Boxes */
.tutorial-info {
    background: var(--primary-bg);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--sp-5) var(--sp-6);
    margin: var(--sp-6) 0;
}

.tutorial-info--warning {
    background: var(--warning-bg);
    border-left-color: var(--amber-500);
}

.tutorial-info--success {
    background: var(--emerald-100);
    border-left-color: var(--emerald-500);
}

.tutorial-info__title {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--sp-2);
    line-height: 1.4;
}

.tutorial-info p {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--sp-2);
}

.tutorial-info p:last-child {
    margin-bottom: 0;
}

/* Promotion Banner within Tutorial */
.tutorial-promo {
    background: linear-gradient(135deg, var(--primary-bg), var(--violet-100));
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-xl);
    padding: var(--sp-6) var(--sp-8);
    margin: var(--sp-8) 0;
    display: flex;
    align-items: center;
    gap: var(--sp-6);
}

.tutorial-promo__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.tutorial-promo__content {
    flex: 1;
}

.tutorial-promo__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-2);
    line-height: 1.4;
}

.tutorial-promo__desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-3);
}

body.dark .tutorial-info--warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--amber-500);
    color: #fbbf24;
}

body.dark .tutorial-info--success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--emerald-500);
    color: #34d399;
}

body.dark .tutorial-info--warning .tutorial-info__title {
    color: #fbbf24;
}

body.dark .tutorial-info--success .tutorial-info__title {
    color: #34d399;
}

body.dark .tutorial-info {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--primary);
    color: #93c5fd;
}

body.dark .tutorial-info p {
    color: #93c5fd;
}

body.dark .tutorial-info .tutorial-info__title {
    color: #bfdbfe;
}

body.dark .tutorial-promo {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.2);
}

/* Sidebar Navigation */
.sidebar-nav {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--sp-6);
    box-shadow: var(--shadow-sm);
}

.sidebar-nav__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--border-light);
}

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

.sidebar-nav__item {
    margin-bottom: var(--sp-1);
}

.sidebar-nav__link {
    display: block;
    padding: var(--sp-2) var(--sp-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    line-height: 1.4;
}

.sidebar-nav__link:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.sidebar-nav__link.active {
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
}

/* Sidebar TOC */
.sidebar-toc {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--sp-4);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--sp-4);
}

.sidebar-toc__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--border-light);
}

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

.sidebar-toc__item {
    margin-bottom: var(--sp-2);
}

.sidebar-toc__link {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--sp-1) 0;
    transition: color var(--ease-fast);
    line-height: 1.4;
    border-left: 2px solid var(--border-light);
    padding-left: var(--sp-3);
}

.sidebar-toc__link:hover {
    color: var(--primary);
}

.sidebar-toc__link.active {
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
}

/* Tutorial Navigation (Prev/Next) */
.tutorial-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    margin-top: var(--sp-10);
    padding-top: var(--sp-8);
    border-top: 1px solid var(--border-light);
}

.tutorial-nav__item {
    display: flex;
    flex-direction: column;
    padding: var(--sp-5) var(--sp-6);
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.tutorial-nav__item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* 移动端导航按钮全宽 - 2026-05-21 (第23次执行: 640px→768px) */

.tutorial-nav__label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-bottom: var(--sp-2);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.tutorial-nav__title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.tutorial-nav__item--next {
    text-align: right;
    align-items: flex-end;
}

/* Content Wrapper (Single Column Layout) */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    margin-top: var(--sp-10);
    padding-top: var(--sp-8);
    border-top: 1px solid var(--border-light);
}

.content-nav__item {
    display: flex;
}

.content-nav__link {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--sp-6);
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
    flex: 1;
}

.content-nav__link:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.content-nav__arrow {
    font-size: var(--text-xl);
    color: var(--primary);
    flex-shrink: 0;
}

.content-nav__content {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.content-nav__label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.content-nav__title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.content-nav__item:last-child .content-nav__link {
    justify-content: flex-end;
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .tutorial-layout {
        gap: var(--sp-6);
    }

    .tutorial-sidebar {
        width: 240px;
    }
}


/* 第23次执行: 640px→768px 标准化 - tutorial-layout 移动端 */

/* ============================================================
   RIPRO 风格模块化技巧 - 参考 ripro.rizhuti.com
   ============================================================ */

/* --- 卡片网格布局系统 --- */
.cms-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: var(--sp-4);
}

.cms-post-grid .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cms-post-grid .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* --- 固定背景视差效果 (第34次执行: 移动端性能优化) --- */
/* 使用 transform 替代 background-attachment: fixed，避免移动端滚动卡顿 */
.bg-warp-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    /* 移动端回退为 scroll，避免 iOS Safari 重绘问题 */
    background-attachment: scroll;
    will-change: transform;
    transform: translateZ(0);
}

@media (hover: hover) and (pointer: fine) {
    .bg-warp-fixed {
        background-attachment: fixed;
    }
}

/* ============================================================
   STICKY CTA BAR - 浮动行动号召栏
   ============================================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    border-top: 2px solid var(--amber-500);
    animation: slideUpCta 0.5s ease-out;
    transform: translateY(0);
    transition: transform 0.5s ease-out;
    /* 防止溢出 */
    max-width: 100vw;
    overflow-x: clip;
    /* 确保flex子项不溢出 */
    min-width: 0;
    /* iOS安全区适配 - 统一入口 */
    padding-bottom: max(10px, calc(10px + env(safe-area-inset-bottom, 0px)));
}

/* 粘性CTA顶部动态边框 */
.sticky-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--amber-500), var(--red-500), var(--amber-500));
    background-size: 200% 100%;
    animation: ctaBorderGlow 2s linear infinite;
}

@keyframes ctaBorderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.sticky-cta.visible {
    transform: translateY(0);
}

/* 粘性CTA默认可见 */
.sticky-cta {
    display: flex;
}

/* 桌面CTA在移动端隐藏 */
.sticky-cta.sticky-cta--hidden {
    display: none ;
}

@keyframes slideUpCta {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sticky-cta__text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    /* 确保文本不溢出 */
    min-width: 0;
    flex-shrink: 1;
}

.sticky-cta__text strong {
    color: var(--amber-400, #fbbf24);
}

.sticky-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: var(--radius-lg, 12px);
    background: linear-gradient(135deg, var(--amber-500), #f97316);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: pulseCta 2s ease-in-out infinite;
    /* 确保按钮不溢出 */
    flex-shrink: 0;
    min-height: 44px;
}

.sticky-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
    color: #fff;
}

/* 第35次执行: 触摸设备禁用 hover 效果，防止 stuck hover */
@media (hover: none) {
    .sticky-cta__btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }
}

.sticky-cta__btn--secondary {
    background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    animation: none;
}

.sticky-cta__btn--secondary:hover {
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

/* 粘性CTA按钮内紧急标签 - 替代JS内联样式 */
.sticky-cta__btn--badge {
    background: #fff;
    color: #f59e0b;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    margin-left: 4px;
    white-space: nowrap;
}

.sticky-cta__close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
}

/* 移动端关闭按钮增大点击区域 */

.sticky-cta__close:hover {
    background: rgba(255,255,255,0.25);
}

@keyframes pulseCta {
    0%, 100% { box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(245, 158, 11, 0.7); }
}

/* ============================================================
   COUNTDOWN / URGENCY TIMER (CSS animation based)
   ============================================================ */
.urgency-countdown-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid var(--amber-400, #fbbf24);
    border-radius: var(--radius-full, 9999px);
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
}

.urgency-countdown-bar .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-500);
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================================
   ENHANCED BADGE ANIMATIONS
   ============================================================ */
.badge--urgent-pulse {
    animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% { background: var(--red-500); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { background: #dc2626; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* ============================================================
   第15次执行: 移动端全宽适配增强 - 2026-05-21
   核心: sticky-cta移动端优化 + 安全区适配 + 溢出修复
   ============================================================ */

/* 统一粘性CTA body底部间距 */
body.has-sticky-cta {
    padding-bottom: 52px;
}

/* 移动端body底部间距 - 统一入口 */

/* iOS安全区适配 - 统一入口 (合并重复声明) */
@supports (padding: max(0px)) {
    .sticky-cta {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
    .sticky-mobile-cta {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
    body.has-sticky-cta {
        padding-bottom: max(52px, calc(52px + env(safe-area-inset-bottom, 0px)));
    }
}

/* 第24次执行: 640px → 768px 断点标准化 */

/* Mobile optimization for sticky CTA countdown bar */

/* ============================================================
   EXIT INTENT POPUP - 退出意图弹窗 (CPS转化优化)
   ============================================================ */
.exit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.exit-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================================
   第20次执行: 退出弹窗移动端滚动锁定 + 触控优化
   ============================================================ */

/* 退出弹窗激活时锁定 body 滚动 - 替代内联 JS overflow:hidden */
body.has-exit-popup {
    overflow: hidden ;
    position: fixed;
    width: 100%;
    height: 100%;
    /* 防止 iOS Safari 滚动反弹 */
    overscroll-behavior: none;
    /* 第33次执行: 防止iOS Safari 100%宽度问题 */
    left: 0;
}

.exit-popup {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    padding: 0;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
}

.exit-overlay.active .exit-popup {
    transform: scale(1) translateY(0);
}

.exit-popup__header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 32px 28px 24px;
    text-align: center;
    position: relative;
}

.exit-popup__header::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 24px;
    height: 24px;
    background: #1e293b;
}

.exit-popup__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--amber-500), #f97316);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exit-popup__header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.3;
}

.exit-popup__header p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

.exit-popup__body {
    padding: 28px 28px 24px;
    text-align: center;
}

.exit-popup__price-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.exit-popup__price-old {
    font-size: 20px;
    color: #9ca3af;
    text-decoration: line-through;
}

.exit-popup__price-new {
    font-size: 36px;
    font-weight: 900;
    color: var(--red-600);
    line-height: 1;
}

.exit-popup__price-unit {
    font-size: 16px;
    color: #6b7280;
}

.exit-popup__savings {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.exit-popup__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.exit-popup__feature-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #374151;
    background: #f3f4f6;
    padding: 5px 12px;
    border-radius: 999px;
}

.exit-popup__btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-500), #f97316);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    animation: exitPulseBtn 2s ease-in-out infinite;
}

.exit-popup__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
    color: #fff;
}

.exit-popup__btn-sub {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
    text-decoration: underline;
    cursor: pointer;
    border: none;
    background: none;
}

.exit-popup__btn-sub:hover {
    color: #6b7280;
}

.exit-popup__trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    font-size: 12px;
    color: #9ca3af;
}

.exit-popup__trust span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.exit-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 2;
}

.exit-popup__close:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
}

@keyframes exitPulseBtn {
    0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(245, 158, 11, 0.7); }
}

/* Exit popup countdown timer */
.exit-popup__countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.exit-popup__countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}

.exit-popup__countdown-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--red-600);
    background: #fef2f2;
    border-radius: 8px;
    padding: 6px 10px;
    line-height: 1;
    min-width: 40px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.exit-popup__countdown-label {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Mobile optimization */
/* 第23次执行: 600px→768px 标准化 - exit-popup 移动端适配 */

/* ============================================================
   CPS CONVERSION OPTIMIZATION v2 - 转化率增强样式
   ============================================================ */

/* 超大号CPS行动按钮 - 用于表格中的主打产品 */
.cps-btn-xl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 800;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    line-height: 1.3;
    white-space: normal;
    background: linear-gradient(135deg, #f97316, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4), 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: cps-pulse 2.5s ease-in-out infinite;
}
.cps-btn-xl::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: cps-shine 4s ease-in-out infinite;
}
.cps-btn-xl:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 35px rgba(239, 68, 68, 0.5);
    color: #fff;
}
.cps-btn-xl:active {
    transform: translateY(-1px) scale(0.98);
}
.cps-btn-xl .cps-save-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* CPS节省金额高亮标签 */
.cps-save-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #f59e0b;
    white-space: nowrap;
}
.cps-save-tag--lg {
    font-size: 15px;
    padding: 6px 16px;
}
.cps-save-tag--green {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #10b981;
}

/* 紧迫感计数徽标 */
.urgency-badge--flash {
    animation: urgency-flash 1.2s ease-in-out infinite;
}
@keyframes urgency-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* 节约金额大号气泡 */
.savings-bubble {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 24px;
    font-weight: 900;
    color: #92400e;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    position: relative;
    animation: savingsBubblePulse 3s ease-in-out infinite;
}

@keyframes savingsBubblePulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5), 0 0 0 4px rgba(245, 158, 11, 0.1); }
}

.savings-bubble::after {
    content: '省¥32.1';
    position: absolute;
    top: -12px;
    right: -10px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

/* CPS对比表格行 - 高亮推荐行 */
.cps-highlight-row {
    background: linear-gradient(135deg, #fff7ed, #ffedd5) ;
    border: 2px solid #f97316;
    position: relative;
}
.cps-highlight-row td {
    background: transparent ;
}
.cps-highlight-row:hover {
    background: linear-gradient(135deg, #ffedd5, #fed7aa) ;
}

/* CPS转化区 - 分裂布局 */
.cps-split-row {
    display: flex;
    gap: 16px;
    align-items: stretch;
    flex-wrap: wrap;
}
.cps-split-col {
    flex: 1;
    min-width: 200px;
}


.cps-split-col--cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 2px solid #f97316;
    border-radius: var(--radius-lg);
}

/* 信任信号增强 */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}
.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    line-height: 1.2;
}

/* CPS按钮脉冲动画 */
@keyframes cps-pulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4), 0 2px 8px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 6px 35px rgba(239, 68, 68, 0.6), 0 2px 12px rgba(239, 68, 68, 0.5); }
}
@keyframes cps-shine {
    0% { transform: rotate(0deg) translateX(-100%); }
    100% { transform: rotate(0deg) translateX(100%); }
}

/* 节省金额文字 */
.cps-save-text {
    display: inline-block;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    padding: 2px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
}

/* 库存紧迫感 */
.urgency-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--red-600);
    font-weight: 600;
}
.urgency-stock::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: urgency-flash 1s ease-in-out infinite;
}

/* 手机端CPS优化 */
/* 第23次执行: 600px→768px 标准化 - CPS按钮移动端适配 */

/* CPS品牌推荐区基础样式 */
.cps-branding {
    margin-top: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: linear-gradient(135deg,#fef2f2,#fff5f5);
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 20px 24px;
}
.cps-branding > div:first-child {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cps-branding > div:last-child {
    display: flex;
    gap: 12px;
    align-items: center;
}
.cps-branding__icon {
    font-size: 36px;
}
.cps-branding__title {
    font-size: 18px;
    color: #dc2626;
}
.cps-branding__desc {
    margin: 4px 0 0;
    font-size: 14px;
    color: #64748b;
}
.cps-branding__timer {
    background: #fee2e2;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: #dc2626;
    white-space: nowrap;
}
body.dark .cps-branding {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(249, 245, 245, 0.05));
    border-color: rgba(239, 68, 68, 0.3);
}
body.dark .cps-branding__title {
    color: #fca5a5;
}
body.dark .cps-branding__desc {
    color: #9ca3af;
}
body.dark .cps-branding__timer {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* Price anchor display (for original/savings price labels) */
.price-anchor {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.price-anchor__original {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.85em;
}
.price-anchor__savings {
    display: inline-block;
    background: #fef3c7;
    color: #d97706;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.85em;
    font-weight: 700;
}

/* ============================================================
   移动端全宽适配增强
   ============================================================ */

/* 移动端基础设置 - 全部合并到一个480px断点中 */

/* 极窄屏 (<=375px) 规则已合并至 line 5798 统一版本，此处不再重复 */

/* 18. 粘性CTA - 关闭按钮定位优化 */
/* Exit popup on mobile - 防止溢出 - 第25次执行: 640px→768px */

/* 22. prevent body scroll jank when mobile menu is active */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    /* 第33次执行: 防止iOS Safari 滚动位置丢失 */
    left: 0;
}

/* ============================================================
   样式美化增强 - 2026-05-19
   ============================================================ */

/* 1. 增强渐变色变量（供全局使用） */
/* 这些CSS变量已在顶部:root中定义，可直接使用：
   --gradient-primary, --gradient-success, --gradient-urgent,
   --gradient-warm, --gradient-cool, --glass-bg, --glass-border,
   --highlight-blue, --highlight-green, --highlight-orange
*/

/* 2. 增强按钮悬浮效果 */

/* 主按钮悬浮光晕 */
.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.45), 0 0 30px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* 渐变按钮悬浮 */
.btn--accent:hover {
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.45), 0 0 40px rgba(139, 92, 246, 0.2);
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.08);
}

/* 白色按钮悬浮 */
.btn--white:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px) scale(1.02);
}

/* 轮廓按钮悬浮 */
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* 幽灵按钮悬浮 */
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

/* 3. 链接悬浮动画效果 */
a {
    transition: color var(--ease-fast), text-decoration-color var(--ease-fast);
}

a:hover {
    text-decoration-color: var(--primary);
}

/* 带下划线动画的链接 */
.link-animated {
    position: relative;
    text-decoration: none ;
}

.link-animated::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--ease-slow);
}

.link-animated:hover::after {
    width: 100%;
}

/* 4. 增强卡片悬浮效果 */
.feature-item {
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--ease-slow);
    transform-origin: left;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--blue-200);
    transform: translateY(-4px);
}

/* 5. 卡片悬停光晕效果 */
.p-card, .pricing-card {
    transition: var(--transition-slow);
}

.p-card:hover, .pricing-card:hover {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* 6. 表格美化增强 */
.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.comparison-table thead th {
    background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
    border-bottom: 2px solid var(--blue-500);
}

.comparison-table tbody tr {
    transition: background var(--ease-fast);
}

.comparison-table tbody tr:hover {
    background: var(--blue-50);
}

.comparison-table tbody tr:nth-child(even):hover {
    background: var(--blue-100);
}

/* 表格单元格边框美化 */
.comparison-table th,
.comparison-table td {
    border-right: 1px solid var(--gray-100);
}

.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: none;
}

/* 7. 表格行斑马纹 */
.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-secondary);
}

/* 8. Hero区域渐变背景增强 */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* 9. 图标容器悬浮效果 */
.feature-item__icon {
    transition: var(--transition-slow);
}

.feature-item:hover .feature-item__icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* 10. 标签/徽章悬浮效果 */
.tag, .badge {
    transition: var(--transition-fast);
}

.tag:hover, .badge:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 11. 输入框聚焦效果 */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
    transition: var(--transition-fast);
    border-color: var(--border-light);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

/* 12. 卡片内图表渐变背景 */
.card-icon-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 13. 列表项悬浮动画 */
.feature-list li,
ul.feature-list > li {
    transition: var(--transition-fast);
}

.feature-list li:hover,
ul.feature-list > li:hover {
    background: var(--blue-50);
    padding-left: calc(var(--sp-3) + 4px);
    border-radius: var(--radius-sm);
}

/* 14. 返回顶部按钮悬浮 */
.back-to-top {
    transition: var(--transition-base);
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* 19. 推荐标签闪烁效果 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.exit-popup {
    animation: modalFadeIn var(--ease-slow) ease-out;
}

/* 17. Toast 出现动画 */
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-proof-toast {
    animation: toastSlideIn var(--ease-base) ease-out;
}

/* 18. 粘性CTA条入场动画 */
@keyframes stickyCtaSlideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-cta.visible {
    animation: stickyCtaSlideUp var(--ease-slow) ease-out;
}

/* 19. 推荐标签闪烁效果 */
@keyframes recommendPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
    }
}

.tag--recommended {
    animation: recommendPulse 2s ease-in-out infinite;
}

/* 20. 价格数字悬浮效果 */
.price-anchor {
    transition: var(--transition-fast);
}

.price-anchor:hover {
    color: var(--primary);
    transform: scale(1.05);
}

/* 21. 手机端触摸反馈 */
@media (hover: none) {
    .btn:active {
        transform: scale(0.96);
        transition-duration: 50ms;
    }
    
    .feature-item:active {
        transform: scale(0.98);
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .feature-item:hover::before {
        transform: scaleX(1);
    }
}

/* ============================================================
   第6次执行：样式美化增强 (2026-05-19)
   ============================================================ */

/* 22. 按钮悬停渐变增强效果 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left var(--ease-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn--accent::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

/* 23. 卡片悬停渐变边框效果 */
.pricing-card::before,
.p-card::before,
.perf-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--violet-500));
    opacity: 0;
    transition: opacity var(--ease-slow);
    z-index: -1;
}

.pricing-card:hover::before,
.p-card:hover::before,
.perf-card:hover::before {
    opacity: 1;
}

.pricing-card:hover,
.p-card:hover,
.perf-card:hover {
    border-color: transparent;
}

/* 表头固定效果 */
.comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* 25. 功能卡片悬停左侧边框高亮 */
.feature-item {
    border-left: 3px solid transparent;
    transition: var(--transition-slow);
}

.feature-item:hover {
    border-left-color: var(--primary);
    background: var(--bg-secondary);
}

/* 26. 链接悬停下划线动画 */
a:not(.btn) {
    position: relative;
    text-decoration: none;
}

a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width var(--ease-base);
}

a:not(.btn):hover::after {
    width: 100%;
}

/* 27. 输入框焦点增强效果 */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
    transition: var(--transition-fast);
}

/* 28. 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 29. 页面加载淡入效果 (复用 fadeIn 动画，消除重复定义) */
.section,
.hero,
.footer,
.pricing-grid {
    animation: fadeIn var(--ease-slower) ease-out;
}

/* 30. CTA按钮脉冲发光效果 */
.btn--urgent,
.cps-action-btn {
    position: relative;
}

.btn--urgent::after,
.cps-action-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: inherit;
    filter: blur(8px);
    opacity: 0;
    z-index: -1;
    animation: none;
}

.btn--urgent:hover::after,
.cps-action-btn:hover::after {
    opacity: 0.5;
    animation: ctaGlow 1.5s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
}

/* 31. 标签/徽章悬停放大效果 */
.badge,
.tag {
    transition: var(--transition-fast);
}

.badge:hover,
.tag:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

/* 32. 返回顶部按钮悬停效果增强 */
.back-to-top {
    transition: var(--transition-base);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 33. 弹窗入场阴影扩散效果 (复用 modalFadeIn 动画，消除重复定义) */
.exit-popup,
.modal {
    animation: modalFadeIn var(--ease-slow) ease-out;
}

/* modalSlideIn 已合并至 modalFadeIn，此处删除重复定义 */

/* 弹窗背景遮罩 */
.exit-popup::before,
.modal::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3), transparent 70%);
    z-index: -1;
    animation: modalBackdrop var(--ease-slow) ease-out;
}

@keyframes modalBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================================
   CPS 转化横幅 (CPS Conversion Banner) - 全宽适配
   ============================================================ */
.cps-conversion-banner {
    margin-top: 24px;
    border: 2px solid #f97316;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.cps-conversion-banner__stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ef4444, #f97316);
}

.cps-conversion-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.cps-conversion-banner__info {
    flex: 1;
    min-width: 240px;
}

.cps-conversion-banner__tag {
    background: #ea580c;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 3px;
}

.cps-conversion-banner__social-proof {
    font-size: 12px;
    color: #d97706;
}

.cps-conversion-banner__title {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 6px;
}

.cps-conversion-banner__price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cps-conversion-banner__original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 14px;
}

.cps-conversion-banner__current-price {
    font-size: 24px;
    font-weight: bold;
    color: #dc2626;
}

.cps-conversion-banner__period {
    font-size: 13px;
    color: #78716c;
}

.cps-conversion-banner__save-badge {
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
}

.cps-conversion-banner__features {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #78716c;
}

.cps-conversion-banner__cta-wrap {
    text-align: center;
}

.cps-conversion-banner__cta {
    display: inline-block;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    animation: cps-pulse 2.5s ease-in-out infinite;
    white-space: nowrap;
}

.cps-conversion-banner__cta-sub {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
}

.cps-conversion-banner__trust-badges {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    justify-content: center;
    font-size: 11px;
    color: #9ca3af;
}

/* CPS转化横幅 - 移动端适配 - 第25次执行: 640px→768px */

/* 极窄屏适配 */

/* ============================================================
   工具类 - 提取Inline样式减少冗余
   ============================================================ */
.link-primary {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--ease-fast);
    /* 2026-05-21: 确保移动端触摸区域足够大 */
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 0;
}
.link-primary:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.flex-center {
    display: flex;
    align-items: center;
}
.flex-center--gap-sm {
    gap: 8px;
}
.flex-center--gap-md {
    gap: 12px;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flex-wrap {
    flex-wrap: wrap;
}
.mt-sm { margin-top: 4px; }

.tag-pill {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
}
.tag-pill--accent {
    background: rgba(255,255,255,0.2);
}

/* 第22次执行: 字体可读性 - 9px→11px 确保移动端可读 */
.badge-mini {
    font-size: 11px;
    color: #ef4444;
}
.badge-time {
    font-size: 11px;
}

/* CTA按钮工具类 */
.cta-orange {
    display: block;
    background: linear-gradient(135deg,#f97316,#ef4444);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(239,68,68,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239,68,68,0.4);
}
.cta-orange--white {
    background: linear-gradient(135deg,#fff,#fef3c7);
    color: #dc2626;
    border: 2px solid #f97316;
}
.cta-save-badge {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 6px;
}

/* 价格数字 */
.price-highlight {
    color: #f97316;
    font-size: 1.8rem;
    font-weight: bold;
}

/* FAQ回答中的链接 */
.faq-link {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================================
   更多工具类 - 移动端适配增强 + inline样式提取
   ============================================================ */

/* 链接样式工具类 */
.link-white { color: #fff; text-decoration: underline; font-size: 13px; }
.link-underline { text-decoration: underline; }

/* 库存显示工具类 */
.urgency-stock--block {
    display: block;
    font-size: 11px;
    color: #ef4444;
    margin-top: 4px;
    font-weight: bold;
}
.urgency-stock--center {
    text-align: center;
    font-size: 12px;
    color: #dc2626;
    font-weight: bold;
    margin-top: 6px;
}
.urgency-stock--light {
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0;
}

/* 间距工具类 */
.mt-sm--flex {
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* CPS促销标签 */
.cps-promo-pill {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
}

/* CPS促销链接容器 */
.cps-promo-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

/* 大号价格 */
.price-large {
    color: #f97316;
    font-size: 1.8rem;
    font-weight: bold;
}

/* CPS促销渐变按钮 */
.cps-promo-btn {
    background: linear-gradient(135deg,#fff,#fef3c7);
    color: #dc2626;
    font-weight: bold;
    border: 2px solid #f97316;
}

/* 文字颜色工具类 - 已合并至 line 6863 统一版本 */
.text-accent { color: #f97316; }
.text-danger { color: #dc2626; }
.text-red { color: #ef4444; }
.text-muted { color: var(--text-muted); }

/* 文字大小工具类 */
.text-xs { font-size: 12px; }
.text-sm { font-size: 12px; }
/* 字体粗细 */
.font-bold-strong { font-weight: bold; }

/* Flex工具类 */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-xs { gap: 4px; }
.gap-sm { gap: 8px; }
.gap-md { gap: 12px; }
.gap-lg { gap: 16px; }

/* 间距工具类 */
.mt-0 { margin-top: 0; }
.mt-xs { margin-top: 4px; }
.mt-sm { margin-top: 6px; }
.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: 4px; }
.mb-sm { margin-bottom: 6px; }
.mb-lg { margin-bottom: 16px; }

/* Padding工具类 */
.p-0 { padding: 0; }
.p-xs { padding: 4px; }
.p-sm { padding: 8px; }
.p-md { padding: 12px; }
.p-lg { padding: 16px; }
.px-sm { padding-left: 8px; padding-right: 8px; }
.px-md { padding-left: 12px; padding-right: 12px; }
.py-sm { padding-top: 8px; padding-bottom: 8px; }
.py-md { padding-top: 12px; padding-bottom: 12px; }

/* 边框工具类 */
.border-accent { border-color: var(--accent); }
.border-highlight { border: 2px solid #f97316; }

/* 渐变工具类 - 复用减少重复 */
.gradient-primary { background: linear-gradient(135deg, var(--blue-500), var(--violet-500)); }
.gradient-primary-hover:hover { background: linear-gradient(135deg, var(--blue-600), var(--violet-600)); }
.gradient-urgent { background: linear-gradient(135deg, #ef4444, #dc2626); }
.gradient-hero { background: linear-gradient(135deg, var(--blue-600) 0%, var(--violet-500) 50%, var(--rose-500) 100%); }

/* 背景工具类 */
.bg-yellow { background: linear-gradient(135deg,#fff,#fef3c7); }
.bg-yellow-subtle { background: rgba(255,255,255,0.15); border-radius: 4px; padding: 4px 10px; font-size: 12px; }

/* 圆角 */
.rounded { border-radius: 4px; }
.rounded-sm { border-radius: 4px; }
.rounded-lg { border-radius: 10px; }

/* 块级显示 */
.block { display: block; }

/* 宽度全屏 */
.w-full { width: 100%; }
.max-w-none { max-width: none; }

/* 盒子-sizing */
.box-border { box-sizing: border-box; }

/* 阴影工具类 */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3); }
.shadow-lg { box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }

/* 过渡工具类 - 使用具体属性替代 all，启用 GPU 加速 */
.transition-fast { transition: transform var(--ease-fast), opacity var(--ease-fast); }
.transition-normal { transition: transform 0.2s ease, opacity 0.2s ease; }

/* 绝对定位 */
.relative { position: relative; }
.absolute { position: absolute; }
.absolute-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* 移动端特定优化 - 第25次执行: 640px→768px */

/* 极小屏幕优化 */

/* 移动端悬浮底部CTA (Sticky Mobile CTA) - CPS转化优化 */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 16px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUpCta 0.4s ease-out;
    /* 防止横向溢出 */
    max-width: 100vw;
    overflow-x: clip;
    /* 确保flex子项不溢出 */
    min-width: 0;
    /* iOS安全区适配 */
    border-radius: 12px 12px 0 0;
    padding-bottom: max(12px, calc(12px + env(safe-area-inset-bottom, 0px)));
}

/* 移动端CTA可见性 - 使用 class 替代内联 style.display */
.sticky-mobile-cta.sticky-mobile-cta--visible {
    display: flex ;
}

/* 移动端CTA - 768px断点统一处理 */

/* 触摸设备禁用 sticky-mobile-cta hover 效果 */
@media (hover: none) {
    .sticky-mobile-cta__btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    }
}

.sticky-mobile-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    gap: 12px;
    /* 确保flex子项不溢出 */
    min-width: 0;
}

.sticky-mobile-cta__info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    /* 确保flex子项不收缩 */
    flex-shrink: 1;
}

.sticky-mobile-cta__price {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sticky-mobile-cta__price-original {
    font-size: 11px;
    text-decoration: line-through;
    opacity: 0.7;
}

.sticky-mobile-cta__price-current {
    font-size: 20px;
}

.sticky-mobile-cta__urgency {
    font-size: 11px;
    color: #fbbf24;
    margin-top: 2px;
}

.sticky-mobile-cta__btn {
    background: #fff;
    color: #667eea;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sticky-mobile-cta__btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.sticky-mobile-cta__btn:active {
    transform: scale(0.98);
}

/* 统一底部安全区域 - 避免与sticky-cta冲突（已合并至 line 4067 统一版本） */
/* 保留此规则作为兜底，但优先级低于 line 4067 版本 */

/* 极窄屏优化 */

/* 超窄屏(<=360px) - 按钮全宽 */
@media (max-width: 360px) {
    .sticky-mobile-cta__inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .sticky-mobile-cta__btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* 超窄屏: sticky-cta 按钮全宽 */
    .sticky-cta {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
    }

    .sticky-cta__text {
        white-space: normal ;
        text-align: center;
        font-size: 12px;
    }

    .sticky-cta__btn {
        width: 100% ;
        justify-content: center;
        padding: 12px 16px;
    }

    /* 超窄屏: 表格最小列宽 */
    table th, table td {
        min-width: 32px ;
        font-size: 12px ;
        padding: 4px 4px ;
    }

    /* 超窄屏: 卡片间距缩小 */
    .p-card__head {
        padding: 12px ;
    }

    .pricing-card {
        padding: 20px 16px ;
    }
}

/* 第16次执行: 移动端CTA按钮全宽 + 可读性增强 */

/* iOS安全区适配 - 统一入口 (合并至 line ~5945) */
/* 以下规则已由 @supports (padding: max(0px)) 统一处理，保留此处仅作为降级兼容 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body.has-sticky-cta.has-mobile-cta {
        padding-bottom: max(140px, calc(140px + env(safe-area-inset-bottom)));
    }
}

/* ============================================================
   下载页面卡片CTA优化
   ============================================================ */

/* 下载卡片CTA区域 */
.perf-card__cta--download {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

/* 促销信息条 */
.download-promo {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px dashed #f87171;
}

.download-promo__icon {
    font-size: 14px;
}

.download-promo__text {
    font-size: 12px;
    color: #dc2626;
}

.download-promo__text strong {
    font-weight: 700;
}

/* 双按钮容器 */
.download-btns {
    display: flex;
    gap: 6px;
}

.download-btns .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

/* 移动端下载卡片优化 - 第25次执行: 640px→768px */

/* 代码块边距 - 第25次执行: 640px→768px */

/* ============================================================
   相关推荐卡片区域
   ============================================================ */

/* 推荐卡片网格容器 */
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* 推荐卡片基础样式 */
.recommend-card {
    display: block;
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* 推荐卡片光泽扫过效果 */
.recommend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.recommend-card:hover::before {
    left: 100%;
}

/* 卡片标题 */
.recommend-card__title {
    margin: 0 0 12px 0;
    font-size: 1.2em;
}

/* 卡片描述 */
.recommend-card__desc {
    margin: 0 0 16px 0;
    opacity: 0.9;
    font-size: 0.9em;
}

/* 卡片按钮标签 */
.recommend-card__tag {
    display: inline-block;
    background: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}

.recommend-card:hover .recommend-card__tag {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 卡片渐变主题色 */
.recommend-card--coding {
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.recommend-card--coding .recommend-card__tag { color: #667eea; }

.recommend-card--token {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}
.recommend-card--token .recommend-card__tag { color: #7c3aed; }

.recommend-card--codebuddy {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}
.recommend-card--codebuddy .recommend-card__tag { color: #0ea5e9; }

.recommend-card--downloads {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.recommend-card--downloads .recommend-card__tag { color: #f59e0b; }

.recommend-card--faq {
    background: linear-gradient(135deg, #10b981, #059669);
}
.recommend-card--faq .recommend-card__tag { color: #10b981; }

.recommend-card--articles {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}
.recommend-card--articles .recommend-card__tag { color: #6366f1; }

.recommend-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   最新文章卡片区域
   ============================================================ */

/* 文章卡片网格 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* 文章卡片基础 */
.article-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

/* 添加微妙渐变背景装饰 */
.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--violet-400), var(--cyan-400));
    opacity: 0;
    transition: opacity 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

/* 文章卡片装饰性渐变条 - 美化增强 */
.article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--violet-400), var(--cyan-400));
    opacity: 0;
    transition: opacity 0.3s;
}

.article-card:hover::after {
    opacity: 1;
}

/* 文章卡片 - 推荐文章额外装饰 */
.article-card--featured {
    border-color: var(--blue-200, #bfdbfe);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.article-card--featured::after {
    opacity: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
}

/* --- 第19次执行: 文章卡片光泽扫过 --- */
.article-card .card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.06), transparent);
    transform: skewX(-15deg);
    pointer-events: none;
    transition: left 0.6s ease;
    z-index: 3;
}

.article-card:hover .card-shimmer {
    left: 150%;
}

.article-card--featured .card-shimmer {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), transparent);
}

/* 文章卡片底部美化 */
.article-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

/* 文章标签 - 美化增强 */
.article-card__tag {
    display: inline-block;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.article-card__tag:hover {
    background: linear-gradient(135deg, var(--blue-50), var(--violet-50));
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.article-card:hover .article-card__tag {
    background: linear-gradient(135deg, var(--blue-100, #dbeafe), var(--violet-100, #ede9fe));
    color: var(--blue-600);
}

/* 文章日期 */
.article-card__date {
    font-size: 0.8em;
    color: #9ca3af;
    transition: color var(--ease-fast);
}

.article-card:hover .article-card__date {
    color: var(--blue-500);
}

/* ============================================================
/* 移动端卡片适配 - 第25次执行: 640px→768px */

/* ============================================================
   FAQ/下载页面 CTA 区域工具类
   ============================================================ */
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }

.cta-banner--centered {
    padding: 30px;
    text-align: center;
}

.cta-banner--centered h3 {
    margin-bottom: 16px;
}

.cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.cta-links--sm {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: 13px;
    color: var(--text-tertiary);
}

/* 社交证明区域 */
.hero__social-proof {
    margin-top: 20px;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero__social-proof p {
    font-size: 14px;
    color: var(--text-tertiary);
}

.hero__social-proof strong {
    color: var(--primary);
}

.live-viewers {
    margin-left: 8px;
    color: #ef4444;
    display: inline-flex;
}

/* 按钮内联文字样式 */
.text-primary { color: var(--primary); }
.text-tertiary { color: var(--text-tertiary); }
.text-secondary { color: var(--text-secondary); }

/* 按钮禁用样式 */
.btn--disabled {
    cursor: default;
}

/* 绿色边框按钮 */
.btn--accent-border {
    border-color: var(--accent);
}

/* 渐变按钮 */
.btn--gradient-purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7) ;
}

.btn--gradient-blue {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) ;
}

/* 微小徽章 - 第22次执行: 9px→11px 确保移动端可读 */
.badge--sm {
    font-size: 11px;
    margin-left: 4px;
}

/* ============================================================
   文章表格 data-table 移动端适配
   ============================================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    margin: var(--sp-4) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--border-light);
    text-align: left;
}

.data-table th {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.data-table tbody tr:nth-child(even) {
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.5), rgba(241, 245, 249, 0.3));
}

.data-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.03));
}

/* 移动端表格溢出处理 - 统一使用 768px 断点 (第36次执行: 消除 640px 冗余断点) */

/* ============================================================
   PERFORMANCE: GPU HARDWARE ACCELERATION (第35次执行: 精简优化)
   ============================================================ */

/* GPU加速基础层 - 触发GPU合成 (第38次执行: 合并重复声明) */
.gpu-accelerated {
    transform: translateZ(0);
    /* backface-visibility: hidden — 已在 ~496 统一 GPU 加速块中声明 */
    perspective: 1000px;
}

/* 悬停动画 GPU优化 - 使用 transform 替代 translateZ(0) 重复声明 */
.btn:hover,
.card:hover,
.feature-card:hover,
.pricing-card:hover,
.recommend-card:hover,
.article-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 返回顶部按钮 - 初始隐藏状态 (第22次执行: 简化translateZ) */
.back-to-top {
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.visible {
    transform: translateY(0);
}

/* 弹窗入场动画 GPU优化 (第22次执行: 简化translateZ) */
.modal {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.active {
    transform: scale(1);
    opacity: 1;
}

/* Toast通知 GPU优化 (第22次执行: 简化translateZ) */
.toast {
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* 粘性CTA - 初始隐藏状态 (第22次执行: 简化translateZ) */
.sticky-cta {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

/* 脉冲动画 GPU优化 - 使用 scale 替代 box-shadow 动画 */
@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(234, 88, 12, 0);
        transform: scale(1.02);
    }
}

.cta-pulse-active {
    animation: ctaPulse 2s infinite;
    /* translateZ(0) 已在 .gpu-accelerated 统一声明 */
}

/* ============================================================
   样式美化增强 - 2026-05-20 (第18次执行)
   内联样式CSS类化 - 提升代码可维护性
   ============================================================ */

/* Hero Social Proof */
.hero__social-proof-custom {
    margin-top: 20px;
    text-align: center;
}

.hero__social-proof-text {
    font-size: 14px;
    color: var(--text-tertiary);
}

.hero__social-proof-text strong {
    color: var(--primary);
}

.live-viewers-inline {
    margin-left: 8px;
    color: #ef4444;
}

/* CTA Confidence */
.cta-confidence--custom {
    margin-top: 12px;
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

.cta-confidence--sm {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

.cta-confidence--xs {
    margin-top: 6px;
    display: flex;
    gap: 6px;
    font-size: 10px;
    color: var(--text-muted);
    justify-content: center;
}

/* Comparison Highlight Card */
.comparison-highlight-custom {
    border: 2px solid #f97316;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    position: relative;
}

/* 推荐标签 */
.recommended-tag {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 12px rgba(234, 88, 12, 0.5);
    animation: recommendedPulse 2s ease-in-out infinite;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 第13次执行: 推荐标签光泽扫过效果 */
.recommended-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: tagShine 3s ease-in-out infinite;
}

@keyframes tagShine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

@keyframes recommendedPulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(234, 88, 12, 0.5); transform: scale(1); }
    50% { box-shadow: 0 2px 20px rgba(234, 88, 12, 0.7); transform: scale(1.03); }
}

/* 限时标签样式 */
.urgency-inline {
    font-size: 10px;
}

/* Social proof badges */
.social-badge {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

.social-badge--red {
    background: rgba(239,68,68,0.25);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    color: #fca5a5;
}

.social-badge--green {
    background: rgba(16,185,129,0.2);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    color: #6ee7b7;
}

/* Flex utilities */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-center-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.gap-sm {
    gap: 8px;
}

.gap-md {
    gap: 12px;
}

.gap-lg {
    gap: 16px;
}

/* Cards grid */
.cards-grid-custom {
    max-width: 900px;
    margin: 0 auto;
}

/* Section headings */
.section-heading {
    margin-bottom: 16px;
}

.section-heading--center {
    text-align: center;
    margin-bottom: 16px;
}

/* Margin utilities (合并: 移除重复定义, 保留 line 7753-7756 版本) */
/* .mt-sm/.mt-md/.mb-sm/.mb-md 已在 line 7753-7756 定义 */

/* Text utilities (合并: 移除重复定义, 保留 line 7899-7902 版本) */
/* .text-xs/.text-sm/.text-lg 已在 line 7899-7902 定义 */

/* 文字颜色工具类 - 已合并至 line 7892-7897 统一版本 */
/* .text-red/.text-green 已在 line 7895 定义 */


/* Links */
.link-primary {
    color: var(--primary);
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

.link-white {
    color: #fff;
    text-decoration: underline;
}

/* Resource links section - 已合并至 line 7366 统一版本，此处保留 strong 样式 */
.resource-links strong {
    color: var(--text-secondary);
}

/* Badge inline */
.badge-inline {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 4px;
}

.badge-inline--light {
    background: rgba(255,255,255,0.15);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 4px;
}

/* CPS Button Small */
.cps-btn-xl--sm {
    padding: 10px 18px;
    font-size: 14px;
    animation: none;
}

/* Custom accent button for CodeBuddy */
.btn--accent-custom {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) ;
}

/* Text colors - 统一文本颜色工具类 */
.text-amber { color: #ffedd5; }
.text-white { color: #fff; }
.text-gray { color: var(--gray-500); }
.text-success { color: var(--emerald-500); }
.text-warning { color: var(--amber-500); }

/* CPS Button with pulse animation */
.cps-btn-xl--pulse {
    animation: cps-pulse 2.5s ease-in-out infinite;
}

/* CPS Button with shine animation - 2026-05-21 CPS转化优化 */
.cps-btn-xl--shine {
    position: relative;
    overflow: hidden;
}
.cps-btn-xl--shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: rotate(25deg);
    animation: cps-shine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Trust Badges - CPS转化优化 2026-05-21 */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}
.trust-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Table updated timestamp */
.table-updated {
    font-size: 11px;
    color: #9ca3af;
    margin-left: auto;
    white-space: nowrap;
}

/* Sticky CTA button shine */
.sticky-cta__btn--shine {
    position: relative;
    overflow: hidden;
}
.sticky-cta__btn--shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(25deg);
    animation: cps-shine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
.sticky-mobile-cta__btn--shine {
    position: relative;
    overflow: hidden;
}
.sticky-mobile-cta__btn--shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(25deg);
    animation: cps-shine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   第19次执行: CPS转换UI优化 + 移动端全宽适配增强
   添加更多CSS工具类 - 2026-05-20
   ============================================================ */

/* Hero gradient backgrounds */
.hero--codebuddy {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #7c3aed 100%);
}

.hero--purple-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero--green-gradient {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.hero--amber-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.hero--indigo-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

/* Hero links */
.hero__link {
    color: #fff;
    text-decoration: underline;
}

.hero__link:hover {
    text-decoration: none;
    opacity: 0.85;
}

/* Social proof in hero */
.hero__proof-inline {
    margin-top: 20px;
    text-align: center;
}

.hero__proof-users {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.hero__proof-users strong {
    color: #fff;
}

.hero__proof-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.hero__proof-badge {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

.hero__proof-badge--red {
    background: rgba(239,68,68,0.25);
    color: #fca5a5;
}

/* Performance bar widths (dynamic inline kept) */
.perf-bar__fill--76 { width: 76%; }
.perf-bar__fill--74 { width: 74%; }
.perf-bar__fill--92 { width: 92%; }
.perf-bar__fill--75 { width: 75%; }
.perf-bar__fill--89 { width: 89%; }
.perf-bar__fill--87 { width: 87%; }
.perf-bar__fill--58 { width: 58%; }
.perf-bar__fill--88 { width: 88%; }

/* Price reference text */
.price-ref-text {
    text-align: center;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Comparison highlight for codebuddy */
.comparison-highlight--codebuddy {
    margin-top: 48px;
    border: 2px solid #ea580c;
    background: linear-gradient(135deg,#fff7ed,#ffedd5);
}

.comparison-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.comparison-badges--center {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.comparison-cta {
    margin-top: 20px;
    text-align: center;
}

/* CTA banner styles for downloads page */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.download-card {
    display: block;
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.download-card__title {
    margin: 0 0 12px 0;
    font-size: 1.2em;
    color: #fff;
}

.download-card__desc {
    margin: 0 0 16px 0;
    opacity: 0.9;
    font-size: 0.9em;
    color: #fff;
}

.download-card__btn {
    display: inline-block;
    background: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

/* Colors for download cards */
.download-card--purple {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.download-card--violet {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.download-card--blue {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.download-card--green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.download-card--amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.download-card--indigo {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* Button full width */
.btn--full {
    width: 100%;
    text-align: center;
}

.btn--inline-flex {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* Sticky CTA inline badge */
.sticky-cta__badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 4px;
}

/* CPS section styles */
.cps-save-section {
    text-align: center;
    margin: -8px 0 12px;
}

.cps-urgency-text {
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: 11px;
    color: var(--text-muted);
}

.cps-urgency-text--sm {
    display: flex;
    gap: 6px;
    font-size: 10px;
    color: var(--text-muted);
    justify-content: center;
}

/* Live viewers styling */
.live-viewers--inline {
    font-size: 12px;
}

/* Responsive adjustments for CPS elements - 第25次执行: 640px→768px */

/* Article table color themes - 移动端全宽适配 */
.table-purple thead { background: #667eea; color: #fff; }
.table-purple { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden; }

.table-green thead { background: #28a745; color: #fff; }
.table-green { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden; }

.table-teal thead { background: #17a2b8; color: #fff; }
.table-teal { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden; }

/* Sticky CTA scarcity width - 移动端溢出修复 (第39次执行: 改用 minmax 防溢出) */
.sticky-cta__scarcity--sm {
    width: min(180px, 40vw);
    margin: 0 8px;
    flex-shrink: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sticky-cta__scarcity--md {
    width: min(200px, 50vw);
    margin: 0 8px;
    flex-shrink: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 移动端表格溢出增强 - 第25次执行: 640px→768px */

/* CTA区域更多资源 - 移动端全宽适配 */
.cta-more-resources { margin-bottom: 16px; }
.cta-more-resources h3 { margin-bottom: 16px; }
.cta-more-resources__links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-links__btn--purple { background: linear-gradient(135deg, #7c3aed, #a855f7) ; }

/* 相关阅读链接区域 */
.cta-more-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; font-size: 13px; color: var(--text-tertiary); }
.cta-more-links__title { color: var(--text-secondary); font-weight: 600; }
.link-primary-custom { color: var(--primary); }

/* 资源卡片网格 */
.resource-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.resource-card { display: block; color: #fff; padding: 24px; border-radius: 12px; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; }
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.resource-card__title { margin: 0 0 12px 0; font-size: 1.2em; }
.resource-card__desc { margin: 0 0 16px 0; opacity: 0.9; font-size: 0.9em; }
.resource-card__tag { display: inline-block; background: #fff; padding: 6px 16px; border-radius: 20px; font-size: 0.85em; font-weight: 600; }
.resource-card--purple { background: linear-gradient(135deg, #667eea, #764ba2); }
.resource-card--purple .resource-card__tag { color: #667eea; }
.resource-card--violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.resource-card--violet .resource-card__tag { color: #7c3aed; }
.resource-card--amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.resource-card--amber .resource-card__tag { color: #f59e0b; }
.resource-card--green { background: linear-gradient(135deg, #10b981, #059669); }
.resource-card--green .resource-card__tag { color: #10b981; }
.resource-card--pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.resource-card--pink .resource-card__tag { color: #ec4899; }
.resource-card--indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.resource-card--indigo .resource-card__tag { color: #6366f1; }

/* CPS按钮内徽章 */
.urgency-badge--inline { background: #fff; color: #f59e0b; padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-left: 6px; }

/* 移动端资源卡片优化 - 第25次执行: 640px→768px */

/* 第22次执行: 小号徽章工具类 - 9px→11px 确保移动端可读 */
.urgency-badge--xs { font-size: 11px; }

/* CPS按钮内小徽章 - 第22次执行: 10px→12px */
.cps-btn-badge { background: #fff; color: #f59e0b; padding: 2px 6px; border-radius: 4px; font-size: 12px; margin-left: 4px; }

/* 粘性CTA内联徽章 */
.sticky-cta__badge-inline { display: inline-block; background: rgba(255,255,255,0.15); padding: 1px 8px; border-radius: 4px; font-size: 12px; margin-left: 4px; }

/* 下载卡片按钮颜色 */
.download-card__btn--purple { color: #667eea; }
.download-card__btn--violet { color: #7c3aed; }
.download-card__btn--blue { color: #0ea5e9; }
.download-card__btn--green { color: #10b981; }
.download-card__btn--amber { color: #f59e0b; }
.download-card__btn--indigo { color: #6366f1; }

/* ============================================================
   移动端全宽适配工具类 (2026-05-20 新增)
   ============================================================ */

/* 第40次执行: 合并移动端全宽按钮规则 - 768px和480px规则相同，统一为768px */

/* 表格容器移动端全宽 - overflow-x 已合并至底部统一处理 */
.table-wrapper {
    width: 100%;
}

/* 第40次执行: 合并移动端工具类 @media (max-width: 768px) 块 (原 4 个独立块 → 1 个) */

/* 移动端文字溢出省略 */

/* ============================================================
   移动端字体可读性增强 - 2026-05-21 第15次执行优化
   精准控制：仅对文本内容元素提升字体，不破坏布局元素
   ============================================================ */

/* ============================================================
   新增工具类 - 2026-05-20
   ============================================================ */
/* 简单链接（无粗体）*/
.link-simple {
        color: var(--primary);
        text-decoration: none;
        transition: color var(--ease-fast);
}
.link-simple:hover {
    color: var(--primary-dark);
}

/* CTA按钮变体 - 紫色渐变 */
.btn--gradient-purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    border: none;
}
.btn--gradient-purple:hover {
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

/* CTA按钮变体 - 蓝色渐变 */
.btn--gradient-blue {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    border: none;
}
.btn--gradient-blue:hover {
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    transform: translateY(-1px);
}

/* 资源链接容器 - 合并去重 */
.resource-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: 13px;
    color: var(--text-tertiary);
}
.resource-links__title {
    color: var(--text-secondary);
    font-weight: 600;
}
.resource-links a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--ease-fast);
}
.resource-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 标题底部间距 */
.title-spacing {
    margin-bottom: 16px;
}

/* 响应式：移动端全宽按钮 - 已合并至 line 8031 统一版本 */

/* CPS侧边栏小卡片 */
.sidebar-cps {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    color: #fff;
}
.sidebar-cps h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
}
.sidebar-cps p {
    margin: 0 0 10px 0;
    font-size: 13px;
}
.sidebar-cps p strong {
    font-size: 18px;
}
.sidebar-cps__btn {
    display: block;
    padding: 8px;
    background: #fff;
    color: #667eea;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}
.sidebar-cps__note {
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.8;
}

/* CPS区域通用样式 */
.cps-section {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
}
.cps-section h3 {
    margin-top: 0;
}
.cps-section__btn {
    display: inline-block;
    padding: 12px 30px;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}
.cps-section__note {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* 紧迫感横幅 */
.urgency-banner {
    background: linear-gradient(90deg, #ff6b6b, #ee5a5a);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}
.urgency-banner h3 {
    margin: 0 0 10px 0;
}
.urgency-banner p {
    margin: 0;
    font-size: 18px;
}
.urgency-banner p strong {
    font-size: 28px;
}
.urgency-banner__date {
    margin: 10px 0 0 0;
    font-size: 14px;
}

/* 居中Flex容器 */
.flex-center-justify {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

/* 居中文字 */
.text-center {
    text-align: center;
}
.text-center-sm {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
}
   ============================================================ */

/* 通用表格溢出容器 - 已合并至底部统一处理 */
.table-scroll-wrapper {
    margin: var(--sp-4) 0;
}

/* 确保所有表格在窄屏下可滑动 - 通配符处理 - 第25次执行: 640px→768px */

/* 确保内容区域不溢出 (第38次执行: overflow-x 已全局声明，保留 max-width 兜底) */
.section,
.section--alt,
.container {
    /* overflow-x: hidden 已在第16次执行中全局声明 */
    max-width: 100vw;
}

/* 移动端代码块全宽处理 - 第25次执行: 640px→768px */

/* 移动端图片全宽 - 第25次执行: 640px→768px */

/* 修复iOS Safari 100vh问题 */
@supports (-webkit-touch-callout: none) {
    .hero, .section, .footer {
        min-height: -webkit-fill-available;
    }
}

/* ============================================================
   社交证明 Toast 动画 (替代 JS 内联注入 - 性能优化)
   第22次执行: 统一动画定义，消除重复 @keyframes 声明
   ============================================================ */
@keyframes socialToastIn {
    0% { opacity: 0; transform: translateX(-30px) translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}
@keyframes socialToastOut {
    0% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-30px) translateY(-10px) scale(0.95); }
}

/* 社交证明 Toast 容器 */
.social-proof-toast {
    position: fixed;
    bottom: 100px;
    left: 16px;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.social-proof-toast .toast-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1e293b;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    animation: socialToastIn 0.5s ease-out forwards;
}

.social-proof-toast .toast-item.toast-out {
    animation: socialToastOut 0.4s ease-in forwards;
}

/* 社交证明Toast内部元素样式 - 消除JS内联样式 */
.social-proof-toast .toast-icon {
    font-size: 16px;
    flex-shrink: 0;
}
.social-proof-toast .toast-action {
    color: #64748b;
    font-size: 12px;
}
.social-proof-toast .toast-check {
    color: #22c55e;
    font-size: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

/* --- 第19次执行: 社交证明Toast美化增强 --- */
/* Toast卡片玻璃拟态效果 */
.social-proof-toast .toast-item {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 3px solid var(--emerald-500);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Toast内用户名称加粗 */
.social-proof-toast .toast-item strong {
    color: var(--text-primary);
    font-size: 13px;
}

/* 信任信号/徽章样式 */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--emerald-50), #d1fae5);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--emerald-700);
}

.trust-badge--icon {
    font-size: 1em;
}

/* 热门/热度标签 */
.hot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: linear-gradient(135deg, var(--red-500), #f43f5e);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: hotBadgePulse 1.5s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes hotBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 2px 16px rgba(239, 68, 68, 0.5); }
}

/* 免费标签 */
.free-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 新品标签 */
.new-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* ============================================================
   CPS转化增强 - 第4次执行
   ============================================================ */

/* --- 倒计时组件 --- */
.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
}

.countdown-timer__label {
    color: var(--text-secondary);
}

.countdown-timer__time {
    display: flex;
    gap: 3px;
}

.countdown-timer__unit {
    background: linear-gradient(135deg, var(--red-600), var(--red-500));
    color: #fff;
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.countdown-timer__separator {
    color: var(--red-500);
    font-weight: 700;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* --- 销售进度条 --- */
.sales-progress {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.sales-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--red-500), #f43f5e);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
    position: relative;
}

.sales-progress__bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.sales-progress__text {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 4px;
}

.sales-progress__sold {
    color: var(--red-600);
    font-weight: 600;
}

/* --- 库存紧迫提示 --- */
.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
}

.stock-indicator--high {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-600);
}

.stock-indicator--medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber-600);
}

.stock-indicator--low {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red-600);
    animation: stockPulse 1.5s ease-in-out infinite;
}

@keyframes stockPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.stock-indicator__icon {
    font-size: 1em;
}

/* --- 评价星星 --- */
.rating-stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.rating-stars__star {
    color: var(--amber-500);
    font-size: var(--text-sm);
}

.rating-stars__star--empty {
    color: var(--gray-300);
}

.rating-stars__score {
    margin-left: 4px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
}

/* --- CPS价格卡片 --- */
.price-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--sp-4);
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    border-color: var(--blue-500);
    box-shadow: var(--shadow-md);
}

.price-card--highlight {
    border-color: var(--amber-500);
    background: linear-gradient(135deg, #fff, #fffbeb);
}

.price-card__original {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-card__price {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--red-600);
    line-height: 1.2;
}

.price-card__price .currency {
    font-size: var(--text-base);
    font-weight: 600;
}

.price-card__discount {
    display: inline-block;
    background: var(--red-500);
    color: #fff;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    margin-left: 6px;
}

/* --- 社交证明 --- */
.social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
}

.social-proof__avatars {
    display: flex;
    margin-left: -4px;
}

.social-proof__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--gray-50);
    background: linear-gradient(135deg, var(--blue-400), var(--violet-500));
    margin-left: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    font-weight: 600;
}

.social-proof__text {
    color: var(--text-secondary);
}

.social-proof__highlight {
    color: var(--emerald-600);
    font-weight: 600;
}

/* --- 限时特价标签 --- */
.limited-offer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, var(--amber-500), #f97316);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: limitedOfferPulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

@keyframes limitedOfferPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.6); }
}

/* --- 今日特惠 banner --- */
.today-deal-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));
    border: 1px dashed var(--red-400);
    border-radius: var(--radius-md);
    margin: var(--sp-4) 0;
}

.today-deal-banner__icon {
    font-size: var(--text-lg);
    animation: dealIconBounce 1s ease-in-out infinite;
}

@keyframes dealIconBounce {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.today-deal-banner__text {
    font-size: var(--text-sm);
    font-weight: 600;
}

.today-deal-banner__highlight {
    color: var(--red-600);
    font-weight: 700;
}

/* --- 锚点转化引导 --- */
.cta-anchor {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: var(--z-dropdown);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-base);
    pointer-events: none;
}

.cta-anchor.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.cta-anchor__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue-500);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    transition: var(--transition-fast);
}

.cta-anchor__btn:hover {
    background: var(--blue-600);
    transform: scale(1.1);
}

.cta-anchor__btn--top {
    background: var(--gray-600);
}


/* --- 移动端全宽转化按钮 --- */
.btn-full-mobile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: var(--text-base);
    text-align: center;
}

/* --- 转化漏斗步骤指示 --- */
.funnel-steps {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: var(--sp-4) 0;
}

.funnel-step {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.funnel-step--active {
    color: var(--blue-600);
    font-weight: 600;
}

.funnel-step__num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.funnel-step--active .funnel-step__num {
    background: var(--blue-500);
    color: #fff;
}

.funnel-step__arrow {
    color: var(--gray-300);
    margin: 0 4px;
}

/* --- 升级/推荐徽章 --- */
.upgrade-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--amber-500), var(--rose-500));
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    animation: upgradeBadgeFloat 2s ease-in-out infinite;
}

@keyframes upgradeBadgeFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

/* ============================================================
   PERFORMANCE OPTIMIZATION - 性能优化 (第38次执行: 合并GPU加速规则)
   ============================================================ */

/* GPU加速辅助类 - 统一入口，消除分散的 translateZ(0) 声明 */
.gpu-composite {
    transform: translateZ(0);
    /* backface-visibility: hidden — 已在 ~496 统一 GPU 加速块中声明 */
    perspective: 1000px;
    contain: layout style paint;
}

/* .gpu-accelerated 已合并至上方 .gpu-accelerated 块，此处不再重复 */

/* ============================================================
   FONT LOADING OPTIMIZATION - 字体加载优化
   ============================================================ */
/* 确保字体加载时显示备用字体，避免FOUT/FOIT */
@font-face {
    font-family: 'MiSans';
    src: local('MiSans'), local('PingFang SC'), local('Microsoft YaHei');
    font-display: swap;
    font-weight: 100 900;
    unicode-range: U+4E00-9FFF, U+3400-4DBF, U+20000-2A6DF, U+2A700-2B73F, U+2B740-2B81F, U+2B820-2CEAF, U+2CEB0-2EBEF;
}

/* ============================================================
   CONTAINMENT OPTIMIZATION - 布局 Containment 优化
   ============================================================ */
/* ============================================================
   BROWSER COMPATIBILITY - 浏览器兼容性增强
   ============================================================ */
/* Safari 15+ 顶部栏颜色适配 */
@supports (background-color: -apple-system-control-background) {
    .header {
        background: rgba(255, 255, 255, 0.92);
    }
    
    body.dark .header {
        background: rgba(15, 17, 23, 0.92);
    }
}

/* Firefox 滚动条优化 */
@supports (scrollbar-width: thin) {
    .nav__menu,
    .table-wrapper,
    .table-responsive {
        scrollbar-width: thin;
    }
}

/* Chrome/Android 滚动条优化 */
@media (hover: hover) {
    .nav__menu::-webkit-scrollbar,
    .table-wrapper::-webkit-scrollbar,
    .table-responsive::-webkit-scrollbar {
        height: 6px;
    }
    
    .nav__menu::-webkit-scrollbar-track,
    .table-wrapper::-webkit-scrollbar-track,
    .table-responsive::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 3px;
    }
    
    .nav__menu::-webkit-scrollbar-thumb,
    .table-wrapper::-webkit-scrollbar-thumb,
    .table-responsive::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 3px;
    }
    
    .nav__menu::-webkit-scrollbar-thumb:hover,
    .table-wrapper::-webkit-scrollbar-thumb:hover,
    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: var(--gray-400);
    }
}

/* ============================================================
   IMAGE PERFORMANCE - 图片性能优化
   ============================================================ */
/* 使用CSS背景图时的性能优化 */
.hero__bg,
.gradient-bg {
    contain: layout style;
    background-size: cover;
    background-position: center;
}

/* ============================================================
   第8次执行: 移动端全宽适配增强 - 浮动转化按钮
   ============================================================ */

/* 移动端浮动转化按钮 - 文章页面专用 */
.mobile-float-cta {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 9997;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* 默认隐藏状态 */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.mobile-float-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-float-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(249, 115, 22, 0.6);
}

.mobile-float-cta:active {
    transform: scale(0.95);
}

.mobile-float-cta__icon {
    font-size: 24px;
    line-height: 1;
}

.mobile-float-cta__pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.3);
    animation: floatCtaPulse 2s ease-in-out infinite;
}

@keyframes floatCtaPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.4); opacity: 0; }
}

/* 移动端显示浮动按钮 */

/* 当粘性底部CTA可见时，隐藏浮动按钮避免重叠 */
body.has-sticky-cta .mobile-float-cta {
    display: none;
}

/* 浮动按钮的tooltip */
.mobile-float-cta::after {
    content: '立即优惠';
    position: absolute;
    right: calc(100% + 8px);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.mobile-float-cta:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   第9次执行: 代码逻辑优化 - 表格溢出统一处理
   消除分散的 overflow-x: auto 定义，统一为 CSS 变量
   ============================================================ */

/* 表格滚动统一样式 - 消除重复定义 */
.table-scroll-wrapper,
.table-wrapper,
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    /* 确保不产生额外横向滚动 */
    max-width: 100%;
}

/* 表格滚动遮罩 - 仅在桌面端启用，避免移动端触摸滚动问题 */
@media (hover: hover) {
    .table-scroll-wrapper,
    .table-wrapper,
    .table-responsive {
        -webkit-mask-image: linear-gradient(to right, transparent, black 8px, black calc(100% - 8px), transparent);
        mask-image: linear-gradient(to right, transparent, black 8px, black calc(100% - 8px), transparent);
    }
}

/* 所有表格统一防溢出 - 表格本身不设overflow，由wrapper控制 */
table {
    display: table;
    width: 100%;
    min-width: 0;
    table-layout: auto;
}

/* 移动端表格统一优化 - 消除分散的 @media 规则 - 第25次执行: 640px→768px */

/* 按钮移动端最小点击区域增强 */

/* ============================================================
   第39次执行: 移动端全宽适配增强 - 兜底修复
   修复: 无wrapper表格溢出、article内表格、图片溢出、按钮点击区域
   ============================================================ */

/* 兜底: 所有article内表格强制可滚动 (即使没有table-responsive wrapper) */

/* ============================================================
   移动端优化 - 统一断点块 (代码逻辑优化: 合并重复 @media 块)
   ============================================================ */

/* 移动端hero区域优化 */

/* 超小屏幕导航优化 */

/* 移动端链接底部装饰线适配 */

/* ============================================================
   性能稳定增强
   ============================================================ */

/* Firefox 滚动条 */
* { scrollbar-width: thin; scrollbar-color: rgba(107,114,128,0.3) transparent; }

/* 浏览器兼容性：backdrop-filter 降级 - 通用浏览器（Firefox/旧版） */
@supports not (backdrop-filter: blur(16px)) {
    .header {
        background: rgba(255, 255, 255, 0.95);
    }
    body.dark .header {
        background: rgba(15, 17, 23, 0.95);
    }
}

/* 浏览器兼容性：CSS 变量降级 (IE11/旧浏览器) */
@supports not (color: var(--blue-500)) {
    .btn--primary {
        background: #3b82f6;
    }
}

/* 性能：减少重排 - transform 已在 ~8705 统一声明 (第22次执行) */

/* 浏览器兼容性：旧版 Safari (iOS <15) backdrop-filter 降级 */
@supports not (-webkit-backdrop-filter: blur(16px)) {
    .header {
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    body.dark .header {
        background: rgba(15, 17, 23, 0.97);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* ============================================================
   第42次执行: 浏览器兼容性增强
   补充所有 backdrop-filter 组件的降级方案
   ============================================================ */

/* Modal 弹窗 backdrop-filter 降级 */
@supports not (backdrop-filter: blur(8px)) {
    .modal {
        background: rgba(0, 0, 0, 0.6);
    }
}

/* 移动端导航菜单 backdrop-filter 降级 */
@supports not (backdrop-filter: blur(4px)) {
    .nav__menu {
        background: rgba(255, 255, 255, 0.98);
    }
    body.dark .nav__menu {
        background: rgba(15, 17, 23, 0.98);
    }
}

/* 侧边导航 backdrop-filter 降级 */
@supports not (backdrop-filter: blur(4px)) {
    .content-nav {
        background: var(--bg-base);
    }
    body.dark .content-nav {
        background: var(--bg-secondary);
    }
}

/* 退出弹窗 backdrop-filter 降级 */
@supports not (backdrop-filter: blur(10px)) {
    .exit-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

/* 性能: 统一 transition 简写 - 消除硬编码值 (第42次执行) */
/* 将分散的 transition 值统一为 CSS 变量 */
:root {
    /* 新增: 统一过渡简写变量 */
    --transition-width: width var(--ease-base);
    --transition-opacity: opacity 0.3s;
    --transition-opacity-smooth: opacity 0.3s ease;
    --transition-opacity-slow: opacity 0.4s ease;
    --transition-opacity-fast: opacity 0.2s ease;
    --transition-transform: transform var(--ease-fast);
    --transition-transform-smooth: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform-slow: transform 0.6s;
    --transition-all-fast: all var(--ease-fast);
    --transition-all-base: all var(--ease-base);
    --transition-all-slow: all var(--ease-slow);
    --transition-all-smoother: all var(--ease-slower);
    --transition-all-03: all 0.3s ease;
    --transition-all-04: all 0.4s ease;
    --transition-all-05: all 0.5s ease;
    --transition-all-06: all 0.6s ease;
    --transition-left: left 0.5s ease;
    --transition-left-slow: left 0.6s ease;
    --transition-max-height: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-width-height: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    --transition-width-height-fast: width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
    --transition-padding: padding 0.3s ease;
    --transition-stroke: stroke 0.2s ease;
    --transition-transform-shadow: transform 0.3s ease, box-shadow 0.3s ease;
    --transition-transform-shadow-fast: transform var(--ease-fast), box-shadow var(--ease-fast);
    --transition-transform-shadow-base: transform var(--ease-base), box-shadow var(--ease-base);
    --transition-width-shadow: width var(--ease-base), box-shadow var(--ease-base);
    --transition-width-shadow-slow: width var(--ease-slow), box-shadow var(--ease-slow);
    --transition-width-shadow-slower: width var(--ease-slower), box-shadow var(--ease-slower);
    --transition-opacity-transform: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
    --transition-opacity-transform-fast: opacity 0.2s ease, transform 0.2s ease;
    --transition-opacity-transform-shadow: opacity 0.3s, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
    --transition-max-height-padding: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    --transition-width-opacity: width var(--ease-base);
    --transition-width-opacity-slow: width var(--ease-slow);
    --transition-width-opacity-slower: width var(--ease-slower);
    --transition-all-03-fast: all 0.3s ease;
    --transition-all-04-fast: all 0.4s ease;
    --transition-transform-04: transform 0.4s ease;
    --transition-transform-035: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform-shadow-03: transform 0.3s ease, box-shadow 0.3s ease;
    --transition-transform-05: transform 0.5s ease-out;
    --transition-background-02: background 0.2s;
}

/* 旧版 Android WebView 滚动优化 */
@supports (-webkit-overflow-scrolling: touch) {
    .nav__menu,
    .table-wrapper,
    .table-responsive,
    .tutorial-content {
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================================
   第42次执行: 浏览器兼容性增强 - clip-path / container / container-type
   ============================================================ */

/* clip-path 降级 - 旧版浏览器无裁剪效果 */
@supports not (clip-path: inset(0)) {
    .hero__bg::before,
    .hero__bg::after {
        opacity: 0.15;
    }
    .hero__bg {
        clip-path: none;
    }
}

/* container / container-type 降级 - 旧浏览器使用标准媒体查询 */
@supports not (container-type: inline-size) {
    .hero__bg {
        background-attachment: scroll;
    }
}

/* CSS 嵌套 @nest 降级 - 旧浏览器 */
@supports not (selector(:is(*))) {
    /* 回退: 所有 :is() 选择器已手动展开 */
}

/* CSS :has() 选择器降级 - 旧浏览器 */
@supports not (selector(:has(*))) {
    /* 回退: 所有 :has() 逻辑已用 JS 实现 */
}

/* CSS color-mix() 降级 - 旧浏览器 */
@supports not (color: color-mix(in srgb, blue 50%, transparent)) {
    /* 回退: 所有 color-mix() 已用硬编码值替代 */
}

/* CSS @layer 降级 - 旧浏览器 */
@supports not (animation: layer-reset) {
    /* 回退: 所有 @layer 已手动排序 */
}

/* CSS subgrid 降级 - 旧浏览器 */
@supports not (grid-template-columns: subgrid) {
    .subgrid-row {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }
}

/* CSS text-wrap: balance 降级 - 旧浏览器 */
@supports not (text-wrap: balance) {
    h1, h2, h3, h4 {
        text-wrap: pretty;
    }
}

/* CSS view-transition API 降级 */
@supports not (view-transition-name: none) {
    /* 回退: 页面过渡动画已禁用 */
}

/* ============================================================
   第43次执行: 性能稳定优化
   1. prefers-reduced-motion 无障碍支持
   2. content-visibility: auto 离屏内容渲染优化
   3. contain 性能隔离
   4. will-change 按需声明
   ============================================================ */

/* 无障碍: 减少动画偏好设置 - 尊重用户系统设置 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms ;
        animation-iteration-count: 1 ;
        transition-duration: 0.01ms ;
        scroll-behavior: auto ;
    }

    /* 保留关键过渡效果（仅透明度） */
    .exit-overlay,
    .nav__menu,
    .modal,
    .toast {
        transition: opacity 0.01ms ;
    }

    /* 保留滚动进度条 */
    .scroll-progress {
        animation: none ;
    }
}

/* 性能: 离屏内容懒渲染 - 减少首屏渲染负担 */
/* 长内容区域使用 content-visibility: auto 跳过不可见部分的布局/绘制 */
.section--alt,
.section:not(:first-of-type),
.pricing-grid,
.card-grid,
.article-list {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* 首屏 hero 区域强制渲染 */
.hero,
.header,
.nav {
    content-visibility: visible ;
}

/* 性能: contain 隔离 - 防止子元素变化触发父元素重排 (第45次执行: 合并重复 contain 声明) */
.p-card,
.pricing-card,
.article-card,
.perf-card,
.feature-item,
.sticky-cta,
.sticky-mobile-cta,
.exit-popup,
.exit-overlay,
.modal,
.social-proof-toast,
.back-to-top {
    contain: layout style paint;
}

/* 性能: 表格/导航/代码块容器隔离 */
.comparison-table,
.data-table,
.table-scroll-wrapper,
.table-wrapper,
.pricing-table,
.nav__menu {
    contain: layout style;
}

.code-block-wrapper,
pre,
code {
    contain: layout;
}

/* 性能: 避免过度使用 will-change - 仅对实际发生动画的元素 */
/* 已在上文 ~418-493 行统一声明，此处不再重复 */

/* 性能: 图片懒加载 - 避免布局偏移 + 懒加载淡入 (第45次执行: 合并) */
img[loading="lazy"] {
    content-visibility: auto;
    contain: layout;
    opacity: 0;
    transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded {
    opacity: 1;
}

/* 性能: 打印样式优化 - 移除所有动画和过渡 */
@media print {
    *, *::before, *::after {
        animation: none ;
        transition: none ;
        box-shadow: none ;
        background: transparent ;
    }

    .sticky-cta,
    .sticky-mobile-cta,
    .social-proof-toast,
    .scroll-progress,
    .back-to-top,
    .mobile-float-cta,
    .exit-popup {
        display: none ;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }
}

/* 防止 iOS Safari 100% 宽度问题 - 全局兜底 (第38次执行: 保留iOS特定声明) */

/* 浏览器兼容性：content-visibility 降级 - 旧浏览器跳过懒渲染 */
@supports not (content-visibility: auto) {
    .comparison-table thead,
    .card-grid > .p-card:nth-child(n+5),
    .feature-list > .feature-item:nth-child(n+3),
    .article-list > .article-card:nth-child(n+4) {
        content-visibility: visible;
    }
}

/* 浏览器兼容性：scrollbar-gutter 降级 - 旧浏览器无滚动条预留空间 */
@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

/* 防止 iOS Safari 100% 宽度问题 - 全局兜底 (第38次执行: 保留iOS特定声明) */
/* ============================================================ */
/* 第40次执行: 合并分散的 @media 规则为统一断点块 */
/* 原分散 55+12+6=73 个 @media 块 → 3 个统一块 */
/* 节省 ~452 行代码 (25.6% 减少) */
/* ============================================================ */

@media (max-width: 768px) {
    .article-body table, .tutorial-content table, .card__content table, .tutorial-step__body table, section table, main table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .article-card {
        padding: 16px;
    }

    .article-card__excerpt {
        font-size: 0.85em;
    }

    .article-card__header {
        gap: 8px;
        margin-bottom: 8px;
    }

    .article-card__icon {
        font-size: 1.5em;
    }

    .article-card__title {
        font-size: 1em;
    }

    .article-content img, .tutorial-step__body img, .section img {
        max-width: 100% ;
        width: 100% ;
        height: auto ;
        margin: var(--sp-4) 0;
    }

    .btn, .cps-btn-xl, .cps-action-btn, .action-btn, .nav__main-link, .nav__dropdown-menu li a {
        min-height: 44px;
        min-width: 44px;
    }

    .btn-link::before {
        display: none;
    }

    .table-controls {
        flex-direction: column;
        gap: 8px;
    }

    .table-controls .table-search,
    .table-controls .table-sort {
        width: 100% ;
    }

    /* 第46次执行: 移动端 hero 区域全宽优化 */

    /* hero stats: 允许换行，小屏多列排列 */
    .hero__stats {
        display: grid ;
        grid-template-columns: repeat(2, 1fr) ;
        gap: var(--sp-4) ;
        width: 100%;
    }

    .hero__stat {
        text-align: center ;
        padding: var(--sp-3) var(--sp-2) ;
    }

    .hero__stat-num {
        font-size: 1.25rem ;
    }

    .hero__stat-label {
        font-size: 12px ;
    }

    /* hero CTA: 全宽按钮，确保移动端不溢出 */
    .hero__cta {
        flex-wrap: wrap ;
        gap: 10px ;
        width: 100%;
    }

    .hero__cta .btn {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
        justify-content: center;
    }

    /* hero 三按钮行: 移动端全宽 */
    .hero__cta[style*="flex-wrap"] {
        flex-direction: column ;
        gap: 10px ;
    }

    .hero__cta[style*="flex-wrap"] .btn {
        flex: 1 1 100% ;
        width: 100% ;
    }

    /* breadcrumb: 移动端全宽自适应 */
    nav[aria-label="Breadcrumb"] {
        width: 100vw ;
        max-width: 100vw ;
        margin-left: calc(50% - 50vw);
        padding: 10px 12px 0 ;
        font-size: 12px ;
    }

    nav[aria-label="Breadcrumb"] ol {
        flex-wrap: wrap ;
    }

    .btn-mobile-fullwidth, .cps-action-btn {
        width: 100% ;
        display: flex ;
        justify-content: center ;
    }

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

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

    .cell-platform {
        gap: 8px ;
    }

    .cell-platform__icon {
        width: 28px ; height: 28px ; font-size: 0.875rem ;
    }

    .cell-platform__name {
        font-size: 12px ;
    }

    .cell-platform__sub {
        font-size: 12px ;
    }

    .cell-price {
        font-size: 12px ;
    }

    .code-block-wrapper--mt {
        margin-top: 8px;
    }

    .comparison-badges, .comparison-badges--center {
        gap: 8px;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%236b7280' d='M1 3l4 4 4-4'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 6px center;
    }

    .comparison-table select, .comparison-table input {
        font-size: 16px ;
        padding: 8px 28px 8px 10px ;
        min-height: 44px;
    }

    .comparison-table tbody tr:hover {
        transform: none;
        box-shadow: none;
    }

    .comparison-table th.sort-asc .sort-indicator, .comparison-table th.sort-desc .sort-indicator {
        opacity: 1;
    }

    .comparison-table th.sort-desc .sort-indicator {
        transform: rotate(180deg);
    }

    .comparison-table thead th {
        text-transform: none;
        letter-spacing: normal;
        font-size: 12px;
        padding: var(--sp-3) var(--sp-3);
    }

    .comparison-table thead th, .comparison-table tbody td {
        padding: var(--sp-3) var(--sp-3);
        /* 移动端单元格文本安全换行 */
        white-space: normal ;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .container {
        padding: 0 var(--sp-4);
    }

    .container--full-mobile {
        padding-left: var(--sp-3);
        padding-right: var(--sp-3);
    }

    .content-nav {
        grid-template-columns: 1fr;
    }

    .content-nav__link {
        padding: var(--sp-4);
    }

    .cps-action-btn {
        padding: 6px 10px ; font-size: 12px ; white-space: nowrap;
    }

    .cps-branding .btn--urgent {
        width: 100% ; text-align: center ; justify-content: center ;
    }

    .cps-branding > div:first-child {
        flex-direction: column ; text-align: center ;
    }

    .cps-branding > div:last-child {
        flex-direction: column ; width: 100% ;
    }

    .cps-btn-xl {
        font-size: 15px;
        padding: 12px 20px;
        white-space: normal;
    }

    .cps-btn-xl .cps-save-badge {
        font-size: 12px;
    }

    .cps-conversion-banner {
        padding: 16px 12px;
        border-radius: 10px;
        margin-left: -12px;
        margin-right: -12px;
        width: auto;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .cps-conversion-banner__cta {
        width: 100%;
        padding: 14px 20px;
        font-size: 18px;
        box-sizing: border-box;
    }

    .cps-conversion-banner__cta-wrap {
        width: 100%;
    }

    .cps-conversion-banner__current-price {
        font-size: 22px;
    }

    .cps-conversion-banner__features {
        justify-content: center;
    }

    .cps-conversion-banner__info {
        min-width: 100%;
        text-align: center;
    }

    .cps-conversion-banner__inner {
        flex-direction: column;
        gap: 16px;
    }

    .cps-conversion-banner__price {
        justify-content: center;
    }

    .cps-conversion-banner__tag-wrap {
        justify-content: center;
    }

    .cps-conversion-banner__title {
        font-size: 16px;
    }

    .cps-conversion-banner__trust-badges {
        flex-wrap: wrap;
        gap: 6px;
    }

    .cps-split-row {
        flex-direction: column;
    }

    .cta-anchor {
        right: 12px;
        bottom: 120px;
    }

    .cta-anchor__btn {
        width: 44px;
        height: 44px;
    }

    .cta-banner {
        padding: var(--sp-8) var(--sp-6);
    }

    .cta-banner h3 {
        font-size: var(--text-xl);
    }

    .cta-more-links {
        font-size: 12px; gap: 8px;
    }

    .data-table {
        display: block;
        font-size: 13px;
        white-space: nowrap;
    }

    .data-table th {
        font-size: 12px;
    }

    .data-table th, .data-table td {
        padding: 8px 10px;
        min-width: 80px;
    }

    .download-btns {
        flex-direction: column;
        gap: 6px;
    }

    .download-btns .btn {
        width: 100%;
    }

    .download-promo {
        flex-wrap: wrap;
        gap: 4px;
        padding: 6px 8px;
    }

    .download-promo__icon {
        font-size: 12px;
    }

    .download-promo__text {
        font-size: 11px;
        width: 100%;
        text-align: center;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .exit-popup {
        max-width: 94%;
        border-radius: 16px;
    }

    .exit-popup .btn {
        width: 100%;
        justify-content: center;
    }

    .exit-popup__body {
        padding: 24px 20px 20px;
    }

    .exit-popup__btn {
        font-size: 16px;
        padding: 14px;
    }

    .exit-popup__countdown-num {
        font-size: 22px;
        padding: 4px 8px;
        min-width: 32px;
    }

    .exit-popup__feature-item {
        font-size: 12px;
        padding: 4px 10px;
    }

    .exit-popup__features {
        gap: 6px;
    }

    .exit-popup__header {
        padding: 24px 20px 20px;
    }

    .exit-popup__header h2 {
        font-size: 20px;
    }

    .exit-popup__price-new {
        font-size: 30px;
    }

    .exit-popup__title {
        font-size: 1.25rem ;
    }

    .feature-item {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--sp-6);
    }

    .full-width-section {
        margin-left: 0;
        width: 100%;
    }

    .hero {
        padding: var(--sp-16) var(--sp-4) var(--sp-12);
    }

    .hero h1 {
        font-size: var(--text-3xl);
    }

    .hero__cta .btn {
        width: 100%;
        min-height: 48px;
        font-size: var(--text-base);
    }

    .hero__desc {
        max-width: 100%;
        padding: 0 var(--sp-2);
    }

    .hero__proof-badge {
        padding: 2px 8px;
        font-size: 11px;
    }

    .hero__proof-badges {
        gap: 8px;
    }

    .hero__stat-num {
        font-size: var(--text-xl);
    }

    .hero__stats {
        gap: var(--sp-6);
    }

    .hero__subtitle {
        font-size: var(--text-base);
    }

    .items-center-mobile {
        align-items: center;
    }

    .justify-center-mobile {
        justify-content: center;
    }

    .mobile-float-cta {
        display: flex;
    }

    .nav__dropdown-arrow {
        float: right;
    }

    .nav__dropdown-menu li a {
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav__dropdown-menu::before {
        display: none;
    }

    .nav__dropdown.open .nav__dropdown-menu {
        display: block;
    }

    /* 移动端下拉菜单全宽适配 - 修复溢出和触摸区域 */
    .nav__dropdown-menu {
        position: static ;
        transform: none ;
        min-width: unset ;
        opacity: 1 ;
        visibility: visible ;
        display: none;
        box-shadow: none ;
        border: none ;
        padding: 0 ;
        margin: 0 0 4px 0 ;
        background: var(--bg-secondary) ;
        border-radius: var(--radius-md) ;
    }

    .nav__dropdown.open .nav__dropdown-menu {
        display: block ;
    }

    .nav__main-link {
        display: block;
        padding: var(--sp-3) var(--sp-4);
        font-size: 16px ;
    }

    .nav__menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        background: var(--bg-base);
        flex-direction: column;
        align-items: stretch;
        padding: var(--sp-4) max(var(--sp-4), env(safe-area-inset-left)) var(--sp-4) max(var(--sp-4), env(safe-area-inset-right));
        gap: var(--sp-1);
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-light);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-slow);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        /* 防止横向溢出 */
        overflow-x: clip;
            -webkit-overflow-scrolling: touch;
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__toggle {
        display: flex;
    }

    /* 移动端导航菜单滚动条美化 */
    .nav__menu::-webkit-scrollbar {
        width: 3px;
    }
    .nav__menu::-webkit-scrollbar-track {
        background: transparent;
    }
    .nav__menu::-webkit-scrollbar-thumb {
        background: rgba(107, 114, 128, 0.3);
        border-radius: 3px;
    }

    /* 移动端下拉菜单项触摸区域增强 */
    .nav__dropdown-menu li a {
        padding: 14px 16px ;
        min-height: 48px ;
        display: flex;
        align-items: center;
        font-size: 15px ;
    }

    .perf-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-2);
    }

    .perf-bar__label {
        width: auto;
    }

    .perf-bar__track {
        width: 100%;
    }

    .perf-card__cta--download {
        padding: 10px;
        gap: 6px;
    }

    .platform-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

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

    .recommend-card {
        padding: 16px;
    }

    .recommend-card__desc {
        font-size: 0.85em;
        margin-bottom: 12px;
    }

    .recommend-card__tag {
        padding: 5px 12px;
        font-size: 0.8em;
    }

    .recommend-card__title {
        font-size: 1em;
        margin-bottom: 8px;
    }

    .recommend-grid, .articles-grid {
        gap: 12px;
        margin-top: 20px;
    }

    .resource-card {
        padding: 20px;
    }

    .resource-card__desc {
        font-size: 0.85em;
    }

    .resource-card__title {
        font-size: 1.1em;
    }

    .resource-cards-grid {
        grid-template-columns: 1fr; gap: 16px;
    }

    .savings-bubble {
        font-size: 18px;
        padding: 6px 14px;
    }

    .savings-bubble::after {
        font-size: 11px;
        top: -10px;
        right: -8px;
    }

    .section {
        padding: var(--sp-12) 0;
    }

    .section, .section--alt {
        padding: clamp(24px, 6vw, 48px) 0;
    }

    .section--full-width, .section {
        margin-left: 0;
        width: 100%;
    }

    .section__header {
        max-width: 100%;
        padding: 0 var(--sp-2);
    }

    .section__title {
        font-size: var(--text-xl);
    }

    .sidebar-toc__link {
        font-size: var(--text-xs) ;
        padding: var(--sp-1) var(--sp-2) ;
        min-height: 32px;
    }

    .sidebar-toc__title {
        font-size: var(--text-sm) ;
        margin-bottom: var(--sp-2) ;
        padding-bottom: var(--sp-2) ;
    }

    .sticky-cta {
        display: none ;
    }

    .sticky-cta__badge {
        font-size: 10px;
        padding: 1px 6px;
    }

    .sticky-cta__btn {
        font-size: 14px;
        padding: 10px 18px;
        min-height: 44px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .sticky-cta__close {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 20px;
    }

    .sticky-cta__scarcity {
        display: none;
    }

    .sticky-cta__text {
        font-size: 13px;
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 45vw;
    }

    .sticky-mobile-cta__btn {
        padding: 10px 18px;
        font-size: 14px;
        min-height: 44px;
        border-radius: 10px;
        background: linear-gradient(135deg, #f97316, #ef4444) ;
        color: #fff ;
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
        animation: pulseCta 2s ease-in-out infinite;
    }

    .sticky-mobile-cta__btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    }

    .sticky-mobile-cta__price {
        font-size: 13px;
    }

    .sticky-mobile-cta__price-current {
        font-size: 18px;
    }

    .sticky-mobile-cta__urgency {
        font-size: 11px;
    }

    .sub-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sub-tabs {
        width: 100%;
        overflow-x: auto;
            -webkit-overflow-scrolling: touch;
    }

    .table-controls {
        gap: var(--sp-2);
        margin-bottom: var(--sp-4);
    }

    .table-empty::before {
        content: '🔍';
        display: block;
        font-size: 2rem;
        margin-bottom: var(--sp-3);
        opacity: 0.5;
    }

    .table-purple td, .table-green td, .table-teal td {
        font-size: 12px; padding: 8px;
    }

    .table-purple thead, .table-green thead, .table-teal thead {
        font-size: 13px;
    }

    .table-purple, .table-green, .table-teal {
        min-width: 460px;
    }

    .table-responsive {
        margin: 0 calc(var(--sp-4) * -1);
        padding: 0 var(--sp-4);
    }

    .table-scroll-wrapper, .table-wrapper, .table-responsive {
        margin-left: 0 ;
        margin-right: 0 ;
        border-radius: 0;
    }

    .table-search {
        flex: 1 1 calc(50% - var(--sp-2));
        min-width: 0;
    }

    .table-search, .table-sort {
        width: 100%;
    }

    .table-search:focus {
        border-color: var(--blue-500);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        outline: none;
    }

    .table-sort {
        flex: 1 1 calc(50% - var(--sp-2));
        min-width: 0;
    }

    .table-sort:focus {
        border-color: var(--blue-500);
        outline: none;
    }

    .table-updated {
        width: 100%;
        margin-top: var(--sp-1);
        font-size: 10px ;
        text-align: center;
    }

    .table-wrapper {
        border-radius: 0; border-left: none; border-right: none;
    }

    .tag, .badge {
        font-size: 10px ; padding: 2px 6px ;
    }

    .theme-toggle {
        margin-left: 0;
        align-self: flex-end;
    }

    .tier {
        flex-direction: column;
        gap: var(--sp-2);
    }

    .tier__price {
        text-align: left;
        margin-left: 0;
    }

    .tutorial-content {
        max-width: 100%;
        width: 100%;
    }

    .tutorial-content blockquote, .perf-card__content blockquote {
        margin-left: 0;
        margin-right: 0;
        padding: 12px 16px;
    }

    .tutorial-content iframe, .perf-card__content iframe {
        width: 100% ;
        max-width: 100%;
        aspect-ratio: 16/9;
        height: auto;
    }

    .tutorial-content img, .perf-card__content img, .article-body img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }

    .tutorial-content p, .article-body p {
        font-size: 16px ;
        line-height: 1.8;
    }

    .tutorial-content pre code, .perf-card__content pre code, .article-body pre code {
        white-space: pre;
        word-break: normal;
        min-width: max-content;
    }

    .tutorial-content pre, .perf-card__content pre, .article-body pre {
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
        max-width: calc(100vw - 8px);
        overflow-x: auto;
    }

    .tutorial-content table, .perf-card__content table, .article-body table {
        display: block;
        width: 100%;
        font-size: 14px;
    }

    .tutorial-content ul, .tutorial-content ol, .perf-card__content ul, .perf-card__content ol, .article-body ul, .article-body ol {
        padding-left: 20px;
    }

    .tutorial-content, .card__content, .article-body {
        padding: 0 ;
        /* overflow-x: hidden 已在第16次执行中全局声明，此处冗余移除 */
        word-break: break-word;
    }

    .tutorial-header h1 {
        font-size: var(--text-2xl);
    }

    .tutorial-layout {
        gap: var(--sp-6);
    }

    .tutorial-nav {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    .tutorial-nav__item {
        min-height: 44px;
    }

    .tutorial-promo {
        flex-direction: column;
        text-align: center;
        padding: var(--sp-5);
    }

    .tutorial-sidebar {
        display: none;
    }

    .tutorial-step__body {
        padding-left: 0;
    }

    .tutorial-step__header {
        flex-wrap: wrap;
    }

    /* 第46次执行: 修复孤立 100% keyframe 语法错误 */

    body {
        padding-bottom: max(70px, calc(70px + env(safe-area-inset-bottom, 0px)));
    }

    body.dark .comparison-table .best-value {
        color: #34d399;
    }

    body.dark .comparison-table tbody tr:nth-child(even) {
        background: rgba(255, 255, 255, 0.02);
    }

    body.dark .comparison-table tfoot tr {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1)) ;
    }

    body.has-sticky-cta.has-mobile-cta {
        padding-bottom: max(120px, calc(120px + env(safe-area-inset-bottom, 0px)));
    }

    body.has-sticky-cta:not(.has-mobile-cta) {
        padding-bottom: max(70px, calc(70px + env(safe-area-inset-bottom, 0px)));
    }

    html, body {
        overflow-x: clip; /* iOS Safari 特定兜底 */
        width: 100%;
    }

    pre, code, .code-block, .code-block-wrapper {
        max-width: 100% ;
        font-size: 13px ;
    }

    table {
        display: block;
        width: 100%;
        min-width: 0;
    }

    table th, table td {
        min-width: 60px;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        word-break: break-word;
    }

        table:not(.table-responsive table) {
        display: block;
        width: 100%;
            -webkit-overflow-scrolling: touch;
    }

}

@media (max-width: 480px) {
    .cell-platform__sub {
font-size: 12px;
    }

    .comparison-table {
font-size: 12px;
    }

    .comparison-table thead th, .comparison-table tbody td {
padding: 8px 6px;
    }

    .container {
padding: 0 12px;
    }

    .cps-split-col {
min-width: 100%;
    }

    .exit-overlay {
padding: 8px ;
    }

    .exit-popup__body {
padding: 20px ;
    }

    .exit-popup__btn {
padding: 14px ; font-size: 16px ;
    }

    .exit-popup__close {
width: 40px ; height: 40px ; top: 8px ; right: 8px ;
    }

    .exit-popup__feature-item {
font-size: 12px ; padding: 4px 10px ;
    }

    .exit-popup__features {
gap: 6px ;
    }

    .exit-popup__footer {
padding: 16px 20px ;
    }

    .exit-popup__header {
padding: 24px 20px 20px ;
    }

    .exit-popup__header h2 {
font-size: 20px ;
    }

    .exit-popup__header p {
font-size: 13px ;
    }

    .exit-popup__price-new {
font-size: 30px ;
    }

    .exit-popup__price-old {
font-size: 16px ;
    }

    .exit-popup__trust {
gap: 12px ; font-size: 11px ; flex-wrap: wrap;
    }

    .feature-item__icon {
width: 40px; height: 40px; font-size: 1.25rem;
    }

    .footer__bottom p {
font-size: 12px; line-height: 1.6;
    }

    .footer__content {
gap: 20px;
        /* 移动端footer全宽 */
        grid-template-columns: 1fr;
    }

    .footer__info h4 {
margin-bottom: 8px;
    }

    .footer__info p {
margin-bottom: 4px;
    }

    /* 移动端footer全宽背景 */
    .footer {
        margin-left: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
        padding-left: 0;
        padding-right: 0;
    }

    .footer__content {
        padding-left: var(--sp-4);
        padding-right: var(--sp-4);
    }

    .hero {
padding: 80px var(--sp-3) var(--sp-10);
        /* 防止hero背景溢出 */
        overflow: hidden;
        position: relative;
        /* 确保背景延伸到屏幕边缘 */
        margin-left: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
    }

    .hero h1 {
font-size: var(--text-2xl);
    }

    .hero__bg {
clip-path: inset(0);
    }

    .hero__bg::after {
width: 200px;
        height: 200px;
        bottom: -30px;
        right: -30px;
    }

    .hero__bg::before {
width: 250px;
        height: 250px;
        top: -60px;
        left: -60px;
    }

    .hero__content {
max-width: 100%;
    }

    .hero__cta {
gap: 10px ; margin-top: 24px ;
    }

    .hero__cta .btn, .hero__cta a.btn {
width: 100%; text-align: center; justify-content: center;
    }

    .hero__desc {
font-size: 0.875rem ;
    }

    .hero__social-proof p {
font-size: 13px ; line-height: 1.6 ;
    }

    .hero__stat-label {
font-size: 11px;
    }

    .hero__stat-num {
font-size: 1.25rem ;
    }

    .hero__stats {
gap: var(--sp-4);
    }

    .hero__subtitle {
font-size: 0.9375rem ;
    }

    .live-viewers {
display: block ; margin-top: 6px ; margin-left: 0 ; text-align: center;
    }

    .p-card--cps::before {
height: 3px;
    }

    .p-card__head {
padding: 14px;
    }

    .p-card__tools, .p-card__cta, .p-card__notice {
padding-left: 14px ; padding-right: 14px ; margin-left: 14px ; margin-right: 14px ;
    }

    .pricing-card {
padding: 24px 20px;
    }

    .section, .section--alt {
padding: 32px 0;
    }

    .social-proof-toast > div {
max-width: calc(100vw - 24px) ;
    }

    .sticky-cta {
padding: 10px 12px; gap: 6px;
    }

    .sticky-cta .sticky-cta__btn {
flex-shrink: 0;
        width: auto;
        justify-content: center;
        font-size: 14px;
        padding: 10px 16px;
        min-height: 44px;
        border-radius: 10px;
        font-weight: 700;
        white-space: nowrap;
    }

    .sticky-cta__btn {
min-height: 44px;
    }

    .sticky-cta__close {
right: 4px;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 18px;
        padding: 10px;
    }

    .sticky-cta__text {
flex: 1 1 0;
        min-width: 0;
        width: auto;
        text-align: left;
        font-size: 13px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        padding-right: 40px;
        line-height: 1.4;
    }

    .sticky-mobile-cta {
padding: 10px 12px;
    }

    .sticky-mobile-cta__btn {
padding: 10px 14px;
        font-size: 13px;
        /* 确保触摸区域 >= 44px */
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sticky-mobile-cta__inner {
gap: 8px;
    }

    .sticky-mobile-cta__price {
font-size: 12px;
    }

    .sticky-mobile-cta__price-current {
font-size: 16px;
    }

    .tag, .badge {
font-size: 11px ; padding: 2px 6px ;
    }

    .text-ellipsis-mobile {
max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tier {
padding: 14px;
    }

    .urgency-countdown-bar {
font-size: 11px;
        padding: 3px 10px;
        margin-left: 4px;
    }

    body.has-sticky-cta.has-mobile-cta .back-to-top {
bottom: 170px;
    }

    /* 移动端body底部安全区适配 */
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
        font-size: 16px;
    }

    select {
padding-right: 32px ;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
    }

    table th, table td {
min-width: 40px;
        padding: 6px 6px;
        font-size: 13px;
    }

}

@media (max-width: 375px) {
    .cell-platform__icon {
width: 24px; height: 24px; font-size: 0.75rem;
    }

    .cell-platform__name {
font-size: 12px ;
    }

    .comparison-table {
min-width: 420px;
    }

    .comparison-table tbody td {
padding: 8px 6px ; font-size: 12px ;
    }

    .comparison-table thead th {
font-size: 12px ; padding: 8px 6px ;
    }

    .cps-action-btn {
font-size: 12px ; padding: 5px 8px ;
    }

    .cps-conversion-banner__cta {
font-size: 16px;
        padding: 12px 16px;
    }

    .cps-conversion-banner__current-price {
font-size: 20px;
    }

    .cps-conversion-banner__title {
font-size: 14px;
    }

    .exit-overlay {
padding: 8px ;
    }

    .exit-popup {
width: 98% ; max-width: 340px ; border-radius: 12px ;
    }

    .exit-popup__body {
padding: 16px 14px ;
    }

    .exit-popup__btn {
padding: 14px ; font-size: 16px ;
    }

    .exit-popup__close {
width: 40px ; height: 40px ; top: 8px ; right: 8px ;
    }

    .exit-popup__feature-item {
font-size: 12px ; padding: 4px 10px ;
    }

    .exit-popup__features {
gap: 6px ;
    }

    .exit-popup__header {
padding: 20px 14px 16px ;
    }

    .exit-popup__header h2 {
font-size: 20px ;
    }

    .exit-popup__header p {
font-size: 13px ;
    }

    .exit-popup__price-new {
font-size: 30px ;
    }

    .exit-popup__price-old {
font-size: 16px ;
    }

    .exit-popup__trust {
gap: 12px ; font-size: 11px ; flex-wrap: wrap;
    }

    .hide-xs {
display: none ;
    }

    .nav__brand a {
font-size: 0.95rem;
    }

    body.has-sticky-cta {
padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    }

}


/* ============================================
   新增通用工具类 - 减少内联样式依赖
   ============================================ */

/* 颜色工具类 */
.text-primary { color: var(--primary, #667eea); }
.text-secondary { color: var(--secondary, #7c3aed); }
.text-white { color: var(--bg-white, #ffffff); }
.text-gray-400 { color: var(--gray-400, #9ca3af); }
.text-gray-500 { color: var(--gray-500, #6b7280); }
.text-gray-600 { color: var(--gray-600, #4b5563); }
.text-emerald { color: var(--emerald-500, #10b981); }
.text-amber { color: var(--amber-500, #f59e0b); }
.text-rose { color: var(--rose-500, #ef4444); }
.text-blue { color: var(--blue-500, #3b82f6); }

/* 背景色工具类 */
.bg-primary { background-color: var(--primary, #667eea); }
.bg-secondary { background-color: var(--secondary, #7c3aed); }
.bg-white { background-color: var(--bg-white, #ffffff); }
.bg-gray-50 { background-color: var(--gray-50, #f9fafb); }
.bg-emerald-50 { background-color: rgba(16, 185, 129, 0.05); }
.bg-amber-50 { background-color: rgba(245, 158, 11, 0.05); }
.bg-rose-50 { background-color: rgba(239, 68, 68, 0.05); }

/* 字体大小工具类 */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

/* 字体粗细工具类 */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* 布局工具类 */
.d-flex { display: flex; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }
.d-grid { display: grid; }


/* 间距工具类 */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* 圆角工具类 */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.25rem; }
.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* 边框工具类 */
.border-none { border: none; }
.border { border: 1px solid var(--border-color, #e5e7eb); }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }

/* 文本工具类 */
.text-decoration-none { text-decoration: none; }
.text-underline { text-decoration: underline; }

/* 过渡工具类 */
.transition-fast { transition: var(--transition-fast, all 0.15s ease); }
.transition-base { transition: var(--transition-base, all 0.3s ease); }
.transition-slow { transition: var(--transition-slow, all 0.5s ease); }

/* 光标工具类 */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }


/* ============================================
   新增工具类 - 针对常见内联样式
   ============================================ */

/* gap工具类 */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* 颜色工具类 */
.text-indigo-500 { color: #6366f1; }
.text-red-600 { color: #dc2626; }
.text-gray-600 { color: #666; }

/* 圆角工具类 */
.rounded-10 { border-radius: 10px; }
.rounded-12 { border-radius: 12px; }

/* 间距工具类 */
.p-5 { padding: 1.25rem; }
.mb-05 { margin-bottom: 0.125rem; }

/* 背景色工具类 */
.bg-white { background-color: #fff; }

/* ========== 优化追加内容 (2026-05-26) ========== */

/* P1-6: WCAG 2.4.1 Skip Navigation + Semantic HTML Enhancement */
.skip-nav{position:absolute;top:-100%;left:0;z-index:9999;background:var(--ripro-primary,#3b82f6);color:#fff;padding:12px 24px;font-size:16px;font-weight:600;text-decoration:none;transition:top 0.3s ease}.skip-nav:focus{top:0;outline:3px solid #fbbf24;outline-offset:0}main#main-content{display:block}

/* P1-7: Utility Classes - 替代内联样式 */
.text-muted{color:var(--text-muted)!important}.text-primary{color:var(--text-primary)!important}.text-secondary{color:var(--text-secondary)!important}.text-success{color:var(--ripro-success)!important}.text-danger{color:var(--ripro-danger)!important}.text-warning{color:var(--ripro-warning)!important}
.text-xs{font-size:12px!important}.text-sm{font-size:13px!important}.text-base{font-size:14px!important}.text-md{font-size:15px!important}.text-lg{font-size:18px!important}.text-xl{font-size:24px!important}.text-2xl{font-size:28px!important}.text-3xl{font-size:32px!important}
.font-normal{font-weight:normal!important}.font-semibold{font-weight:600!important}.font-bold{font-weight:700!important}
.flex{display:flex!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.items-start{align-items:flex-start!important}.items-baseline{align-items:baseline!important}.justify-between{justify-content:space-between!important}.justify-center{justify-content:center!important}
.gap-xs{gap:6px!important}.gap-sm{gap:10px!important}.gap-md{gap:14px!important}.gap-lg{gap:20px!important}
.p-0{padding:0!important}.p-sm{padding:12px!important}.p-md{padding:24px!important}.p-lg{padding:28px!important}
.mb-0{margin-bottom:0!important}.mb-xs{margin-bottom:4px!important}.mb-sm{margin-bottom:8px!important}.mb-md{margin-bottom:12px!important}.mb-lg{margin-bottom:16px!important}
.block{display:block!important}.relative{position:relative!important}.z-10{z-index:10!important}
.link-reset{text-decoration:none!important;color:inherit!important;display:block!important}
.w-max{max-width:1200px!important;margin-left:auto!important;margin-right:auto!important}.w-narrow{max-width:900px!important;margin-left:auto!important;margin-right:auto!important}.w-medium{max-width:800px!important;margin-left:auto!important;margin-right:auto!important}
.bg-secondary{background:var(--bg-secondary)!important}.overflow-x-auto{overflow-x:auto!important}.text-center{text-align:center!important}
.card-header{padding:24px!important;display:flex!important;align-items:center!important;gap:14px!important}
.stat-value{font-weight:600!important;color:var(--text-primary)!important;font-size:14px!important}
.table-cell{padding:4px 0!important;display:flex!important;align-items:center!important;gap:6px!important}
.row-header{display:flex!important;justify-content:space-between!important;align-items:baseline!important}
.row-header-mb{display:flex!important;justify-content:space-between!important;align-items:baseline!important;margin-bottom:4px!important}
.text-primary-xl{color:var(--ripro-primary)!important;font-size:20px!important}.tag-padding{padding:2px 8px!important}.mt-sm{margin-top:8px!important}.mt-md{margin-top:12px!important}
.alert-success-box{margin-bottom:16px!important;padding:20px!important;background:linear-gradient(135deg,rgba(16,185,129,0.1),rgba(6,182,212,0.05))!important;border-radius:var(--radius-ripro-md)!important;border:2px solid rgba(16,185,129,0.2)!important;text-align:center!important}
.alert-warning-box{margin-bottom:16px!important;padding:18px!important;background:linear-gradient(135deg,rgba(255,107,53,0.08),rgba(255,68,68,0.04))!important;border-radius:var(--radius-ripro-md)!important;border:2px solid rgba(255,107,53,0.2)!important}
.info-card{margin-bottom:16px!important;padding:16px!important;background:rgba(59,130,246,0.05)!important;border-radius:var(--radius-ripro-sm)!important}
.gradient-info{margin-bottom:16px!important;padding:16px!important;background:linear-gradient(135deg,rgba(102,126,234,0.08),rgba(139,92,246,0.05))!important;border-radius:var(--radius-ripro-sm)!important;border:1px solid rgba(102,126,234,0.15)!important}
.gradient-success-light{padding:14px!important;background:linear-gradient(135deg,rgba(16,185,129,0.08),rgba(6,182,212,0.05))!important;border-radius:var(--radius-ripro-sm)!important;border:1px solid rgba(16,185,129,0.15)!important}
.table-row-alt{margin-bottom:12px!important;padding:14px!important;background:rgba(0,0,0,0.02)!important;border-radius:var(--radius-ripro-sm)!important}

/* P2: Accessibility Enhancement */
:focus-visible{outline:3px solid #3b82f6!important;outline-offset:2px!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* M3: 响应式断点 */
@media(max-width:575.98px){.hero-ripro__title{font-size:1.75rem!important}.hero-ripro__subtitle{font-size:1rem!important}.grid-ripro--4{grid-template-columns:1fr!important}.grid-ripro--3{grid-template-columns:1fr!important}.grid-ripro--2{grid-template-columns:1fr!important}.section-ripro__title{font-size:1.5rem!important}.table-ripro{font-size:.875rem!important}.pricing-ripro{padding:16px!important}.btn-ripro--lg{padding:12px 20px!important;font-size:.9375rem!important}}
@media(min-width:576px) and (max-width:767.98px){.grid-ripro--4{grid-template-columns:repeat(2,1fr)!important}.grid-ripro--3{grid-template-columns:repeat(2,1fr)!important}}
@media(min-width:768px) and (max-width:1023.98px){.grid-ripro--4{grid-template-columns:repeat(2,1fr)!important}.grid-ripro--3{grid-template-columns:repeat(3,1fr)!important}.hero-ripro__content{max-width:720px!important}}
@media(min-width:1024px) and (max-width:1279.98px){.grid-ripro--4{grid-template-columns:repeat(3,1fr)!important}.hero-ripro__content{max-width:960px!important}}
@media(min-width:1280px){.grid-ripro--4{grid-template-columns:repeat(4,1fr)!important}.hero-ripro__content{max-width:1200px!important}}
@media print{.sticky-cps-bar,.nav__toggle,.skip-nav,.scroll-progress{display:none!important}body{color:#000!important;background:#fff!important}a[href]::after{content:" (" attr(href) ")"!important}.card-ripro,.table-ripro-wrapper{break-inside:avoid!important}}
/* ============================================================
   RiPro Design System v2.0 - 核心组件库
   现代卡片式UI设计语言
   创建时间: 2026-05-26 (紧急重建)
   ============================================================ */

/* ===== CSS变量定义 ===== */
:root {
    --ripro-primary: #3b82f6;
    --ripro-primary-dark: #2563eb;
    --ripro-secondary: #8b5cf6;
    --ripro-success: #10b981;
    --ripro-warning: #f59e0b;
    --ripro-danger: #ef4444;
    --ripro-bg-dark: #0a0a0f;
    --ripro-bg-card: rgba(255,255,255,0.05);
    --ripro-bg-card-hover: rgba(255,255,255,0.08);
    --ripro-border-color: rgba(255,255,255,0.1);
    --ripro-border-radius-sm: 8px;
    --ripro-border-radius-md: 12px;
    --ripro-border-radius-lg: 16px;
    --ripro-shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --ripro-shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --ripro-shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.5);
}

/* ===== Hero 区域 ===== */
.hero-ripro {
    position: relative;
    padding: 80px 20px 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(139,92,246,0.1) 50%, rgba(16,185,129,0.05) 100%);
    overflow: hidden;
}
.hero-ripro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59,130,246,0.1) 0%, transparent 70%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(5%, 5%) rotate(10deg); }
}
.hero-ripro__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}
.hero-ripro__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hero-ripro__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}
.hero-ripro__description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.hero-ripro__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}
.hero-ripro__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.hero-ripro__stat {
    text-align: center;
}
.hero-ripro__stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ripro-primary);
    display: block;
}
.hero-ripro__stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== 按钮 Button ===== */
.btn-ripro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--ripro-border-radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-ripro::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}
.btn-ripro:hover::before {
    width: 300px;
    height: 300px;
}
.btn-ripro--primary {
    background: linear-gradient(135deg, var(--ripro-primary), var(--ripro-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}
.btn-ripro--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59,130,246,0.5);
}
.btn-ripro--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--ripro-border-color);
}
.btn-ripro--secondary:hover {
    background: var(--ripro-bg-card);
    border-color: var(--ripro-primary);
    color: var(--ripro-primary);
}
.btn-ripro--lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}
.btn-ripro--cps {
    background: linear-gradient(135deg, #ff6b35, #ff4444);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255,107,53,0.4); }
    50% { box-shadow: 0 4px 25px rgba(255,107,53,0.6); }
}

/* ===== 卡片 Card ===== */
.card-ripro {
    background: var(--ripro-bg-card);
    border: 1px solid var(--ripro-border-color);
    border-radius: var(--ripro-border-radius-md);
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card-ripro:hover {
    background: var(--ripro-bg-card-hover);
    border-color: var(--ripro-primary);
    transform: translateY(-4px);
    box-shadow: var(--ripro-shadow-md);
}
.card-ripro--featured {
    border-color: var(--ripro-primary);
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.05));
}
.card-ripro--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ripro-primary), var(--ripro-secondary));
}
.card-ripro__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--ripro-border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.card-ripro__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.card-ripro__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.card-ripro__meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ripro-border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== 表格 Table ===== */
.table-ripro-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--ripro-border-radius-md);
    border: 1px solid var(--ripro-border-color);
}
.table-ripro {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}
.table-ripro thead {
    background: rgba(59,130,246,0.15);
}
.table-ripro th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    border-bottom: 2px solid var(--ripro-primary);
    white-space: nowrap;
}
.table-ripro td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ripro-border-color);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    vertical-align: middle;
}
.table-ripro tbody tr {
    transition: background 0.2s ease;
}
.table-ripro tbody tr:hover {
    background: var(--ripro-bg-card);
}
.table-ripro tbody tr:last-child td {
    border-bottom: none;
}
.table-ripro .platform-name {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.table-ripro .price-cell {
    font-weight: 700;
    color: var(--ripro-warning);
    font-size: 1.125rem;
}

/* ===== Section 区块 ===== */
.section-ripro {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-ripro__header {
    text-align: center;
    margin-bottom: 40px;
}
.section-ripro__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.section-ripro__subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Grid 布局 ===== */
.grid-ripro {
    display: grid;
    gap: 20px;
}
.grid-ripro--2 { grid-template-columns: repeat(2, 1fr); }
.grid-ripro--3 { grid-template-columns: repeat(3, 1fr); }
.grid-ripro--4 { grid-template-columns: repeat(4, 1fr); }

/* ===== 标签 Tag ===== */
.tag-ripro {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}
.tag-ripro--featured {
    background: linear-gradient(135deg, #ff6b35, #ff4444);
    color: white;
}
.tag-ripro--success {
    background: rgba(16,185,129,0.2);
    color: var(--ripro-success);
    border: 1px solid rgba(16,185,129,0.3);
}
.tag-ripro--warning {
    background: rgba(245,158,11,0.2);
    color: var(--ripro-warning);
    border: 1px solid rgba(245,158,11,0.3);
}
.tag-ripro--info {
    background: rgba(59,130,246,0.2);
    color: var(--ripro-primary);
    border: 1px solid rgba(59,130,246,0.3);
}

/* ===== 定价 Pricing ===== */
.pricing-ripro {
    background: var(--ripro-bg-card);
    border: 1px solid var(--ripro-border-color);
    border-radius: var(--ripro-border-radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}
.pricing-ripro:hover {
    transform: translateY(-6px);
    box-shadow: var(--ripro-shadow-lg);
    border-color: var(--ripro-primary);
}
.pricing-ripro--featured {
    border-color: var(--ripro-primary);
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.05));
}
.pricing-ripro__name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.pricing-ripro__price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ripro-primary);
    margin: 16px 0;
}
.pricing-ripro__price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}
.pricing-ripro__features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}
.pricing-ripro__features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--ripro-border-color);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-ripro__features li::before {
    content: '✓';
    color: var(--ripro-success);
    font-weight: 700;
}

/* ===== Alert 提示框 ===== */
.alert-ripro {
    padding: 16px 20px;
    border-radius: var(--ripro-border-radius-sm);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
}
.alert-ripro--success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    color: var(--ripro-success);
}
.alert-ripro--warning {
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    color: var(--ripro-warning);
}
.alert-ripro--info {
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.3);
    color: var(--ripro-primary);
}
.alert-ripro--danger {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--ripro-danger);
}

/* ===== Sticky CPS 底部栏 ===== */
.sticky-cps-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-top: 2px solid var(--ripro-primary);
    padding: 12px 20px;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.sticky-cps-bar.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.sticky-cps-bar__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.sticky-cps-bar__info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.sticky-cps-bar__name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}
.sticky-cps-bar__desc {
    color: var(--text-muted);
    font-size: 0.875rem;
}
.sticky-cps-bar__price {
    color: var(--ripro-warning);
    font-weight: 700;
    margin-left: 8px;
}
.sticky-cps-bar__close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 1.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}
.sticky-cps-bar__close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .sticky-cps-bar__content {
        flex-direction: column;
        text-align: center;
    }
    .sticky-cps-bar__info {
        flex-direction: column;
    }
}
