/* license.html页面专用样式 */

/* 授权计划区域 */
.plans-section {
    padding: 4rem 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.plan-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.plan-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

.plan-badge {
    display: inline-block;
    background: #f59e0b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 1.25rem;
    color: #64748b;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
}

.plan-description {
    color: #64748b;
    font-size: 0.95rem;
}

.plan-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #475569;
}

.feature-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.feature-icon {
    color: #22c55e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-text {
    flex-grow: 1;
}

.plan-footer {
    padding: 0 2rem 2rem;
    margin-top: auto;
}

/* 常见问题区域 */
.faq-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #64748b;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: #64748b;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

/* 对比表格区域 */
.comparison-section {
    padding: 4rem 0;
}

.comparison-table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #f8fafc;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .check {
    color: #22c55e;
    font-weight: bold;
}

.comparison-table .cross {
    color: #ef4444;
    font-weight: bold;
}

.comparison-table .highlight {
    background: #eff6ff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 1rem;
    }
}