:root {
    --deep-emerald: #0F3D3E;
    --emerald-light: #1a5f61;
    --emerald-lighter: #e8f3f0;
    --emerald-soft: #d4e8e5;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: #2d3748;
}

/* Navbar styling */
.navbar-custom {
    background-color: var(--deep-emerald) !important;
    box-shadow: 0 4px 12px rgba(15, 61, 62, 0.15);
    padding: 1rem 0;
}

.navbar-custom .navbar-brand {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-custom .navbar-brand:hover {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-custom .nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--deep-emerald) 0%, var(--emerald-light) 100%);
    color: white;
    padding: 4rem 0 5rem;
    margin-bottom: 3rem;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to right bottom, transparent 49%, #f8f9fa 50%);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Main content */
.main-content {
    padding: 2rem 0 4rem;
}

.content-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.section-title {
    color: var(--deep-emerald);
    font-weight: 700;
    margin: 2rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 1.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--deep-emerald);
    border-radius: 2px;
}

.section-title:first-of-type {
    margin-top: 0;
}

.section-subtitle {
    color: var(--deep-emerald);
    font-weight: 600;
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.2rem;
    color: #4a5568;
}

.lead-text {
    font-size: 1.2rem;
    color: #2d3748;
    font-weight: 400;
    line-height: 1.8;
}

.penjelasan {
    color: #f8f9fa;
}

/* Info highlight */
.info-highlight {
    background-color: var(--emerald-lighter);
    border-left: 6px solid var(--deep-emerald);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.info-highlight p:last-child {
    margin-bottom: 0;
}

.info-highlight i {
    color: var(--deep-emerald);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Privacy feature list */
.privacy-list {
    list-style: none;
    padding: 0;
}

.privacy-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
}

.privacy-list li:last-child {
    border-bottom: none;
}

.privacy-list i {
    color: var(--deep-emerald);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Cookie box */
.cookie-box {
    background: linear-gradient(135deg, #fef9e7 0%, #fff 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.cookie-box i {
    color: #fbbf24;
    font-size: 2rem;
    margin-right: 1rem;
}

/* Badge */
.badge-emerald {
    background-color: var(--deep-emerald);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.badge-privacy {
    background-color: #2c3e50;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

/* Data protection card */
.protection-card {
    background: linear-gradient(135deg, #e8f0fe 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid #bfdbfe;
}

.protection-card i {
    color: var(--deep-emerald);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Contact card */
.contact-card {
    background: var(--emerald-lighter);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
}

.contact-card i {
    color: var(--deep-emerald);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--deep-emerald);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Last updated */
.last-updated {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 2px dashed var(--deep-emerald);
    text-align: center;
}

.last-updated i {
    color: var(--deep-emerald);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.last-updated span {
    color: var(--deep-emerald);
    font-weight: 600;
}

/* Agreement box */
.agreement-box {
    background: linear-gradient(135deg, var(--emerald-lighter) 0%, #ffffff 100%);
    border: 2px solid var(--deep-emerald);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.agreement-box i {
    color: var(--deep-emerald);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Table of contents */
.toc-card {
    background: var(--emerald-lighter);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
}

.toc-card h4 {
    color: var(--deep-emerald);
    font-weight: 700;
    margin-bottom: 1rem;
}

.toc-card ul {
    list-style: none;
    padding: 0;
}

.toc-card ul li {
    margin-bottom: 0.5rem;
}

.toc-card ul li a {
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem;
    border-radius: 8px;
}

.toc-card ul li a:hover {
    color: var(--deep-emerald);
    background-color: white;
    padding-left: 1rem;
}

/* Footer styling */
.footer {
    background-color: var(--deep-emerald);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer .copyright a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.footer .copyright a:hover {
    text-decoration: underline;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .content-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .toc-card {
        position: static;
        margin-bottom: 2rem;
    }
}