/* License Page Styles */
.license-section {
    background-color: #0c0c0c;
    color: #a1a1aa;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.license-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(0, 122, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(88, 86, 214, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.license-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.license-header {
    text-align: center;
    margin-bottom: 4rem;
}

.license-header .license-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.license-header .license-intro {
    font-size: 1.1rem;
    line-height: 1.6;
}

.license-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.license-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.license-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.license-card .card-header .library-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.license-card .card-header .library-author {
    font-size: 1rem;
    color: #a1a1aa;
    margin-bottom: 1.5rem;
}

.usage-section .usage-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    border-left: 3px solid #007AFF;
    padding-left: 1rem;
}

.usage-section .usage-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.license-details .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.license-details .detail-item {
    font-size: 0.95rem;
}

.license-details .detail-item strong {
    color: #ffffff;
}

.license-details .detail-item a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.license-details .detail-item a:hover {
    text-decoration: underline;
}

.license-text {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'SF Mono', 'Menlo', 'monospace';
    max-height: 250px;
    overflow-y: auto;
}

/* Responsive License Page */
@media (max-width: 768px) {
    .license-section {
        padding: 4rem 1rem;
    }

    .license-card {
        padding: 2rem;
    }
} 