/* ============================================
   peiwan.css - 陪玩入驻（Hero + 流程 + 条件 + 对比 + 计算器 + CTA）
   ============================================ */

.pw-page {
    overflow: hidden;
}

/* ---------- Hero ---------- */
.pw-hero {
    position: relative;
    padding: 90px 24px 80px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(124,58,237,0.25), transparent 60%);
    overflow: hidden;
}

.pw-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

.pw-hero-glow-1 {
    width: 400px; height: 400px;
    background: #7c3aed;
    top: -100px; left: -100px;
}

.pw-hero-glow-2 {
    width: 350px; height: 350px;
    background: #ec4899;
    bottom: -100px; right: -80px;
}

.pw-hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.pw-hero-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--primary-light);
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(124,58,237,0.1);
    margin-bottom: 24px;
}

.pw-h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pw-hero-sub {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
}

.pw-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.pw-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 16px 28px;
    background: rgba(26,19,51,0.6);
    border: 1px solid var(--border);
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

.pw-hero-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pw-hero-meta-item strong {
    font-size: 20px;
    color: var(--primary-light);
    font-weight: 800;
}

.pw-hero-meta-item span {
    font-size: 11px;
    color: var(--text-muted);
}

.pw-hero-meta-divider {
    width: 1px;
    height: 28px;
    background: var(--border-light);
}

/* ---------- Section 通用 ---------- */
.pw-section {
    padding: 70px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pw-section-alt {
    max-width: none;
    background: rgba(26,19,51,0.4);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.pw-section-alt > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pw-section-head {
    text-align: center;
    margin-bottom: 44px;
}

.pw-section-kicker {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.pw-section-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
}

.pw-section-desc {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ---------- 4 步流程 ---------- */
.pw-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.pw-step {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 20px 26px;
    text-align: center;
    transition: all 0.3s;
}

.pw-step:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pw-step-no {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 32px;
    font-weight: 900;
    color: rgba(124,58,237,0.25);
    line-height: 1;
}

.pw-step-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.pw-step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pw-step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.pw-step-arrow {
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--primary);
    z-index: 2;
    background: var(--bg-dark);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

/* ---------- 入驻条件 6 卡 ---------- */
.pw-cond-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pw-cond-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pw-cond-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

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

.pw-cond-card:hover {
    border-color: var(--primary);
}

.pw-cond-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.pw-cond-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pw-cond-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- 三档权益卡片 ---------- */
.pw-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.pw-tier-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.pw-tier-card.is-highlight {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(124,58,237,0.15), var(--bg-card));
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(124,58,237,0.3);
}

.pw-tier-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pw-tier-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.pw-tier-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.pw-tier-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
}

.pw-tier-unit {
    font-size: 13px;
    color: var(--text-muted);
}

.pw-tier-list {
    list-style: none;
    flex: 1;
    margin-bottom: 22px;
}

.pw-tier-item {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pw-tier-check {
    color: var(--success);
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16,185,129,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* ---------- 计算器 ---------- */
.pw-calc {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    align-items: center;
}

.pw-calc-control {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pw-calc-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pw-calc-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.pw-calc-input-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pw-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(124,58,237,0.25);
    border-radius: 3px;
    outline: none;
}

.pw-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(124,58,237,0.2);
}

.pw-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.pw-calc-value {
    min-width: 90px;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-light);
}

.pw-calc-result {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(160deg, rgba(124,58,237,0.2), rgba(124,58,237,0.05));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.pw-calc-result-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pw-calc-result-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1.1;
    margin-bottom: 8px;
}

.pw-calc-result-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ---------- 底部 CTA ---------- */
.pw-cta {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(124,58,237,0.2));
}

.pw-cta-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.pw-cta-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .pw-h1 {
        font-size: 36px;
    }
    .pw-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .pw-step-arrow {
        display: none;
    }
    .pw-cond-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pw-tier-grid {
        grid-template-columns: 1fr;
    }
    .pw-tier-card.is-highlight {
        transform: none;
    }
    .pw-calc {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .pw-hero-meta {
        flex-wrap: wrap;
        gap: 16px;
        padding: 14px 20px;
    }
    .pw-hero-meta-divider {
        display: none;
    }
}

@media (max-width: 560px) {
    .pw-section {
        padding: 50px 18px;
    }
    .pw-cond-grid {
        grid-template-columns: 1fr;
    }
    .pw-steps {
        grid-template-columns: 1fr;
    }
}
