body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, rgb(14, 11, 40), #1a1443);
    min-height: 100vh;
    color: white;
    user-select: none;
    -webkit-user-select: none;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Centered dengan background full-width */
    padding: 18px max(40px, calc((100% - 1200px) / 2 + 40px));
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 11, 40, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.18);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.logo img {
    width: 60px;
    height: 40px;
    object-fit: cover;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}



.menu {
    display: flex;
    align-items: center;
}

.menu a:not(.btn-nav) {
    margin: 0 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
}

.menu a:not(.btn-nav):hover,
.menu a.active {
    color: white;
}

.btn-nav {
    background: #7c3aed;
    color: white;
    padding: 10px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-nav:hover {
    background: #a855f7;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* HERO */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 80px 60px 60px;
    min-height: calc(100vh - 72px);
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    gap: 40px;
}

/* KIRI */
.hero-left {
    flex: 1;
    min-width: 0;   /* izinkan menyempit dan wrap */
}

/* STATS */
.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.stats h2 {
    margin: 0;
}

.stats span {
    color: #aaa;
    font-size: 14px;
}

/* BUTTON */
.btn-main {
    display: inline-block;
    text-decoration: none;
    background: #7c3aed;
    border: none;
    padding: 15px 32px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-main:hover {
    background: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.5);
}

/* KANAN */
.hero-right {
    display: flex;
    justify-content: center;
}

/* CARD */
.card {
    background: #f9fafb;
    color: black;
    padding: 25px;
    border-radius: 20px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* UPLOAD BOX */
.upload-box {
    border: 2px dashed #d1d5db;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    background: #f9fafb;
    transition: 0.3s;
}

.upload-box p {
    margin: 0;
    font-weight: 500;
}

.upload-box span {
    font-size: 12px;
    color: #888;
}

/* efek hover (biar kerasa bisa diklik) */
.upload-box:hover {
    border-color: #7c3aed;
    background: #f3f0ff;
    cursor: pointer;
}

.file-input {
    display: none;
}



/* BUTTON UPLOAD */
.btn-Upload {
    width: 100%;
    padding: 12px;
    background: #7c3aed;
    border: none;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;

}

/* SAAT DIHOVER */
.btn-Upload:hover {
    background: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.5);
}

.paket {
    margin-top: 15px;
}

.paket p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* item paket */
.paket-item {
    display: block;
    background: #f3f4f6;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.3s;
}

/* hover */
.paket-item:hover {
    background: #e9d5ff;
}

/* sembunyikan radio asli */
.paket-item input {
    display: none;
}

/* kalau dipilih */
.paket-item input:checked+span {
    color: #7c3aed;
    font-weight: bold;
}

/* POPUP BACKGROUND */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

/* ISI POPUP */
.popup-content {
    background: white;
    color: black;
    padding: 25px;
    border-radius: 15px;
    width: 300px;
    text-align: center;
    animation: muncul 0.3s ease;
}

/* biar bisa jadi patokan posisi */
.paket-item {
    position: relative;
}

/* box info */
.info-box {
    position: absolute;
    left: -410px;
    top: 0;

    width: 350px;
    padding: 12px;
    border-radius: 14px;

    background: #f9f9ff;

    /* 🔥 OUTLINE UNGU GELAP */
    border: 2px solid #4c1d95;

    /* 🔥 GLOW HALUS */
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(124, 58, 237, 0.2);

    color: #111;
    font-size: 12px;

    opacity: 0;
    transform: translateX(20px);
    transition: 0.3s;
}

/* panah kecil */
.info-box::after {
    content: "";
    position: absolute;
    right: -50px;
    top: 15px;

    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

/* muncul saat hover */
.paket-item:hover .info-box {
    opacity: 1;
    transform: translateX(0);
}

/* muncul saat dipilih */
.paket-item input:checked~.info-box {
    opacity: 1;
    transform: translateX(0);
}

/* default hidden */
.info-box {
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    outline-color: rgb(14, 11, 40);
    font-size: 16px;
}

/* tampil saat hover */
.paket-item:hover .info-box {
    opacity: 1;
    transform: translateX(0);
}

/* tampil saat dipilih */
.paket-item input:checked~.info-box {
    opacity: 1;
    transform: translateX(0);
}

/* 🔥 KUNCI: matikan hover lain kalau ada yang dipilih */
.paket:has(input:checked) .paket-item:hover .info-box {
    opacity: 0;
    transform: translateX(20px);
}

/* tetap tampilkan yang dipilih */
.paket-item input:checked~.info-box {
    opacity: 1 !important;
}

.kategori {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.paket-row {
    display: flex;
    gap: 10px;
}

.paket-item {
    user-select: none;
}

/* MODE HP */
@media (max-width: 768px) {

    /* HERO jadi ke bawah */
    .hero {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    /* kiri full */
    .hero-left {
        max-width: 100%;
        margin-bottom: 30px;
    }

    /* card full */
    .card {
        width: 100%;
    }

    /* navbar dipadatkan */
    .navbar {
        padding: 15px 20px;
    }

    .menu {
        display: none;
        /* opsional: biar simpel di HP */
    }

    /* INFO BOX JANGAN KE SAMPING */
    .info-box {
        left: 50%;
        top: 110%;
        transform: translateX(-50%) translateY(10px);
    }

    /* panah pindah ke atas */
    .info-box::after,
    .info-box::before {
        display: none;
    }
}

.upload-box {
    display: block;
    text-decoration: none;
    color: inherit;
}

.btn-Upload {
    display: block;
    width: 93%;
    text-align: center;
    text-decoration: none;
}
.card h2 {
    margin-bottom: 10px;
}

.card p {
    color: #555;
    margin-bottom: 20px;
}
.card {
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== NAVBAR DROPDOWN ===================== */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s;
}

.dropdown-toggle:hover {
    color: white;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.25s;
    display: inline-block;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    background: #160e3d;
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 14px;
    padding: 8px;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    z-index: 200;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #e2e2e2;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(124, 58, 237, 0.2);
    color: white;
}

.dropdown-item-icon {
    font-size: 18px;
    width: 38px;
    height: 38px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

.dropdown-item-desc {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}

/* ===================== HERO BADGE ===================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.45);
    color: #c4b5fd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: 0.3px;
}

/* ===================== HERO STATS ===================== */
.stats-row {
    display: flex;
    gap: clamp(16px, 3vw, 40px);
    margin-bottom: 36px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    white-space: nowrap;
}

.stat-label {
    font-size: clamp(10px, 1.4vw, 14px);
    color: #a78bfa;
    font-weight: 500;
}

.stat-num {
    font-size: clamp(16px, 3vw, 30px);
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

/* ===================== HERO CARD KANAN ===================== */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.hero-card-outer {
    position: relative;
    width: 400px;
    height: 320px;
    overflow: visible;
    padding-left: 20px;
    box-sizing: border-box;
}

/* Kartu belakang */
.hc-back {
    position: absolute;
    top: 0;
    right: 30px;
    width: 230px;
    background: white;
    border-radius: 14px;
    padding: 16px 16px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 2px solid rgba(124,58,237,0.55);
    overflow: visible;
}

.hc-pagenum-corner {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 12px;
    font-weight: 700;
    color: #7c3aed;
    background: #f3f0ff;
    padding: 2px 10px;
    border-radius: 8px;
}

/* Kartu depan */
.hc-front {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 195px;
    background: white;
    border-radius: 14px;
    padding: 14px 14px 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    z-index: 2;
}

.hc-cta-title {
    font-size: 15px;
    font-weight: 800;
    color: #7c3aed;
    line-height: 1.25;
    margin: 8px 0 6px;
}

.hc-cta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hc-cta-list li {
    font-size: 9px;
    color: #6b7280;
    line-height: 1.6;
}

.hc-pagenum-bottom {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #7c3aed;
    background: #f3f0ff;
    padding: 2px 14px;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

/* Lines dokumen */
.hc-header {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0ebff;
    margin-bottom: 10px;
}

.hc-line {
    height: 7px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 8px;
}

.hc-title { width: 50%; margin: 0 auto 6px; background: #c4b5fd; height: 9px; }
.hc-sub   { width: 34%; margin: 0 auto;     background: #ddd6fe; height: 6px; }
.hc-s     { width: 62%; }
.hc-m     { width: 80%; }

/* Dots dekoratif */
.hc-dots {
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.hc-dots span {
    display: block;
    width: 14px;
    height: 14px;
    background: #7c3aed;
    border-radius: 50%;
}

/* Lingkaran besar — center tepat di sudut kanan bawah hc-back */
.hc-oval {
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 90px;
    height: 90px;
    background: #6d28d9;
    border-radius: 50%;
    z-index: 0;
}

/* ===================== HERO KIRI — update ===================== */
.hero-left h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 18px;
    color: #a78bfa;
}

.hero-left p {
    color: #94a3b8;
    margin: 0 0 30px;
    line-height: 1.75;
    font-size: 16px;
}

/* ===================== SAAT GAMBAR KEBAWAH (wrap terjadi) ===================== */
@media (max-width: 860px) {
    .hero {
        justify-content: center;
        text-align: center;
    }

    .hero-left {
        flex: 0 0 100%;   /* ambil full baris atas */
    }

    .stats-row {
        justify-content: center;
    }
}

/* Dropdown Jasa khusus mobile — tersembunyi di desktop */
.mobile-jasa-drop {
    display: none;
    position: relative;
    margin-left: auto;
}

.mobile-jasa-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 700;
    color: #ccc;
    background: none;
    border: none;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}

.mobile-jasa-link:hover { color: white; }

.mobile-jasa-arrow {
    font-size: 10px;
    transition: transform 0.25s;
    display: inline-block;
}

.mobile-jasa-drop.open .mobile-jasa-arrow { transform: rotate(180deg); }

.mobile-jasa-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    background: #160e3d;
    border: 1px solid rgba(124,58,237,0.35);
    border-radius: 14px;
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 300;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.mobile-jasa-drop.open .mobile-jasa-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-jasa-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #e2e2e2;
    font-size: 14px;
    transition: background 0.2s;
}

.mobile-jasa-menu a:hover {
    background: rgba(124,58,237,0.2);
    color: white;
}

/* ===================== HAMBURGER ===================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s;
}

.hamburger:hover { background: rgba(255,255,255,0.08); }

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===================== MOBILE NAV OVERLAY ===================== */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: #0e0b28;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(124,58,237,0.18);
}

.mobile-nav-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    line-height: 1;
    transition: 0.2s;
}

.mobile-nav-close:hover { color: white; background: rgba(255,255,255,0.08); }

.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 24px;
}

.mobile-nav-links a {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    color: #a78bfa;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.2s;
}

.mobile-nav-links a:hover {
    background: rgba(124,58,237,0.15);
    color: white;
}

.mobile-nav-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(124,58,237,0.18);
}

.mobile-nav-footer .btn-nav {
    display: block;
    text-align: center;
    border-radius: 14px;
    padding: 14px;
    font-size: 15px;
}

/* ===================== MOBILE: image hilang ===================== */
@media (max-width: 640px) {
    .hero {
        padding: 40px 20px 50px;
        gap: 20px;
        text-align: center;
    }

    .hero-right {
        display: none;   /* gambar hilang, teks full lebar */
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .stats-row {
        justify-content: center;
    }

    .menu { display: none; }
    .nav-right { display: none; }
    .hamburger { display: flex; }
    .mobile-jasa-drop { display: block; }

    .navbar {
        padding: 12px 16px;
    }

    .logo span { font-size: 16px; }
    .logo img  { width: 40px; height: 28px; }
}