/* 文件路径：src/main/resources/static/css/subscribe.css */
.subscribe-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.page-title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 18px;
    color: #999;
    margin-bottom: 20px;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.plan-card {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: #ff6b6b;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.plan-card.plan-hot {
    border-color: #ffd93d;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
}

.plan-hot:hover {
    border-color: #ffd93d;
    box-shadow: 0 20px 40px rgba(255, 217, 61, 0.2);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(45deg, #ffd93d, #ff6b6b);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-header {
    margin-bottom: 20px;
    text-align: center;
}

.plan-duration {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

.plan-tag {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.plan-price {
    text-align: center;
    margin-bottom: 15px;
}

.plan-price .currency {
    font-size: 24px;
    color: #999;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin: 0 5px;
}

.plan-price .period {
    font-size: 16px;
    color: #999;
    vertical-align: bottom;
}

.plan-monthly-price {
    text-align: center;
    color: #ccc;
    margin-bottom: 25px;
    font-size: 16px;
}

.plan-monthly-price .savings {
    display: block;
    color: #4cd964;
    font-size: 14px;
    margin-top: 5px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.plan-features li {
    padding: 10px 0;
    color: #ccc;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.plan-features li:before {
    content: "✓";
    color: #4cd964;
    margin-right: 10px;
    font-weight: bold;
}

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

.payment-channels {
    margin-bottom: 20px;
}

.channel-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.channel-group label {
    background: #333;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.channel-group label:hover {
    background: #444;
}

.channel-group input[type="radio"] {
    display: none;
}

.channel-group input[type="radio"]:checked + .channel-icon + .channel-name {
    color: #ff6b6b;
}

.channel-group input[type="radio"]:checked + .channel-icon {
    border-color: #ff6b6b;
}

.channel-icon {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
    border: 2px solid transparent;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 46px;
    margin: 0 auto 5px;
}

.channel-name {
    font-size: 12px;
    color: #ccc;
}

.btn-subscribe {
    width: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.btn-subscribe:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-subscribe .recommended {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #ffd93d;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.plan-note {
    text-align: center;
    color: #ffd93d;
    font-size: 14px;
    margin-top: 15px;
    font-style: italic;
}

.subscription-info {
    margin-bottom: 50px;
    padding: 30px;
    background: #2a2a2a;
    border-radius: 15px;
}

.subscription-info h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-size: 28px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    background: #333;
    border-radius: 10px;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: #3a3a3a;
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.benefit-item p {
    color: #999;
    font-size: 14px;
    line-height: 1.5;
}

.faq-section {
    margin-bottom: 50px;
}

.faq-section h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-size: 28px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: #2a2a2a;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #ff6b6b;
}

.faq-item h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: #ccc;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .subscription-plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-price .amount {
        font-size: 36px;
    }
    
    .channel-group {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.success-message {
    background: linear-gradient(45deg, #4cd964, #5ac8fa);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    animation: slideIn 0.5s ease;
}

.error-message {
    background: linear-gradient(45deg, #ff3b30, #ff9500);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}