/* =====================================================
   1. RESET & GLOBAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0b0813;
    --bg-card: #151020;
    --bg-card-hover: #1d1630;
    --purple: #9565ff;
    --purple-light: #b99aff;
    --purple-dark: #7040d9;
    --text: #f7f4ff;
    --muted: #a49ab8;
    --border: rgba(255,255,255,0.09);
    --gradient: linear-gradient(135deg, #9b6bff, #6534d9);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}

section {
    position: relative;
}


/* =====================================================
   2. BACKGROUND GLOW
===================================================== */

.ambient {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.16;
    pointer-events: none;
    z-index: -1;
}

.ambient-one {
    top: -150px;
    left: -120px;
    background: #813cff;
}

.ambient-two {
    right: -150px;
    top: 450px;
    background: #4d20a8;
}


/* =====================================================
   3. HEADER & NAVIGATION
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 8, 19, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.brand-mark {
    color: var(--purple-light);
    font-size: 25px;
}

.brand-light {
    color: var(--purple-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s;
}

.nav-menu a:hover {
    color: white;
}

.nav-menu .nav-cta {
    color: white;
    background: var(--gradient);
    padding: 11px 20px;
    border-radius: 9px;
}

.menu-toggle {
    display: none;
    color: white;
    background: transparent;
    border: 0;
    font-size: 25px;
}


/* =====================================================
   4. HERO SECTION
===================================================== */

.hero {
    min-height: 580px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--purple-light);
    box-shadow: 0 0 12px var(--purple);
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.08;
    letter-spacing: -2.5px;
    font-weight: 700;
    max-width: 650px;
}

.hero h1 span,
.section-heading h2 span {
    display: block;
    background: linear-gradient(90deg, #c5a7ff, #8050ed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    color: var(--muted);
    max-width: 490px;
    font-size: 14px;
    line-height: 1.9;
    margin-top: 22px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.button {
    min-height: 46px;
    padding: 12px 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.25s;
    border: 1px solid transparent;
}

.button-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(126, 74, 229, 0.2);
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(126, 74, 229, 0.35);
}

.button-ghost {
    border-color: var(--border);
    background: rgba(255,255,255,0.035);
    color: white;
}

.button-ghost:hover {
    border-color: var(--purple);
    background: rgba(149,101,255,0.1);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    font-size: 11px;
    color: var(--muted);
}

.note-check {
    color: #9e7aff;
    font-weight: 800;
}


/* =====================================================
   5. HERO VISUAL
===================================================== */

.hero-art {
    min-height: 390px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-orbit {
    position: absolute;
    border: 1px solid rgba(166,120,255,0.2);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.orbit-one {
    width: 360px;
    height: 220px;
}

.orbit-two {
    width: 280px;
    height: 350px;
}

.art-card {
    width: 280px;
    min-height: 320px;
    padding: 27px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #261842, #110d1c 75%);
    border: 1px solid rgba(194,160,255,0.3);
    box-shadow: 0 30px 90px rgba(0,0,0,0.4);
    transform: rotate(-5deg);
}

.art-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(145,88,255,0.22);
    filter: blur(70px);
    right: -90px;
    bottom: -90px;
}

.art-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.art-mini-logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    border-radius: 10px;
    font-weight: 800;
}

.live-pill {
    font-size: 8px;
    letter-spacing: 1px;
    color: #c8afff;
    border: 1px solid rgba(180,140,255,0.3);
    padding: 6px 9px;
    border-radius: 20px;
}

.art-spark {
    margin-top: 45px;
    font-size: 42px;
    color: #b89aff;
}

.art-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    line-height: 1.2;
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

.art-title b {
    color: #b89aff;
}

.art-bars {
    display: flex;
    gap: 7px;
    align-items: end;
    height: 35px;
    margin-top: 30px;
}

.art-bars i {
    width: 8px;
    border-radius: 5px;
    background: linear-gradient(#bd9cff, #7040d9);
}

.art-bars i:nth-child(1) { height: 13px; }
.art-bars i:nth-child(2) { height: 23px; }
.art-bars i:nth-child(3) { height: 18px; }
.art-bars i:nth-child(4) { height: 32px; }
.art-bars i:nth-child(5) { height: 22px; }
.art-bars i:nth-child(6) { height: 29px; }

.floating-chip {
    position: absolute;
    background: #211632;
    border: 1px solid rgba(190,160,255,0.2);
    border-radius: 10px;
    padding: 11px 15px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.chip-one {
    top: 65px;
    right: 0;
}

.chip-two {
    bottom: 65px;
    left: 0;
}


/* =====================================================
   6. CATALOG SECTION
===================================================== */

.catalog-section {
    padding: 90px 0;
    background: rgba(255,255,255,0.015);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 35px;
}

.section-heading .eyebrow {
    margin-bottom: 12px;
}

.section-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    line-height: 1.2;
}

.section-heading h2 span {
    display: inline;
}

.section-subtitle {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.catalog-count {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.catalog-count strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    color: var(--purple-light);
}

.catalog-count span {
    font-size: 10px;
    color: var(--muted);
}


/* =====================================================
   7. SEARCH
===================================================== */

.search-wrapper {
    margin-bottom: 22px;
}

.search-wrapper input {
    width: 100%;
    height: 50px;
    padding: 0 18px;
    color: white;
    background: #151020;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    font-size: 13px;
    transition: 0.25s;
}

.search-wrapper input::placeholder {
    color: #82788f;
}

.search-wrapper input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(149,101,255,0.1);
}


/* =====================================================
   8. CATEGORY FILTER
===================================================== */

#categoryFilter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
}

.filter-btn {
    border: 1px solid var(--border);
    background: #151020;
    color: var(--muted);
    padding: 9px 17px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    transition: 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    background: var(--gradient);
    border-color: transparent;
}


/* =====================================================
   9. PRODUCT GRID
===================================================== */

#productGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}


/* =====================================================
   10. PRODUCT CARD
===================================================== */

.product-card {
    position: relative;
    min-width: 0;
    min-height: 270px;
    padding: 21px 18px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #191326, #110d19);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: 0.3s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(167,124,255,0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}


/* =====================================================
   11. PRODUCT ICON & LOGO
===================================================== */

.product-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 13px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
}

.product-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.product-icon span {
    font-size: 21px;
    font-weight: 800;
    color: var(--purple-light);
}


/* =====================================================
   12. PRODUCT CATEGORY & TITLE
===================================================== */

.product-category {
    width: fit-content;
    display: inline-flex;
    padding: 5px 10px;
    margin-bottom: 11px;
    border-radius: 20px;
    background: rgba(149,101,255,0.13);
    color: #c4a5ff;
    font-size: 9px;
    font-weight: 700;
}

.product-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 10px;
}


/* =====================================================
   13. DURASI PAKET
===================================================== */

.product-durations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 12px;
}

.duration-badge {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 6px;
    color: #d7c5ff;
    background: rgba(149,101,255,0.13);
    border: 1px solid rgba(149,101,255,0.2);
    font-size: 9px;
    font-weight: 700;
}

.duration-empty {
    font-size: 10px;
    color: var(--muted);
}


/* =====================================================
   14. PRODUCT PRICE
===================================================== */

.product-price {
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 800;
    margin-top: auto;
    padding-top: 7px;
}

.product-price.no-price {
    color: #a99abf;
}


/* =====================================================
   15. PRODUCT DETAIL BUTTON
===================================================== */

.product-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 17px;
    padding-top: 13px;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--border);
    color: #ddd3ef;
    font-size: 10px;
    font-weight: 700;
    text-align: left;
    transition: 0.2s;
}

.product-detail:hover {
    color: var(--purple-light);
}


/* =====================================================
   16. EMPTY STATE
===================================================== */

#emptyState {
    display: none;
    padding: 55px 20px;
    text-align: center;
    color: var(--muted);
}

#emptyState h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
}

#emptyState p {
    font-size: 12px;
}


/* =====================================================
   17. MODAL OVERLAY
===================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(8px);
}

.modal-overlay.show {
    display: flex;
}


/* =====================================================
   18. MODAL BOX
===================================================== */

.modal-box {
    position: relative;
    width: min(470px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 20px;
    background: #181225;
    border: 1px solid rgba(183,146,255,0.2);
    box-shadow: 0 25px 90px rgba(0,0,0,0.5);
    animation: modalAppear 0.25s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#modalClose {
    position: absolute;
    top: 13px;
    right: 17px;
    width: 33px;
    height: 33px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: white;
    background: rgba(255,255,255,0.06);
    font-size: 21px;
}

.modal-product-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 27px;
    margin-bottom: 10px;
}

.modal-description {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 20px;
}

.modal-prices {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.modal-price-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: white;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: left;
    transition: 0.2s;
}

.modal-price-item:hover {
    background: rgba(149,101,255,0.14);
    border-color: var(--purple);
}

.modal-price-item strong {
    color: var(--purple-light);
}

.modal-order-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 13px;
    margin-top: 15px;
    border: 0;
    border-radius: 9px;
    color: white;
    background: var(--gradient);
    font-size: 12px;
    font-weight: 800;
}


/* =====================================================
   19. CONTACT SECTION
===================================================== */

.contact-section {
    padding: 90px 0;
    text-align: center;
}

.contact-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    margin-bottom: 14px;
}

.contact-section > .container > p {
    max-width: 490px;
    margin: auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}


/* =====================================================
   20. FLOATING WHATSAPP
===================================================== */

#floatingWhatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 53px;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #25d366;
    color: white;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 5px 25px rgba(37,211,102,0.3);
    transition: 0.25s;
}

#floatingWhatsapp:hover {
    transform: translateY(-5px);
}


/* =====================================================
   21. FOOTER
===================================================== */

.site-footer {
    padding: 25px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer p {
    color: var(--muted);
    font-size: 10px;
}


/* =====================================================
   22. TABLET
===================================================== */

@media (max-width: 900px) {

    .container {
        width: 92%;
    }

    #productGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero {
        gap: 20px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-art {
        transform: scale(0.9);
    }

}


/* =====================================================
   23. MOBILE
===================================================== */

@media (max-width: 650px) {

    .nav-wrap {
        min-height: 68px;
    }

    .brand {
        font-size: 16px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 68px;
        left: 4%;
        right: 4%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #181225;
        border: 1px solid var(--border);
        border-radius: 13px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        padding: 13px;
    }

    .nav-menu .nav-cta {
        margin-top: 7px;
        text-align: center;
    }


    /* HERO */

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 65px;
        padding-bottom: 50px;
        gap: 10px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-art {
        min-height: 340px;
        transform: scale(0.85);
        margin: -10px 0;
    }


    /* CATALOG */

    .catalog-section {
        padding: 65px 0;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .catalog-count {
        min-width: 75px;
    }

    .catalog-count strong {
        font-size: 25px;
    }

    .catalog-count span {
        font-size: 9px;
    }

    #categoryFilter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 9px;
        scrollbar-width: thin;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    #productGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        min-height: 265px;
        padding: 15px 13px;
    }

    .product-card h3 {
        font-size: 14px;
    }

    .product-card p {
        font-size: 10px;
    }

    .product-icon {
        width: 46px;
        height: 46px;
    }

    .product-icon img {
        width: 30px;
        height: 30px;
    }

    .product-detail {
        font-size: 9px;
    }


    /* CONTACT */

    .contact-section {
        padding: 65px 0;
    }

    .contact-section h2 {
        font-size: 30px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .button {
        width: 100%;
    }

}


/* =====================================================
   24. SMALL PHONE
===================================================== */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 36px;
    }

    #productGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .product-card {
        padding: 12px 10px;
        min-height: 250px;
    }

    .product-card h3 {
        font-size: 12px;
    }

    .product-card p {
        font-size: 9px;
    }

    .product-icon {
        width: 40px;
        height: 40px;
    }

    .product-icon img {
        width: 26px;
        height: 26px;
    }

    .product-category {
        font-size: 8px;
    }

    .product-price {
        font-size: 10px;
    }

    .duration-badge {
        font-size: 8px;
        padding: 4px 6px;
    }

    .modal-box {
        padding: 25px 17px;
    }

}