/**
 * license.html 专用样式
 * 许可协议页面 - 简洁专业设计
 * 创建时间: 2026-05-17
 */

/* ==================== 基础布局 ==================== */
.license-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    position: relative;
    z-index: 10;
}

/* ==================== 标题区域 ==================== */
.license-header {
    text-align: center;
    padding: 50px 40px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.license-header-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.license-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.license-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== 内容区块 ==================== */
.license-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.license-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #06b6d4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.license-section h2 i {
    font-size: 1.1rem;
}

.license-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.license-section h3 i {
    font-size: 1rem;
}

.license-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 16px;
}

.license-section p:last-child {
    margin-bottom: 0;
}

.license-section strong {
    color: #06b6d4;
    font-weight: 600;
}

/* ==================== 列表样式 ==================== */
.license-allowed ul,
.license-forbidden ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.license-allowed ul li,
.license-forbidden ul li {
    padding: 10px 0 10px 36px;
    position: relative;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.license-allowed ul li:last-child,
.license-forbidden ul li:last-child {
    border-bottom: none;
}

.license-allowed ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.license-forbidden ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ==================== 免责声明 ==================== */
.license-disclaimer {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.license-disclaimer > i {
    font-size: 1.4rem;
    color: #ef4444;
    margin-top: 4px;
    flex-shrink: 0;
}

.license-disclaimer h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ef4444;
    margin: 0 0 10px 0;
}

.license-disclaimer p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* ==================== 联系卡片 ==================== */
.license-contact {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-top: 32px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.license-contact h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.license-contact h3 i {
    color: #06b6d4;
}

.license-contact > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.license-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25);
}

.license-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
}

/* ==================== 底部区域 ==================== */
.license-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.license-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
    .license-wrapper {
        padding: 20px 16px 40px;
    }

    .license-header {
        padding: 36px 24px;
        margin-bottom: 24px;
    }

    .license-header h1 {
        font-size: 1.6rem;
    }

    .license-header-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .license-section {
        padding: 24px;
    }

    .license-section h2 {
        font-size: 1.15rem;
    }

    .license-disclaimer {
        flex-direction: column;
        padding: 20px;
    }

    .license-disclaimer > i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .license-header h1 {
        font-size: 1.4rem;
    }

    .license-section {
        padding: 20px;
    }

    .license-section h2 {
        font-size: 1.05rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .license-allowed ul li,
    .license-forbidden ul li {
        padding-left: 32px;
        font-size: 0.95rem;
    }
}
