:root {
    --navy: #0d1b2a;
    --navy-mid: #1a2d42;
    --navy-light: #24405c;
    --accent: #2e7dc8;
    --accent-light: #4a9de8;
    --gold: #c49a3c;
    --gold-light: #e0b84a;
    --text: #1a1a2e;
    --text-mid: #3a4a5c;
    --text-light: #6b7f95;
    --bg: #f5f7fa;
    --bg-card: #ffffff;
    --border: #d8e2ec;
    --border-light: #eaf0f6;
    --success: #1a7a4a;
    --danger: #c0392b;
    --shadow-sm: 0 2px 8px rgba(13,27,42,0.08);
    --shadow-md: 0 4px 20px rgba(13,27,42,0.12);
    --shadow-lg: 0 8px 40px rgba(13,27,42,0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
}

/* ── HEADER ── */
header {
    background: var(--navy);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--navy-light);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    letter-spacing: -0.5px;
}
.logo-text {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.logo-sub {
    font-size: 11px;
    color: #8aa8c8;
    letter-spacing: 1px;
    margin-top: 1px;
}
.header-badge {
    background: rgba(196,154,60,0.15);
    border: 1px solid rgba(196,154,60,0.4);
    color: var(--gold-light);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ── HERO ── */
.hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3550 100%);
    padding: 72px 40px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
            90deg,
            rgba(46,125,200,0.03) 0px,
            rgba(46,125,200,0.03) 1px,
            transparent 1px,
            transparent 80px
    ),
    repeating-linear-gradient(
            0deg,
            rgba(46,125,200,0.03) 0px,
            rgba(46,125,200,0.03) 1px,
            transparent 1px,
            transparent 80px
    );
}
.hero-eyebrow {
    display: inline-block;
    background: rgba(46,125,200,0.15);
    border: 1px solid rgba(46,125,200,0.35);
    color: var(--accent-light);
    padding: 5px 18px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.hero h1 span { color: var(--gold-light); }
.hero-desc {
    font-size: 16px;
    color: #9ab4cc;
    max-width: 620px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.8;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-num {
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    display: block;
}
.hero-stat-num em {
    font-style: normal;
    color: var(--gold-light);
    font-size: 20px;
}
.hero-stat-label {
    font-size: 12px;
    color: #7a9ab8;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.hero-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    align-self: center;
}

/* ── PROGRESS BAR ── */
.progress-section {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--navy-light);
    padding: 20px 40px;
}
.progress-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.progress-label {
    color: #8aa8c8;
    font-size: 13px;
    white-space: nowrap;
}
.progress-bar-wrap {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    height: 6px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    transition: width 1.2s ease-in-out; /* 添加动态过渡动画 */
}
.progress-pct {
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* ── INTRO SECTION ── */
.intro-section {
    max-width: 900px;
    margin: 56px auto 0;
    padding: 0 24px;
}
.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.section-title-bar {
    width: 32px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 20px;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.intro-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
}
.intro-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.intro-card-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}
.intro-card p {
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.75;
}

/* ── PRICING ── */
.pricing-section {
    max-width: 1100px;
    margin: 56px auto 0;
    padding: 0 24px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.plan-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    position: relative;
    cursor: pointer;
}
.plan-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.plan-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46,125,200,0.1), var(--shadow-md);
}
.plan-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 0 0 6px 6px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.plan-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.plan-price {
    font-family: 'Noto Serif SC', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}
.plan-price sup {
    font-size: 20px;
    font-weight: 600;
    vertical-align: super;
    line-height: 0;
}
.plan-tokens {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
}
.plan-unit-price {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.plan-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}
.plan-features li {
    font-size: 13.5px;
    color: var(--text-mid);
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.plan-features li::before {
    content: '·';
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}
.btn-buy {
    width: 100%;
    padding: 13px;
    border-radius: 6px;
    border: none;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.btn-buy-primary {
    background: var(--accent);
    color: #fff;
}
.btn-buy-primary:hover {
    background: #2570b5;
}
.btn-buy-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn-buy-outline:hover {
    background: rgba(46,125,200,0.06);
}
.plan-limit {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-light);
    margin-top: 10px;
}

/* ── NOTICE ── */
.notice-section {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 24px;
}
.notice-box {
    background: #fffbf0;
    border: 1px solid #e8d08a;
    border-radius: 8px;
    padding: 16px 22px;
    font-size: 13px;
    color: #7a5f10;
    line-height: 1.7;
}
.notice-box strong {
    font-weight: 600;
    color: #5a4008;
}

/* ── CONTACT ── */
.contact-section {
    max-width: 900px;
    margin: 56px auto 0;
    padding: 0 24px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 28px 30px;
    box-shadow: var(--shadow-sm);
}
.contact-label {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}
.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}
.contact-value a {
    color: var(--accent);
    text-decoration: none;
}
.contact-value a:hover { text-decoration: underline; }
.qrcode-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}
.qrcode-wrap img {
    width: 90px;
    height: 90px;
    border: 1px solid var(--border);
    border-radius: 6px;
    object-fit: cover;
}
.qrcode-info {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    margin-top: 72px;
    padding: 32px 40px;
    text-align: center;
    border-top: 1px solid var(--navy-light);
}
.footer-icp {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.footer-icp a {
    color: #7a9ab8;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s;
}
.footer-icp a:hover { color: #aac4d8; }
.footer-copy {
    font-size: 12px;
    color: #4a6880;
    margin-top: 8px;
}
.footer-sep {
    color: #3a5068;
}

/* ── MODAL ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,20,32,0.72);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 460px;
    padding: 0;
    box-shadow: 0 24px 80px rgba(10,20,32,0.3);
    overflow: hidden;
    animation: slideUp 0.25s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-head {
    background: var(--navy);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-head-title {
    font-family: 'Noto Serif SC', serif;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}
.modal-close {
    background: none;
    border: none;
    color: #8aa8c8;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}
.modal-close:hover { color: #fff; }
.modal-body { padding: 28px; }
.modal-plan-summary {
    background: #f0f5fb;
    border: 1px solid #d0e0ef;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-plan-name {
    font-size: 14px;
    color: var(--text-mid);
}
.modal-plan-name strong {
    display: block;
    font-size: 17px;
    color: var(--navy);
    font-weight: 700;
    margin-top: 3px;
}
.modal-plan-price {
    font-family: 'Noto Serif SC', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
}
.modal-plan-price span {
    font-size: 16px;
    font-weight: 600;
}
.modal-form-group {
    margin-bottom: 18px;
}
.modal-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 6px;
}
.modal-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.modal-input:focus { border-color: var(--accent); }
.modal-trust {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.trust-badge {
    background: #f0f5fb;
    border: 1px solid #d0e0ef;
    border-radius: 4px;
    padding: 5px 11px;
    font-size: 12px;
    color: var(--text-mid);
    font-weight: 500;
}
.modal-terms {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}
.modal-terms a { color: var(--accent); text-decoration: none; }
.btn-confirm {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}
.btn-confirm:hover { background: #2570b5; }
.modal-guarantee {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}
.modal-guarantee strong { color: var(--success); }
.modal-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qty-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-display {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    background: #f7f9fb;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 7px 0;
}
.qty-token-total {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
}
.modal-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--border-light);
    margin: 4px 0 16px;
}
.modal-total-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
}
.modal-total-value {
    font-family: 'Noto Serif SC', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); } /* 平板屏幕显示2排2列 */
}
@media (max-width: 700px) {
    header { padding: 0 20px; }
    .hero { padding: 48px 20px 40px; }
    .hero h1 { font-size: 28px; }
    .hero-stats { gap: 24px; }
    .hero-divider { display: none; }
    .progress-section { padding: 16px 20px; }
    .intro-section, .pricing-section, .contact-section, .notice-section { padding: 0 16px; }
    .intro-grid, .pricing-grid, .contact-grid { grid-template-columns: 1fr; }
    .plan-card.featured { order: -1; }
}