/* Privacy & Legal Pages Styles */
.legal-main {
    min-height: 100vh;
    background: var(--light-gray);
}

.legal-hero {
    background: var(--gradient-dark);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.legal-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.legal-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Legal Navigation */
.legal-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.legal-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.legal-nav li {
    margin: 0;
}

.legal-nav a {
    display: block;
    padding: 20px 30px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: rgba(0, 173, 181, 0.05);
}

/* Legal Sections */
.legal-section {
    padding: 80px 0;
    background: white;
}

.legal-section:nth-child(even) {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.last-updated {
    color: #666;
    font-size: 1rem;
    font-style: italic;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
}

.info-card.primary {
    background: var(--gradient-primary);
    color: white;
}

.info-card.primary h2 {
    color: white;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.card-header i {
    font-size: 2rem;
}

.card-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.info-card.primary .card-header h2 {
    color: white;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 50px;
}

.policy-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Data Types Grid */
.data-types,
.usage-grid,
.rights-grid,
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.data-type,
.usage-item,
.right-item,
.cookie-type {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.data-type:hover,
.usage-item:hover,
.right-item:hover,
.cookie-type:hover {
    transform: translateY(-5px);
}

.data-type i,
.usage-item i,
.right-item i,
.cookie-type i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.data-type h4,
.usage-item h4,
.right-item h4,
.cookie-type h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Usage List */
.usage-list {
    list-style: none;
    padding: 0;
}

.usage-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.usage-list li:last-child {
    border-bottom: none;
}

.usage-list i {
    color: #ff6b6b;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-hero {
        padding: 80px 0 40px;
    }
    
    .legal-hero h1 {
        font-size: 2.2rem;
    }
    
    .legal-nav ul {
        flex-direction: column;
    }
    
    .legal-nav a {
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
        border-left: 3px solid transparent;
    }
    
    .legal-nav a.active {
        border-left-color: var(--accent-color);
        border-bottom-color: #eee;
    }
    
    .legal-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .data-types,
    .usage-grid,
    .rights-grid,
    .cookie-types {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
}