/* ============================================
   AT8 Russia Reg - Frontend Styles
   Professional landing page design system
   ============================================ */

:root {
    --at8-primary: #1e3a5f;
    --at8-primary-dark: #0f2440;
    --at8-accent: #c9a227;
    --at8-accent-light: #f0d675;
    --at8-success: #10b981;
    --at8-danger: #ef4444;
    --at8-warning: #f59e0b;
    --at8-bg-light: #f8fafc;
    --at8-bg-white: #ffffff;
    --at8-text: #1e293b;
    --at8-text-muted: #64748b;
    --at8-border: #e2e8f0;
    --at8-radius: 12px;
    --at8-radius-lg: 20px;
    --at8-shadow: 0 4px 24px rgba(30,58,95,0.08);
    --at8-shadow-lg: 0 12px 48px rgba(30,58,95,0.12);
    --at8-gradient-hero: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #1e3a5f 100%);
    --at8-gradient-gold: linear-gradient(135deg, #c9a227 0%, #f0d675 50%, #c9a227 100%);
}

/* ---- Hero Banner ---- */
.at8-hero {
    position: relative;
    background: var(--at8-gradient-hero);
    color: #fff;
    overflow: hidden;
    text-align: center;
}
.at8-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(201,162,39,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
    animation: at8HeroFloat 20s ease-in-out infinite alternate;
}
@keyframes at8HeroFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-3%, 2%) rotate(1deg); }
}
.at8-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}
.at8-hero-badge {
    display: inline-block;
    background: rgba(201,162,39,0.2);
    border: 1px solid rgba(201,162,39,0.4);
    color: var(--at8-accent-light);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.at8-hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}
.at8-hero-subtitle {
    font-size: clamp(16px, 2.2vw, 22px);
    opacity: 0.88;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 28px;
    font-weight: 300;
}
.at8-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.at8-hero-tag {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

/* ---- Pricing Card ---- */
.at8-pricing-card {
    background: var(--at8-bg-white);
    border-radius: var(--at8-radius-lg);
    box-shadow: var(--at8-shadow-lg);
    overflow: hidden;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}
.at8-pricing-card .at8-popular-ribbon {
    position: absolute;
    top: 20px;
    right: -32px;
    background: var(--at8-gradient-gold);
    color: var(--at8-primary-dark);
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 12px rgba(201,162,39,0.4);
    z-index: 2;
}
.at8-pricing-header {
    background: var(--at8-gradient-hero);
    color: #fff;
    padding: 36px 32px 28px;
    text-align: center;
}
.at8-pricing-product-name {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 8px;
}
.at8-pricing-original-price {
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    text-decoration: line-through;
    display: inline-block;
    margin-right: 8px;
}
.at8-pricing-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}
.at8-pricing-currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--at8-accent-light);
}
.at8-pricing-amount {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
}
.at8-pricing-period {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    margin-left: 4px;
}
.at8-pricing-savings {
    display: inline-block;
    background: rgba(16,185,129,0.2);
    color: #6ee7b7;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
}
.at8-pricing-body {
    padding: 28px 32px;
}
.at8-pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.at8-pricing-feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--at8-border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--at8-text);
}
.at8-pricing-feature-list li:last-child {
    border-bottom: none;
}
.at8-pricing-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--at8-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
}

/* ---- Countdown Timer ---- */
.at8-countdown-wrapper {
    text-align: center;
    padding: 20px 0;
}
.at8-countdown-label {
    font-size: 14px;
    color: var(--at8-text-muted);
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.at8-countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.at8-countdown-item {
    background: var(--at8-primary);
    color: #fff;
    border-radius: var(--at8-radius);
    min-width: 72px;
    padding: 14px 10px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(30,58,95,0.2);
}
.at8-countdown-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.at8-countdown-unit {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 1px;
}
.at8-countdown-separator {
    font-size: 32px;
    font-weight: 300;
    color: var(--at8-accent);
    line-height: 1;
    padding-top: 10px;
}
.at8-countdown.expired .at8-countdown-item {
    background: var(--at8-danger);
}

/* ---- Tax Comparison Table ---- */
/* ============================================================
   AT8 税费对比表 — 桌面端 + 手机端响应式
   ============================================================ */
.at8-tax-comparison {
    background: var(--at8-bg-white);
    border-radius: var(--at8-radius-lg);
    box-shadow: var(--at8-shadow);
    overflow: hidden;
}

/* ---- 标题区 ---- */
.at8-tax-comparison-header {
    background: var(--at8-gradient-hero);
    color: #fff;
    padding: 24px 28px;
    text-align: center;
}
.at8-tax-comparison-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.at8-tax-subtitle {
    margin: 6px 0 0;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

/* ---- 表格容器（桌面端） ---- */
.at8-tax-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ---- 标准表格（默认显示） ---- */
.at8-tax-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.at8-tax-table th {
    background: #f1f5f9;
    color: var(--at8-text);
    font-weight: 600;
    padding: 14px 16px;
    white-space: nowrap;
    border-bottom: 2px solid var(--at8-border);
}
.at8-tax-table th.at8-align-left   { text-align: left; }
.at8-tax-table th.at8-align-center { text-align: center; }
.at8-tax-table th.at8-align-right  { text-align: right; }

.at8-tax-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--at8-text);
    vertical-align: middle;
}
.at8-tax-table td.at8-align-left   { text-align: left; }
.at8-tax-table td.at8-align-center { text-align: center; }
.at8-tax-table td.at8-align-right  { text-align: right; }

.at8-tax-table tr:last-child td { border-bottom: none; }
.at8-tax-table tr:hover td { background: #fafbfc; }

/* 高亮行 */
.at8-tax-highlight-row td { background: rgba(201,162,39,0.06); }

/* 列类型样式 */
.at8-tax-save      { color: var(--at8-success); font-weight: 700; }
.at8-tax-highlight { font-weight: 700; color: var(--at8-primary); }
.at8-tax-number    { font-variant-numeric: tabular-nums; }

/* 底部说明 */
.at8-tax-footer-note {
    padding: 16px 28px;
    background: #f8fafc;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.6;
}

/* ============================================================
   移动端响应式 — 卡片式布局 (data-at8-mobile="cards")
   ============================================================ */

/* 隐藏移动端卡片容器（桌面端） */
.at8-mobile-cards { display: none !important; }

@media screen and (max-width: 768px) {

    /* 卡片模式：隐藏 table，显示卡片 */
    [data-at8-mobile="cards"] .at8-tax-table-wrap { display: none; }
    [data-at8-mobile="cards"] .at8-mobile-cards {
        display: block !important;
        padding: 12px 16px 20px;
    }

    /* 单张行卡片 */
    .at8-mobile-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 14px 16px;
        margin-bottom: 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        transition: box-shadow 0.2s ease, transform 0.15s ease;
    }
    .at8-mobile-card:last-child { margin-bottom: 0; }
    .at8-mobile-card:active {
        transform: scale(0.99);
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    /* 高亮行卡片 */
    .at8-mobile-card.at8-card-hl {
        border-color: rgba(201,162,39,0.35);
        background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
    }

    /* label-value 行 */
    .at8-m-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 9px 0;
        border-bottom: 1px dashed #f1f5f9;
    }
    .at8-m-row:last-child { border-bottom: none; }

    .at8-m-label {
        min-width: 40%;
        flex-shrink: 0;
        font-size: 13px;
        color: #64748b;
        font-weight: 500;
    }
    .at8-m-value {
        font-size: 14px;
        font-weight: 600;
        color: var(--at8-text);
        text-align: right;
        word-break: break-word;
    }
    .at8-m-value.at8-tax-save      { color: var(--at8-success); }
    .at8-m-value.at8-tax-highlight { color: var(--at8-primary); }

    /* ---- 堆叠模式 (stack) ---- */
    [data-at8-mobile="stack"] .at8-tax-table-wrap {
        display: block;
        overflow-x: visible;
    }
    [data-at8-mobile="stack"] .at8-tax-table,
    [data-at8-mobile="stack"] .at8-tax-table thead { display: none; }
    [data-at8-mobile="stack"] .at8-tax-table tbody {
        display: block;
    }
    [data-at8-mobile="stack"] .at8-tax-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 12px 14px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    [data-at8-mobile="stack"] .at8-tax-table tbody tr:last-child { margin-bottom: 0; }
    [data-at8-mobile="stack"] .at8-tax-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 8px 4px;
        border-bottom: 1px dashed #f1f5f9;
        text-align: left !important;
    }
    [data-at8-mobile="stack"] .at8-tax-table tbody td:last-child { border-bottom: none; }
    /* 用 data-label 显示列名 */
    [data-at8-mobile="stack"] .at8-tax-table tbody td::before {
        content: attr(data-label);
        font-size: 13px;
        color: #64748b;
        font-weight: 500;
        min-width: 38%;
        flex-shrink: 0;
    }
    [data-at8-mobile="stack"] .at8-tax-highlight-row {
        border-color: rgba(201,162,39,0.35);
        background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
    }

    /* ---- 横滚模式 (scroll) — 保持 table，优化触控 ---- */
    [data-at8-mobile="scroll"] .at8-tax-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
    [data-at8-mobile="scroll"] .at8-tax-table-wrap::-webkit-scrollbar {
        height: 6px;
    }
    [data-at8-mobile="scroll"] .at8-tax-table-wrap::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }
    [data-at8-mobile="scroll"] .at8-tax-table {
        min-width: 500px; /* 防止过窄时压缩到不可读 */
    }
    [data-at8-mobile="scroll"] .at8-tax-table th,
    [data-at8-mobile="scroll"] .at8-tax-table td {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* ---- Features Grid ---- */
.at8-features-title {
    color: #1e3a5f;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px;
}
.at8-features-subtitle {
    color: #64748b;
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.at8-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}
.at8-feature-card {
    background: var(--at8-bg-white);
    border-radius: var(--at8-radius);
    padding: 32px 28px;
    box-shadow: var(--at8-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}
.at8-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--at8-shadow-lg);
    border-color: rgba(201,162,39,0.2);
}
.at8-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(30,58,95,0.08), rgba(201,162,39,0.12));
}
.at8-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--at8-text);
    margin: 0 0 10px;
}
.at8-feature-desc {
    font-size: 14px;
    color: var(--at8-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---- Trust Badges ---- */
.at8-trust-section {
    text-align: center;
}
.at8-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
    margin-top: 28px;
}
.at8-trust-title {
    margin: 0;
    color: #1e3a5f;
    font-size: 28px;
    font-weight: 800;
}
.at8-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--at8-bg-white);
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: var(--at8-shadow);
    font-size: 14px;
    font-weight: 600;
    color: var(--at8-text);
}
.at8-trust-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--at8-success), #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

/* ---- CTA Payment Button ---- */
.at8-cta-payment {
    text-align: center;
}
.at8-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--at8-gradient-gold);
    color: var(--at8-primary-dark);
    font-size: 20px;
    font-weight: 800;
    padding: 18px 48px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(201,162,39,0.35);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.at8-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 36px rgba(201,162,39,0.45);
    /* 悬停时暂停循环特效，让上浮交互正常呈现 */
    animation-play-state: paused;
}
.at8-cta-btn:active {
    transform: translateY(0) scale(0.98);
}
.at8-cta-btn .at8-alipay-logo {
    font-size: 22px;
}
.at8-cta-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--at8-text-muted);
}

/* ---- Payment Modal / QR Code ---- */
.at8-pay-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: at8FadeIn 0.25s ease;
}
.at8-pay-modal-overlay.active {
    display: flex;
}
@keyframes at8FadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.at8-pay-modal {
    background: var(--at8-bg-white);
    border-radius: var(--at8-radius-lg);
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
    animation: at8SlideUp 0.3s ease;
}
@keyframes at8SlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.at8-pay-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--at8-text-muted);
    line-height: 1;
}
.at8-pay-qr-code {
    width: 240px;
    height: 240px;
    margin: 20px auto;
    border: 1px solid var(--at8-border);
    border-radius: var(--at8-radius);
    padding: 10px;
}
.at8-pay-qr-code img {
    width: 100%;
    height: 100%;
}
.at8-pay-status {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
}
.at8-pay-status.waiting { color: var(--at8-warning); }
.at8-pay-status.success { color: var(--at8-success); }
.at8-pay-status.error { color: var(--at8-danger); }

/* ---- Payment method tabs (Alipay / WeChat) ---- */
.at8-pay-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 16px 0 4px;
}
.at8-pay-tab {
    flex: 1;
    max-width: 160px;
    padding: 10px 16px;
    border: 1px solid var(--at8-border);
    background: #f8fafc;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--at8-text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}
.at8-pay-tab:hover {
    border-color: rgba(201,162,39,0.5);
    color: var(--at8-primary);
}
.at8-pay-tab.active {
    background: var(--at8-gradient-gold);
    color: var(--at8-primary-dark);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}

/* ---- Dashboard ---- */
.at8-dashboard {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}
.at8-dashboard h2 {
    color: var(--at8-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--at8-border);
}
.at8-order-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--at8-bg-white);
    border-radius: var(--at8-radius);
    overflow: hidden;
    box-shadow: var(--at8-shadow);
}
.at8-order-table th {
    background: var(--at8-primary);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}
.at8-order-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--at8-border);
    font-size: 14px;
    color: var(--at8-text);
}
.at8-order-table tr:hover td {
    background: #f8fafc;
}
.at8-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.at8-login-prompt {
    text-align: center;
    padding: 60px 20px;
    background: var(--at8-bg-white);
    border-radius: var(--at8-radius-lg);
    box-shadow: var(--at8-shadow);
}
.at8-login-prompt p {
    font-size: 18px;
    color: var(--at8-text);
    margin-bottom: 20px;
}
.at8-btn-login {
    display: inline-block;
    background: var(--at8-primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.at8-btn-login:hover {
    background: var(--at8-primary-dark);
    transform: translateY(-2px);
}

/* ---- Pain Points (痛点列表) ---- */
.at8-pain-section {}
.at8-pain-inner { max-width: 1000px; margin: 0 auto; }
.at8-pain-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--at8-primary);
    text-align: center;
    margin: 0 0 14px;
    line-height: 1.25;
}
.at8-pain-subtitle {
    font-size: 17px;
    color: var(--at8-text-muted);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.at8-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.at8-pain-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--at8-bg-white);
    border: 1px solid var(--at8-border);
    border-left: 4px solid var(--at8-danger);
    border-radius: var(--at8-radius);
    padding: 22px 24px;
    box-shadow: var(--at8-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.at8-pain-item:hover { transform: translateY(-3px); box-shadow: var(--at8-shadow-lg); }
.at8-pain-icon { font-size: 22px; line-height: 1.4; flex-shrink: 0; }
.at8-pain-item-title { font-size: 17px; font-weight: 700; color: var(--at8-text); margin: 0 0 6px; }
.at8-pain-item-desc { font-size: 14px; color: var(--at8-text-muted); line-height: 1.6; margin: 0; }

/* ---- Story & Proof (故事与证明) ---- */
.at8-story-section { color: #fff; }
.at8-story-inner { max-width: 1100px; margin: 0 auto; }
.at8-story-heading {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--at8-accent-light);
    text-align: center;
    margin: 0 0 36px;
    font-weight: 600;
}
.at8-story-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.at8-story-text { font-size: 16px; line-height: 1.85; color: rgba(255,255,255,0.85); }
.at8-story-text strong { color: var(--at8-accent-light); }
.at8-story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.at8-story-stat { text-align: center; padding: 18px; background: rgba(255,255,255,0.06); border-radius: var(--at8-radius); }
.at8-story-stat-num { font-size: 34px; font-weight: 800; color: var(--at8-accent-light); line-height: 1; }
.at8-story-stat-label { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 8px; }
.at8-story-proof-heading { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.at8-story-proof-img { width: 100%; border-radius: var(--at8-radius); box-shadow: var(--at8-shadow-lg); display: block; }
.at8-story-proof-caption { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 12px; text-align: center; }

/* ---- Curriculum / Service Value Stack (价值堆叠) ---- */
.at8-curr-section {}
.at8-curr-inner { max-width: 1100px; margin: 0 auto; }
.at8-curr-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--at8-primary);
    text-align: center;
    margin: 0 0 14px;
}
.at8-curr-subtitle { font-size: 17px; color: var(--at8-text-muted); text-align: center; max-width: 680px; margin: 0 auto 44px; line-height: 1.6; }
.at8-curr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.at8-curr-item {
    background: var(--at8-bg-light);
    border: 1px solid var(--at8-border);
    border-radius: var(--at8-radius);
    padding: 26px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.at8-curr-item:hover { transform: translateY(-3px); box-shadow: var(--at8-shadow-lg); }
.at8-curr-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.at8-curr-item-title { font-size: 19px; font-weight: 700; color: var(--at8-text); margin: 0; }
.at8-curr-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--at8-accent);
    background: rgba(201,162,39,0.12);
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}
.at8-curr-item-desc { font-size: 14px; color: var(--at8-text-muted); line-height: 1.65; margin: 0; }

/* ---- Bonus Gifts (大礼包) ---- */
.at8-bonus-section {}
.at8-bonus-inner { max-width: 1100px; margin: 0 auto; }
.at8-bonus-title { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; color: var(--at8-primary); text-align: center; margin: 0 0 14px; }
.at8-bonus-subtitle { font-size: 17px; color: var(--at8-text-muted); text-align: center; max-width: 680px; margin: 0 auto 44px; line-height: 1.6; }
.at8-bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.at8-bonus-item {
    display: flex;
    gap: 16px;
    background: var(--at8-bg-white);
    border: 1px solid var(--at8-border);
    border-radius: var(--at8-radius);
    padding: 24px;
    box-shadow: var(--at8-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.at8-bonus-item:hover { transform: translateY(-3px); box-shadow: var(--at8-shadow-lg); }
.at8-bonus-no { font-size: 16px; font-weight: 800; color: var(--at8-accent); flex-shrink: 0; line-height: 1.6; }
.at8-bonus-body { flex: 1; }
.at8-bonus-item-title { font-size: 17px; font-weight: 700; color: var(--at8-text); margin: 0 0 6px; display: inline-block; }
.at8-bonus-value { font-size: 13px; font-weight: 700; color: var(--at8-accent); margin-left: 8px; }
.at8-bonus-item-desc { font-size: 14px; color: var(--at8-text-muted); line-height: 1.6; margin: 6px 0 0; }

/* ---- Total Value (总价值汇总) ---- */
.at8-total-section { color: #fff; text-align: center; }
.at8-total-inner { max-width: 760px; margin: 0 auto; }
.at8-total-title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin: 0 0 20px; }
.at8-total-num-wrap { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.at8-total-num { font-size: clamp(48px, 9vw, 88px); font-weight: 800; color: var(--at8-accent-light); line-height: 1; letter-spacing: -2px; }
.at8-total-unit { font-size: 22px; color: rgba(255,255,255,0.7); }
.at8-total-breakdown { max-width: 480px; margin: 32px auto 0; }
.at8-total-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 16px; }
.at8-total-line:last-child { border-bottom: none; }
.at8-total-line-val { font-weight: 700; color: var(--at8-accent-light); }
.at8-total-highlight { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.82); margin: 28px auto 0; max-width: 620px; }

/* ---- Video Testimonials (见证视频) ---- */
.at8-vtesti-section {}
.at8-vtesti-inner { max-width: 1100px; margin: 0 auto; }
.at8-vtesti-title { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; color: var(--at8-primary); text-align: center; margin: 0 0 14px; }
.at8-vtesti-subtitle { font-size: 17px; color: var(--at8-text-muted); text-align: center; max-width: 640px; margin: 0 auto 44px; line-height: 1.6; }
.at8-vtesti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.at8-vtesti-card { background: var(--at8-bg-white); border-radius: var(--at8-radius); overflow: hidden; box-shadow: var(--at8-shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.at8-vtesti-card:hover { transform: translateY(-4px); box-shadow: var(--at8-shadow-lg); }
.at8-vtesti-video { aspect-ratio: 16/9; background: var(--at8-primary-dark); position: relative; }
.at8-vtesti-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.at8-vtesti-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 15px; text-align: center; gap: 6px; }
.at8-vtesti-placeholder small { font-size: 12px; opacity: 0.7; }
.at8-vtesti-quote { font-size: 15px; color: var(--at8-text); line-height: 1.6; padding: 18px 20px 0; margin: 0; font-style: italic; }
.at8-vtesti-meta { display: flex; align-items: center; gap: 8px; padding: 14px 20px 20px; }
.at8-vtesti-name { font-size: 15px; font-weight: 700; color: var(--at8-primary); }
.at8-vtesti-tag { font-size: 12px; color: var(--at8-text-muted); background: var(--at8-bg-light); padding: 3px 10px; border-radius: 50px; }

/* ---- Testimonials Grid (评价墙) ---- */
.at8-testi-section {}
.at8-testi-inner { max-width: 1100px; margin: 0 auto; }
.at8-testi-title { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; color: var(--at8-primary); text-align: center; margin: 0 0 40px; line-height: 1.3; }
.at8-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.at8-testi-card { background: var(--at8-bg-light); border: 1px solid var(--at8-border); border-radius: var(--at8-radius); padding: 24px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.at8-testi-card:hover { transform: translateY(-3px); box-shadow: var(--at8-shadow-lg); }
.at8-testi-quote { font-size: 15px; color: var(--at8-text); line-height: 1.7; margin: 0 0 16px; }
.at8-testi-meta { display: flex; align-items: center; gap: 8px; }
.at8-testi-name { font-size: 14px; font-weight: 700; color: var(--at8-primary); }
.at8-testi-tag { font-size: 12px; color: var(--at8-text-muted); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .at8-pricing-header { padding: 28px 20px 22px; }
    .at8-pricing-amount { font-size: 42px; }
    .at8-pricing-body { padding: 20px; }
    .at8-countdown-item { min-width: 58px; padding: 10px 8px; }
    .at8-countdown-number { font-size: 28px; }
    .at8-features-grid { grid-template-columns: 1fr; }
    .at8-cta-btn { font-size: 17px; padding: 16px 36px; }
    .at8-pay-modal { padding: 28px 20px; }
    .at8-pay-qr-code { width: 200px; height: 200px; }

    /* New module responsive */
    .at8-pain-grid { grid-template-columns: 1fr; }
    .at8-story-layout { grid-template-columns: 1fr; gap: 32px; }
    .at8-story-stats { grid-template-columns: repeat(2, 1fr); }
    .at8-curr-grid { grid-template-columns: 1fr; }
    .at8-bonus-grid { grid-template-columns: 1fr; }
    .at8-vtesti-grid { grid-template-columns: 1fr; }
    .at8-testi-grid { grid-template-columns: 1fr; }
}

/* ---- Video Testimonials (封面图 + 点击弹出播放) ---- */
.at8-vtesti-section {}
.at8-vtesti-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.at8-vtesti-title {
    font-size: 32px; font-weight: 800; color: var(--at8-primary);
    text-align: center; margin-bottom: 10px;
}
.at8-vtesti-subtitle {
    text-align: center; color: var(--at8-text-muted);
    font-size: 16px; margin-bottom: 48px;
}

/* 卡片网格 */
.at8-vtesti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.at8-vtesti-card {
    background: #ffffff; border-radius: 16px;
    overflow: hidden; box-shadow: 0 4px 20px rgba(30,58,95,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.at8-vtesti-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(30,58,95,0.14); }

/* 视频区域：16:9 容器 */
.at8-vtesti-video {
    position: relative; width: 100%; aspect-ratio: 16/9;
    overflow: hidden; background: #0f172a; cursor: pointer;
}

/* ===== 封面图 + 播放按钮（点击前显示） ===== */
.at8-vtesti-thumb-wrap {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
/* 封面图片 */
.at8-vtesti-thumb-img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.at8-vtesti-thumb-wrap:hover .at8-vtesti-thumb-img {
    transform: scale(1.06);
}
/* 默认深蓝渐变背景（无封面图时） */
.at8-vtesti-thumb-default {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e3a5f 100%);
}
/* hover 遮罩 */
.at8-vtesti-thumb-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.at8-vtesti-thumb-wrap:hover .at8-vtesti-thumb-overlay {
    background: rgba(0,0,0,0.25);
}

/* 播放按钮（居中圆形） */
.at8-vtesti-play-btn {
    position: relative; z-index: 2;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(212,175,55,0.9);
    border: 3px solid rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 24px rgba(212,175,55,0.35);
}
.at8-vtesti-thumb-wrap:hover .at8-vtesti-play-btn {
    transform: scale(1.12);
    background: #d4af37;
    box-shadow: 0 10px 32px rgba(212,175,55,0.5);
}
.at8-vtesti-play-btn svg {
    margin-left: 3px; /* 视觉居中补偿 */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ===== 弹出播放器（点击后显示） ===== */
.at8-vtesti-modal {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    animation: at8VModalIn 0.25s ease;
}
@keyframes at8VModalIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.at8-vtesti-modal-backdrop {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
}
.at8-vtesti-modal-inner {
    position: relative; z-index: 2;
    width: 90%; max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: at8VSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes at8VSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* 关闭按钮（叠加在视频右上角） */
.at8-vtesti-modal-close {
    position: absolute; top: 12px; right: 12px;
    width: 40px; height: 40px;
    background: rgba(0,0,0,0.55);
    color: #fff; border: none;
    border-radius: 50%;
    font-size: 24px; line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 5;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.at8-vtesti-modal-close:hover {
    background: rgba(0,0,0,0.85);
    transform: rotate(90deg);
}
/* iframe / video 填满弹窗 */
.at8-vtesti-modal iframe,
.at8-vtesti-modal video {
    width: 100%; height: 100%;
    border: none; display: block;
    background: #000;
}

/* 无视频占位 */
.at8-vtesti-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: #f1f5f9; color: #94a3b8;
    font-size: 14px; text-align: center; line-height: 1.6;
}

/* 引言 + 元信息 */
.at8-vtesti-quote {
    padding: 18px 20px 6px; font-size: 15px;
    line-height: 1.65; color: #334155; font-style: italic;
}
.at8-vtesti-meta { padding: 6px 20px 18px; display: flex; align-items: center; gap: 8px; }
.at8-vtesti-name { font-size: 14px; font-weight: 700; color: var(--at8-primary); }
.at8-vtesti-tag { font-size: 12px; color: var(--at8-text-muted); }

/* 弹窗打开时锁定 body 滚动 */
body.at8-modal-open { overflow: hidden; }

/* 视频弹窗响应式 */
@media (max-width: 768px) {
    .at8-vtesti-modal-inner {
        width: 95%; max-width: 100%;
        border-radius: 8px;
    }
    .at8-vtesti-play-btn { width: 50px; height: 50px; }
    .at8-vtesti-play-btn svg { width: 18px; height: 22px; }
}

/* ============================================================
   支付按钮特效（Elementor 可选：无 / 摇摆 / 跳动 / 脉冲 / 发光 / 抖动）
   通过 .at8-btn-fx-{key} 切换；--at8-fx-dur 控制速度（继承自定义属性）
   --at8-btn-bg 为按钮背景色，供「发光呼吸」取色
   ============================================================ */
.at8-cta-btn {
    --at8-fx-dur: 1.2s;
    --at8-btn-bg: #c9a227;
}

/* 左右摇摆：对标目标站 ea-buttonRocking */
.at8-btn-fx-rocking {
    animation: at8FxRocking var(--at8-fx-dur) ease-in-out infinite;
}
/* 上下跳动 */
.at8-btn-fx-bounce {
    animation: at8FxBounce var(--at8-fx-dur) ease-in-out infinite;
}
/* 脉冲放大 */
.at8-btn-fx-pulse {
    animation: at8FxPulse var(--at8-fx-dur) ease-in-out infinite;
}
/* 发光呼吸：光圈跟随按钮背景色 */
.at8-btn-fx-glow {
    animation: at8FxGlow var(--at8-fx-dur) ease-in-out infinite;
}
/* 轻微抖动 */
.at8-btn-fx-shake {
    animation: at8FxShake calc(var(--at8-fx-dur) * 0.5) ease-in-out infinite;
}

@keyframes at8FxRocking {
    0%, 100% { transform: rotate(-2.2deg); }
    50%      { transform: rotate(2.2deg); }
}
@keyframes at8FxBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}
@keyframes at8FxPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.055); }
}
@keyframes at8FxGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 24px rgba(201,162,39,0.35);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 26px 6px color-mix(in srgb, var(--at8-btn-bg, #c9a227) 60%, transparent);
    }
}
@keyframes at8FxShake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-3px); }
    75%      { transform: translateX(3px); }
}

/* 尊重无障碍设置：用户开启「减少动态效果」时关闭循环动画 */
@media (prefers-reduced-motion: reduce) {
    .at8-btn-fx-rocking,
    .at8-btn-fx-bounce,
    .at8-btn-fx-pulse,
    .at8-btn-fx-glow,
    .at8-btn-fx-shake {
        animation: none;
    }
}
}
