/**
 * Legal Pages CSS - Gizlilik, Kullanım Şartları, KVKK
 * Premium ve profesyonel tasarım
 */

/* Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.legal-hero h1 i {
    color: #fbbf24;
}

.legal-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.legal-content {
    padding: 4rem 0;
    background: #f8fafc;
}

.legal-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 900px;
    margin: 0 auto;
}

.legal-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 2rem;
}

.legal-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.legal-meta i {
    color: #6366f1;
}

/* Article Content */
.legal-article h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-article h2:first-of-type {
    margin-top: 0;
}

.legal-article h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #334155;
    margin: 1.5rem 0 0.75rem;
}

.legal-article p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

.legal-article ul, .legal-article ol {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.legal-article li {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 0.5rem;
}

.legal-article li strong {
    color: #1e293b;
}

/* Contact Info Box */
.contact-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
    color: #1e293b;
    font-weight: 500;
}

.contact-info i {
    color: #6366f1;
    width: 20px;
}

/* Legal Table */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.legal-table th, .legal-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.legal-table th {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.legal-table td {
    background: white;
    color: #475569;
    font-size: 0.95rem;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:nth-child(even) td {
    background: #f8fafc;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.right-item {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.right-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.right-item i {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 1rem;
}

.right-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.right-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Application Methods */
.application-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.method-item i {
    font-size: 1.5rem;
    color: #6366f1;
    margin-top: 0.25rem;
}

.method-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.35rem;
}

.method-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Legal Footer */
.legal-footer {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
    flex-wrap: wrap;
}

.legal-footer .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.legal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.legal-footer .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.legal-footer .btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 4rem 0 3rem;
    }
    
    .legal-hero h1 {
        font-size: 1.75rem;
    }
    
    .legal-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .legal-article h2 {
        font-size: 1.25rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-footer {
        flex-direction: column;
    }
    
    .legal-footer a {
        text-align: center;
        justify-content: center;
    }
}
