/* 购买页面样式 */
.buy-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.page-header h2 {
    font-size: 42px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 18px;
    color: #64748b;
}

/* 网络标识 */
.network-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid #ff060a;
    color: #ff060a;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(255, 6, 10, 0.15);
}

.network-badge::before {
    content: 'T';
    width: 24px;
    height: 24px;
    background: #ff060a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.network-hint {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border: 1px solid #fecaca;
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hint-title {
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

.hint-text {
    font-size: 14px;
    color: #7f1d1d;
    line-height: 1.6;
}

.hint-text .highlight {
    color: #dc2626;
    font-weight: 600;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.product-item {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
    border-color: #3b82f6;
}

.product-item:hover::before {
    transform: scaleX(1);
}

/* 中间卡片突出 */
.product-item.featured {
    border-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    z-index: 1;
}

.product-item.featured::before {
    transform: scaleX(1);
}

.product-item.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.product-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.product-item.featured .product-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #fff;
}

.product-title {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #1e293b;
}

.product-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.product-price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.product-price .unit {
    font-size: 18px;
    font-weight: 600;
    -webkit-text-fill-color: #64748b;
    margin-left: 4px;
}

.product-price.free {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
}

.price-note {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    padding: 10px 0;
    color: #475569;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
}

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

.features-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: #dbeafe;
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.choose-btn {
    width: 100%;
    padding: 16px;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.choose-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.choose-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.choose-btn:hover::after {
    left: 100%;
}

.choose-btn.free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.choose-btn.free:hover {
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

/* 响应式 */
@media (max-width: 968px) {
    .product-list {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .product-item.featured {
        transform: none;
        order: -1;
    }
    
    .product-item.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 640px) {
    .page-header h2 {
        font-size: 32px;
    }
    
    .product-price {
        font-size: 36px;
    }
    
    .network-hint {
        margin: 0 20px 40px;
    }
}