/* ===== 网站建设页面 ===== */

/* Hero */
.wb-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #0f4c75 100%);
    padding: 80px 0 100px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.wb-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .12) 0%, transparent 70%);
    animation: wbPulse 7s ease-in-out infinite;
}

.wb-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, .08) 0%, transparent 70%);
    animation: wbPulse 9s ease-in-out infinite reverse;
}

@keyframes wbPulse {

    0%,
    100% {
        opacity: .5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.wb-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.wb-hero-content {
    flex: 1;
}

.wb-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, .15);
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 13px;
    color: #93c5fd;
    margin-bottom: 20px;
}

.wb-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -.5px;
    line-height: 1.2;
}

.wb-hero h1 span {
    background: linear-gradient(90deg, #60a5fa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wb-hero-desc {
    font-size: 16px;
    opacity: .7;
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.wb-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.wb-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.wb-hero-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 6px 20px rgba(59, 130, 246, .35);
}

.wb-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, .45);
    color: #fff;
    text-decoration: none;
}

.wb-hero-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
}

.wb-hero-btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, .35);
}

.wb-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex-shrink: 0;
}

.wb-stat-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 22px 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all .3s ease;
}

.wb-stat-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(59, 130, 246, .3);
}

.wb-stat-value {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.wb-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    margin-top: 4px;
}

/* 通用标题 */
.wb-section-header {
    text-align: center;
    margin-bottom: 44px;
}

.wb-section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--xw-gray-800);
    margin-bottom: 8px;
}

.wb-section-header p {
    font-size: 15px;
    color: var(--xw-gray-500);
}

/* 核心优势 - 无边框卡片 */
.wb-features-section {
    padding: 56px 0;
    background: #f8fafc;
}

.wb-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.wb-feature-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 20px 18px;
    transition: all .3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.wb-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, .08);
}

.wb-feature-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.wb-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--xw-primary);
    flex-shrink: 0;
    transition: all .25s ease;
}

.wb-feature-card:hover .wb-feature-icon {
    background: var(--xw-primary);
    color: #fff;
}

.wb-feature-top h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--xw-gray-800);
    margin: 0;
}

.wb-feature-card p {
    font-size: 12px;
    color: var(--xw-gray-500);
    line-height: 1.5;
    margin: 0;
}

/* 套餐卡片 */
.wb-plans-section {
    padding: 56px 0;
    background: #fff;
}

.wb-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wb-plan-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    transition: all .35s cubic-bezier(.25, 1, .5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.wb-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, .1), 0 4px 12px rgba(0, 0, 0, .05);
}

.wb-plan-card.recommended {
    border-color: var(--xw-primary);
    box-shadow: 0 4px 24px rgba(37, 99, 235, .1);
}

.wb-plan-header {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    padding: 18px 20px 14px;
    text-align: center;
}

.wb-plan-card.recommended .wb-plan-header {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.wb-plan-card.enterprise .wb-plan-header {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.wb-plan-type {
    font-size: 11px;
    font-weight: 700;
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.wb-plan-name {
    font-size: 18px;
    font-weight: 800;
}

.wb-plan-price-area {
    padding: 18px 16px 12px;
    text-align: center;
}

.wb-plan-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.wb-plan-price-symbol {
    font-size: 18px;
    font-weight: 700;
    color: var(--xw-primary);
}

.wb-plan-card.enterprise .wb-plan-price-symbol {
    color: #7c3aed;
}

.wb-plan-price-num {
    font-size: 30px;
    font-weight: 900;
    color: var(--xw-primary);
    line-height: 1;
}

.wb-plan-card.enterprise .wb-plan-price-num {
    color: #7c3aed;
}

.wb-plan-price-unit {
    font-size: 13px;
    color: #94a3b8;
    margin-left: 2px;
}

.wb-plan-renewal {
    font-size: 12px;
    color: #10b981;
    margin-top: 4px;
}

.wb-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 16px 16px;
    border-top: 1px solid #f1f5f9;
}

.wb-plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    font-size: 13px;
    color: var(--xw-gray-600);
    border-bottom: 1px solid #f8fafc;
}

.wb-plan-features li:last-child {
    border-bottom: none;
}

.wb-plan-features li i {
    color: #10b981;
    font-size: 11px;
    width: 14px;
    text-align: center;
}

.wb-plan-features li strong {
    color: var(--xw-primary);
}

.wb-plan-card.enterprise .wb-plan-features li strong {
    color: #7c3aed;
}

.wb-plan-btn {
    display: block;
    width: calc(100% - 32px);
    margin: auto auto 16px;
    padding: 10px 0;
    text-align: center;
    background: var(--xw-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.wb-plan-card.enterprise .wb-plan-btn {
    background: #7c3aed;
}

.wb-plan-btn:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, .3);
}

.wb-plan-card.enterprise .wb-plan-btn:hover {
    background: #6d28d9;
    box-shadow: 0 6px 20px rgba(124, 58, 237, .3);
}

/* 服务器类型选项卡 */
.wb-server-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 16px 16px 0;
    background: #f8fafc;
}

.wb-server-tab {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
}

.wb-server-tab:first-child {
    border-radius: 6px 0 0 6px;
}

.wb-server-tab:last-child {
    border-radius: 0 6px 6px 0;
}

.wb-server-tab:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.wb-server-tab:hover {
    background: #f1f5f9;
}

/* 国内主机选项卡 */
.wb-server-tab-1 {
    border-color: #fcd34d;
}

.wb-server-tab-1.active {
    background: #fef3c7;
    color: #d97706;
    border-color: #fcd34d;
    z-index: 1;
}

/* 香港主机选项卡 */
.wb-server-tab-2 {
    border-color: #93c5fd;
}

.wb-server-tab-2.active {
    background: #dbeafe;
    color: #2563eb;
    border-color: #93c5fd;
    z-index: 1;
}

/* 美国主机选项卡 */
.wb-server-tab-3 {
    border-color: #86efac;
}

.wb-server-tab-3.active {
    background: #dcfce7;
    color: #16a34a;
    border-color: #86efac;
    z-index: 1;
}

.wb-server-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: inherit;
}

/* 服务器类型单选按钮 */
.wb-server-select {
    padding: 16px;
    background: #f8fafc;
}

.wb-server-select-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
}

.wb-server-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wb-server-radio {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.wb-server-radio input[type="radio"] {
    margin-right: 10px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.wb-radio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wb-radio-label {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    white-space: nowrap;
    margin-bottom: 4px;
}

.wb-radio-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    word-wrap: break-word;
}

.wb-server-radio input[type="radio"]:checked~.wb-radio-content .wb-radio-label {
    color: #1e40af;
}

/* 国内主机选中样式 */
.wb-server-radio-1 input[type="radio"]:checked~* {
    color: #d97706;
}

.wb-server-radio-1:has(input:checked) {
    background: #fef3c7;
    border-color: #fcd34d;
}

/* 香港主机选中样式 */
.wb-server-radio-2 input[type="radio"]:checked~* {
    color: #2563eb;
}

.wb-server-radio-2:has(input:checked) {
    background: #dbeafe;
    border-color: #93c5fd;
}

/* 美国主机选中样式 */
.wb-server-radio-3 input[type="radio"]:checked~* {
    color: #16a34a;
}

.wb-server-radio-3:has(input:checked) {
    background: #dcfce7;
    border-color: #86efac;
}

/* 建站流程 - 无边框时间线 */
.wb-process-section {
    padding: 80px 0;
    background: #f8fafc;
}

.wb-process-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.wb-process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg, #dbeafe, #93c5fd, #dbeafe);
    z-index: 0;
}

.wb-process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.wb-step-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 20px;
    font-weight: 800;
    color: var(--xw-primary);
    transition: all .3s ease;
}

.wb-process-step:hover .wb-step-dot {
    background: var(--xw-primary);
    border-color: var(--xw-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, .25);
}

.wb-process-step h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--xw-gray-800);
    margin-bottom: 4px;
}

.wb-process-step p {
    font-size: 12px;
    color: var(--xw-gray-500);
    margin: 0;
    line-height: 1.5;
}

/* 成功案例 - 无边框 */
.wb-cases-section {
    padding: 80px 0;
    background: #fff;
}

.wb-cases-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.wb-cases-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--xw-gray-800);
    margin: 0;
}

.wb-cases-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--xw-primary-50);
    color: var(--xw-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.wb-cases-more:hover {
    background: var(--xw-primary);
    color: #fff;
    text-decoration: none;
}

.wb-cases-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 220px;
    border-radius: 16px;
}

.wb-cases-track {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    animation: wbScrollCases 35s linear infinite;
    width: max-content;
    height: 100%;
}

.wb-cases-slider:hover .wb-cases-track {
    animation-play-state: paused;
}

.wb-case-item {
    flex: 0 0 auto;
    width: 280px;
    margin-right: 20px;
    height: 100%;
}

.wb-case-link {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    transition: all .3s ease;
}

.wb-case-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.wb-case-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.wb-case-link:hover img {
    transform: scale(1.05);
}

@keyframes wbScrollCases {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CTA */
.wb-cta-section {
    padding: 80px 0;
    text-align: center;
}

.wb-cta-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.wb-cta-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .15) 0%, transparent 70%);
}

.wb-cta-box h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.wb-cta-box p {
    font-size: 16px;
    opacity: .7;
    max-width: 480px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

.wb-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.wb-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.wb-cta-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, .4);
}

.wb-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
}

.wb-cta-btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, .4);
}

/* 响应式 */
@media (max-width: 992px) {
    .wb-hero-inner {
        flex-direction: column;
        gap: 36px;
    }

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

    .wb-hero-stats {
        width: 100%;
    }

    .wb-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wb-plans-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .wb-process-timeline {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .wb-process-timeline::before {
        display: none;
    }

    .wb-process-step {
        flex: 0 0 calc(33% - 14px);
    }
}

@media (max-width: 576px) {
    .wb-hero {
        padding: 60px 0 80px;
    }

    .wb-hero h1 {
        font-size: 24px;
    }

    .wb-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .wb-features-grid {
        grid-template-columns: 1fr;
    }

    .wb-process-step {
        flex: 0 0 calc(50% - 10px);
    }

    .wb-cta-btns {
        flex-direction: column;
        align-items: center;
    }
}
