/* ═════════════════════════════════════════════════════════════════════════════
   LEGAL PAGES STYLESHEET - 127 Tangguh
   Used by: privacy-policy, terms, about
   ════════════════════════════════════════════════════════════════════════════ */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ══ Navbar ══ */

#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 1px 28px rgba(11, 31, 59, 0.09);
}

#navbar.scrolled .nav-link {
    color: #374151;
}

#navbar.scrolled .logo-text {
    color: #0B1F3B;
}

#navbar.scrolled .logo-sub {
    color: #6b7280;
}

#navbar.scrolled .ham-line {
    background-color: #0B1F3B;
}

#navbar.scrolled .nav-cta {
    background-color: #1F4FFF !important;
}

.nav-link {
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1F4FFF;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}


/* ══ Mobile menu ══ */

#mobile-menu {
    display: none;
}

#mobile-menu.open {
    display: block;
}


/* ══ Badge ══ */

.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3B82F6;
    padding: 0.25rem 0.8rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 999px;
}


/* ══ Gradient text ══ */

.grad-text {
    background: linear-gradient(135deg, #3B82F6 0%, #1F4FFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ══ Prose ══ */

.prose-legal h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0B1F3B;
    margin-top: 2.5rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e5e7eb;
    letter-spacing: -0.02em;
}

.prose-legal h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0B1F3B;
    margin-top: 1.75rem;
    margin-bottom: 0.6rem;
}

.prose-legal p {
    color: #4B5563;
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 1.1rem;
    font-size: 0.97rem;
}

.prose-legal ul {
    margin: 1rem 0 1.1rem 0;
    padding: 0;
    list-style: none;
}

.prose-legal ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #4B5563;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 0.5rem;
    font-size: 0.97rem;
}

.prose-legal ul li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1F4FFF;
    flex-shrink: 0;
    margin-top: 0.6rem;
}

.prose-legal a {
    color: #1F4FFF;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose-legal a:hover {
    color: #3B82F6;
}

.prose-legal strong {
    font-weight: 600;
    color: #1F2937;
}


/* ══ TOC ══ */

.toc-link {
    transition: color 0.2s, padding-left 0.2s;
}

.toc-link:hover {
    color: #1F4FFF;
    padding-left: 4px;
}

.toc-link.active {
    color: #1F4FFF;
    font-weight: 600;
}


/* ══ Progress bar ══ */

#read-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #1F4FFF, #3B82F6);
    z-index: 9999;
    transition: width 0.1s linear;
}


/* ══ CTA ══ */

.cta-bg {
    background: linear-gradient(135deg, #071629 0%, #0B1F3B 50%, #071629 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(31, 79, 255, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.cta-bg::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.btn-prim {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-prim:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(31, 79, 255, 0.38);
}


/* ══ Footer ══ */

.flink {
    transition: color 0.2s;
}

.flink:hover {
    color: #3B82F6;
}


/* ══ Scrollbar ══ */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1F4FFF;
    border-radius: 3px;
}

.fl-wrapper {
    z-index: 999!important;
}