/* License 页面样式 */
:root {
    --brand-primary: #2563eb;
    --brand-primary-dark: #1d4ed8;
    --brand-primary-light: #dbeafe;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-heading: #334155;
    --border-subtle: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-section: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
}

/* Hero 区域样式 */
.license-hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/images/license.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.license-hero .container {
    position: relative;
    z-index: 3;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.license-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.license-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-price {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.price-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.price-desc {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* 通用区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    color: var(--brand-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 授权详情区域 */
.license-details {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.license-card {
    background: var(--bg-section);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}

.license-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.license-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.license-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.license-card-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 版本对比区域 */
.version-comparison {
    padding: 100px 0;
    background-color: var(--bg-section);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--text-heading);
    color: white;
    font-weight: 600;
    padding: 1rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-subtle);
}

.table-row:nth-child(even) {
    background-color: var(--bg-light);
}

.table-cell {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
}

.table-cell:first-child {
    justify-content: flex-start;
    font-weight: 500;
}

.table-cell:last-child {
    border-right: none;
}

.table-cell.highlight {
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-primary) 100%);
    color: white;
    font-weight: 600;
}

.table-row:nth-child(even) .table-cell.highlight {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.8) 0%, rgba(37, 99, 235, 0.8) 100%);
    color: white;
}

.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

/* 购买流程区域 */
.purchase-process {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-subtle);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-primary) 100%);
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* 联系方式区域 */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-section);
}

.contact-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.contact-details p {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .license-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps::before {
        top: 40px;
        bottom: 40px;
        left: 40px;
        right: 40px;
        height: auto;
        width: 2px;
    }
    
    .step {
        margin-bottom: 2rem;
        max-width: 300px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }
    
    .table-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .table-cell:last-child {
        border-bottom: none;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: left;
        width: 100%;
        max-width: 300px;
    }
}