/* Legal Pages Styles */

.legal-page {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-header h1 {
    font-size: var(--font-lg);
    margin-bottom: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 14px;
}

.product-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-badge.edip {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    border: 1px solid rgba(79, 172, 254, 0.3);
    color: #4facfe;
}

.product-badge.kamaauth {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(85, 98, 112, 0.2) 100%);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #FF6B6B;
}

/* Legal Content */
.legal-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 10px;
    position: relative;
}

.legal-content li::marker {
    color: var(--accent-primary);
}

.legal-content strong {
    color: var(--text-color);
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Special Boxes */
.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box p {
    margin-bottom: 0;
    color: #ffc107;
}

.highlight-box {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.highlight-box p {
    color: var(--accent-secondary);
}

.highlight-box ul {
    margin-top: 12px;
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Legal Footer */
.legal-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    transition: all 0.2s ease;
}

.back-link:hover {
    background: rgba(108, 92, 231, 0.2);
    transform: translateX(-4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: calc(var(--nav-height) + 20px);
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-content h3 {
        font-size: 16px;
    }

    .legal-content ul {
        margin-left: 16px;
    }
}

/* Nav Logo Link Style */
nav .logo {
    text-decoration: none;
    color: inherit;
}