/* ========== CSS VARIABLES LIGHT & DARK ========== */
:root {
    --merah: #e63946;
    --kuning: #ffd166;
    --hijau: #2a9d8f;
    --biru: #1d3557;
    --biru-muda: #a8dadc;
    --bg-body: linear-gradient(145deg, #fefcf5 0%, #f4f9fc 100%);
    --bg-card: #ffffff;
    --bg-navbar: rgba(255,255,255,0.85);
    --text-primary: #2c3e4e;
    --text-muted: #6c757d;
    --shadow: 0 15px 35px rgba(0,0,0,0.04);
    --shadow-hover: 0 25px 45px rgba(0,0,0,0.08);
    --disclaimer-bg: #fff5e6;
    --border-light: #e9ecef;
    --badge-color: #2c3e4e;
    --marriage-bg: #f0f7fc;
}

/* Dark mode override */
[data-theme="dark"], #darkmode-toggle:checked ~ .page-wrapper {
    --merah: #ff6b6b;
    --kuning: #ffd166;
    --hijau: #4ecdc4;
    --biru: #6c9bcf;
    --biru-muda: #7fa9b9;
    --bg-body: #121212;
    --bg-card: #1e1e1e;
    --bg-navbar: rgba(30,30,30,0.92);
    --text-primary: #f0f3f8;
    --text-muted: #b0b0b0;
    --shadow: 0 15px 35px rgba(0,0,0,0.3);
    --shadow-hover: 0 25px 45px rgba(0,0,0,0.5);
    --disclaimer-bg: #2c2c2c;
    --border-light: #404040;
    --badge-color: #f0f3f8;
    --marriage-bg: #1a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-wrapper {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 1rem;
    transition: background 0.3s, color 0.3s;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-body);
    font-family: 'Poppins', sans-serif;
}

/* Dark mode toggle switch */
.darkmode-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    padding: 0.4rem 0.9rem;
    border-radius: 40px;
    cursor: pointer;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
    color: var(--text-primary);
}
.darkmode-switch:hover {
    background: var(--disclaimer-bg);
}
.darkmode-switch i {
    font-size: 1rem;
    color: var(--kuning);
}
.darkmode-switch span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Checkbox tersembunyi */
#darkmode-toggle {
    display: none;
}

.container-custom {
    max-width: 1100px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background: var(--bg-navbar);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    margin: 1rem auto;
    max-width: 1100px;
    transition: background 0.3s;
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--biru);
    transition: color 0.3s;
}
.navbar-brand span {
    color: var(--hijau);
    transition: color 0.3s;
}
.badge-sesi {
    background-color: var(--kuning);
    color: var(--badge-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: background 0.3s, color 0.3s;
}

/* Hero */
.hero-section {
    text-align: center;
    padding: 2rem 0 3rem;
}
.hero-icon {
    font-size: 3.5rem;
    background: var(--bg-card);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    color: var(--hijau);
    border: 4px solid var(--kuning);
    transition: background 0.3s, box-shadow 0.3s, color 0.3s, border 0.3s;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--biru), var(--hijau));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    transition: background 0.3s;
}
.hero-sub {
    color: var(--text-primary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    transition: color 0.3s;
}

/* Card paket */
.package-card {
    background: var(--bg-card);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 8px solid;
    border-bottom: 3px solid;
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.card-header-package {
    height: 30%;
    padding: 1.5rem;
    text-align: center;
}
.package-icon {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
}
.package-title {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}
.package-duration {
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--text-muted);
}
.price {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.8rem 0;
}
.price small {
    font-size: 0.9rem;
    font-weight: normal;
}
.package-body {
    height: 50%;
    padding: 1.5rem;
    flex: 1;
    align-items: center;
}
.package-body p {
    color: var(--text-primary);
}
.package-footer {
    height: 20%;
}
.feature-list {
    list-style: none;
    padding: 0;
}
.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-primary);
}
.feature-list li i {
    margin-top: 0.2rem;
}
.btn-chat {
    background-color: var(--merah);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
}
.btn-chat:hover {
    background-color: #c72a3a;
    transform: scale(1.02);
    color: white;
}

/* Bundle card */
.bundle-card {
    background: linear-gradient(120deg, var(--biru) 0%, var(--biru-muda) 100%);
    color: white;
    border-radius: 1.5rem;
    padding: 1.8rem;
    margin-top: 2rem;
    transition: background 0.3s;
}
.bundle-option {
    background: rgba(255,255,255,0.15);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    transition: 0.2s;
}
.bundle-option:hover {
    background: rgba(255,255,255,0.25);
}
.bundle-price {
    font-size: 1.6rem;
    font-weight: 700;
}
.bundle-card .btn-light {
    background: white;
    color: var(--biru);
    border: none;
}
.bundle-card .btn-light:hover {
    background: #f0f0f0;
}

/* Disclaimer */
.disclaimer {
    background-color: var(--disclaimer-bg);
    border-left: 6px solid var(--kuning);
    border-radius: 1rem;
    padding: 1.2rem;
    margin: 2rem 0;
    transition: background 0.3s, border 0.3s;
}
.disclaimer strong {
    color: var(--biru);
    transition: color 0.3s;
}
.disclaimer .text-muted {
    color: var(--text-muted) !important;
}

.btn-tiktok {
    background-color: var(--biru);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 60px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: 0.2s;
}
.btn-tiktok:hover {
    background-color: #152642;
    transform: translateY(-3px);
    color: white;
}

/* ===== SECTION: UNBOXING MARRIAGE COACHING (BARU) ===== */
.marriage-section {
    background-color: var(--marriage-bg);
    border-radius: 2rem;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-top: 6px solid var(--merah);
    border-bottom: 4px solid var(--kuning);
    transition: background 0.3s, border 0.3s;
}
.marriage-section .section-badge {
    display: inline-block;
    background-color: var(--merah);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.marriage-section .marriage-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--biru);
    margin-bottom: 1rem;
}
.marriage-section .marriage-title i {
    color: var(--merah);
    margin-right: 0.5rem;
}
.marriage-section .marriage-desc {
    font-size: 1.05rem;
    color: var(--text-primary);
    max-width: 700px;
    line-height: 1.8;
}
.marriage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.marriage-item {
    background: var(--bg-card);
    border-radius: 1.2rem;
    padding: 1.5rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--hijau);
}
.marriage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.marriage-item .item-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: block;
}
.marriage-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--biru);
    margin-bottom: 0.5rem;
}
.marriage-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}
.marriage-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.btn-marriage {
    background-color: var(--hijau);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
}
.btn-marriage:hover {
    background-color: #21867a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(42,157,143,0.3);
    color: white;
}
.btn-marriage-outline {
    background: transparent;
    color: var(--biru);
    border: 2px solid var(--biru);
    padding: 0.8rem 2.2rem;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.2s;
    font-size: 1rem;
}
.btn-marriage-outline:hover {
    background: var(--biru);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .marriage-section {
        padding: 2rem 1.2rem;
    }
    .marriage-section .marriage-title {
        font-size: 1.7rem;
    }
    .marriage-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .marriage-item {
        padding: 1rem 0.8rem;
    }
}
@media (max-width: 480px) {
    .marriage-grid {
        grid-template-columns: 1fr;
    }
    .marriage-cta {
        flex-direction: column;
        align-items: center;
    }
    .marriage-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.3s;
}
footer hr {
    border-color: var(--kuning);
    transition: border 0.3s;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .package-title { font-size: 1.3rem; }
    .price { font-size: 1.6rem; }
    .navbar-brand { font-size: 1.2rem; }
    .darkmode-switch span { display: none; }
    .darkmode-switch { padding: 0.4rem; }
}

/* Animasi fade */
@keyframes gentleFade {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fade-up {
    animation: gentleFade 0.6s ease-out forwards;
}