/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: "Instrument Sans", sans-serif;
}

h1 {
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

h2 {
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.015em;
}

h3 {
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h4 {
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 600;
    letter-spacing: -0.008em;
}

h5 {
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -0.005em;
}

h6 {
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.125rem);
    font-weight: 600;
    letter-spacing: -0.003em;
}

p, .body-text {
    font-family: "Noto Sans", sans-serif;
    line-height: 1.6;
}

.btn {
    font-family: "Instrument Sans", sans-serif;
}

/* Privacy Hero Section */
.privacy-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.privacy-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-particles .particle {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle, rgba(1, 132, 250, 0.8) 0%, rgba(139, 92, 246, 0.4) 50%, rgba(6, 214, 160, 0.3) 100%);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: heroParticleFloat var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(1, 132, 250, 0.3);
}

@keyframes heroParticleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-40px) scale(1.2); opacity: 1; }
}

.privacy-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.privacy-hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 24px;
    margin-bottom: 2rem;
}

.privacy-hero-badge .badge {
    background: #0184FA;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

.privacy-hero-badge .badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.privacy-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.privacy-hero-title .gradient-text {
    background: linear-gradient(135deg, #0184FA 0%, #8b5cf6 50%, #06d6a0 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.privacy-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Legal Container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    background: white;
    color: #1a1a1a;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 3px solid #0184FA;
    padding-bottom: 20px;
}

.legal-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.legal-updated {
    color: #64748b;
    font-size: 1rem;
    font-family: "Noto Sans", sans-serif;
}

.legal-content h2 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.legal-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #0184FA, #8b5cf6);
}

.legal-content h3 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 25px 0 10px 0;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #374151;
    font-family: "Noto Sans", sans-serif;
}

.legal-content ul, 
.legal-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #374151;
    font-family: "Noto Sans", sans-serif;
}

.legal-contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 24px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid #0184FA;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.legal-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 132, 250, 0.15);
    border-color: #0184FA;
}

.toc {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.toc:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.toc h3 {
    margin-top: 0;
    color: #1a1a1a;
    font-family: "Instrument Sans", sans-serif;
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc li {
    margin: 8px 0;
}

.toc a {
    color: #0184FA;
    text-decoration: none;
    font-weight: 500;
    font-family: "Noto Sans", sans-serif;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.toc a:hover {
    background: rgba(1, 132, 250, 0.1);
    transform: translateX(4px);
}

/* Enhanced Privacy Sections */
.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #0184FA;
}

/* Privacy Highlights */
.privacy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.privacy-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0184FA, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.privacy-item:hover::before {
    transform: scaleX(1);
}

.privacy-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(1, 132, 250, 0.15);
    border-color: #0184FA;
}

.privacy-item h4 {
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-family: "Instrument Sans", sans-serif;
}

.privacy-item p {
    color: #64748b;
    margin: 0;
    font-family: "Noto Sans", sans-serif;
}

/* Data Rights Section */
.data-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.rights-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.rights-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(1, 132, 250, 0.15);
    border-color: #0184FA;
}

.rights-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0184FA, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: white;
}

.rights-item h4 {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: "Instrument Sans", sans-serif;
}

.rights-item p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
    font-family: "Noto Sans", sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 100px 0 60px;
    }
    
    .privacy-hero-title {
        font-size: 2.5rem;
    }
    
    .privacy-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .legal-container {
        padding: 60px 15px;
    }
    
    .privacy-highlights {
        grid-template-columns: 1fr;
    }
    
    .data-rights {
        grid-template-columns: 1fr;
    }
    
    .privacy-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero-container {
        padding: 0 1rem;
    }
    
    .privacy-hero-title {
        font-size: 2rem;
    }
    
    .legal-container {
        padding: 40px 10px;
    }
    
    .toc,
    .legal-contact {
        padding: 1.5rem;
    }
    
    .privacy-item,
    .rights-item {
        padding: 1.25rem;
    }
}