/* ============================================
   教学小作坊官网 - 浅色主题
   ============================================ */

:root {
    /* 主色 */
    --color-primary: #0d9488;
    --color-primary-dark: #0f766e;
    --color-primary-light: #14b8a6;
    
    /* 多色系 - 丰富配色 */
    --color-teal: #0d9488;
    --color-blue: #2563eb;
    --color-violet: #7c3aed;
    --color-rose: #e11d48;
    --color-amber: #d97706;
    --color-emerald: #059669;
    
    /* Hero 渐变 - 色卡配色 */
    --gradient-1: linear-gradient(135deg, #fce7f3 0%, #f9a8d4 30%, #f472b6 60%, #DA3778 100%);
    --gradient-2: linear-gradient(135deg, #ede9fe 0%, #c4b5fd 30%, #a78bfa 60%, #9456C4 100%);
    --gradient-3: linear-gradient(135deg, #fef9c3 0%, #fde047 30%, #facc15 60%, #FDCE27 100%);
    --gradient-4: linear-gradient(135deg, #ffedd5 0%, #fed7aa 30%, #fdba74 60%, #F38936 100%);
    
    /* 下载按钮 - 高亮 */
    --download-bg: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
    --download-shadow: 0 8px 32px rgba(245, 158, 11, 0.35);
    --download-hover-shadow: 0 12px 40px rgba(245, 158, 11, 0.45);
    
    /* 背景 - 浅色 */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(15, 23, 42, 0.04);
    
    /* 文字 */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* 边框 */
    --border-color: #e2e8f0;
    
    /* 圆角 */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* 过渡 */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-body);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.12), transparent 60%),
        radial-gradient(ellipse 50% 40% at 95% 20%, rgba(148, 86, 196, 0.08), transparent 50%),
        radial-gradient(ellipse 60% 50% at 5% 80%, rgba(253, 206, 39, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 90%, rgba(34, 197, 94, 0.1), transparent 50%);
}

/* ========== 导航栏 ========== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 72px;
    overflow: hidden;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: transform 0.4s var(--transition-smooth);
}

.nav-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    min-height: 36px;
    max-height: 36px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

.nav-logo {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: filter 0.3s ease;
}

.nav-brand-text {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.4s var(--transition-smooth);
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-brand:hover .nav-brand-text {
    background-position: 100% center;
}

.nav-brand:hover .nav-logo {
    filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.5));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-item a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* 导航标题发光底边 */
.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
    transition: width 0.4s var(--transition-smooth), left 0.4s var(--transition-smooth);
}

.nav-item:hover a::after,
.nav-item.active a::after {
    width: 70%;
    left: 15%;
}

.nav-item:hover a {
    color: var(--color-primary);
    background: rgba(13, 148, 136, 0.08);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(13, 148, 136, 0.3);
}

.nav-item[data-page="product1"]:hover a {
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.12);
    text-shadow: 0 0 24px rgba(14, 165, 233, 0.4);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.2);
}
.nav-item[data-page="product2"]:hover a {
    color: #9456C4;
    background: rgba(148, 86, 196, 0.12);
    text-shadow: 0 0 24px rgba(148, 86, 196, 0.4);
    box-shadow: 0 4px 20px rgba(148, 86, 196, 0.2);
}
.nav-item[data-page="product3"]:hover a {
    color: #c9a000;
    background: rgba(253, 206, 39, 0.15);
    text-shadow: 0 0 24px rgba(253, 206, 39, 0.4);
    box-shadow: 0 4px 20px rgba(253, 206, 39, 0.25);
}
.nav-item[data-page="product4"]:hover a {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    text-shadow: 0 0 24px rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
}

.nav-item.active a {
    color: var(--color-primary);
    background: rgba(13, 148, 136, 0.12);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.nav-item[data-page="product1"].active a {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.35);
    box-shadow: 0 2px 16px rgba(14, 165, 233, 0.25);
}
.nav-item[data-page="product2"].active a {
    background: rgba(148, 86, 196, 0.15);
    color: #9456C4;
    text-shadow: 0 0 20px rgba(148, 86, 196, 0.35);
    box-shadow: 0 2px 16px rgba(148, 86, 196, 0.25);
}
.nav-item[data-page="product3"].active a {
    background: rgba(253, 206, 39, 0.18);
    color: #c9a000;
    text-shadow: 0 0 20px rgba(253, 206, 39, 0.4);
    box-shadow: 0 2px 16px rgba(253, 206, 39, 0.3);
}
.nav-item[data-page="product4"].active a {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.35);
    box-shadow: 0 2px 16px rgba(34, 197, 94, 0.25);
}


/* ========== 主内容 ========== */
main {
    padding-top: 72px;
    min-height: 100vh;
}

.product-page {
    display: none;
}

.product-page.active {
    display: block;
    animation: pageEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 滚动进入动画 */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== Hero 区域 - 全屏背景图 + 渐变遮罩 ========== */
.hero {
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* 与右侧轮播图同宽、同高、同垂直位置，供左侧文案列对齐 */
    --hero-pad-x: 5%;
    --hero-media-w: 48%;
    --hero-media-h: 70%;
    --hero-col-gap: clamp(16px, 3vw, 28px);
}

/* AI 双下载首屏：避免 overflow 裁切；顶对齐，下载卡置顶不挡右侧主图 */
#product1 .hero,
#product2 .hero {
    overflow: visible;
    min-height: clamp(440px, 62vh, 820px);
    align-items: flex-start;
}

/* 背景图层 - 约占板块一半，右侧展示 */
.hero-bg {
    position: absolute;
    top: 50%;
    right: var(--hero-pad-x);
    width: var(--hero-media-w);
    height: var(--hero-media-h);
    transform: translateY(-50%);
    z-index: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-bg img.active {
    opacity: 1;
}

/* 渐变遮罩 - 与背景图同尺寸同位置 */
.hero-overlay {
    position: absolute;
    top: 50%;
    right: var(--hero-pad-x);
    width: var(--hero-media-w);
    height: var(--hero-media-h);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    border-radius: var(--radius-lg);
}

.hero-theme-1 .hero-overlay {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.88) 0%, rgba(14, 165, 233, 0.5) 45%, transparent 100%);
}
.hero-theme-2 .hero-overlay {
    background: linear-gradient(90deg, rgba(148, 86, 196, 0.88) 0%, rgba(148, 86, 196, 0.5) 45%, transparent 100%);
}
.hero-theme-3 .hero-overlay {
    background: linear-gradient(90deg, rgba(253, 206, 39, 0.9) 0%, rgba(253, 206, 39, 0.55) 45%, transparent 100%);
}
.hero-theme-4 .hero-overlay {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.88) 0%, rgba(34, 197, 94, 0.5) 45%, transparent 100%);
}

/* 左侧文字区背景 */
.hero-theme-1 { background: rgba(14, 165, 233, 0.95); }
.hero-theme-2 { background: rgba(148, 86, 196, 0.95); }
.hero-theme-3 { background: rgba(253, 206, 39, 0.92); }
.hero-theme-4 { background: rgba(34, 197, 94, 0.95); }

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    padding: 48px 5% 64px;
    width: 100%;
}

/* AI 页：宽屏下整列与右侧轮播区同顶同底；窄屏回退为网格 */
.hero-inner--ai {
    position: relative;
    z-index: 2;
}

.hero-inner--ai .hero-download--pinned {
    width: 100%;
    max-width: 300px;
    margin-top: 0;
    background: #ffffff;
    border: 2px solid #0f172a;
    border-radius: var(--radius-md);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 20px 50px rgba(15, 23, 42, 0.28);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#product1 .hero-inner--ai .hero-download--pinned {
    border-left: 5px solid #0369a1;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 20px 50px rgba(3, 105, 161, 0.35);
}

#product2 .hero-inner--ai .hero-download--pinned {
    border-left: 5px solid #5b21b6;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 20px 50px rgba(91, 33, 182, 0.35);
}

.hero-inner--ai .hero-download--pinned {
    padding: 14px 14px 16px;
}

.hero-inner--ai .hero-download--pinned .hero-download-title {
    color: #0f172a;
    text-shadow: none;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-inner--ai .hero-download--pinned .hero-download-actions {
    flex-direction: column;
    gap: 8px;
}

.hero-inner--ai .hero-download--pinned .download-btn-hero-split {
    min-width: 0;
    width: 100%;
}

.hero-inner--ai .hero-content {
    max-width: min(720px, 100%);
}

/* 白底卡片上的按钮：加深描边与字色，与浅色底强对比 */
#product1 .hero .hero-download--pinned .download-btn--on-light,
#product2 .hero .hero-download--pinned .download-btn--on-light {
    color: #0f172a !important;
    border: 2px solid rgba(15, 23, 42, 0.35);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

#product1 .hero .hero-download--pinned .download-btn--on-light:hover,
#product2 .hero .hero-download--pinned .download-btn--on-light:hover {
    border-color: #0f172a;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

/* 宽屏：左侧「下载 + 文案」外框与 .hero-bg 顶、底、垂直范围一致 */
@media (min-width: 901px) {
    #product1 .hero > .hero-inner.hero-inner--ai,
    #product2 .hero > .hero-inner.hero-inner--ai,
    #product3 .hero.hero--table-product > .hero-inner.hero-inner--table,
    #product4 .hero.hero--table-product > .hero-inner.hero-inner--table {
        position: absolute;
        left: var(--hero-pad-x);
        width: calc(100% - 2 * var(--hero-pad-x) - var(--hero-media-w) - var(--hero-col-gap));
        top: calc(50% - var(--hero-media-h) / 2);
        height: var(--hero-media-h);
        max-width: none;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .hero-inner--ai {
        display: flex;
        flex-direction: column;
        min-height: 0;
        gap: clamp(8px, 1.2vh, 16px);
    }

    .hero-inner--ai .hero-download--pinned {
        order: -1;
        flex: 0 0 auto;
    }

    .hero-inner--ai .hero-content {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin-top: 0;
        max-width: 100%;
    }

    .hero-inner--ai .hero-content .hero-stats {
        margin-top: auto;
    }

    .hero-inner--table {
        display: flex;
        flex-direction: column;
        min-height: 0;
        gap: clamp(8px, 1.2vh, 16px);
    }

    .hero-inner--table .hero-table-cta {
        order: -1;
        flex: 0 0 auto;
    }

    .hero-inner--table .hero-content {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin-top: 0;
        max-width: 100%;
    }

    .hero-inner--table .hero-content .hero-stats {
        margin-top: auto;
    }
}

@media (max-width: 900px) {
    .hero-inner--ai {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero-dl"
            "hero-main";
        align-items: start;
        row-gap: clamp(8px, 1.5vh, 14px);
        padding-top: clamp(8px, 1.5vh, 20px);
        padding-bottom: clamp(40px, 6vh, 64px);
    }

    .hero-inner--ai .hero-download--pinned {
        grid-area: hero-dl;
        justify-self: start;
        max-width: 100%;
    }

    .hero-inner--ai .hero-content {
        grid-area: hero-main;
        margin-top: clamp(16px, 3vh, 36px);
        display: block;
    }

    .hero-inner--ai .hero-content .hero-stats {
        margin-top: 0;
    }

    .hero-inner--table {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "table-cta"
            "table-main";
        align-items: start;
        row-gap: clamp(8px, 1.5vh, 14px);
        padding-top: clamp(8px, 1.5vh, 20px);
        padding-bottom: clamp(40px, 6vh, 64px);
    }

    .hero-inner--table .hero-table-cta {
        grid-area: table-cta;
        justify-self: start;
        max-width: 100%;
    }

    .hero-inner--table .hero-content {
        grid-area: table-main;
        margin-top: clamp(16px, 3vh, 36px);
        display: block;
    }

    .hero-inner--table .hero-content .hero-stats {
        margin-top: 0;
    }

    .hero--table-product .hero-inner {
        padding-bottom: clamp(40px, 6vh, 64px);
    }
}

.hero-content {
    max-width: 560px;
}

.hero-content--dual-download {
    max-width: min(100%, 640px);
}

/* AI 产品首屏：双系统下载区（独立卡片，避免与背景糊在一起） */
.hero-download {
    position: relative;
    z-index: 3;
    margin-top: 4px;
    padding: 18px 18px 20px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.hero-download-title {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero-download-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 520px) {
    .hero-download-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hero-download-actions .download-btn-hero-split {
        flex: 1 1 calc(50% - 6px);
        min-width: 220px;
    }
}

.download-btn-hero-split {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 20px;
    text-align: center;
    line-height: 1.35;
}

.download-btn-platform {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.download-btn-line {
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.92;
}

/* Hero 入场动画：仅对「直接子级」的单个下载按钮做延迟淡入，避免套在 .hero-download 内的按钮被误设 opacity:0 导致不显示 */
.hero.animate-in .hero-badge {
    animation: heroSlideUp 0.8s var(--transition-smooth) forwards;
    opacity: 0;
}
.hero.animate-in .hero-content h1 {
    animation: heroSlideUp 0.8s var(--transition-smooth) 0.15s forwards;
    opacity: 0;
}
.hero.animate-in .hero-desc {
    animation: heroSlideUp 0.8s var(--transition-smooth) 0.3s forwards;
    opacity: 0;
}
.hero.animate-in .hero-content > .download-btn {
    animation: heroSlideUp 0.8s var(--transition-smooth) 0.45s forwards;
    opacity: 0;
}
/* AI 产品首屏下载区：不参与淡入动画，避免个别环境下一直不可见 */
#product1 .hero .hero-download,
#product2 .hero .hero-download {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}
#product1 .hero .hero-download .download-btn,
#product2 .hero .hero-download .download-btn {
    opacity: 1 !important;
}

.hero.animate-in .hero-inner--ai .hero-download {
    animation: none;
    opacity: 1;
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroImageIn {
    from { transform: scale(0.95); }
    to { transform: scale(1); }
}

.hero-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.hero-theme-3 .hero-badge { background: rgba(255, 255, 255, 0.9); color: var(--text-primary); }

.hero-theme-1 .hero-badge { border-left: 3px solid #fff; }
.hero-theme-2 .hero-badge { border-left: 3px solid #fff; }
.hero-theme-3 .hero-badge { border-left: 3px solid #1e293b; }
.hero-theme-4 .hero-badge { border-left: 3px solid #fff; }

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-theme-3 .hero h1 { color: #1e293b; text-shadow: none; }

.hero-desc {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    line-height: 1.65;
}

.hero-theme-3 .hero-desc { color: var(--text-secondary); }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 12px;
}

.hero-stats .stat-item {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border-radius: 100px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-theme-3 .hero-stats .stat-item { background: rgba(255, 255, 255, 0.9); color: var(--text-secondary); }

.hero-stats .stat-item em {
    font-style: normal;
    font-weight: 700;
    font-size: 1.12em;
    color: #fff;
}

.hero-theme-3 .hero-stats .stat-item em { color: #c9a000; }


/* ========== 下载按钮 - 核心突出 ========== */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--download-bg);
    color: #1e293b !important;
    text-decoration: none !important;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: var(--download-shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    animation: downloadPulse 2.5s ease-in-out infinite;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}

.download-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), transparent, rgba(255,255,255,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    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.3s;
}

@keyframes downloadPulse {
    0%, 100% { box-shadow: var(--download-shadow); }
    50% { box-shadow: 0 8px 40px rgba(245, 158, 11, 0.5); }
}

.download-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--download-hover-shadow);
    animation: none;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover::after {
    opacity: 1;
}

.download-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.download-icon {
    font-size: 1.2rem;
    font-weight: 800;
}

.download-btn-large {
    padding: 22px 48px;
    font-size: 1.2rem;
}

.download-btn-bar {
    padding: 14px 28px;
    font-size: 1rem;
}

.download-btns-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
}

.cta-block .download-btns-row {
    justify-content: center;
    margin-top: 20px;
}

.cta-block h2 + .download-btns-row {
    margin-top: 24px;
}

/* 各产品页下载按钮 - 与主题色一致 */
#product1 .download-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
    animation: downloadPulse1 2.5s ease-in-out infinite;
}
#product1 .download-btn:hover {
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5);
}
@keyframes downloadPulse1 {
    0%, 100% { box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(14, 165, 233, 0.55); }
}

#product2 .download-btn {
    background: linear-gradient(135deg, #9456C4 0%, #a78bfa 50%, #c4b5fd 100%);
    box-shadow: 0 8px 32px rgba(148, 86, 196, 0.4);
    animation: downloadPulse2 2.5s ease-in-out infinite;
}
#product2 .download-btn:hover {
    box-shadow: 0 12px 40px rgba(148, 86, 196, 0.5);
}
@keyframes downloadPulse2 {
    0%, 100% { box-shadow: 0 8px 32px rgba(148, 86, 196, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(148, 86, 196, 0.55); }
}

#product3 .download-btn {
    background: linear-gradient(135deg, #eab308 0%, #FDCE27 50%, #fde047 100%);
    box-shadow: 0 8px 32px rgba(253, 206, 39, 0.45);
    color: #1e293b !important;
    animation: downloadPulse3 2.5s ease-in-out infinite;
}
#product3 .download-btn:hover {
    box-shadow: 0 12px 40px rgba(253, 206, 39, 0.55);
}
@keyframes downloadPulse3 {
    0%, 100% { box-shadow: 0 8px 32px rgba(253, 206, 39, 0.45); }
    50% { box-shadow: 0 8px 40px rgba(253, 206, 39, 0.6); }
}

#product4 .download-btn {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
    animation: downloadPulse4 2.5s ease-in-out infinite;
}
#product4 .download-btn:hover {
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.5);
}
@keyframes downloadPulse4 {
    0%, 100% { box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(34, 197, 94, 0.55); }
}

/* 浮动下载栏按钮 - 根据当前产品主题色（由 JS 添加 data-theme） */
.download-bar[data-theme="product1"] .download-btn-bar {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
    animation: downloadPulse1 2.5s ease-in-out infinite;
}
.download-bar[data-theme="product1"] .download-btn-bar:hover {
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5);
}

.download-bar[data-theme="product2"] .download-btn-bar {
    background: linear-gradient(135deg, #9456C4 0%, #a78bfa 50%, #c4b5fd 100%);
    box-shadow: 0 8px 32px rgba(148, 86, 196, 0.4);
    animation: downloadPulse2 2.5s ease-in-out infinite;
}
.download-bar[data-theme="product2"] .download-btn-bar:hover {
    box-shadow: 0 12px 40px rgba(148, 86, 196, 0.5);
}

.download-bar[data-theme="product3"] .download-btn-bar {
    background: linear-gradient(135deg, #eab308 0%, #FDCE27 50%, #fde047 100%);
    box-shadow: 0 8px 32px rgba(253, 206, 39, 0.45);
    animation: downloadPulse3 2.5s ease-in-out infinite;
}
.download-bar[data-theme="product3"] .download-btn-bar:hover {
    box-shadow: 0 12px 40px rgba(253, 206, 39, 0.55);
}

.download-bar[data-theme="product4"] .download-btn-bar {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
    animation: downloadPulse4 2.5s ease-in-out infinite;
}
.download-bar[data-theme="product4"] .download-btn-bar:hover {
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.5);
}

/* ========== 内容区块 ========== */
.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 5% 120px;
}

/* 各产品 content-section 透明浅色发光主题背景 */
#product1 .content-section {
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(14, 165, 233, 0.08), transparent 70%);
    box-shadow: inset 0 0 80px rgba(14, 165, 233, 0.06);
}
#product2 .content-section {
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(148, 86, 196, 0.08), transparent 70%);
    box-shadow: inset 0 0 80px rgba(148, 86, 196, 0.06);
}
#product3 .content-section {
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(253, 206, 39, 0.1), transparent 70%);
    box-shadow: inset 0 0 80px rgba(253, 206, 39, 0.08);
}
#product4 .content-section {
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(34, 197, 94, 0.08), transparent 70%);
    box-shadow: inset 0 0 80px rgba(34, 197, 94, 0.06);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 56px;
    padding: 28px 40px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* section-intro 透明浅色发光主题 */
#product1 .section-intro {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 0 40px rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.25);
}
#product2 .section-intro {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 0 40px rgba(148, 86, 196, 0.12);
    border-color: rgba(148, 86, 196, 0.25);
}
#product3 .section-intro {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 0 40px rgba(253, 206, 39, 0.15);
    border-color: rgba(253, 206, 39, 0.3);
}
#product4 .section-intro {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 0 40px rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
}

.intro-text {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.85;
    text-align: center;
}

.section-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    margin-bottom: 56px;
}

.section-block.section-card {
    position: relative;
    padding: 48px 52px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* section-card 透明浅色发光主题 */
#product1 .section-block.section-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.4) 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), 0 0 50px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}
#product2 .section-block.section-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(237, 233, 254, 0.4) 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), 0 0 50px rgba(148, 86, 196, 0.1);
    border-color: rgba(148, 86, 196, 0.2);
}
#product3 .section-block.section-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 249, 195, 0.5) 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), 0 0 50px rgba(253, 206, 39, 0.12);
    border-color: rgba(253, 206, 39, 0.25);
}
#product4 .section-block.section-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 252, 231, 0.4) 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), 0 0 50px rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}


.section-num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--border-color);
    line-height: 1;
    letter-spacing: -0.05em;
}

#product1 .section-num { color: rgba(14, 165, 233, 0.15); }
#product2 .section-num { color: rgba(148, 86, 196, 0.15); }
#product3 .section-num { color: rgba(253, 206, 39, 0.2); }
#product4 .section-num { color: rgba(34, 197, 94, 0.15); }

.section-block.reverse .block-content {
    order: 2;
}

.section-block.reverse .block-image {
    order: 1;
}

.section-block h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
    padding-left: 20px;
    border-left: 5px solid var(--color-teal);
}

.section-block:has(.value-grid) h2,
.section-block:has(.feature-grid) h2,
.section-block.full-width h2 {
    grid-column: 1 / -1;
}

#product1 .section-block h2 { border-left-color: #0ea5e9; }
#product2 .section-block h2 { border-left-color: #9456C4; }
#product3 .section-block h2 { border-left-color: #FDCE27; }
#product4 .section-block h2 { border-left-color: #22c55e; }

.section-block .block-content {
    padding-right: 20px;
}

.section-block.reverse .block-content {
    padding-right: 0;
    padding-left: 20px;
}

.section-block p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.9;
}

.block-image {
    perspective: 1000px;
    margin: 0;
}

.block-image.img-frame {
    padding: 20px;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

/* block-image 透明浅色发光主题 */
#product1 .block-image.img-frame {
    background: linear-gradient(145deg, rgba(224, 242, 254, 0.6) 0%, rgba(186, 230, 253, 0.3) 100%);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
}
#product2 .block-image.img-frame {
    background: linear-gradient(145deg, rgba(237, 233, 254, 0.6) 0%, rgba(221, 214, 254, 0.3) 100%);
    box-shadow: 0 0 30px rgba(148, 86, 196, 0.08);
    border-color: rgba(148, 86, 196, 0.2);
}
#product3 .block-image.img-frame {
    background: linear-gradient(145deg, rgba(254, 249, 195, 0.7) 0%, rgba(253, 224, 71, 0.3) 100%);
    box-shadow: 0 0 30px rgba(253, 206, 39, 0.1);
    border-color: rgba(253, 206, 39, 0.25);
}
#product4 .block-image.img-frame {
    background: linear-gradient(145deg, rgba(220, 252, 231, 0.6) 0%, rgba(187, 247, 208, 0.3) 100%);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
}

.block-image img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s ease;
    object-fit: contain;
    object-position: top center;
}

.block-image:hover img {
    transform: translateZ(10px) scale(1.03);
}

.block-image figcaption {
    margin-top: 16px;
    padding: 12px 18px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-teal);
    line-height: 1.6;
}

#product1 .block-image figcaption { border-left-color: #0ea5e9; }
#product2 .block-image figcaption { border-left-color: #9456C4; }
#product3 .block-image figcaption { border-left-color: #FDCE27; }
#product4 .block-image figcaption { border-left-color: #22c55e; }

#product1 .block-image img { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(14, 165, 233, 0.2); }
#product2 .block-image img { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(148, 86, 196, 0.15); }
#product3 .block-image img { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(253, 206, 39, 0.25); }
#product4 .block-image img { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(34, 197, 94, 0.2); }

/* 价值/功能网格 */
.value-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.section-block:has(.value-grid) .value-grid,
.section-block:has(.feature-grid) .feature-grid {
    grid-column: 1 / -1;
}

.feature-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.value-card,
.feature-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s ease, border-color 0.3s ease;
    border-left: 4px solid transparent;
}

/* value-card / feature-card 透明浅色发光主题 */
#product1 .value-card,
#product1 .feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(224, 242, 254, 0.35) 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 30px rgba(14, 165, 233, 0.08);
}
#product2 .value-card,
#product2 .feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(237, 233, 254, 0.35) 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 30px rgba(148, 86, 196, 0.08);
}
#product3 .value-card,
#product3 .feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(254, 249, 195, 0.4) 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 30px rgba(253, 206, 39, 0.1);
}
#product4 .value-card,
#product4 .feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(220, 252, 231, 0.35) 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 30px rgba(34, 197, 94, 0.08);
}

.value-card:nth-child(1), .feature-card:nth-child(1) { transition-delay: 0s; }
.value-card:nth-child(2), .feature-card:nth-child(2) { transition-delay: 0.02s; }
.value-card:nth-child(3), .feature-card:nth-child(3) { transition-delay: 0.04s; }
.value-card:nth-child(4), .feature-card:nth-child(4) { transition-delay: 0.06s; }
.value-card:nth-child(5), .feature-card:nth-child(5) { transition-delay: 0.08s; }
.value-card:nth-child(6), .feature-card:nth-child(6) { transition-delay: 0.1s; }

.value-card:nth-child(1), .feature-card:nth-child(1) { border-left-color: #0ea5e9; }
.value-card:nth-child(2), .feature-card:nth-child(2) { border-left-color: #9456C4; }
.value-card:nth-child(3), .feature-card:nth-child(3) { border-left-color: #FDCE27; }
.value-card:nth-child(4), .feature-card:nth-child(4) { border-left-color: #22c55e; }
.value-card:nth-child(5), .feature-card:nth-child(5) { border-left-color: #3896C4; }
.value-card:nth-child(6), .feature-card:nth-child(6) { border-left-color: #0ea5e9; }

.value-card:hover,
.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

#product1 .value-card:hover, #product1 .feature-card:hover { border-color: #0ea5e9; box-shadow: 0 12px 40px rgba(14, 165, 233, 0.25); }
#product2 .value-card:hover, #product2 .feature-card:hover { border-color: #9456C4; box-shadow: 0 12px 40px rgba(148, 86, 196, 0.2); }
#product3 .value-card:hover, #product3 .feature-card:hover { border-color: #FDCE27; box-shadow: 0 12px 40px rgba(253, 206, 39, 0.3); }
#product4 .value-card:hover, #product4 .feature-card:hover { border-color: #22c55e; box-shadow: 0 12px 40px rgba(34, 197, 94, 0.25); }

.feature-card.highlight {
    background: linear-gradient(135deg, rgba(253, 206, 39, 0.15), rgba(254, 240, 138, 0.08));
    border-color: rgba(253, 206, 39, 0.35);
    border-left-color: #FDCE27;
}

/* CTA 区块 - 各产品不同配色 */
.cta-block {
    text-align: center;
    padding: 64px 48px;
    border-radius: var(--radius-xl);
    margin: 48px 0;
    transition: transform 0.6s var(--transition-smooth);
}

.cta-block:hover {
    transform: scale(1.01);
}

.cta-block .download-btn {
    transition: transform 0.4s var(--transition-bounce);
}

.cta-block .download-btn:hover {
    transform: translateY(-6px) scale(1.08);
}

#product1 .cta-block {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(56, 189, 248, 0.08));
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 60px rgba(14, 165, 233, 0.15), inset 0 0 40px rgba(14, 165, 233, 0.05);
}
#product2 .cta-block {
    background: linear-gradient(135deg, rgba(148, 86, 196, 0.15), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(148, 86, 196, 0.3);
    box-shadow: 0 0 60px rgba(148, 86, 196, 0.15), inset 0 0 40px rgba(148, 86, 196, 0.05);
}
#product3 .cta-block {
    background: linear-gradient(135deg, rgba(253, 206, 39, 0.2), rgba(254, 240, 138, 0.1));
    border: 1px solid rgba(253, 206, 39, 0.4);
    box-shadow: 0 0 60px rgba(253, 206, 39, 0.18), inset 0 0 40px rgba(253, 206, 39, 0.06);
}
#product4 .cta-block {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(52, 211, 153, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 60px rgba(34, 197, 94, 0.15), inset 0 0 40px rgba(34, 197, 94, 0.05);
}

.cta-dual-download-lead {
    margin: -12px 0 24px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.5;
}

.cta-dual-download-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 520px) {
    .cta-dual-download-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .cta-dual-download-grid .download-btn-large {
        flex: 1 1 calc(50% - 7px);
        min-width: 220px;
    }
}

.cta-block.cta-dual-download.reveal {
    opacity: 1 !important;
    transform: none !important;
}

.cta-block h2 {
    font-size: 1.85rem;
    margin-bottom: 32px;
    color: var(--text-primary);
}

/* ========== 图片轮播 ========== */
.section-block.full-width {
    grid-template-columns: 1fr;
    text-align: center;
}


.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 580px;
    margin: 28px 0;
    border: 1px solid var(--border-color);
}

#product1 .image-slider {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.9) 0%, rgba(186, 230, 253, 0.7) 100%);
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.12), inset 0 0 30px rgba(14, 165, 233, 0.05);
    border-color: rgba(14, 165, 233, 0.25);
}
#product2 .image-slider {
    background: linear-gradient(180deg, rgba(245, 243, 255, 0.9) 0%, rgba(237, 233, 254, 0.7) 100%);
    box-shadow: 0 0 50px rgba(148, 86, 196, 0.12), inset 0 0 30px rgba(148, 86, 196, 0.05);
    border-color: rgba(148, 86, 196, 0.25);
}
#product3 .image-slider {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.95) 0%, rgba(254, 249, 195, 0.8) 100%);
    box-shadow: 0 0 50px rgba(253, 206, 39, 0.15), inset 0 0 30px rgba(253, 206, 39, 0.06);
    border-color: rgba(253, 206, 39, 0.3);
}
#product4 .image-slider {
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.9) 0%, rgba(187, 247, 208, 0.7) 100%);
    box-shadow: 0 0 50px rgba(34, 197, 94, 0.12), inset 0 0 30px rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.25);
}

.image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.image-slider img.active {
    opacity: 1;
    transform: scale(1);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.slider-controls button {
    padding: 14px 28px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.05rem;
    transition: all 0.3s var(--transition-bounce);
}

.slider-controls button:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.slider-controls button:active {
    transform: translateY(0) scale(0.98);
}

/* ========== 固定浮动栏（下载 + 引流） ========== */
.download-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 24px 32px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform var(--transition);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

/* 浮动栏透明浅色发光主题（根据 data-theme） */
.download-bar[data-theme="product1"] {
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08), 0 -8px 40px rgba(14, 165, 233, 0.12);
    border-top-color: rgba(14, 165, 233, 0.25);
}
.download-bar[data-theme="product2"] {
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08), 0 -8px 40px rgba(148, 86, 196, 0.12);
    border-top-color: rgba(148, 86, 196, 0.25);
}
.download-bar[data-theme="product3"] {
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08), 0 -8px 40px rgba(253, 206, 39, 0.15);
    border-top-color: rgba(253, 206, 39, 0.3);
}
.download-bar[data-theme="product4"] {
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08), 0 -8px 40px rgba(34, 197, 94, 0.12);
    border-top-color: rgba(34, 197, 94, 0.25);
}

.download-bar.visible {
    transform: translateY(0);
    animation: slideUpBounce 0.5s var(--transition-bounce) forwards;
}

@keyframes slideUpBounce {
    from { transform: translateY(100%); }
    70% { transform: translateY(-8px); }
    to { transform: translateY(0); }
}

.download-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: nowrap;
}

/* 关注我们区域 - 统一视觉分组 */
.download-bar-follow {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
}

.download-bar-follow .follow-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    margin: 0;
    padding-right: 8px;
}

.download-bar-follow .follow-channels {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: nowrap;
}

.download-bar-follow .follow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
}

/* 二维码卡片 - 统一尺寸与风格 */
.follow-qr {
    width: 100px;
    height: 100px;
    padding: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: visible;
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
    transform-origin: center bottom;
    flex-shrink: 0;
}

.follow-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 桌面：悬停放大 */
@media (hover: hover) {
    .follow-qr-hover:hover {
        transform: scale(3.5);
        z-index: 1000;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    }
}

/* 平板/手机：点击放大，再点击缩小（由 JS 添加 .expanded） */
@media (hover: none) {
    .follow-qr-hover {
        cursor: pointer;
    }
    .follow-qr-hover.expanded {
        transform: scale(3.5);
        z-index: 1000;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    }
}

/* 微信二维码为长方形，保持宽高比 */
.follow-qr-wechat {
    width: 240px;
    height: 100px;
}

.download-bar-follow .follow-item-wechat {
    width: 240px;
}

.download-bar-follow .follow-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* B站卡片 - 与二维码卡片统一尺寸，保持品牌渐变 */
.download-bar-follow .follow-bilibili {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100px;
    height: 100px;
    padding: 12px;
    background: linear-gradient(135deg, #00a1d6 0%, #fb7299 100%);
    color: #fff;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0, 161, 214, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
    flex-shrink: 0;
}

.download-bar-follow .follow-bilibili:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 161, 214, 0.4);
}

.download-bar-follow .bilibili-icon {
    font-size: 1.4rem;
    line-height: 1;
}

/* 下载区域 - 与关注区视觉分隔 */
.download-bar-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    padding-left: 40px;
    border-left: 1px solid var(--border-color);
}

.download-bar-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.download-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-bar-dual {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.download-bar-dual .download-btn-bar {
    padding: 12px 16px;
    font-size: 0.9rem;
}

/* 表格类产品仅保留首屏一个下载入口，浮动栏不显示下载区时居中关注内容 */
.download-bar[data-theme="product3"] .download-bar-inner,
.download-bar[data-theme="product4"] .download-bar-inner {
    justify-content: center;
}

/* ========== 页脚 ========== */
.site-footer {
    padding: 48px 5% 64px;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.95) 0%, rgba(226, 232, 240, 0.9) 100%);
    border-top: 1px solid var(--border-color);
    box-shadow: inset 0 0 80px rgba(13, 148, 136, 0.06), 0 -4px 24px rgba(13, 148, 136, 0.04);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero {
        min-height: 45vh;
        --hero-media-w: 45%;
        --hero-media-h: 65%;
    }
    
    .hero-inner {
        padding: 40px 5% 56px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .value-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid.three-cols {
        grid-template-columns: 1fr;
    }
    
    .image-slider {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 16px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item a {
        padding: 10px 14px;
        font-size: 0.95rem;
        font-weight: 700;
    }
    
    main {
        padding-top: 100px;
    }
    
    .section-block {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 44px;
    }
    
    .section-block.section-card {
        padding: 32px 28px;
    }
    
    .section-block h2 {
        font-size: 1.75rem;
    }
    
    .section-block p {
        font-size: 1.1rem;
    }
    
    
    .section-num {
        font-size: 2rem;
        top: 20px;
        right: 20px;
    }
    
    .section-intro {
        padding: 20px 24px;
        margin-bottom: 32px;
    }
    
    .hero-stats {
        gap: 6px 8px;
        margin-bottom: 12px;
    }
    
    .hero-stats .stat-item {
        padding: 4px 10px;
        font-size: 0.88rem;
    }
    
    .section-block.reverse .block-content,
    .section-block.reverse .block-image {
        order: unset;
    }
    
    .download-btn-large {
        padding: 18px 36px;
        font-size: 1.05rem;
    }
    
    .image-slider {
        height: 380px;
    }
    
    .cta-block {
        padding: 48px 24px;
    }
    
    .download-bar-inner {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .download-bar-content {
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
        width: 100%;
        justify-content: center;
    }
    
    .download-bar-follow {
        gap: 24px;
    }
    
    .download-bar-follow .follow-channels {
        gap: 20px;
    }
    
    .download-bar-follow .follow-item {
        width: 80px;
    }
    
    .download-bar-follow .follow-qr,
    .download-bar-follow .follow-bilibili {
        width: 80px;
        height: 80px;
    }
    
    .follow-qr-wechat {
        width: 200px;
        height: 80px;
    }
    
    .download-bar-follow .follow-item-wechat {
        width: 200px;
    }
}

/* 打印/导出时强制 logo 尺寸，防止放大到原图 */
@media print {
    .nav-logo-wrap {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
    .nav-logo {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
}

/* 尊重用户偏好 - 减少动画 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .download-btn {
        animation: none;
    }

    .hero.animate-in .hero-content > .download-btn,
    .hero.animate-in .hero-inner--ai .hero-download,
    .hero.animate-in .hero-inner--ai .hero-download .download-btn {
        animation: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 40vh;
        --hero-media-w: 50%;
        --hero-media-h: 55%;
    }
    
    .hero-inner {
        padding: 32px 5% 48px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-desc {
        font-size: 1.05rem;
    }
    
    .download-btn {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .value-card,
    .feature-card {
        padding: 22px;
        font-size: 1.05rem;
    }
    
    .section-block h2 {
        font-size: 1.65rem;
    }
    
    .section-block p {
        font-size: 1.05rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .download-bar-follow .follow-channels {
        gap: 16px;
    }
    
    .download-bar-follow .follow-item {
        width: 72px;
    }
    
    .download-bar-follow .follow-qr,
    .download-bar-follow .follow-bilibili {
        width: 72px;
        height: 72px;
    }
    
    .follow-qr-wechat {
        width: 180px;
        height: 72px;
    }
    
    .download-bar-follow .follow-item-wechat {
        width: 180px;
    }
    
    .download-bar-follow .follow-title {
        font-size: 0.85rem;
    }
}

/* ============================================
   页面分型重构 v2：桌面双端 vs Excel 单入口
   ============================================ */

.site-nav {
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.site-nav .nav-links {
    padding: 5px;
    gap: 4px;
    background: rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.site-nav .nav-item a {
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.98rem;
}

/* 顶部分型说明条 */
.kind-banner {
    position: relative;
    z-index: 4;
    padding: 8px 5%;
    border-bottom: 1px solid var(--border-color);
}

.kind-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.kind-banner__tag {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.kind-banner__text {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.42;
    max-width: 900px;
}

.kind-banner__text strong {
    color: var(--text-primary);
    font-weight: 800;
}

.kind-banner--ai {
    background: linear-gradient(90deg, rgba(224, 242, 254, 0.95) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(224, 242, 254, 0.85) 100%);
    border-bottom-color: rgba(14, 165, 233, 0.25);
}

.kind-banner--ai .kind-banner__tag {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: #fff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.kind-banner--ai.kind-banner--tone-violet {
    background: linear-gradient(90deg, rgba(237, 233, 254, 0.95) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(237, 233, 254, 0.88) 100%);
    border-bottom-color: rgba(148, 86, 196, 0.28);
}

.kind-banner--ai.kind-banner--tone-violet .kind-banner__tag {
    background: linear-gradient(135deg, #9456C4, #a78bfa);
    box-shadow: 0 4px 14px rgba(148, 86, 196, 0.35);
}

.kind-banner--table {
    background: linear-gradient(90deg, rgba(254, 252, 232, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-bottom-color: rgba(253, 206, 39, 0.35);
}

.kind-banner--table .kind-banner__tag {
    background: linear-gradient(135deg, #ca8a04, #eab308);
    color: #1e293b;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
}

.kind-banner--table.kind-banner--tone-green {
    background: linear-gradient(90deg, rgba(220, 252, 231, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-bottom-color: rgba(34, 197, 94, 0.3);
}

.kind-banner--table.kind-banner--tone-green .kind-banner__tag {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

/* 表格类产品首屏：宽屏下列与右侧轮播同高，窄屏见 @media (max-width: 900px) */
#product3 .hero--table-product,
#product4 .hero--table-product {
    min-height: clamp(400px, 58vh, 760px);
    overflow: visible;
    align-items: flex-start;
}

.hero-inner--table {
    position: relative;
    z-index: 2;
}

.hero-inner--table .hero-content {
    max-width: min(680px, 100%);
}

.hero-badge--table {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #854d0e !important;
    border-left: 3px solid #ca8a04 !important;
    box-shadow: 0 4px 20px rgba(202, 138, 4, 0.2);
}

.hero-badge--table-green {
    color: #14532d !important;
    border-left-color: #15803d !important;
    box-shadow: 0 4px 20px rgba(22, 101, 52, 0.15);
}

.hero-table-cta {
    width: 100%;
    max-width: 280px;
    margin: 0;
    padding: 16px 18px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 16px 40px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-table-cta--amber {
    border-left: 5px solid #ca8a04;
}

.hero-table-cta--green {
    border-left: 5px solid #16a34a;
}

.hero-table-cta__kicker {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.hero-table-cta__lead {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.4;
}

.hero-table-cta__btn {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 22px;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none !important;
    color: #1e293b !important;
    border: none;
    cursor: pointer;
    transition: transform 0.25s var(--transition-bounce), box-shadow 0.25s;
}

.hero-table-cta--amber .hero-table-cta__btn {
    background: linear-gradient(135deg, #eab308 0%, #fde047 50%, #facc15 100%);
    box-shadow: 0 8px 28px rgba(234, 179, 8, 0.45);
}

.hero-table-cta--amber .hero-table-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(234, 179, 8, 0.55);
}

.hero-table-cta--green .hero-table-cta__btn {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.4);
}

.hero-table-cta--green .hero-table-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(34, 197, 94, 0.5);
}

.hero-table-cta__btn-icon {
    font-size: 1.15rem;
    font-weight: 900;
}

.cta-dual-download--footer h2 {
    font-size: 1.65rem;
}

/* 表格类：底栏强制不出现下载区（与 JS hidden 双保险） */
.download-bar[data-product-kind="table"] .download-bar-content {
    display: none !important;
}

@media (max-width: 640px) {
    .kind-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .kind-banner__text {
        font-size: 0.88rem;
    }
}

/* ============================================
   子页面独立排版（各页风格不必一致）
   ============================================ */

/* ----- 产品1：AI 自动阅卷 — 左对齐叙事 + 错落卡片 + 非对称双栏 ----- */
.layout-p1 {
    max-width: 1080px;
    padding: 48px 6% 100px 8%;
}

.layout-p1 .section-intro {
    margin-left: 0;
    margin-right: auto;
    max-width: 92%;
    border-radius: 0 24px 24px 0;
    text-align: left;
    border-left: 5px solid #0284c7;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    border-right: 1px solid rgba(14, 165, 233, 0.15);
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
}

.layout-p1 .intro-text {
    text-align: left;
    font-size: 1.15rem;
}

.layout-p1 .section-block.section-card:not(.full-width) {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 40px 48px;
    border-radius: 8px 32px 32px 8px;
}

.layout-p1 .section-block.section-card:not(.full-width):nth-child(even) {
    border-radius: 32px 8px 8px 32px;
}

.layout-p1 .section-block h2 {
    border-left: none;
    padding-left: 0;
    border-bottom: 3px solid #0ea5e9;
    padding-bottom: 10px;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 24px;
}

.layout-p1 .section-num {
    top: auto;
    bottom: 16px;
    right: 20px;
    font-size: 3.25rem;
    opacity: 0.22;
}

.layout-p1 .value-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.layout-p1 .value-card:nth-child(even) {
    margin-left: clamp(12px, 6vw, 56px);
}

.layout-p1 .cta-dual-download--footer {
    border-radius: 32px 8px 32px 8px;
    text-align: left;
    padding-left: 56px;
    padding-right: 56px;
}

.layout-p1 .cta-dual-download--footer h2 {
    text-align: left;
}

.layout-p1 .cta-dual-download-grid {
    margin-left: 0;
    margin-right: auto;
}

/* ----- 产品2：本地阅卷 — 纵向卡片流 + 上图下文 + 轻微倾斜引言 ----- */
.layout-p2 {
    max-width: 820px;
    padding: 52px 5% 110px;
}

.layout-p2 .section-intro {
    text-align: center;
    border-radius: 28px;
    transform: rotate(-0.35deg);
    box-shadow: 0 12px 40px rgba(148, 86, 196, 0.12);
}

.layout-p2 .intro-text {
    font-size: 1.18rem;
}

.layout-p2 .section-block.section-card:not(.full-width) {
    grid-template-columns: 1fr !important;
    gap: 28px;
    border-radius: 28px;
    padding: 40px 36px;
}

.layout-p2 .section-block.reverse .block-content,
.layout-p2 .section-block.reverse .block-image {
    order: unset !important;
}

.layout-p2 .section-block:not(.full-width) .block-image {
    order: 1;
}

.layout-p2 .section-block:not(.full-width) .block-content {
    order: 2;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.layout-p2 .section-block h2 {
    text-align: center;
    border-left: none;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: 100%;
    border-bottom: 4px solid #7c3aed;
    padding-bottom: 12px;
}

.layout-p2 .section-num {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: 16px;
    font-size: 2rem;
    opacity: 0.18;
}

.layout-p2 .feature-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.layout-p2 .feature-card {
    border-radius: 20px;
}

.layout-p2 .block-image.img-frame {
    border-radius: 20px;
}

.layout-p2 .cta-dual-download--footer {
    border-radius: 28px;
}

/* ----- 产品3：学科分析 — 杂志宽幅 + 图文比例偏图 + 引言装饰 ----- */
.layout-p3 {
    max-width: 1320px;
    padding: 44px 4% 120px;
}

.layout-p3 .section-intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 36px 44px 36px 52px;
    border-radius: 4px 32px 32px 4px;
}

.layout-p3 .section-intro::before {
    content: "\201C";
    position: absolute;
    left: 12px;
    top: 8px;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(202, 138, 4, 0.22);
    line-height: 1;
    pointer-events: none;
}

.layout-p3 .intro-text {
    font-size: 1.22rem;
    line-height: 1.92;
}

.layout-p3 .section-block:not(.full-width) {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: 40px 56px;
}

.layout-p3 .section-block h2 {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    border-left-width: 6px;
    padding-left: 22px;
}

.layout-p3 .feature-grid.three-cols {
    gap: 22px;
}

@media (max-width: 1100px) {
    .layout-p3 .feature-grid.three-cols {
        grid-template-columns: 1fr;
    }
}

.layout-p3 .feature-card.highlight {
    border-radius: 20px;
    transform: translateY(0);
    transition: transform 0.35s var(--transition-bounce), box-shadow 0.35s;
}

.layout-p3 .feature-card.highlight:hover {
    transform: translateY(-6px);
}

/* ----- 产品4：班级管理 — 窄阅读栏 + 档案风引言 + 单栏图文 ----- */
.layout-p4 {
    max-width: 920px;
    padding: 48px 6% 120px;
}

.layout-p4 .section-intro {
    border-radius: 0;
    border-left: 8px solid #15803d;
    border-top: none;
    border-right: none;
    border-bottom: none;
    background: linear-gradient(90deg, rgba(240, 253, 244, 0.95) 0%, rgba(255, 255, 255, 0.98) 55%);
    box-shadow: 0 1px 0 rgba(34, 197, 94, 0.2);
    padding: 32px 36px 32px 40px;
}

.layout-p4 .intro-text {
    text-align: left;
    font-size: 1.12rem;
    color: #166534;
}

.layout-p4 .section-block:not(.full-width) {
    grid-template-columns: 1fr !important;
    gap: 26px;
}

.layout-p4 .section-block.reverse .block-content,
.layout-p4 .section-block.reverse .block-image {
    order: unset !important;
}

.layout-p4 .section-block:not(.full-width) .block-image {
    order: 1;
}

.layout-p4 .section-block:not(.full-width) .block-content {
    order: 2;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.layout-p4 .section-block.section-card {
    border-radius: 0 20px 20px 0;
    border-left: 5px solid #22c55e;
}

.layout-p4 .section-block h2 {
    font-size: 1.65rem;
    border-left: none;
    padding-left: 0;
    padding-top: 8px;
    border-top: 3px solid rgba(34, 197, 94, 0.45);
}

.layout-p4 .section-num {
    right: 24px;
    top: 20px;
    font-size: 2.25rem;
    color: rgba(22, 101, 52, 0.12);
}

.layout-p4 .block-image.img-frame {
    max-width: 100%;
    border-radius: 12px;
}

.layout-p4 .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.layout-p4 .feature-card {
    border-radius: 0 16px 16px 0;
    border-left-width: 5px;
}

@media (max-width: 900px) {
    .layout-p1 .section-block.section-card:not(.full-width),
    .layout-p3 .section-block:not(.full-width) {
        grid-template-columns: 1fr !important;
    }

    .layout-p1 .value-card:nth-child(even) {
        margin-left: 0;
    }

    .layout-p1 .section-intro,
    .layout-p1 .cta-dual-download--footer {
        max-width: 100%;
        border-radius: var(--radius-lg);
        text-align: center;
        padding-left: 28px;
        padding-right: 28px;
    }

    .layout-p1 .intro-text,
    .layout-p1 .cta-dual-download--footer h2 {
        text-align: center;
    }

    .layout-p1 .cta-dual-download-grid {
        margin-left: auto;
        margin-right: auto;
    }

    .layout-p2 .section-intro {
        transform: none;
    }

    .layout-p2 .section-num {
        transform: none;
        left: auto;
        right: 28px;
    }
}
