/* ============================================
   铁蛋电竞 - 源码授权页专属样式 (sp-)
   布局：Hero居中 + 四宫格功能清单 + 三列价格表 + 横向图标列
   ============================================ */

.sp-hero {
    padding: 80px 0 50px;
    text-align: center;
    background:
        radial-gradient(ellipse at top, rgba(124,58,237,0.3) 0%, transparent 60%);
}

.sp-hero-badge {
    margin-bottom: 20px;
    font-size: 13px;
    padding: 6px 16px;
}

.sp-h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 18px;
    background: linear-gradient(90deg, var(--primary-light), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.sp-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 auto 40px;
    max-width: 720px;
}

.sp-subtitle strong {
    color: var(--primary-light);
}

.sp-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.sp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-stat b {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.sp-stat span {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ===== 功能清单 ===== */
.sp-module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sp-module {
    padding: 28px;
}

.sp-module-title {
    font-size: 20px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.sp-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.sp-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sp-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16,185,129,0.15);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 1px;
}

/* ===== 价格表 ===== */
.sp-pricing {
    padding: 60px 0;
    background: linear-gradient(180deg, transparent, rgba(124,58,237,0.06), transparent);
}

.sp-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 20px;
}

.sp-plan-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;
}

.sp-plan-card.is-hot {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(124,58,237,0.15), var(--bg-card));
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(124,58,237,0.35);
    z-index: 2;
}

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

.sp-plan-name {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.sp-plan-price {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.sp-plan-unit {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.sp-plan-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 14px 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.6;
}

.sp-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-plan-features li {
    font-size: 14px;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.sp-plan-features li.yes::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.sp-plan-features li.no {
    color: var(--text-muted);
    text-decoration: line-through;
}

.sp-plan-features li.no::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* ===== 优势图标列 ===== */
.sp-adv-card {
    text-align: center;
    padding: 32px 20px;
}

.sp-adv-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.sp-adv-title {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.sp-adv-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 技术支持卡片（左右两栏） ===== */
.sp-support {
    padding: 40px 0 60px;
}

.sp-support-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), var(--bg-card));
    border: 1px solid var(--primary);
}

.sp-support-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.sp-support-title {
    font-size: 28px;
    color: var(--text-primary);
    margin: 0;
}

.sp-support-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 14px;
    margin: 0;
}

.sp-support-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sp-support-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(15,10,30,0.5);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.sp-support-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.sp-support-item b {
    display: block;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 4px;
}

.sp-support-item small {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* ===== 二开说明 ===== */
.sp-dev {
    padding: 36px;
}

.sp-dev-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 10px;
}

.sp-dev-head h2 {
    font-size: 22px;
    margin: 0;
    color: var(--text-primary);
}

.sp-dev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

.sp-dev-item b {
    display: block;
    color: var(--primary-light);
    font-size: 14px;
    margin-bottom: 6px;
}

.sp-dev-item p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .sp-h1 { font-size: 36px; }
    .sp-plan-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .sp-plan-card.is-hot { transform: none; }
    .sp-support-inner {
        grid-template-columns: 1fr;
    }
    .sp-support-right {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sp-module-grid {
        grid-template-columns: 1fr;
    }
    .sp-check-list {
        grid-template-columns: 1fr;
    }
    .sp-dev-grid {
        grid-template-columns: 1fr;
    }
    .sp-hero-stats {
        gap: 20px;
    }
    .sp-stat b { font-size: 26px; }
}
