:root {
    --bg: #f5f8fc;
    --bg2: #eef4fb;
    --white: #ffffff;
    --line: #e6edf5;
    --line2: #d9e6f3;
    --text: #1e293b;
    --text2: #5b6b81;
    --primary: #3b82f6;
    --primary2: #2563eb;
    --soft-blue: #eff6ff;
    --soft-cyan: #ecfeff;
    --soft-green: #f0fdf4;
    --shadow: 0 12px 36px rgba(37, 99, 235, 0.08);
    --shadow-hover: 0 18px 44px rgba(37, 99, 235, 0.12);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.vpn-page {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
    color: var(--text);
    min-height: 100vh;
}

/* 强制覆盖主题可能带来的偏移 */
.vpn-page .main-wrapper,
.vpn-page .main-content,
.vpn-page .section,
.vpn-page .section-body,
.vpn-page .container,
.vpn-page .row,
.vpn-page .col-12,
.vpn-page .col-md-6,
.vpn-page .col-lg-6 {
    box-sizing: border-box;
}

.vpn-page .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.vpn-main-content {
    padding-top: 28px !important;
    padding-bottom: 70px;
}

.vpn-section {
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.vpn-page-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 顶部 */
.vpn-topbar {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 22px;
}

.vpn-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text2);
    text-decoration: none !important;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: all .2s ease;
}

.vpn-back-btn:hover {
    color: var(--primary2);
    background: #fff;
    transform: translateY(-1px);
}

/* Hero */
.vpn-hero {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 34px;
    align-items: center;
    justify-content: center;
    padding: 42px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,252,255,0.96));
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.vpn-hero__content {
    width: 100%;
    max-width: 600px;
    min-width: 0;
    margin: 0 auto;
}

.vpn-hero__visual {
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.vpn-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--primary2);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid #dbeafe;
}

.vpn-title {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 800;
    color: #0f172a;
}

.vpn-subtitle {
    margin: 0 0 22px;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text2);
}

.vpn-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.vpn-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #fff;
    color: #475569;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.vpn-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.vpn-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* 按钮 */
.vpn-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .22s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.vpn-btn i {
    font-size: 15px;
}

.vpn-btn:hover {
    transform: translateY(-2px);
}

.vpn-btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.20);
}

.vpn-btn--primary:hover {
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
}

.vpn-btn--secondary {
    color: var(--primary2);
    background: #fff;
    border: 1px solid #cfe0f5;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.vpn-btn--backup {
    color: #fff !important;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.vpn-btn--backup:hover {
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.vpn-btn--account {
    color: #fff !important;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 12px 24px rgba(22, 163, 74, 0.18);
}

.vpn-btn--account:hover {
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(22, 163, 74, 0.24);
}

.vpn-btn--ghost {
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #ccefd8;
}

.vpn-btn--ghost:hover {
    color: #15803d;
    background: #ecfdf5;
    box-shadow: 0 12px 24px rgba(22, 163, 74, 0.10);
}

.vpn-preview-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.10);
    box-sizing: border-box;
}

.vpn-preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    background: var(--soft-cyan);
    color: #0369a1;
    border: 1px solid #d5f3fb;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.vpn-preview-image {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fbff;
    border: 1px solid #e7eef7;
}

.vpn-preview-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* 通用区块 */
.vpn-block {
    width: 100%;
    margin: 28px auto 0;
    padding: 30px;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.vpn-block__header {
    margin-bottom: 22px;
}

.vpn-block__header.center {
    text-align: center;
}

.vpn-block__header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.vpn-block__header p {
    margin: 0;
    font-size: 15px;
    color: var(--text2);
}

/* 步骤 */
.vpn-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    justify-content: center;
}

.vpn-step-card {
    text-align: center;
    padding: 24px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: all .2s ease;
    box-sizing: border-box;
}

.vpn-step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.vpn-step-no {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: var(--primary2);
    font-size: 22px;
    font-weight: 800;
}

.vpn-step-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.vpn-step-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--text2);
}

/* 特点 */
.vpn-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    justify-content: center;
}

.vpn-feature-card {
    text-align: center;
    padding: 24px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: all .2s ease;
    box-sizing: border-box;
}

.vpn-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.vpn-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    color: var(--primary2);
    font-size: 20px;
}

.vpn-feature-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.vpn-feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--text2);
}

/* FAQ */
.vpn-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    justify-content: center;
}

.vpn-faq-item {
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: all .2s ease;
    box-sizing: border-box;
}

.vpn-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.vpn-faq-item h4 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.vpn-faq-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--text2);
}

/* CTA */
.vpn-cta {
    width: 100%;
    margin: 28px auto 0;
    padding: 32px;
    background: linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    text-align: center;
    box-sizing: border-box;
}

.vpn-cta__text {
    flex: 1 1 480px;
    margin: 0 auto;
}

.vpn-cta__text h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
}

.vpn-cta__text p {
    margin: 0;
    font-size: 15px;
    color: var(--text2);
}

.vpn-cta__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}

/* 弹窗 */
.vpn-modal-content {
    border-radius: 20px;
    overflow: hidden;
}

/* 平板 */
@media (max-width: 1199px) {
    .vpn-page-inner {
        max-width: 1000px;
    }

    .vpn-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vpn-hero__content,
    .vpn-hero__visual {
        max-width: 100%;
    }

    .vpn-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .vpn-tags,
    .vpn-action-group,
    .vpn-action-row {
        justify-content: center;
    }

    .vpn-steps-grid,
    .vpn-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 手机 */
@media (max-width: 767px) {
    .vpn-main-content {
        padding-top: 18px !important;
        padding-bottom: 40px;
    }

    .vpn-page-inner {
        padding: 0 14px;
    }

    .vpn-hero,
    .vpn-block,
    .vpn-cta {
        padding: 20px;
        border-radius: 20px;
    }

    .vpn-title {
        font-size: 30px;
    }

    .vpn-subtitle {
        font-size: 14px;
        line-height: 1.85;
    }

    .vpn-action-group,
    .vpn-action-row,
    .vpn-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .vpn-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .vpn-steps-grid,
    .vpn-feature-grid,
    .vpn-faq-grid {
        grid-template-columns: 1fr;
    }

    .vpn-cta__text h2 {
        font-size: 24px;
    }
}