/* ==================== 基础样式 ==================== */

/* Skip link (无障碍) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 8px 24px;
    border-radius: 0 0 8px 8px;
    font-size: .9rem;
    font-weight: 600;
    z-index: 10000;
    transition: top .2s;
}
.skip-link:focus {
    top: 0;
}

/* 考前冲刺选择器卡片 */
.sprint-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.sprint-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 22px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    min-width: 120px;
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.sprint-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, transparent 60%);
    pointer-events: none;
}
.sprint-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.sprint-emoji { font-size: 1.6rem; margin-bottom: 6px; }
.sprint-card strong { font-size: 1rem; }
.sprint-card small { font-size: .75rem; opacity: .85; margin-top: 2px; }
.sprint-3d { background: linear-gradient(135deg, #ff4d4f, #ff7875); }
.sprint-7d { background: linear-gradient(135deg, #FF8C00, #ffad42); }
.sprint-10d { background: linear-gradient(135deg, #faad14, #ffc53d); }
.sprint-15d { background: linear-gradient(135deg, #07C160, #52c41a); }
.sprint-30d { background: linear-gradient(135deg, #1890ff, #40a9ff); }
@media(max-width:600px){
    .sprint-grid { gap: 10px; }
    .sprint-card { min-width: 90px; padding: 14px 16px; }
    .sprint-emoji { font-size: 1.3rem; }
    .sprint-card strong { font-size: .9rem; }
}

/* 考前紧急横幅 */
.emergency-banner {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: #fff;
    padding: 12px 0;
    position: relative;
    z-index: 10;
}
.emergency-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.emergency-icon { font-size: 1.4rem; }
.emergency-text { font-size: .95rem; }
.emergency-text strong { font-size: 1.05rem; }
.btn-emergency {
    background: #fff;
    color: #ff4d4f;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: all .2s;
}
.btn-emergency:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(255,77,79,.3); }

@media(max-width:600px){
    .emergency-inner { flex-direction: column; gap: 8px; text-align: center; }
    .emergency-text { font-size: .85rem; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #E3F2FD;
    --accent: #FF8C00;
    --danger: #ff4d4f;
    --text-dark: #1a1a2e;
    --text-gray: #555;
    --text-light: #999;
    --bg-light: #f5f7fa;
    --white: #fff;
    --border: #e8e8e8;
    --shadow: 0 2px 16px rgba(30, 136, 229, 0.06);
    --shadow-hover: 0 8px 30px rgba(30, 136, 229, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ===== 暗色模式 ===== */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --primary: #42a5f5;
        --primary-dark: #2196f3;
        --primary-light: #1a2a3e;
        --text-dark: #e4e4e7;
        --text-gray: #a1a1aa;
        --text-light: #71717a;
        --bg-light: #18181b;
        --white: #0f0f12;
        --border: #27272a;
        --shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 30px rgba(66, 165, 245, 0.15);
    }
}
[data-theme="dark"] {
    --primary: #42a5f5;
    --primary-dark: #2196f3;
    --primary-light: #1a2a3e;
    --text-dark: #e4e4e7;
    --text-gray: #a1a1aa;
    --text-light: #71717a;
    --bg-light: #18181b;
    --white: #0f0f12;
    --border: #27272a;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(66, 165, 245, 0.15);
}

/* 暗色模式组件覆盖 */
[data-theme="dark"] .navbar,
:root:not([data-theme="light"]) .navbar { background: rgba(15,15,18,0.95); }
[data-theme="dark"] .product-card,
:root:not([data-theme="light"]) .product-card { background: #1a1a1f; border-color: #27272a; }
[data-theme="dark"] .info-card,
:root:not([data-theme="light"]) .info-card { background: #1a1a1f; border-color: #27272a; }
[data-theme="dark"] .feature-card,
:root:not([data-theme="light"]) .feature-card { background: #1a1a1f; border-color: #27272a; }
[data-theme="dark"] .testimonial-card,
:root:not([data-theme="light"]) .testimonial-card { background: #1a1a1f; border-color: #27272a; }
[data-theme="dark"] .visit-badge,
:root:not([data-theme="light"]) .visit-badge { background: rgba(15,15,18,0.92); border-color: #27272a; }
[data-theme="dark"] .faq-item summary,
:root:not([data-theme="light"]) .faq-item summary { background: #1a1a1f; color: #e4e4e7; }
[data-theme="dark"] .faq-item[open] summary,
:root:not([data-theme="light"]) .faq-item[open] summary { border-bottom-color: #27272a; }
[data-theme="dark"] .daily-question-card,
:root:not([data-theme="light"]) .daily-question-card { background: #1a1a1f; border-color: #27272a; }
[data-theme="dark"] .footer,
:root:not([data-theme="light"]) .footer { background: #0a0a0d; }
[data-theme="dark"] .hero,
:root:not([data-theme="light"]) .hero { background: linear-gradient(135deg, #0a1520 0%, #0d1117 50%, #111118 100%); }
[data-theme="dark"] .trust-bar,
:root:not([data-theme="light"]) .trust-bar { background: #111114; }
[data-theme="dark"] .newsletter-inner,
:root:not([data-theme="light"]) .newsletter-inner { background: linear-gradient(135deg, #1a2a3e, #1a1a1f); }
[data-theme="dark"] .newsletter-input,
:root:not([data-theme="light"]) .newsletter-input { background: #27272a; border-color: #3f3f46; color: #e4e4e7; }
[data-theme="dark"] .dq-option,
:root:not([data-theme="light"]) .dq-option { background: #27272a; border-color: #3f3f46; color: #e4e4e7; }
[data-theme="dark"] .mobile-float,
:root:not([data-theme="light"]) .mobile-float { background: rgba(15,15,18,0.95); }

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== 右上角访问量 ==================== */
.visit-badge {
    position: fixed;
    top: 72px;
    right: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13px;
    color: var(--text-gray);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.visit-badge:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.visit-item strong {
    color: var(--primary);
    font-weight: 700;
}

.visit-divider {
    color: var(--border);
    font-size: 14px;
}

@media (max-width: 768px) {
    .visit-badge {
        top: auto;
        bottom: 60px;
        right: 16px;
        font-size: 12px;
        padding: 6px 14px;
        gap: 8px;
    }
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s;
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==================== Hero 区域 ==================== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(170deg, #E3F2FD 0%, #BBDEFB 30%, #E1F5FE 60%, #f8fffe 100%);
    position: relative;
    overflow: hidden;
}

/* 装饰网格背景 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(30,136,229,0.04) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

/* 装饰光斑 */
.hero .hero-decor-1,
.hero .hero-decor-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero .hero-decor-1 {
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30,136,229,0.1) 0%, transparent 70%);
}
.hero .hero-decor-2 {
    bottom: -40px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255,140,0,0.08) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-light));
    pointer-events: none;
}

.hero-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text {
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), #d4f5e0);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    animation: heroPulse 2s ease-in-out 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 400;
}

.hero .desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 36px;
}

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

.stat-item strong {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
}

.stat-item span {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(30, 136, 229, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ==================== 通用区块 ==================== */
.section {
    padding: 90px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 48px;
}

/* ==================== 考试倒计时 ==================== */
.countdown {
    background: var(--bg-light);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.countdown-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.35s;
}

.countdown-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.countdown-card:hover::before {
    transform: scaleX(1);
}

.countdown-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.countdown-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
}

.countdown-num span {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-num small {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 500;
}

.countdown-hint {
    font-size: 13px;
    color: var(--text-light);
}

/* 倒计时紧迫状态 - 7天内 */
.countdown-urgent {
    border-color: var(--danger) !important;
    background: linear-gradient(135deg, #fff1f0 0%, #fff 100%) !important;
    animation: urgentPulse 2s ease-in-out infinite;
}

.countdown-urgent .countdown-num span {
    color: var(--danger);
}

.countdown-urgent .countdown-name::after {
    content: ' 🔥';
}

.countdown-urgent::before {
    background: var(--danger) !important;
}

@keyframes urgentPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.12); }
    50% { box-shadow: 0 0 0 8px rgba(255, 77, 79, 0); }
}

/* 倒计时即将到来 - 30天内 */
.countdown-soon {
    border-color: var(--accent) !important;
    background: linear-gradient(135deg, #fff7e6 0%, #fff 100%) !important;
}

.countdown-soon .countdown-num span {
    color: var(--accent);
}

.countdown-soon .countdown-name::after {
    content: ' ⏰';
}

.countdown-soon::before {
    background: var(--accent) !important;
}

/* 考试已开始 */
.countdown-started {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%) !important;
}

.countdown-started .countdown-num span {
    color: var(--primary);
    animation: numBounce 0.6s ease;
}

.countdown-started::before {
    background: var(--primary) !important;
    transform: scaleX(1) !important;
}

@keyframes numBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ==================== 小程序入口 ==================== */
.products {
    background: var(--white);
}

/* 产品卡片玻璃态增强 */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30,136,229,0.04), transparent);
    transition: left 0.6s;
}

.product-card:hover::after {
    left: 100%;
}

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

/* product-card 样式（玻璃态增强版，上方已定义基础样式） */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.35s;
}

.product-card:hover {
    border-color: rgba(30, 136, 229, 0.25);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    font-size: 52px;
    margin-bottom: 18px;
    display: block;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.tag {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 20px;
}

.btn-product {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.btn-product:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(30, 136, 229, 0.35);
}

/* 产品卡片内小程序码 */
.product-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.product-qr-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
}

.product-qr-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.coming-soon {
    background: #f0f0f0 !important;
    color: var(--text-light) !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.coming-soon:hover {
    background: #e8e8e8 !important;
    transform: none !important;
}

/* ==================== 备考干货 ==================== */
.info {
    background: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.info-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: rgba(30, 136, 229, 0.15);
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-date {
    font-size: 12px;
    color: var(--text-light);
}

/* ==================== 特色优势 ==================== */
.features {
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
    border-color: rgba(30, 136, 229, 0.15);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ==================== 底部 ==================== */
.footer {
    background: linear-gradient(180deg, #111116 0%, #0a0a0d 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-section a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    transition: color 0.25s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

/* ==================== 模态框 ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    max-width: 360px;
    width: 90%;
}

.modal-content p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-gray);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin: 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 120px 0 70px;
    }

    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 17px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-item strong {
        font-size: 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 26px;
    }

    .countdown-grid {
        grid-template-columns: 1fr !important;
    }

    .countdown-num span {
        font-size: 32px;
    }

    .mobile-float {
        display: flex;
    }
}

/* ==================== 性能优化 ==================== */
/* GPU 加速动画元素 */
.product-card, .feature-card, .info-card, .countdown-card, .testimonial-card {
    will-change: transform;
}

/* 减少重绘：倒计时数字 */
.countdown-num span {
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    display: inline-block;
}

/* 暗色模式适配 (prefers-color-scheme) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #e4e4e7;
        --text-gray: #a1a1aa;
        --text-light: #71717a;
        --bg-light: #18181b;
        --white: #1e1e22;
        --border: #2e2e33;
    }
    .navbar, .visit-badge, .product-card, .info-card, .faq-item, .daily-question-card {
        background: var(--white) !important;
        color: var(--text-dark);
    }
    .hero {
        background: linear-gradient(170deg, #0a1a0f 0%, #0f1f14 50%, #111 100%);
        color: #e4e4e7;
    }
    .trust-bar, .products, .features {
        background: var(--white);
    }
    .countdown, .info, .faq, .daily-question, .seo-keywords {
        background: var(--bg-light);
    }
    .modal-content {
        background: var(--white);
        color: var(--text-dark);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 110px 0 60px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}

/* ==================== 汉堡菜单 ==================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }

    .nav-links a::after {
        display: none;
    }
}

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(30, 136, 229, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==================== Toast 提示 ==================== */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(26, 26, 26, 0.85);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
    z-index: 3000;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==================== FAQ 常见问题 ==================== */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(30, 136, 229, 0.2);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.faq-item a {
    color: var(--primary);
    text-decoration: underline;
}

/* ==================== Footer Share ==================== */
.footer-share {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-share span {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-share a {
    display: inline-block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.25s;
    margin-bottom: 0;
}

.footer-share a:hover {
    background: rgba(7, 193, 96, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==================== no-js 兜底 ==================== */
.no-js .product-card,
.no-js .info-card,
.no-js .feature-card {
    opacity: 1 !important;
    transform: none !important;
}

/* ==================== 移动端底部浮窗 ==================== */
.mobile-float {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 12px 24px;
    align-items: center;
    justify-content: space-between;
    z-index: 998;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.mobile-float span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.mobile-float-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-float-btn:hover {
    background: var(--primary-dark);
}

/* ==================== 微信悬浮按钮 ==================== */
.wechat-float-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30,136,229,0.4);
    z-index: 997;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(30,136,229,0.5);
}

@media (max-width: 768px) {
    .wechat-float-btn {
        bottom: 72px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

/* ==================== 考生评价 ==================== */
.testimonials {
    background: linear-gradient(170deg, #E3F2FD 0%, #f8fffe 100%);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--border);
    transition: all 0.35s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.testimonial-stars {
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

/* ==================== CTA 行动号召 ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.cta-inner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-inner p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 44px;
    font-size: 17px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-section .btn-primary:hover {
    background: #f0fff4;
    transform: translateY(-2px);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.cta-section .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-inner h2 {
        font-size: 26px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 280px;
    }
}

/* ==================== 信任条 ==================== */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}

.trust-item:hover {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .trust-items {
        gap: 16px;
    }
    .trust-item {
        font-size: 13px;
    }
}

/* ==================== Hero信任指标 ==================== */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: -8px;
    border: 2px solid var(--white);
}

.trust-avatars .avatar:first-child {
    margin-left: 0;
}

.trust-text {
    font-size: 13px;
    color: var(--text-light);
}

.trust-text strong {
    color: var(--primary-dark);
}

/* ==================== 文字渐变 ==================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #34d058 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== 按钮脉冲 ==================== */
.btn-pulse {
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(7, 193, 96, 0.3); }
    50% { box-shadow: 0 4px 24px rgba(7, 193, 96, 0.5); }
}

/* ==================== 产品卡片热门标记 ==================== */
.product-card--featured {
    border-color: rgba(7, 193, 96, 0.3);
    position: relative;
}

.product-card--featured::before {
    transform: scaleX(1) !important;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.tag--free {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
    font-weight: 700;
}

/* ==================== 倒计时内链接 ==================== */
.countdown-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.25s;
}

.countdown-link:hover {
    color: var(--primary-dark);
}

/* ==================== SEO关键词云 ==================== */
.seo-keywords {
    background: var(--bg-light);
    padding: 60px 0;
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.keyword-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-gray);
    transition: all 0.25s;
    text-decoration: none;
}

.keyword-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.keyword-hot {
    border-color: rgba(7, 193, 96, 0.25);
    color: var(--primary-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .keyword-cloud {
        gap: 8px;
    }
    .keyword-tag {
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* ==================== Feature 6列 ==================== */
.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== Footer链接说明 ==================== */
.footer-link-note {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.4);
    margin-top: 8px;
}

/* 移动端浮窗时底部留空间 */
@media (max-width: 768px) {
    .footer {
        padding-bottom: 72px;
    }
}

/* ==================== 每日一题 ==================== */
.daily-question {
    background: var(--bg-light);
}

.daily-question-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.dq-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.dq-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dq-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.dq-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.dq-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.dq-option.correct {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}

.dq-option.wrong {
    border-color: var(--danger);
    background: #fff2f0;
    color: var(--danger);
}

.dq-option:disabled {
    cursor: default;
    opacity: 0.9;
}

.dq-result {
    margin: 16px 0;
    padding: 16px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.dq-answer {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.dq-explain {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.dq-hint {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

/* ==================== 备考社群 ==================== */
.community-section {
    background: linear-gradient(135deg, #1565C0, #0d47a1, #1a237e);
    color: white;
}

.community-inner {
    text-align: center;
    max-width: 700px;
}

.community-inner h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.community-inner > p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 28px;
}

.community-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.community-feature {
    background: rgba(255,255,255,0.12);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    backdrop-filter: blur(4px);
}

.community-hint {
    font-size: 14px;
    opacity: 0.7;
}

/* ==================== 文章标记 ==================== */
.info-card--new {
    position: relative;
}

.new-badge {
    display: inline-block;
    background: #ff4d4f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* 热门文章标记 */
.info-card--hot {
    border-color: rgba(255, 77, 79, 0.3);
    background: linear-gradient(135deg, #fff5f5, #fff);
}

.info-card--hot:hover {
    border-color: var(--danger);
    box-shadow: 0 8px 24px rgba(255, 77, 79, 0.12);
}

.info-card--hot .info-icon {
    background: #fff1f0;
}

/* 更多文章入口 */
.info-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.info-more a {
    display: inline-block;
    padding: 8px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-gray);
    transition: all 0.25s;
}

.info-more a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ==================== 文章页相关文章 ==================== */
.article-related {
    margin: 40px 0;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.article-related h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.article-related a {
    display: block;
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.article-related a:last-child {
    border-bottom: none;
}

.article-related a:hover {
    color: var(--primary);
}

.article-related a::before {
    content: "→ ";
    color: var(--primary);
}

/* ==================== 真题样式 ==================== */
.exam-question {
    margin: 24px 0;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.exam-question p {
    margin-bottom: 8px;
}

.study-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.study-table th,
.study-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.study-table th {
    background: var(--bg-light);
    font-weight: 600;
}

.study-table tr:hover td {
    background: var(--primary-light);
}

/* 文章导航双链接 */
.article-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.article-nav a:last-child {
    margin-left: auto;
}

/* ==================== 邮件订阅 ==================== */
.newsletter-section {
    background: linear-gradient(135deg, #1E88E5 0%, #0d47a1 100%);
    color: white;
    text-align: center;
    padding: 70px 0;
}

.newsletter-inner h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.newsletter-inner > p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 15px;
    background: rgba(255,255,255,0.15);
    color: white;
    outline: none;
    transition: all 0.3s;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
    border-color: white;
    background: rgba(255,255,255,0.25);
}

.newsletter-btn {
    white-space: nowrap;
}

.newsletter-hint {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-input, .newsletter-btn {
        width: 100%;
    }
    .newsletter-inner h2 {
        font-size: 24px;
    }
}

/* ==================== 社交证明动态条 ==================== */
.social-proof-toast {
    position: fixed;
    bottom: 100px;
    left: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 13px;
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 996;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s;
    max-width: 280px;
    border-left: 3px solid var(--primary);
}

.social-proof-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-proof-toast .sp-name {
    font-weight: 600;
    color: var(--primary-dark);
}

.social-proof-toast .sp-time {
    color: var(--text-light);
    font-size: 12px;
}

@media (max-width: 768px) {
    .social-proof-toast {
        bottom: 80px;
        left: 12px;
        right: 12px;
        max-width: none;
    }
}

/* ==================== 骨架屏加载 ==================== */
/* (shimmer animation defined below in visual enhancement section) */

/* ==================== 分享邀请裂变 ==================== */
.share-invite {
    margin-top: 28px;
    padding: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    border: 1px dashed rgba(255,255,255,0.3);
}

.share-invite-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffd700;
}

.share-invite-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn-wechat {
    background: var(--primary);
    color: white;
}

.share-btn-wechat:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.share-btn-copy {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
}

.share-btn-copy:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.share-btn-poster {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
}

.share-btn-poster:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* ==================== Footer社交链接 ==================== */
.footer-social-links {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.footer-social-links a {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 0;
    transition: all 0.25s;
}

.footer-social-links a:hover {
    background: rgba(7, 193, 96, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==================== 外部引流引导条 ==================== */
.traffic-banner {
    background: linear-gradient(135deg, #1E88E5 0%, #0d47a1 100%);
    padding: 12px 0;
    text-align: center;
    color: white;
    font-size: 14px;
}

.traffic-banner a {
    color: #ffd700;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .share-invite-buttons {
        flex-direction: column;
    }
    .share-btn {
        width: 100%;
    }
}

/* ==================== 视觉增强 v2 ==================== */

/* Hero 微光动画 */
@keyframes heroGlow {
    0% { transform: translate(-10%, -10%); }
    100% { transform: translate(10%, 10%); }
}

/* 卡片悬浮效果升级 */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.15);
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.feature-icon {
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
}

/* 按钮呼吸脉冲增强 */
.btn-pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    animation: btnPulse 2s ease-out infinite;
    pointer-events: none;
}

/* 信息卡片NEW标记渐变条 */
.info-card--new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 12px 12px 0 0;
}

/* 评价卡片左边框效果 */
.testimonial-card {
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-left-color: var(--primary);
    transform: translateX(4px);
}

/* CTA 区域脉冲动效 */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* 渐入动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.trust-bar {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* FAQ 手风琴优化 */
details.faq-item[open] {
    background: var(--primary-light);
    border-radius: 12px;
}

details.faq-item[open] summary {
    color: var(--primary-dark);
    font-weight: 600;
}

/* 信息卡片悬浮渐变 */
.info-card:hover {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, #fff, #E3F2FD);
}

/* Hero 微光 shimmer */
.hero-badge {
    animation: shimmerBadge 3s ease-in-out infinite;
}

@keyframes shimmerBadge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30,136,229,0); }
    50% { box-shadow: 0 0 20px 2px rgba(30,136,229,0.15); }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .social-proof-toast {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 70px;
        font-size: 12px;
    }
    
    .hero::before {
        display: none;
    }
    
    .testimonial-card:hover {
        transform: none;
        border-left-color: transparent;
    }
    
    .info-card--new::after {
        height: 2px;
    }
}
/* === 紧急按钮脉冲 === */
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,79,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255,77,79,0); }
}

/* === 紧急标签 === */
.urgency-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ff4d4f, #ff2d2d);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: pulse-btn 2s infinite;
  margin-bottom: 8px;
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 暗色模式切换按钮 ===== */
.theme-toggle {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: all 0.3s;
}
.theme-toggle:hover { transform: scale(1.1); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
@media(max-width:768px){ .theme-toggle { bottom: 70px; right: 16px; width: 38px; height: 38px; font-size: 17px; } }

/* ===== 卡片微交互增强 ===== */
.product-card { transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1); }
.product-card:hover { transform: translateY(-6px) scale(1.01); }
.info-card { transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s; }
.info-card:hover { transform: translateY(-4px); }
.feature-card { transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-4px); }

/* ===== 按钮点击反馈 ===== */
.btn:active { transform: scale(0.97); }
.btn-primary:hover { box-shadow: 0 4px 20px rgba(30,136,229,0.35); }

/* ===== 渐变文字动画 ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #00b4d8, var(--primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes heroPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== 社交证明toast暗色 ===== */
[data-theme="dark"] .social-proof-toast,
:root:not([data-theme="light"]) .social-proof-toast { background: rgba(15,15,18,0.95); border-color: #27272a; color: #e4e4e7; }

/* ===== 最近更新区块 ===== */
.recent-updates {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 20px 0 32px;
    border-left: 4px solid var(--primary);
}
.recent-updates h3 { font-size: 1rem; margin-bottom: 12px; color: var(--text-dark); }
.recent-updates ul { list-style: none; padding: 0; }
.recent-updates li { padding: 6px 0; font-size: .9rem; color: var(--text-gray); border-bottom: 1px solid var(--border); }
.recent-updates li:last-child { border-bottom: none; }
.recent-updates .ru-date { color: var(--text-light); font-size: .8rem; margin-left: 8px; }
.recent-updates a { color: var(--primary); text-decoration: none; }
.recent-updates a:hover { text-decoration: underline; }

/* ===== 文章内互链推荐栏 ===== */
.related-articles {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin: 40px 0 0;
}
.related-articles h3 { font-size: 1.1rem; margin-bottom: 14px; color: var(--text-dark); }
.related-articles .ra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-articles a {
    display: block;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .9rem;
    color: var(--text-dark);
    transition: all 0.2s;
}
.related-articles a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
@media(max-width:600px){ .related-articles .ra-grid { grid-template-columns: 1fr; } }

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 面包屑导航 ===== */
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== SEO内链区 ===== */
.seo-internal-links { border-top: 1px solid var(--border); }

/* ===== 优化新增样式 ===== */

/* 阅读进度条 */
.reading-progress-bar {
    position: fixed;
    top: 56px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #4caf50);
    z-index: 999;
    transition: width 0.1s linear;
    width: 0%;
}

/* 文章页TOC目录 */
.article-toc {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.8;
}
.article-toc h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-gray);
    font-weight: 600;
}
.article-toc a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 2px 0 2px 12px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}
.article-toc a:hover,
.article-toc a.toc-active {
    color: var(--primary);
    border-left-color: var(--primary);
}
.article-toc .toc-h3 { padding-left: 28px; font-size: 13px; }

/* 文章布局（TOC+内容） */
.article-with-toc {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 960px) {
    .article-with-toc { grid-template-columns: 1fr; }
    .article-toc { display: none; }
}

/* 社交分享按钮 */
.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    margin: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.share-bar .share-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.share-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}
.share-btn-wechat { border-color: #07C160; color: #07C160; }
.share-btn-wechat:hover { background: #07C160; color: #fff; }
.share-btn-weibo { border-color: #e6162d; color: #e6162d; }
.share-btn-weibo:hover { background: #e6162d; color: #fff; }
.share-btn-qq { border-color: #12b7f5; color: #12b7f5; }
.share-btn-qq:hover { background: #12b7f5; color: #fff; }
.share-btn-copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 上一篇/下一篇导航 */
.article-prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 40px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.article-prev-next a {
    display: block;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s;
}
.article-prev-next a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.article-prev-next .pn-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
}
.article-prev-next .pn-title {
    font-size: 15px;
    font-weight: 600;
}
.article-prev-next .pn-next {
    text-align: right;
}
@media (max-width: 600px) {
    .article-prev-next { grid-template-columns: 1fr; }
    .article-prev-next .pn-next { text-align: left; }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 10000;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.cookie-consent.show { display: flex; }
.cookie-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}
.cookie-consent p {
    font-size: 14px;
    color: var(--text-gray);
    flex: 1;
    min-width: 240px;
}
.cookie-consent .btn {
    white-space: nowrap;
}
@media (max-width: 600px) {
    .cookie-consent-inner { flex-direction: column; text-align: center; }
}

/* 返回顶部进度指示 */
.back-to-top {
    position: relative;
    overflow: hidden;
}
.back-to-top::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform-origin: left;
    transform: scaleX(var(--scroll-progress, 0));
    transition: transform 0.1s;
}

/* ==================== 2026-05-01j 第七轮优化 ==================== */

/* 更新横幅 */
.update-banner {
    background: linear-gradient(90deg, #ff4d4f, #ff7875);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: .85rem;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 998;
    animation: bannerPulse 3s ease-in-out infinite;
}
@keyframes bannerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}
.update-banner--urgent {
    background: linear-gradient(90deg, #ff4d4f, #cf1322);
    font-weight: 500;
}
.update-banner a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

/* Hero副CTA */
.btn-accent {
    background: linear-gradient(135deg, #FF8C00, #ff6b00);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(255,140,0,0.3);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,140,0,0.4);
}

/* Hero副标题 */
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-gray, #555);
    margin-bottom: 8px;
}

/* Hero描述 */
.hero-desc {
    font-size: .95rem;
    color: var(--text-light, #999);
    margin-bottom: 28px;
}

/* 导航CTA高亮 */
.nav-cta {
    color: var(--danger) !important;
    font-weight: 700;
}

/* 信息卡片颜色变体 */
.info-card--green { border-color: #52c41a; background: linear-gradient(135deg, #f6ffed, #fff); }
.info-card--purple { border-color: #722ed1; background: linear-gradient(135deg, #f9f0ff, #fff); }
.info-card--accent { border-color: var(--accent, #FF8C00); background: linear-gradient(135deg, #fff7e6, #fff); }

.info-date--hot { color: var(--danger, #ff4d4f); }
.info-date--green { color: #52c41a; }
.info-date--purple { color: #722ed1; }
.info-date--accent { color: var(--accent, #FF8C00); }

/* 冲刺选择器区块 */
.sprint-section {
    background: linear-gradient(135deg, #f3e5f5, #e8eaf6);
    padding: 48px 0;
}
.sprint-inner { text-align: center; }
.sprint-inner .section-title { font-size: 1.6rem; margin-bottom: 8px; }

/* SEO内链区 */
.seo-internal-links {
    border-top: 1px solid var(--border);
    background: var(--bg-light, #f7f8fa);
    padding: 40px 0;
}
.seo-inner { max-width: 800px; }
.seo-title {
    font-size: 1rem;
    color: var(--text-light, #999);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 500;
}
.seo-keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* CTA按钮增强 */
.cta-section .btn-accent {
    background: linear-gradient(135deg, #FF8C00, #ff6b00);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(255,140,0,0.3);
}
.cta-section .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,140,0,0.4);
}

/* Footer sitemap链接 */
.footer-sitemap {
    color: rgba(255,255,255,0.5) !important;
}
.footer-sitemap:hover {
    color: var(--primary) !important;
}

/* 暗色模式: 冲刺选择器 */
[data-theme="dark"] .sprint-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

/* 暗色模式: 更新横幅 */
[data-theme="dark"] .update-banner {
    background: linear-gradient(90deg, #991b1b, #7f1d1d);
}

/* 暗色模式: 信息卡片颜色变体 */
[data-theme="dark"] .info-card--green { background: linear-gradient(135deg, #0f1f0f, #1a1a1f); }
[data-theme="dark"] .info-card--purple { background: linear-gradient(135deg, #1a0f1e, #1a1a1f); }
[data-theme="dark"] .info-card--accent { background: linear-gradient(135deg, #1f1a0f, #1a1a1f); }

/* 暗色模式: SEO内链区 */
[data-theme="dark"] .seo-internal-links {
    background: #0f0f12;
}

/* ==================== 2026-05-01 UI增强 ==================== */

/* 滚动淡入动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 卡片hover增强 */
.countdown-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 136, 229, 0.12);
}
.countdown-card {
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}

/* 暗色模式优化 */
[data-theme="dark"] .hero {
    background: linear-gradient(170deg, #0a1520 0%, #0d1117 50%, #111118 100%);
}
[data-theme="dark"] .countdown-card {
    background: #1a1a1f;
    border-color: #27272a;
}
[data-theme="dark"] .countdown-urgent {
    background: linear-gradient(135deg, #2a1515 0%, #1a1a1f 100%) !important;
}
[data-theme="dark"] .countdown-soon {
    background: linear-gradient(135deg, #2a2515 0%, #1a1a1f 100%) !important;
}
[data-theme="dark"] .keyword-tag {
    background: #1a1a1f;
    border-color: #27272a;
    color: #a1a1aa;
}
[data-theme="dark"] .keyword-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
[data-theme="dark"] .emergency-banner {
    background: linear-gradient(135deg, #991b1b, #7f1d1d);
}
[data-theme="dark"] .hamburger span {
    background: #e4e4e7;
}
[data-theme="dark"] .nav-links {
    background: rgba(15,15,18,0.98);
}

/* 颜色对比度优化 */
.section-desc { color: #666; }
.hero .desc { color: #777; }

/* 移动端优化 */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; letter-spacing: -1px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 24px; }
    .countdown-num span { font-size: 28px; }
    .product-card { padding: 24px 20px; }
    .feature-card { padding: 24px 16px; }
}

/* Footer友链区暗色模式 */
[data-theme="dark"] .footer-friends a:not(:hover) {
    border-color: rgba(255,255,255,0.06);
}

/* 冲刺方案网格 - 见文件头部定义，此处仅补充暗色模式 */
[data-theme="dark"] .sprint-card { color: #e4e4e7; }

/* 按钮点击ripple效果 */
.btn { position: relative; overflow: hidden; }
.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.4s, height 0.4s, opacity 0.4s;
    opacity: 0;
}
.btn:active::after {
    width: 200px; height: 200px;
    opacity: 1;
    transition: 0s;
}
