/* =========================================================
   KLIN GO LAUNDRY
   HOME / MAIN STYLESHEET
   STANDARD: KEUNGGULAN.CSS
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --primary: #43076b;
    --primary-dark: #2d0649;
    --primary-light: #6d2995;

    --pink: #e8bfdc;
    --pink-light: #f9eafa;
    --pink-soft: #fdf3fb;
    --pink-dark: #eac8e1;

    --yellow: #f7c928;
    --yellow-light: #ffe98a;

    --white: #ffffff;

    --text: #251532;
    --text-muted: #706579;

    --border: #eadfee;

    --container: 1280px;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    --shadow-sm: 0 8px 30px rgba(67, 7, 107, 0.08);
    --shadow-md: 0 20px 60px rgba(67, 7, 107, 0.12);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(calc(100% - 80px), var(--container));
    margin-inline: auto;
}


/* =========================================================
   BUTTON
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 50px;
    padding: 14px 25px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.btn span {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:hover span {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);

    box-shadow:
        0 10px 25px rgba(67, 7, 107, 0.20);
}

.btn-primary:hover {
    background: var(--primary-dark);

    box-shadow:
        0 14px 30px rgba(67, 7, 107, 0.25);
}


/* =========================================================
   NAVBAR
   STANDARD — SAMA DENGAN KEUNGGULAN
   ========================================================= */

.navbar {
    position: relative;
    z-index: 100;

    background: var(--pink);

    border-bottom:
        1px solid
        rgba(67, 7, 107, 0.08);
}

.navbar-inner {
    min-height: 112px;

    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    column-gap: 50px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    width: 112px;
    height: 112px;

    flex-shrink: 0;
}

.logo img {
    width: 112px;
    height: 112px;

    display: block;
    object-fit: cover;
}


/* =========================================================
   NAVIGATION MENU
   ========================================================= */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 38px;

    white-space: nowrap;
    min-width: 0;
}

.nav-menu a {
    position: relative;

    color: var(--text);

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.25s ease;
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 999px;

    background: var(--primary);

    transition:
        width 0.25s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-menu a.active::after {
    width: 100%;
}


/* =========================================================
   NAVBAR CTA
   ========================================================= */

.navbar-button {
    flex-shrink: 0;
    white-space: nowrap;

    min-height: 50px;
    padding: 14px 25px;

    font-size: 14px;
}


/* =========================================================
   MOBILE MENU ELEMENTS
   DESKTOP = HIDDEN
   ========================================================= */

.menu-toggle,
.menu-close,
.menu-overlay {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 690px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(235, 198, 232, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 100%
        );
}

.hero-container {
    min-height: 690px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: center;

    gap: 50px;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 5;

    padding-block: 70px;
}

.hero-label {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 9px 16px;

    border-radius: 999px;

    background: var(--pink-light);
    color: var(--primary);

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 24px;
}

.hero-label-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: var(--white);

    font-size: 11px;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.hero h1 {
    max-width: 690px;

    color: var(--primary);

    font-size:
        clamp(
            48px,
            5vw,
            72px
        );

    line-height: 1.02;

    letter-spacing: -2.8px;

    font-weight: 800;
}

.hero h1 span {
    display: block;
}

.hero h1 strong {
    display: block;

    color: var(--primary-light);

    font-weight: 800;
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.hero-description {
    max-width: 540px;

    margin-top: 28px;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 22px;

    margin-top: 34px;
}

.hero-button {
    min-height: 58px;

    padding-inline: 28px;
}


/* =========================================================
   PRICE BADGE
   ========================================================= */

.price-badge {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 58px;

    padding: 8px 18px 8px 14px;

    border:
        1px solid
        #e6c9e8;

    border-radius: 999px;

    background:
        rgba(
            255,
            255,
            255,
            0.75
        );
}

.price-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5e2f4;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}

.price-badge small {
    display: block;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.2;
}

.price-badge strong {
    display: block;

    color: var(--primary);

    font-size: 20px;
    line-height: 1.2;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
    position: relative;

    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 3;

    width: 92%;

    border-radius: 40px;

    overflow: hidden;

    transform: rotate(-1.5deg);

    box-shadow: var(--shadow-md);
}

.hero-image {
    width: 100%;
    height: 500px;

    object-fit: cover;
}


/* =========================================================
   HERO DECORATIONS
   ========================================================= */

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    z-index: 1;
}

.decoration-pink {
    width: 210px;
    height: 210px;

    left: 2%;
    top: 10%;

    background:
        rgba(
            237,
            197,
            231,
            0.75
        );
}

.decoration-yellow {
    width: 190px;
    height: 190px;

    right: 0;
    bottom: 7%;

    background: var(--yellow);
}

.decoration-purple {
    width: 130px;
    height: 130px;

    left: 10%;
    bottom: 4%;

    background: var(--primary);
}


/* =========================================================
   HERO INFO CARD
   ========================================================= */

.hero-info-card {
    position: absolute;

    right: -10px;
    bottom: 45px;

    z-index: 5;

    width: 260px;

    padding: 22px;

    border-radius: 22px;

    background:
        rgba(
            255,
            255,
            255,
            0.95
        );

    box-shadow:
        0 20px 50px
        rgba(
            67,
            7,
            107,
            0.15
        );

    backdrop-filter: blur(15px);
}

.info-item {
    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--text);

    font-size: 12px;
    font-weight: 600;
}

.info-item + .info-item {
    margin-top: 16px;
}

.info-icon {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f0dcf1;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   OPPORTUNITY CARD
   ========================================================= */

.opportunity-card {
    position: absolute;

    top: 95px;
    right: -25px;

    z-index: 6;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px 18px;

    border-radius: 18px;

    background: #fff5cf;

    box-shadow:
        0 12px 30px
        rgba(
            67,
            7,
            107,
            0.10
        );

    transform: rotate(3deg);
}

.opportunity-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--yellow);

    color: var(--primary);

    font-size: 18px;
    font-weight: 800;
}

.opportunity-card small {
    display: block;

    color: var(--primary);

    font-size: 10px;
}

.opportunity-card strong {
    display: block;

    color: var(--primary);

    font-size: 12px;
}


/* =========================================================
   TRUST SECTION
   ========================================================= */

.trust-section {
    position: relative;

    background: var(--pink);

    border-top:
        1px solid
        rgba(255, 255, 255, 0.35);

    border-bottom:
        1px solid
        rgba(67, 7, 107, 0.05);
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    padding-block: 42px;
}

.trust-item {
    display: flex;
    align-items: center;

    gap: 16px;

    padding-inline: 30px;
}

.trust-item + .trust-item {
    border-left:
        1px solid
        var(--border);
}

.trust-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ffffff;

    color: var(--primary);

    font-size: 18px;
    font-weight: 800;
}

.trust-item h3 {
    color: var(--primary);

    font-size: 14px;
    font-weight: 700;
}

.trust-item p {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .container {
        width: min(
            calc(100% - 48px),
            var(--container)
        );
    }

    .navbar-inner {
        column-gap: 25px;
    }

    .nav-menu {
        gap: 22px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero h1 {
        font-size: 58px;
    }
}


/* =========================================================
   SMALL LAPTOP / TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .navbar-inner {
        grid-template-columns:
            auto
            1fr
            auto;

        column-gap: 20px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .navbar-button {
        min-height: 50px;
        padding: 14px 25px;
        font-size: 14px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        padding-block: 60px;
    }

    .hero-content {
        text-align: center;

        padding-block: 0;
    }

    .hero-label {
        margin-inline: auto;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        min-height: 540px;
    }

    .hero-image-wrapper {
        width: 80%;
    }

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 30px;
    }

    .trust-item + .trust-item {
        border-left: none;
    }
}


/* =========================================================
   MOBILE
   HEADER:
   LOGO + HAMBURGER
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------------------
       CONTAINER
       ----------------------------------------------------- */

    .container {
        width: calc(100% - 24px);
        max-width: none;
    }


    /* -----------------------------------------------------
       NAVBAR
       ----------------------------------------------------- */

    .navbar {
        position: relative;
        z-index: 2000;

        min-height: auto;

        padding: 10px 0 8px;
    }

    .navbar-inner {
        position: relative;

        width: calc(100% - 24px);

        min-height: 0;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        gap: 0;
    }


    /* -----------------------------------------------------
       LOGO
       ----------------------------------------------------- */

    .navbar .logo {
        display: flex;

        width: 62px;
        height: 62px;

        flex-shrink: 0;
    }

    .navbar .logo img {
        width: 62px;
        height: 62px;

        object-fit: cover;
    }


    /* -----------------------------------------------------
       HAMBURGER
       ----------------------------------------------------- */

    .navbar .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        margin-left: auto;

        padding: 0;

        border: none;
        border-radius: 0;

        background: transparent;

        color: var(--primary);

        font-family: Arial, sans-serif;

        font-size: 30px;
        font-weight: 400;
        line-height: 1;

        cursor: pointer;

        z-index: 2100;
    }

    .navbar .menu-toggle:hover {
        color: var(--primary-dark);
        transform: none;
    }


    /* -----------------------------------------------------
       CTA MOBILE = HIDDEN
       ----------------------------------------------------- */

    .navbar .navbar-button {
        display: none;
    }


    /* -----------------------------------------------------
       MOBILE MENU PANEL
       ----------------------------------------------------- */

    .navbar .nav-menu {
        position: fixed;

        top: 0;
        right: 0;
        bottom: 0;
        left: auto;

        width: min(82vw, 340px);

        height: 100vh;
        height: 100dvh;

        margin: 0;

        padding: 90px 25px 30px;

        display: flex;

        flex-direction: column;

        align-items: stretch;
        justify-content: flex-start;

        gap: 0;

        background: var(--primary);

        overflow-x: hidden;
        overflow-y: auto;

        white-space: normal;

        transform: translateX(100%);

        visibility: hidden;

        transition:
            transform 0.3s ease,
            visibility 0.3s ease;

        box-shadow:
            -15px 0 40px
            rgba(0, 0, 0, 0.20);

        z-index: 2002;
    }


    /* -----------------------------------------------------
       MENU OPEN
       ----------------------------------------------------- */

    .navbar .nav-menu.active {
        transform: translateX(0);

        visibility: visible;
    }


    /* -----------------------------------------------------
       CLOSE BUTTON
       ----------------------------------------------------- */

    .navbar .menu-close {
        position: absolute;

        top: 20px;
        right: 20px;

        display: flex;

        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        margin: 0;
        padding: 0;

        border: none;
        border-radius: 0;

        background: transparent;

        color: var(--white);

        font-family: Arial, sans-serif;

        font-size: 40px;
        font-weight: 300;
        line-height: 1;

        cursor: pointer;

        z-index: 2004;
    }

    .navbar .menu-close:hover {
        color: var(--white);
        transform: none;
    }


    /* -----------------------------------------------------
       MOBILE MENU LINKS
       ----------------------------------------------------- */

    .navbar .nav-menu a {
        position: relative;

        display: flex;

        align-items: center;

        width: 100%;

        min-height: 58px;

        margin: 0;

        padding: 15px 5px;

        border: none;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.22);

        color: var(--white);

        font-size: 18px;
        font-weight: 700;

        line-height: 1.3;

        text-align: left;

        white-space: nowrap;
    }

    .navbar .nav-menu a::after {
        display: none;
    }

    .navbar .nav-menu a:hover,
    .navbar .nav-menu a.active {
        color: var(--white);

        background: transparent;
    }


    /* -----------------------------------------------------
       OVERLAY
       ----------------------------------------------------- */

    .navbar .menu-overlay {
        position: fixed;

        inset: 0;

        display: block;

        width: 100vw;

        height: 100vh;
        height: 100dvh;

        margin: 0;
        padding: 0;

        background:
            rgba(0, 0, 0, 0.55);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;

        z-index: 2001;
    }

    .navbar .menu-overlay.active {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero {
        min-height: auto;

        overflow: hidden;
    }

    .hero-container {
        width: calc(100% - 24px);

        min-height: auto;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 30px;

        padding-block: 42px 50px;
    }

    .hero-content {
        width: 100%;

        max-width: 100%;
        min-width: 0;

        padding: 0;

        text-align: center;
    }

    .hero-label {
        max-width: 100%;

        margin-inline: auto;

        font-size: 11px;

        padding: 8px 13px;
    }

    .hero h1 {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        font-size:
            clamp(
                34px,
                10vw,
                48px
            );

        line-height: 1.06;

        letter-spacing: -1.5px;

        overflow-wrap: anywhere;
    }

    .hero h1 span,
    .hero h1 strong {
        display: block;
    }

    .hero-description {
        width: 100%;
        max-width: 100%;

        margin: 22px auto 0;

        font-size: 14px;
        line-height: 1.7;
    }


    /* -----------------------------------------------------
       HERO BUTTON
       ----------------------------------------------------- */

    .hero-actions {
        width: 100%;

        margin-top: 26px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 12px;
    }

    .hero-button {
        width: 100%;

        min-height: 52px;

        padding-inline: 18px;
    }

    .price-badge {
        width: 100%;

        justify-content: center;

        min-height: 54px;
    }


    /* -----------------------------------------------------
       HERO VISUAL
       ----------------------------------------------------- */

    .hero-visual {
        width: 100%;
        min-width: 0;

        min-height: auto;

        display: flex;

        justify-content: center;
    }

    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;

        border-radius: 24px;

        transform: none;
    }

    .hero-image {
        width: 100%;

        height: auto;

        min-height: 0;

        max-height: 420px;

        object-fit: cover;
    }


    /* -----------------------------------------------------
       DECORATIONS
       ----------------------------------------------------- */

    .decoration-pink {
        width: 120px;
        height: 120px;
    }

    .decoration-yellow {
        width: 100px;
        height: 100px;
    }

    .decoration-purple {
        width: 80px;
        height: 80px;
    }


    /* -----------------------------------------------------
       FLOATING CARD
       ----------------------------------------------------- */

    .hero-info-card {
        right: 5px;

        bottom: 15px;

        width:
            min(
                200px,
                calc(100% - 30px)
            );

        padding: 15px;

        border-radius: 16px;
    }

    .info-item {
        font-size: 10px;
    }

    .info-item + .info-item {
        margin-top: 9px;
    }

    .opportunity-card {
        right: 5px;

        top: 25px;

        max-width: 180px;

        padding: 10px 12px;

        transform: scale(0.85);

        transform-origin: right top;
    }


    /* -----------------------------------------------------
       TRUST
       ----------------------------------------------------- */

    .trust-grid {
        grid-template-columns: 1fr;

        gap: 0;

        padding-block: 25px;
    }

    .trust-item {
        padding: 15px 0;
    }

    .trust-item + .trust-item {
        border-left: none;

        border-top:
            1px solid
            var(--border);
    }
}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 20px);
    }

    .navbar-inner {
        width: calc(100% - 20px);
    }

    .navbar .logo,
    .navbar .logo img {
        width: 58px;
        height: 58px;
    }

    .navbar .menu-toggle {
        width: 40px;
        height: 40px;

        font-size: 28px;
    }

    .navbar .nav-menu {
        width: 84vw;

        padding-left: 22px;
        padding-right: 22px;
    }

    .navbar .nav-menu a {
        font-size: 17px;
    }

    .hero-container {
        width: calc(100% - 20px);
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 13px;
    }

    .opportunity-card {
        transform: scale(0.78);
    }
}
