/* ============================================
   PRIVACY PAGE STYLES
   ============================================ */

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        var(--bg-primary);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-compact {
    padding: 140px 0 80px;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.page-badge svg {
    width: 18px;
    height: 18px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

/* ============================================
   PRIVACY HIGHLIGHTS
   ============================================ */
.privacy-highlights {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.highlight-card.featured {
    border-color: #22C55E;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.05) 0%, var(--bg-tertiary) 100%);
}

.highlight-card svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.highlight-card.featured svg {
    color: #22C55E;
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   LEGAL CONTENT
   ============================================ */
.legal-content {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* ============================================
   LEGAL NAVIGATION
   ============================================ */
.legal-nav {
    position: sticky;
    top: 100px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
}

.legal-nav h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 8px;
}

.legal-nav a {
    display: block;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.legal-nav a:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.legal-nav a.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}

/* ============================================
   LEGAL BODY
   ============================================ */
.legal-body {
    max-width: 800px;
}

.legal-body section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-primary);
}

.legal-body section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-body h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.legal-body h3 {
    font-size: 1.25rem;
    margin-top: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.legal-body li {
    position: relative;
    padding: 10px 0 10px 24px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.legal-body li strong {
    color: var(--text-primary);
}

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

.legal-body a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================================
   RIGHTS GRID
   ============================================ */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.right-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.right-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.right-item svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.right-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.right-item p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0;
}

/* ============================================
   NO TRACKING BANNER
   ============================================ */
.no-tracking-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.02) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 28px 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.no-tracking-banner svg {
    width: 32px;
    height: 32px;
    color: #22C55E;
    flex-shrink: 0;
    margin-top: 2px;
}

.no-tracking-banner-content h4 {
    font-size: 1.15rem;
    color: #22C55E;
    margin-bottom: 8px;
}

.no-tracking-banner-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* ============================================
   COOKIES TABLE
   ============================================ */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.cookies-table thead {
    background: var(--bg-tertiary);
}

.cookies-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-primary);
}

.cookies-table td {
    padding: 16px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.cookies-table tbody tr:last-child td {
    border-bottom: none;
}

.cookies-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.02);
}

/* ============================================
   CONTACT DETAILS
   ============================================ */
.contact-details {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 28px;
}

.contact-details p {
    margin-bottom: 12px;
}

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

/* ============================================
   DATA PRACTICES GRID
   ============================================ */
.data-practices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.practice-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.practice-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.practice-item svg {
    width: 24px;
    height: 24px;
    color: #22C55E;
    flex-shrink: 0;
    margin-top: 2px;
}

.practice-item div h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.practice-item div p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 0;
}

/* ============================================
   CERTIFICATIONS INLINE
   ============================================ */
.certifications-inline {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.cert-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cert-tag svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-nav {
        position: static;
        display: none;
    }

    .rights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }

    .page-hero-compact {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .legal-body h2 {
        font-size: 1.5rem;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .no-tracking-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .data-practices-grid {
        grid-template-columns: 1fr;
    }

    .cookies-table {
        font-size: 0.85rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.875rem;
    }

    .highlight-card {
        padding: 24px;
    }

    .legal-body section {
        margin-bottom: 36px;
        padding-bottom: 36px;
    }

    .right-item {
        padding: 20px;
    }

    .contact-details {
        padding: 20px;
    }

    .certifications-inline {
        flex-direction: column;
    }

    .cert-tag {
        justify-content: center;
    }
}

/* ============================================
   GRADIENT TEXT UTILITY
   ============================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
