/* License Page Styles */
.license-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.license-header {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8fafc, white);
    border-radius: var(--radius);
    margin-bottom: 3rem;
}

.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.license-badge i {
    font-size: 1.2rem;
}

.license-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.license-year {
    color: #64748b;
    font-size: 1.1rem;
}

.license-year span {
    color: var(--primary-color);
    font-weight: 500;
}

.license-content {
    background: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.license-summary h2,
.license-text h2,
.license-usage h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.license-summary h2::after,
.license-text h2::after,
.license-usage h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.permission-card {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.2s ease;
}

.permission-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 1.5rem;
}

.allowed .card-header i {
    color: #22c55e;
}

.limitations .card-header i {
    color: #ef4444;
}

.conditions .card-header i {
    color: #f59e0b;
}

.permission-card ul {
    list-style: none;
    padding: 0;
}

.permission-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #64748b;
}

.permission-card li i {
    width: 20px;
}

.allowed li i {
    color: #22c55e;
}

.limitations li i {
    color: #ef4444;
}

.conditions li i {
    color: #f59e0b;
}

.text-container {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    margin-bottom: 4rem;
}

.text-container pre {
    white-space: pre-wrap;
    font-family: monospace;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.copy-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: none;
    border-radius: var(--radius);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background: var(--primary-color);
    color: white;
}

.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .license-container {
        padding: 1rem;
    }

    .license-content {
        padding: 1.5rem;
    }

    .permission-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
} 