/* ===================================================================
   GLOBAL BASE STYLES (Light Mode Only)
=================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #ffffff;
    color: #111827;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Progress bar */
#progressBar {
    transition: width 0.1s linear;
}

/* Floating buttons */
.fab-btn {
    position: fixed;
    z-index: 50;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===================================================================
   NAVBAR (Light Only)
=================================================================== */
.navbar a,
.navbar .nav-text {
    color: #ffffff;
    font-weight: 500;
    transition: 0.25s;
}

.nav-light {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-light a,
.nav-light .nav-text {
    color: #111827 !important;
}

.navbar a:hover,
.nav-light a:hover {
    color: #4f46e5 !important;
    opacity: 1;
}

/* Mobile Menu */
/* .mobile-menu {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
} */



.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-menu.active {
    max-height: 500px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}



.mobile-menu a {
    color: #111827;
}

.mobile-menu a:hover {
    background: rgba(102, 126, 234, 0.10);
}

/* ===================================================================
   HERO + MARKETING SECTIONS
=================================================================== */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    color: #ffffff;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="%23fff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2z"/></g></svg>');
}

.card-hover {
    transition: 0.3s;
}

.card-hover:hover {
    transform: translateY(-8px);
}

/* Animations */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard mock */
.dashboard-container {
    perspective: 1000px;
}

.dashboard-mockup {
    background: #eef2ff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.window-bar {
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-content {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    padding: 24px;
}

.metric-card {
    border-radius: 12px;
    padding: 18px;
    color: #fff;
}

.chart-bar {
    background: #e5e7eb;
    border-radius: 4px;
}

.chart-fill {
    height: 100%;
    background: #4f46e5;
    animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
    from {
        width: 0;
    }
}

.post-preview {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
}

/* ===================================================================
   LEGAL / SECURITY PAGES
=================================================================== */
.legal-content h2 {
    color: #4f46e5;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: .5rem;
}

.legal-content h3 {
    color: #374151;
    font-weight: 600;
    margin: 1.5rem 0 .75rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    color: #374151;
    line-height: 1.7;
    margin-bottom: .75rem;
}

.section-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 2rem 0;
}

/* Table of Contents */
.toc {
    background: #f9fafb;
    padding: 1rem;
    border-radius: .75rem;
}

.toc a {
    color: #4f46e5;
    font-size: .875rem;
    padding: .25rem 0;
    display: block;
}

.toc a:hover {
    padding-left: .25rem;
}

/* Timeline */
.timeline {
    border-left: 3px solid #4f46e5;
    padding-left: 1.5rem;
}

.timeline-item {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.7rem;
    top: .3rem;
    width: .9rem;
    height: .9rem;
    border-radius: 50%;
    background: #4f46e5;
    border: 2px solid #fff;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.security-card {
    border: 2px solid transparent;
    transition: .3s;
}

.security-card:hover {
    border-color: #4f46e5;
    transform: translateY(-4px);
}

#cookieBanner {
    display: none;
    animation: fadeInUp 0.4s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   FOOTER (Light Mode Only)