/* =========================================
   1. VARIABEL WARNA, LAYER & PENGATURAN DASAR
========================================= */

@layer reset, base, layout, components, utilities;

@layer reset {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 96px;
        -webkit-text-size-adjust: 100%;
    }

    body {
        margin: 0;
        font-family: var(--font-utama);
        color: var(--ink);
        background: #fff;
        font-size: clamp(0.875rem, 0.25vw + 0.85rem, 0.9375rem);
        line-height: 1.65;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: clip;
    }

    img,
    svg,
    picture {
        max-width: 100%;
        display: block;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    button {
        font: inherit;
        color: inherit;
        background: transparent;
        border: 0;
        padding: 0;
    }

    button,
    a {
        -webkit-tap-highlight-color: transparent;
    }

    :focus-visible {
        outline: 2px solid var(--teal);
        outline-offset: 3px;
    }
}

@layer base {
    :root {
        --navy: #061735;
        --navy-2: #0b2450;
        --teal: #00cbbb;
        --teal-dark: #00a99e;
        --ink: #111827;
        --muted: #4b5563;
        --soft: #f4f8fb;
        --line: #e5eaf0;

        --font-utama: 'Plus Jakarta Sans',
            -apple-system,
            BlinkMacSystemFont,
            'Segoe UI',
            Roboto,
            sans-serif;

        --shadow: 0 20px 48px -15px color-mix(in srgb, var(--navy) 15%, transparent);
        --shadow-soft: 0 8px 22px -8px color-mix(in srgb, var(--navy) 7%, transparent);

        --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
    }

    h1, h2, h3, h4 {
        text-wrap: balance;
    }

    p {
        text-wrap: pretty;
    }
}

@layer layout {
    .container {
        width: min(1160px, calc(100% - 40px));
        margin-inline: auto;

        @media (max-width: 760px) {
            width: min(100% - 32px, 600px);
        }
    }

    .narrow {
        max-width: 800px;
    }

    .section {
        padding: 88px 0;

        @media (max-width: 760px) {
            padding: 64px 0;
        }
    }

    .section-soft {
        background: var(--soft);
        border-block: 1px solid var(--line);
    }
}

@layer components {
    /* =========================================
       2. HEADER DAN NAVIGASI
    ========================================= */

    .site-header {
        position: sticky;
        top: 8px;
        z-index: 100;
        background: transparent;
        border: 0;
        pointer-events: none;

        .container {
            pointer-events: auto;
            background: rgba(6, 23, 53, 0.88);
            backdrop-filter: blur(20px) saturate(160%);
            -webkit-backdrop-filter: blur(20px) saturate(160%);
            border: 1px solid rgba(0, 203, 187, 0.28);
            border-radius: 10px;
            padding-inline: 22px;
            box-shadow: 0 16px 36px -12px rgba(6, 23, 53, 0.32);

            @media (max-width: 1000px) {
                padding-inline: 18px;
            }

            @media (max-width: 760px) {
                width: min(100% - 24px, 600px);
                border-radius: 10px;
                padding-inline: 18px;
            }
        }
    }

    .navbar {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;

        @media (max-width: 760px) {
            height: 58px;
        }
    }

    .brand {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;

        img {
            width: 148px;
            max-height: 42px;
            object-fit: contain;
            filter: brightness(0) invert(1);

            @media (max-width: 760px) {
                width: 132px;
            }
        }
    }

    .nav-menu {
        display: flex;
        align-items: center;
        gap: 3px;

        @media (max-width: 1000px) {
            gap: 2px;
        }

        a {
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: rgba(255, 255, 255, 0.82);
            padding: 7px 12px;
            border-radius: 8px;
            transition:
                background-color 0.22s var(--ease-snappy),
                color 0.22s var(--ease-snappy);

            &:hover,
            &.active {
                background: var(--teal);
                color: var(--navy);
            }

            @media (max-width: 1000px) {
                font-size: 0.72rem;
                padding: 7px 9px;
            }

            @media (max-width: 760px) {
                padding: 11px 13px;
                border-radius: 8px;
                font-size: 0.84rem;
            }
        }

        @media (max-width: 760px) {
            position: absolute;
            top: 66px;
            left: 12px;
            right: 12px;
            background: var(--navy);
            border: 1px solid rgba(0, 203, 187, 0.3);
            border-radius: 10px;
            box-shadow: var(--shadow);
            padding: 10px 16px 16px;
            flex-direction: column;
            align-items: stretch;
            gap: 4px;
            max-height: 0;
            overflow: hidden;
            visibility: hidden;
            opacity: 0;
            transition:
                max-height 0.32s var(--ease-snappy),
                visibility 0.32s ease,
                opacity 0.2s ease;

            &.open {
                max-height: 440px;
                visibility: visible;
                opacity: 1;
            }
        }
    }

    .menu-toggle {
        display: none;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        cursor: pointer;
        flex-shrink: 0;

        @media (max-width: 760px) {
            display: grid;
            place-items: center;
            border-radius: 8px;
        }
    }

    /* =========================================
       3. HERO SECTION
    ========================================= */

    .hero {
        position: relative;
        overflow: clip;
        margin-top: -84px;
        padding: 156px 0 104px;
        background-color: var(--navy);
        background-image:
            radial-gradient(ellipse 65% 55% at 78% 28%, rgba(0, 203, 187, 0.26), transparent 65%),
            radial-gradient(circle at 15% 88%, rgba(0, 169, 158, 0.16), transparent 45%),
            linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
            linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
        background-size: auto, auto, 36px 36px, 36px 36px, auto;
        color: #fff;

        &::after {
            content: "";
            position: absolute;
            inset-inline: 0;
            bottom: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(0, 203, 187, 0.5), transparent);
        }

        > .container {
            width: min(1180px, calc(100% - 48px));
            margin-inline: auto;

            @media (max-width: 760px) {
                width: calc(100% - 28px);
            }

            @media (max-width: 480px) {
                width: calc(100% - 24px);
            }
        }

        h1 {
            font-size: clamp(2.7rem, 5.5vw, 4.7rem);
            line-height: 1.03;
            letter-spacing: -0.04em;
            font-weight: 800;
            margin: 24px 0;

            @media (max-width: 760px) {
                font-size: clamp(2.3rem, 11vw, 3.3rem);
            }

            @media (max-width: 380px) {
                font-size: clamp(2.1rem, 10vw, 2.6rem);
            }
        }

        :is(h1, .section-heading h2, .final-cta h2, .about-box h2) span {
            color: var(--teal);
        }

        @media (max-width: 760px) {
            margin-top: -72px;
            padding: 112px 0 52px;
        }

        @media (max-width: 480px) {
            padding: 106px 0 42px;
        }
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
        gap: 64px;
        width: 100%;
        min-width: 0;

        @media (max-width: 1000px) {
            gap: 36px;
        }

        @media (max-width: 760px) {
            grid-template-columns: 1fr;
            gap: 28px;
        }
    }

    .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 7px 16px;
        border-radius: 999px;
        background: rgba(0, 203, 187, 0.14);
        border: 1px solid rgba(0, 203, 187, 0.35);
        color: var(--teal-dark);
        font-size: 0.7rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        font-weight: 800;

        &.light {
            background: rgba(0, 203, 187, 0.14);
            border-color: rgba(0, 203, 187, 0.35);
            color: var(--teal);
        }

        span {
            width: 8px;
            height: 8px;
            border-radius: 2px;
            transform: rotate(45deg);
            background: currentColor;
            flex-shrink: 0;
        }
    }

    .hero-copy {
        min-width: 0;
    }

    .hero-lead {
        font-size: 1.08rem;
        line-height: 1.82;
        color: rgba(255, 255, 255, 0.78);
        max-width: 52ch;
        margin: 0;
    }

    .hero-flow {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        width: fit-content;
        max-width: 100%;
        padding: 11px 16px;
        border-radius: 16px;
        background: rgba(6, 23, 53, 0.72);
        border: 1px solid rgba(0, 203, 187, 0.25);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 0.78rem;
        font-weight: 700;
        margin: 28px 0;

        b {
            white-space: nowrap;

            @media (max-width: 380px) {
                white-space: normal;
            }
        }

        i {
            font-size: 0.65rem;
            color: var(--teal);
            flex-shrink: 0;

            @media (max-width: 480px) {
                font-size: 0.58rem;
            }
        }

        @media (max-width: 760px) {
            gap: 6px;
            padding: 10px 12px;
            font-size: 0.72rem;
        }

        @media (max-width: 480px) {
            gap: 5px;
            padding: 9px 10px;
            font-size: 0.67rem;
        }

        @media (max-width: 380px) {
            justify-content: center;
            text-align: center;
            width: 100%;
        }
    }

    /* BUTTON */

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 15px 30px;
        border-radius: 16px;
        font-weight: 800;
        font-size: 0.88rem;
        letter-spacing: 0.01em;
        cursor: pointer;
        border: 1px solid transparent;
        transition:
            transform 0.25s var(--ease-snappy),
            box-shadow 0.25s var(--ease-snappy),
            background-color 0.2s ease,
            border-color 0.2s ease;

        &:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 36px -8px rgba(0, 203, 187, 0.45);
        }

        &:active {
            transform: translateY(0);
        }
    }

    .btn-primary {
        background: var(--teal);
        color: var(--navy);

        &:hover {
            background: var(--teal);
            filter: brightness(1.08);
        }
    }

    .btn-outline-light {
        border-color: rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.05);
        color: #fff;

        &:hover {
            background: rgba(255, 255, 255, 0.14);
            border-color: var(--teal);
        }
    }

    .hero-note {
        margin-top: 20px;
        color: rgba(255, 255, 255, 0.64);
        font-size: 0.8rem;

        i {
            color: var(--teal);
            margin-right: 4px;
        }
    }

    /* HERO VISUAL */

    .hero-visual {
        position: relative;
        display: grid;
        place-items: center;
        width: 100%;
        min-width: 0;
        aspect-ratio: 1 / 1;
        padding: 20px;
        border-radius: 32px;
        background: linear-gradient(160deg, rgba(0, 203, 187, 0.12), rgba(255, 255, 255, 0.02));
        border: 1px solid rgba(0, 203, 187, 0.32);
        box-shadow: 0 36px 80px -20px rgba(0, 0, 0, 0.55);

        img {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            aspect-ratio: 1 / 1;
            object-fit: contain;
            border-radius: 22px;
            filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.35));
            transition: transform 0.4s var(--ease-snappy);
        }

        &:hover img {
            transform: scale(1.02);
        }

        @media (max-width: 760px) {
            padding: 14px;
            border-radius: 26px;
        }
    }

    .hero-glow {
        position: absolute;
        width: 72%;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        background: rgba(0, 203, 187, 0.22);
        filter: blur(56px);
        pointer-events: none;
    }

    .floating-tag {
        position: absolute;
        z-index: 2;
        bottom: -14px;
        left: 20px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--navy);
        color: #fff;
        padding: 12px 20px;
        border-radius: 16px;
        border: 1px solid var(--teal);
        box-shadow: 0 18px 36px -8px rgba(0, 0, 0, 0.45);
        font-weight: 800;
        font-size: 0.8rem;

        i {
            color: var(--teal);
        }

        @media (max-width: 760px) {
            left: 14px;
            bottom: -12px;
            padding: 10px 16px;
            font-size: 0.76rem;
        }
    }

    /* =========================================
       4. SECTION HEADING & APA ITU GRIDLINE
    ========================================= */

    #contoh-template {
        padding-top: 36px;

        @media (max-width: 760px) {
            padding-top: 28px;
        }
    }

    .section-heading {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 44px;

        h2 {
            font-size: clamp(1.8rem, 3.4vw, 2.55rem);
            line-height: 1.12;
            letter-spacing: -0.03em;
            margin: 14px 0 12px;
            font-weight: 800;

            @media (max-width: 760px) {
                font-size: clamp(1.7rem, 6vw, 2.2rem);
            }
        }

        > p {
            color: var(--muted);
            line-height: 1.75;
            font-size: 0.92rem;
            margin: 0;

            @media (max-width: 760px) {
                font-size: 0.86rem;
            }
        }

        @media (max-width: 760px) {
            margin-bottom: 34px;
        }
    }

    #apa-itu-gridline {
        padding: 68px 0;

        @media (max-width: 760px) {
            padding: 48px 0;
        }
    }

    .about-box {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 24px;
        padding: 36px 40px;
        box-shadow: var(--shadow-soft);
        text-align: center;

        h2 {
            font-size: clamp(1.55rem, 3vw, 2.15rem);
            line-height: 1.18;
            letter-spacing: -0.03em;
            font-weight: 800;
            color: var(--navy);
            margin: 16px 0;
        }

        @media (max-width: 760px) {
            padding: 26px 22px;
            border-radius: 20px;
        }

        @media (max-width: 480px) {
            padding: 22px 18px;
        }
    }

    .about-text {
        display: grid;
        gap: 12px;
        max-width: 66ch;
        margin-inline: auto;

        p {
            margin: 0;
            font-size: 0.94rem;
            line-height: 1.8;
            color: var(--muted);

            @media (max-width: 760px) {
                font-size: 0.88rem;
            }
        }
    }

    /* =========================================
       5. FITUR GRIDLINE
    ========================================= */

    .feature-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 18px;

        > .feature-card:nth-child(-n + 2) {
            grid-column: span 3;
        }

        > .feature-card:nth-child(n + 3) {
            grid-column: span 2;
        }

        @media (max-width: 1000px) {
            grid-template-columns: repeat(2, minmax(0, 1fr));

            > .feature-card:nth-child(n) {
                grid-column: span 1;
            }

            > .feature-card:nth-child(3) {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 760px) {
            grid-template-columns: 1fr;

            > .feature-card:nth-child(3) {
                grid-column: span 1;
            }
        }
    }

    .feature-card {
        position: relative;
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 25px 22px;
        box-shadow: var(--shadow-soft);
        transition:
            transform 0.3s var(--ease-snappy),
            box-shadow 0.3s var(--ease-snappy),
            border-color 0.3s var(--ease-snappy);

        &:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
            border-color: var(--teal);

            .icon-box {
                transform: rotate(-6deg) scale(1.06);
                background: var(--teal);
                border-color: var(--teal);
                color: var(--navy);
            }
        }

        h3 {
            font-size: 1rem;
            font-weight: 800;
            line-height: 1.35;
            letter-spacing: -0.015em;
            margin: 17px 0 8px;
            color: var(--navy);
        }

        p {
            font-size: 0.84rem;
            line-height: 1.7;
            color: var(--muted);
            margin: 0;
        }

        @media (max-width: 480px) {
            padding: 20px 18px;
        }
    }

    .icon-box {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        background: var(--soft);
        border: 1px solid var(--line);
        color: var(--teal-dark);
        font-size: 1.1rem;
        transition:
            transform 0.25s var(--ease-snappy),
            background-color 0.25s ease,
            color 0.25s ease;
    }

    .why-category-list {
        list-style: none;
        padding: 12px 0 0;
        margin: 12px 0 0;
        border-top: 1px dashed var(--line);
        display: grid;
        gap: 6px;

        li {
            position: relative;
            padding-left: 14px;
            font-size: 0.78rem;
            line-height: 1.55;
            color: var(--muted);

            &::before {
                content: "";
                position: absolute;
                left: 0;
                top: 8px;
                width: 6px;
                height: 6px;
                border-radius: 2px;
                transform: rotate(45deg);
                background: var(--teal-dark);
            }
        }

        b {
            color: var(--navy);
            font-weight: 800;
        }

        @media (max-width: 1000px) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px 18px;
        }

        @media (max-width: 760px) {
            grid-template-columns: 1fr;
        }
    }

    /* =========================================
       6. PREVIEW TEMPLATE
    ========================================= */

    .preview-block {
        margin-top: 28px;
        padding: 28px;
        background: var(--soft);
        border: 1px solid var(--line);
        border-left: 5px solid var(--teal);
        border-radius: 24px;
        box-shadow: var(--shadow-soft);
        min-width: 0;

        @media (max-width: 760px) {
            padding: 22px 16px;
            border-radius: 21px;
        }
    }

    .preview-heading {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 20px;

        h3 {
            font-size: 1.32rem;
            font-weight: 800;
            letter-spacing: -0.025em;
            color: var(--navy);
            margin: 8px 0 4px;

            @media (max-width: 480px) {
                font-size: 1.16rem;
            }
        }

        p {
            color: var(--muted);
            font-size: 0.84rem;
            margin: 0;

            @media (max-width: 480px) {
                max-width: 235px;
                font-size: 0.78rem;
            }
        }

        @media (max-width: 480px) {
            align-items: flex-start;
            gap: 12px;
        }
    }

    .slider-controls {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
    }

    .slider-btn,
    .testimonial-arrow {
        border: 1px solid var(--line);
        background: #fff;
        color: var(--navy);
        width: 40px;
        height: 40px;
        border-radius: 12px;
        cursor: pointer;
        box-shadow: var(--shadow-soft);
        transition:
            transform 0.22s var(--ease-snappy),
            background-color 0.2s ease,
            border-color 0.2s ease;

        &:hover {
            background: var(--teal);
            border-color: var(--teal);
            color: var(--navy);
            transform: translateY(-2px);
        }

        @media (max-width: 480px) {
            width: 36px;
            height: 36px;
        }
    }

    .preview-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding: 8px 4px 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: var(--teal-dark) transparent;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;

        > * {
            flex: 0 0 auto;
            scroll-snap-align: start;
        }
    }

    .preview-image-item {
        overflow: hidden;
        background: transparent;
        border: 0;
        border-radius: 17px;
        transition: transform 0.3s var(--ease-snappy);

        &:hover {
            transform: translateY(-5px) scale(1.015);
        }

        img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            border-radius: inherit;
        }
    }

    .phone-image-item {
        flex: 0 0 172px;
        width: 172px;
        aspect-ratio: 9 / 16;

        @media (max-width: 480px) {
            flex-basis: 150px;
            width: 150px;
        }
    }

    .desktop-image-item {
        flex: 0 0 290px;
        width: 290px;
        aspect-ratio: 4 / 3;

        @media (max-width: 480px) {
            flex-basis: 250px;
            width: 250px;
        }
    }

    .preview-note {
        text-align: center;
        color: var(--muted);
        font-size: 0.84rem;
        line-height: 1.7;
        max-width: 780px;
        margin: 22px auto 0;
    }

    /* =========================================
       7. SECTION GELAP DAN HARGA
    ========================================= */

    .section-dark {
        position: relative;
        background-color: var(--navy);
        background-image:
            radial-gradient(ellipse 70% 50% at 50% 35%, rgba(0, 203, 187, 0.2), transparent 65%),
            linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
            linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%);
        background-size: auto, 36px 36px, 36px 36px, auto;
        color: #fff;
    }

    .light-heading > p {
        color: rgba(255, 255, 255, 0.74);
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        align-items: stretch;

        > .price-card:nth-child(1) { order: 1; }
        > .price-card:nth-child(2) { order: 2; }
        > .price-card:nth-child(3) { order: 3; }

        @media (max-width: 760px) {
            grid-template-columns: 1fr;
            gap: 16px;
        }
    }

    .price-card {
        position: relative;
        padding: 30px 24px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(14px);
        display: flex;
        flex-direction: column;
        min-width: 0;
        transition:
            transform 0.3s var(--ease-snappy),
            border-color 0.3s var(--ease-snappy);

        &:hover {
            transform: translateY(-5px);
            border-color: rgba(0, 203, 187, 0.55);
        }

        h3 {
            font-size: 1.25rem;
            font-weight: 800;
            letter-spacing: -0.025em;
            margin: 12px 0 8px;

            small {
                font-size: 0.74rem;
                font-weight: 600;
                display: block;
                margin-top: 4px;
                opacity: 0.72;
            }
        }

        ul {
            list-style: none;
            padding: 0;
            margin: 0 0 22px;
            flex: 1;
        }

        li {
            display: flex;
            align-items: flex-start;
            gap: 9px;
            font-size: 0.78rem;
            line-height: 1.52;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);

            &:last-child {
                border-bottom: 0;
            }

            &::before {
                content: "✓";
                display: inline-grid;
                place-items: center;
                flex-shrink: 0;
                width: 17px;
                height: 17px;
                margin-top: 2px;
                border-radius: 5px;
                background: rgba(0, 203, 187, 0.2);
                color: var(--teal);
                font-size: 0.64rem;
                font-weight: 900;
            }
        }

        .btn {
            width: 100%;
            font-size: 0.8rem;
            padding: 12px 20px;
        }

        &.popular {
            background: #fff;
            color: var(--ink);
            border: 2px solid var(--teal);
            transform: translateY(-12px);
            box-shadow:
                0 0 0 5px rgba(0, 203, 187, 0.16),
                0 28px 64px -12px rgba(0, 203, 187, 0.32);

            &:hover {
                transform: translateY(-16px);
            }

            .plan-number {
                color: var(--teal-dark);
            }

            .price {
                border-top-color: var(--line);
            }

            li {
                border-bottom-color: var(--line);

                &::before {
                    background: var(--navy);
                    color: var(--teal);
                }
            }

            @media (max-width: 760px) {
                transform: none;

                &:hover {
                    transform: none;
                }
            }
        }
    }

    .popular-badge {
        position: absolute;
        right: 18px;
        top: 18px;
        background: var(--navy);
        color: var(--teal);
        border: 1px solid var(--teal);
        border-radius: 10px;
        padding: 5px 11px;
        font-size: 0.6rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        font-weight: 800;
    }

    .plan-number {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        font-weight: 800;
        color: var(--teal);
    }

    .plan-desc {
        font-size: 0.8rem;
        line-height: 1.65;
        opacity: 0.78;
        min-height: 62px;
        margin: 0;

        @media (max-width: 760px) {
            min-height: 0;
        }
    }

    .price {
        font-size: 2.05rem;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
        letter-spacing: -0.04em;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px dashed rgba(255, 255, 255, 0.18);

        span {
            font-size: 0.8rem;
            letter-spacing: 0;
            font-weight: 600;
        }
    }

    .price-sub {
        font-size: 0.72rem;
        opacity: 0.7;
        margin: 4px 0 18px;
    }

    /* =========================================
       8. TABEL PERBANDINGAN & PAYMENT NOTES
    ========================================= */

    .comparison-wrap {
        margin-top: 54px;

        h3 {
            text-align: center;
            font-size: 1.3rem;
            font-weight: 800;
            letter-spacing: -0.025em;
            margin-bottom: 20px;
        }
    }

    .table-scroll {
        overflow-x: auto;
        border-radius: 20px;
        border: 1px solid rgba(0, 203, 187, 0.24);
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(12px);
        -webkit-overflow-scrolling: touch;
    }

    .comparison {
        border-collapse: collapse;
        width: 100%;
        min-width: 740px;
        font-size: 0.78rem;

        th,
        td {
            padding: 13px 15px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.09);
            line-height: 1.5;
        }

        tbody tr {
            &:last-child :is(th, td) {
                border-bottom: 0;
            }

            &:hover {
                background: rgba(0, 203, 187, 0.06);
            }

            th {
                color: #fff;
                font-weight: 700;
                min-width: 175px;
            }
        }

        thead th {
            background: rgba(0, 203, 187, 0.18);
            color: var(--teal);
            font-weight: 800;
        }

        td {
            color: rgba(255, 255, 255, 0.84);

            .fa-check {
                color: var(--teal);
            }

            .fa-xmark {
                opacity: 0.4;
            }
        }
    }

    .payment-notes {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        margin-top: 20px;

        > div {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px 18px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-left: 4px solid var(--teal);
            border-radius: 17px;
        }

        i {
            font-size: 1.12rem;
            color: var(--teal);
            margin-top: 2px;
            flex-shrink: 0;
        }

        p {
            font-size: 0.78rem;
            line-height: 1.65;
            color: rgba(255, 255, 255, 0.82);
            margin: 0;
        }

        b {
            color: #fff;
        }

        @media (max-width: 760px) {
            grid-template-columns: 1fr;
        }
    }

    /* =========================================
       9. TESTIMONIAL
    ========================================= */

    .testimonial-shell {
        display: flex;
        align-items: center;
        gap: 13px;
        max-width: 900px;
        margin-inline: auto;
        min-width: 0;

        @media (max-width: 760px) {
            gap: 8px;
        }

        @media (max-width: 380px) {
            gap: 5px;
        }
    }

    .testimonial-window {
        overflow: hidden;
        flex: 1;
        min-width: 0;
        border-radius: 26px;
    }

    .testimonial-track {
        display: flex;
        transition: transform 0.6s var(--ease-snappy);
        will-change: transform;
    }

    .testimonial-slide {
        position: relative;
        flex: 0 0 100%;
        min-width: 0;
        padding: 36px 44px;
        background: #fff;
        border: 1px solid var(--line);
        border-left: 5px solid var(--navy);
        border-radius: 26px;
        text-align: left;
        min-height: 250px;
        box-shadow: var(--shadow);

        p {
            font-size: 0.96rem;
            line-height: 1.78;
            color: var(--ink);
            max-width: 680px;
            margin: 12px 0 20px;

            @media (max-width: 760px) {
                font-size: 0.9rem;
            }
        }

        h3 {
            font-size: 0.94rem;
            font-weight: 800;
            color: var(--navy);
            margin: 0 0 4px;
        }

        span {
            font-size: 0.76rem;
            color: var(--teal-dark);
            font-weight: 700;
        }

        @media (max-width: 760px) {
            padding: 28px 22px;
            min-height: 280px;
            border-radius: 22px;
        }

        @media (max-width: 380px) {
            padding: 24px 16px;
        }
    }

    .quote-mark {
        display: inline-grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: var(--navy);
        color: var(--teal);
        font-size: 2rem;
        line-height: 1;
        font-weight: 800;
        margin-bottom: 7px;
    }

    .testimonial-arrow {
        flex: 0 0 40px;

        @media (max-width: 760px) {
            width: 36px;
            height: 36px;
            flex-basis: 36px;
        }

        @media (max-width: 480px) {
            width: 32px;
            height: 32px;
            flex-basis: 32px;

            i {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 380px) {
            width: 30px;
            height: 30px;
            flex-basis: 30px;

            i {
                font-size: 1rem;
            }
        }
    }

    .testimonial-dots {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin-top: 20px;
        flex-wrap: wrap;

        button {
            width: 8px;
            height: 8px;
            border: 0;
            border-radius: 999px;
            background: var(--line);
            padding: 0;
            cursor: pointer;
            transition:
                width 0.25s var(--ease-snappy),
                background-color 0.2s ease;

            &.active {
                width: 26px;
                background: var(--teal-dark);
            }
        }
    }

    /* =========================================
       10. FINAL CTA
    ========================================= */

    .final-cta {
        padding: 80px 0;
        background-color: var(--navy);
        background-image:
            radial-gradient(ellipse 60% 50% at 80% 30%, rgba(0, 203, 187, 0.24), transparent 65%),
            linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
            linear-gradient(125deg, var(--navy) 0%, var(--navy-2) 100%);
        background-size: auto, 36px 36px, 36px 36px, auto;
        color: #fff;
        text-align: center;

        h2 {
            font-size: clamp(1.9rem, 4vw, 2.8rem);
            line-height: 1.1;
            letter-spacing: -0.035em;
            margin: 16px 0;
        }

        p {
            color: rgba(255, 255, 255, 0.78);
            line-height: 1.75;
            margin: 0 auto 26px;
            max-width: 620px;
            font-size: 0.92rem;
        }
    }

    .cta-inner {
        max-width: 760px;
    }

    /* =========================================
       11. FAQ
    ========================================= */

    .faq-list {
        display: grid;
        gap: 12px;
    }

    .faq-item {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
        overflow: hidden;
        transition:
            border-color 0.24s ease,
            box-shadow 0.24s ease;

        &:hover {
            border-color: var(--teal);
        }

        &.open {
            border-color: var(--teal);
            border-left: 5px solid var(--teal);
            box-shadow: var(--shadow);

            .faq-question i {
                transform: rotate(45deg);
                background: var(--navy);
                color: var(--teal);
            }
        }
    }

    .faq-question {
        width: 100%;
        border: 0;
        background: transparent;
        padding: 17px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 16px;
        font-weight: 800;
        font-size: 0.88rem;
        color: var(--navy);
        cursor: pointer;

        i {
            display: inline-grid;
            place-items: center;
            flex-shrink: 0;
            width: 31px;
            height: 31px;
            border-radius: 10px;
            background: var(--soft);
            color: var(--teal-dark);
            font-size: 0.8rem;
            transition:
                transform 0.28s var(--ease-snappy),
                background-color 0.2s ease,
                color 0.2s ease;
        }
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.34s var(--ease-snappy);

        p {
            padding: 0 20px 18px;
            margin: 0;
            color: var(--muted);
            font-size: 0.84rem;
            line-height: 1.75;
        }

        a {
            color: var(--teal-dark);
            font-weight: 700;
            text-decoration: underline;
            text-underline-offset: 3px;
        }
    }

    /* =========================================
       12. FOOTER GRIDLINE
    ========================================= */

    .site-footer {
        position: relative;
        background: var(--navy);
        background-image: radial-gradient(circle at 12% 0%, rgba(0, 203, 187, 0.14), transparent 40%);
        color: rgba(255, 255, 255, 0.82);
        padding: 34px 0 16px;
        border-top: 1px solid rgba(0, 203, 187, 0.22);
        scroll-margin-top: 100px;

        @media (max-width: 760px) {
            padding: 30px 0 14px;
        }
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
        gap: 18px 20px;
        align-items: start;

        h3 {
            font-size: 0.84rem;
            font-weight: 800;
            color: #fff;
            line-height: 1.4;
            margin: 2px 0 10px;

            @media (max-width: 760px) {
                font-size: 0.82rem;
                margin-bottom: 9px;
            }

            @media (max-width: 380px) {
                font-size: 0.78rem;
            }
        }

        h4 {
            font-size: 0.72rem;
            font-weight: 700;
            color: var(--teal);
            margin: 12px 0 7px;

            @media (max-width: 760px) {
                margin: 11px 0 7px;
            }
        }

        > div:not(.footer-brand) > a {
            display: block;
            font-size: 0.74rem;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.72);
            margin: 6px 0;
            transition:
                color 0.2s ease,
                transform 0.22s var(--ease-snappy);

            &:hover {
                color: var(--teal);
                transform: translateX(3px);
            }

            @media (max-width: 760px) {
                margin: 5px 0;
            }

            @media (max-width: 380px) {
                font-size: 0.7rem;
            }
        }

        > div:last-child > a i {
            display: inline-block;
            width: 18px;
            color: var(--teal);
        }

        .social-links a {
            display: inline-flex;
            flex: 0 0 30px;
            width: 30px;
            height: 30px;
            min-width: 30px;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 3px;
            border-radius: 8px;
            background: #fff;
            color: var(--navy);
            overflow: hidden;
            transition: transform 0.22s var(--ease-snappy);

            &:hover {
                transform: translateY(-3px);
                color: var(--navy);
            }

            @media (max-width: 380px) {
                flex-basis: 28px;
                width: 28px;
                height: 28px;
                min-width: 28px;
                padding: 2px;
            }
        }

        @media (max-width: 1000px) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 22px 18px;
        }

        @media (max-width: 760px) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px 15px;

            .footer-brand,
            > div:last-child {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 480px) {
            gap: 20px 14px;

            .footer-brand {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 380px) {
            gap: 17px 11px;
        }
    }

    .footer-brand {
        img {
            width: 145px;
            max-height: 48px;
            object-fit: contain;
            object-position: left;

            @media (max-width: 760px) {
                width: 138px;
            }
        }

        p {
            font-size: 0.74rem;
            line-height: 1.58;
            color: rgba(255, 255, 255, 0.66);
            margin-top: 8px;

            @media (max-width: 760px) {
                margin-top: 7px;
            }
        }
    }

    .social-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;

        img {
            display: block;
            width: 24px;
            height: 24px;
            max-width: none;
            object-fit: contain;

            @media (max-width: 760px) {
                font-size: 1.1rem;
            }

            @media (max-width: 380px) {
                width: 22px;
                height: 22px;
            }
        }

        :is(i, svg) {
            width: 22px;
            height: 22px;
            font-size: 1.15rem;
            line-height: 1;
            color: var(--navy);

            @media (max-width: 380px) {
                width: 20px;
                height: 20px;
                font-size: 1rem;
            }
        }

        @media (max-width: 760px) {
            overflow-x: auto;
            padding: 2px 1px 5px;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;

            &::-webkit-scrollbar {
                display: none;
            }
        }

        @media (max-width: 380px) {
            gap: 7px;
        }
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        margin-top: 24px;
        padding-top: 13px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.6);

        a {
            color: var(--teal);
        }

        @media (max-width: 760px) {
            margin-top: 20px;
            padding-top: 12px;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
        }
    }

    /* =========================================
       13. ANIMASI REVEAL
    ========================================= */

    .reveal {
        opacity: 0;
        transform: translateY(20px) scale(0.99);
        transition:
            opacity 0.65s var(--ease-snappy),
            transform 0.65s var(--ease-snappy);

        &.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

@layer utilities {
    /* =========================================
       14. AKSESIBILITAS DAN REDUCED MOTION
    ========================================= */

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }

        .reveal {
            opacity: 1;
            transform: none;
        }

        .testimonial-track {
            transition: none;
        }
    }
}
