/* Shared styles for the website */

/* Apply the Inter font family */
body {
    font-family: 'Inter', sans-serif;
    background-color: #111827; 
    color: #E5E7EB; 
}

/* Typography polish for privacy page */
#privacy .content-typography {
    line-height: 1.7;
}
#privacy .content-typography h1,
#privacy .content-typography h2,
#privacy .content-typography h3,
#privacy .content-typography h4 {
    line-height: 1.25;
    font-weight: 700;
    color: #F3F4F6;
}
#privacy .content-typography h1 { margin: 1.5rem 0 0.75rem; font-size: 1.875rem; }
#privacy .content-typography h2 { margin: 1.25rem 0 0.5rem;  font-size: 1.5rem; }
#privacy .content-typography h3 { margin: 1rem 0 0.5rem;     font-size: 1.25rem; }
#privacy .content-typography h4 { margin: 0.75rem 0 0.5rem;  font-size: 1.125rem; }

/* Ensure space between headings and following text */
#privacy .content-typography h1 + p,
#privacy .content-typography h2 + p,
#privacy .content-typography h3 + p,
#privacy .content-typography h4 + p { margin-top: 0.25rem; }

/* Lists readability */
#privacy .content-typography ul,
#privacy .content-typography ol { margin: 0.5rem 0 0.75rem 1.25rem; }
#privacy .content-typography li { margin: 0.25rem 0; }

/* Links default for legal text */
#privacy .content-typography a { color: #38bdf8; text-decoration: underline; }
#privacy .content-typography a:hover { color: #7dd3fc; }

/* Styling for the typing cursor */
.typing-cursor {
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Fade-in animation for elements on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism effect for the navbar */
.glass-nav {
    background: rgba(17, 24, 39, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(to right, #38bdf8, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111827;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4B5563;
}
