:root {
    --bg: #f7fafc;
    --surface: #ffffff;
    --ink: #0f2a43;
    --muted: #5b7086;
    --line: #e3ebf3;
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --accent: #14b8a6;
    --radius: 16px;
    --shadow: 0 18px 40px -22px rgba(15, 42, 67, 0.35);
    --container: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul {
    margin: 0;
}

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

ul {
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 14px 26px -12px rgba(14, 165, 233, .8);
}

.btn--primary:hover {
    background: var(--primary-dark);
}

.btn--ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.btn--white {
    background: #fff;
    color: var(--primary-dark);
}

.btn--outline {
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.btn--block {
    width: 100%;
    margin-top: auto;
}

/* Navbar */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 250, 252, .85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -.02em;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
}

.brand__dot {
    color: var(--primary);
}

.nav__links {
    display: flex;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
}

.nav__links a:hover {
    color: var(--ink);
}

/* Hero */
.hero {
    position: relative;
    padding: 76px 0 64px;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: #e0f2fe;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -.03em;
    font-weight: 800;
}

.hero__lead {
    margin-top: 18px;
    font-size: 17px;
    color: var(--muted);
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 36px;
    margin-top: 44px;
}

.hero__stats div {
    display: flex;
    flex-direction: column;
}

.hero__stats strong {
    font-size: 24px;
    font-weight: 800;
}

.hero__stats span {
    font-size: 13px;
    color: var(--muted);
}

/* Hero illustration */
.hero__art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
}

.machine {
    width: 260px;
    height: 320px;
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.machine__door {
    position: relative;
    flex: 1;
    border-radius: 22px;
    background: radial-gradient(circle at 50% 40%, #bae6fd, #38bdf8 70%);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.machine__bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .75);
    animation: float 4s ease-in-out infinite;
}

.machine__bubble--1 { width: 52px; height: 52px; left: 26%; top: 30%; }
.machine__bubble--2 { width: 30px; height: 30px; left: 58%; top: 52%; animation-delay: .8s; }
.machine__bubble--3 { width: 18px; height: 18px; left: 44%; top: 68%; animation-delay: 1.6s; }

.machine__panel {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.machine__light {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #cbd5e1;
}

.machine__light--on {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .18);
}

.hero__card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: #fff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.hero__card--top { top: 26px; right: 6px; }
.hero__card--bottom { bottom: 30px; left: 0; }

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot--green { background: #22c55e; }
.dot--blue { background: var(--primary); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Sections */
.section {
    padding: 84px 0;
}

.section--muted {
    background: #eef4f9;
}

.section__head {
    max-width: 620px;
    margin: 0 auto 48px;
    text-align: center;
}

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
}

.section__head h2 {
    margin-top: 10px;
    font-size: clamp(26px, 3.6vw, 38px);
    letter-spacing: -.02em;
    font-weight: 800;
}

.section__head p {
    margin-top: 12px;
    color: var(--muted);
}

/* Service cards */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card--featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .12);
}

.card__badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.card__icon {
    font-size: 30px;
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
}

.card p {
    font-size: 14px;
    color: var(--muted);
}

.card__meta {
    margin-top: auto;
    padding-top: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 14px;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 26px;
    border: 1px solid var(--line);
}

.step__num {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    background: #e0f2fe;
    padding: 5px 12px;
    border-radius: 8px;
}

.step h3 {
    margin: 16px 0 8px;
    font-size: 19px;
    font-weight: 700;
}

.step p {
    color: var(--muted);
    font-size: 15px;
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.price--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.price h3 {
    font-size: 18px;
    font-weight: 700;
}

.price__value {
    margin: 12px 0 20px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.price__value span {
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
}

.price ul {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.price li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    color: var(--muted);
}

.price li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--line);
}

.feature span {
    font-size: 26px;
}

.feature h3 {
    margin: 12px 0 8px;
    font-size: 17px;
    font-weight: 700;
}

.feature p {
    color: var(--muted);
    font-size: 14px;
}

/* CTA */
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 48px 52px;
    border-radius: 24px;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, var(--accent));
    color: #fff;
    box-shadow: 0 28px 60px -30px rgba(2, 132, 199, .9);
}

.cta h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -.02em;
}

.cta p {
    margin-top: 8px;
    color: rgba(255, 255, 255, .85);
}

.cta__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #0b2036;
    color: #b9cadb;
    padding: 64px 0 28px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
}

.brand--light {
    color: #fff;
}

.footer__desc {
    margin-top: 16px;
    font-size: 14px;
    max-width: 300px;
}

.footer h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer__grid a,
.footer__grid p {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer__grid a:hover {
    color: #fff;
}

/* Tombol "Buka di Google Maps" di footer */
.footer__grid .footer__map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: background .15s ease, border-color .15s ease;
}

.footer__grid .footer__map-btn:hover {
    background: rgba(255, 255, 255, .18);
    border-color: transparent;
    color: #fff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__art { order: -1; }
    .nav__links { display: none; }
    .cards, .features { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .section { padding: 60px 0; }
    .steps, .pricing { grid-template-columns: 1fr; }
    .price--featured { transform: none; }
    .hero__stats { gap: 22px; flex-wrap: wrap; }
    .cta { padding: 34px 26px; }
    .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .cards, .features { grid-template-columns: 1fr; }
    .nav__cta { display: none; }
}

/* Order tracker (hero) */
.hero__track {
    margin-top: 56px;
}

.track {
    position: relative;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.track__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.track__title {
    margin-top: 8px;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -.02em;
}

.track__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, .45);
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.track__order {
    padding: 20px 22px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.track__order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.track__invoice {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.track__meta {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: var(--muted);
}

.track__status {
    padding: 6px 14px;
    border-radius: 999px;
    background: #e0f2fe;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.track__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 26px 0 4px;
    padding: 0;
    list-style: none;
}

.track__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.track__step:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 19px;
    left: -50%;
    right: 50%;
    height: 2px;
    background: var(--line);
}

.track__step.is-done:not(:first-child)::before {
    background: var(--accent);
}

.track__step.is-active:not(:first-child)::before {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.track__node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.track__step.is-done .track__node {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.track__step.is-active .track__node {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(14, 165, 233, .18);
}

.track__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

.track__label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.track__step.is-pending .track__label {
    color: var(--muted);
}

.track__time {
    font-size: 12px;
    color: var(--muted);
}

.track__foot {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
}

.track__fact span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.track__fact strong {
    font-size: 16px;
    font-weight: 800;
}

.track__cta {
    margin-left: auto;
}

@media (max-width: 980px) {
    .hero__track { margin-top: 42px; }
}

@media (max-width: 720px) {
    .track {
        padding: 20px;
        border-radius: 20px;
    }

    .track__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .track__order {
        padding: 16px;
    }

    .track__order-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .track__steps {
        position: relative;
        grid-template-columns: 1fr;
        gap: 22px;
        margin: 22px 0 4px;
    }

    .track__steps::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 19px;
        bottom: 19px;
        width: 2px;
        background: linear-gradient(180deg, var(--accent) 0 40%, var(--line) 40%);
    }

    .track__step {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        text-align: left;
    }

    .track__step:not(:first-child)::before {
        display: none;
    }

    .track__time {
        margin-left: auto;
    }

    .track__foot {
        flex-wrap: wrap;
        gap: 16px;
    }

    .track__cta {
        width: 100%;
        margin-left: 0;
    }
}

/* Track: search invoice */
.track__search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.track__search-field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.track__search-icon {
    position: absolute;
    left: 14px;
    display: grid;
    place-items: center;
    color: var(--muted);
    pointer-events: none;
}

.track__search-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.track__search-input::placeholder {
    color: var(--muted);
}

.track__search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
}

.track__search-btn {
    flex: 0 0 auto;
}

@media (max-width: 560px) {
    .track__search {
        flex-direction: column;
        align-items: stretch;
    }

    .track__search-btn {
        width: 100%;
    }
}

.track__empty {
    padding: 26px 20px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.track__empty p {
    margin: 0;
}

.track__empty strong {
    color: var(--ink);
}
/* ============================================================
   Splash screen awal (khusus mobile)
   ============================================================ */
.splash {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #075985 0%, #0284c7 42%, #0ea5e9 72%, #14b8a6 100%);
    color: #fff;
    transition: opacity .5s ease, visibility .5s ease;
}

.splash__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.splash__mark {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #fff;
    color: #075985;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: 800;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
    animation: splash-pop .5s cubic-bezier(.2, .8, .2, 1) both;
}

.splash__name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .02em;
}

.splash__spinner {
    width: 26px;
    height: 26px;
    margin-top: 4px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .28);
    border-top-color: #fff;
    animation: splash-spin .8s linear infinite;
}

.splash.is-hiding {
    opacity: 0;
    visibility: hidden;
}

.splash.is-done {
    display: none !important;
}

@keyframes splash-pop {
    from { transform: scale(.72); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes splash-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .splash { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    .splash__mark,
    .splash__spinner { animation: none; }
}

.splash__tag {
    font-size: 12px;
    color: rgba(255, 255, 255, .78);
    margin-top: -8px;
}

.splash--minimal .splash__spinner {
    display: none;
}

