/**
 * Privacy Policy Styles - Agape Movement Taiwan
 * Hanya untuk halaman privacy policy
 */

/* ===== HERO NAV — colors for Privacy Policy page ===== */
.privacy-hero-wrap .hero-nav {
    color: var(--color-text);
}

.privacy-hero-wrap .corner a {
    opacity: .85;
}

.privacy-hero-wrap .corner a:hover {
    opacity: 1;
}

.privacy-hero-wrap .dropdown-btn {
    color: var(--color-text);
}

.privacy-hero-wrap .dropdown-btn:hover {
    border-color: currentColor;
    opacity: 1;
}

.privacy-hero-wrap .dropdown-menu a,
.privacy-hero-wrap .dropdown-menu .menu-item a {
    color: var(--color-text);
    opacity: .7;
}

.privacy-hero-wrap .dropdown-menu .menu-item a:hover {
    opacity: 1;
}

/* ===== PAGE HEAD ===== */
.page-head {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 6rem) var(--pad-x) 3.2rem;
    text-align: center;
}

.page-head .eyebrow {
    color: var(--color-rust);
    margin-bottom: 1.1rem;
}

.page-head h1 {
    font-size: clamp(2.1rem, 4.2vw, 2.9rem);
    color: var(--color-text);
    line-height: 1.15;
}

.page-head .meta {
    font-size: .8rem;
    color: var(--color-text-soft);
    margin-top: 1.1rem;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 var(--pad-x) 3rem;
    text-align: center;
}

.toc .toc-title {
    font-size: 1.66rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-text-soft);
    margin-bottom: 1rem;
}

.toc ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
}

.toc li {
    margin: 0;
}

.toc a {
    display: inline-block;
    font-size: .76rem;
    color: var(--color-text-soft);
    padding: .5rem 1.1rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
    text-decoration: none;
}

.toc a:hover {
    color: var(--color-text);
    border-color: var(--color-accent);
}

.toc a.active {
    color: var(--color-white);
    background: var(--color-olive);
    border-color: var(--color-olive);
    font-weight: 500;
}

/* ===== LEGAL LAYOUT ===== */
.legal-layout {
    max-width: 880px;
    margin: 0 auto;
    padding: 3rem var(--pad-x) 6.5rem;
    border-top: 1px solid var(--color-border);
}

/* ===== LEGAL CONTENT ===== */
.legal-content h2 {
    font-size: 1.32rem;
    color: var(--color-text);
    margin: 3rem 0 1rem;
    scroll-margin-top: 32px;
    text-align: left;
}

.legal-content > h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: .92rem;
    color: var(--color-text-soft);
    line-height: 1.9;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-content ul {
    margin: 0 0 1.2rem;
    padding-left: 1.3rem;
    text-align: left;
}

.legal-content li {
    font-size: .92rem;
    color: var(--color-text-soft);
    line-height: 1.9;
    margin-bottom: .45rem;
}

.legal-content strong {
    color: var(--color-text);
    font-weight: 500;
}

.legal-content .inline-link {
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-accent-soft);
    text-decoration: none;
    transition: opacity .25s var(--ease);
}

.legal-content .inline-link:hover {
    opacity: .75;
}

/* ===== CONTACT CARD ===== */
.contact-card {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.8rem;
    margin-top: 1.2rem;
    background: var(--color-white);
}

.contact-card .row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .8rem;
    font-size: .88rem;
    color: var(--color-text);
}

.contact-card .row:last-child {
    margin-bottom: 0;
}

.contact-card svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: var(--color-text-soft);
}

.contact-card a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-card a:hover {
    opacity: .75;
}

/* ===== REVEAL ON SCROLL (khusus privacy policy) ===== */
.rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.rv.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .rv {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .page-head {
        padding: clamp(3rem, 6vw, 4rem) var(--pad-x) 2.5rem;
    }
}

@media (max-width: 600px) {
    .page-head {
        padding: 3rem 1.2rem 2rem;
    }
    
    .toc {
        padding: 0 1.2rem 2rem;
    }
    
    .legal-layout {
        padding: 2rem 1.2rem 4rem;
    }
    
    .legal-content h2 {
        font-size: 1.15rem;
        margin: 2.4rem 0 .8rem;
    }
    
    .toc a {
        padding: .42rem .9rem;
        font-size: .7rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .contact-card .row {
        font-size: .8rem;
        gap: .5rem;
    }
}