/* ==========================================================================
   LokaPay - style khusus halaman produk.
   Dimuat setelah main.css.
   ========================================================================== */

:root {
    --loka-blue: #0b6fc4;
    --loka-navy: #17274f;
    --loka-sky: #eaf3fc;
}

/* -------------------------------------------------------------- 1. Hero */
.loka-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #0d2a5c 0%, #14448f 48%, #0b6fc4 100%);
    color: #fff;
}

.loka-hero::before,
.loka-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.loka-hero::before {
    width: 520px;
    height: 520px;
    top: -220px;
    right: -140px;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 68%);
}

.loka-hero::after {
    width: 420px;
    height: 420px;
    left: -180px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(102, 197, 255, .3), transparent 68%);
}

.loka-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-block: 84px 96px;
}

.loka-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .1);
    font-size: 13px;
    font-weight: 700;
}

.loka-badge svg { width: 15px; height: 15px; }

/* Wordmark LokaPay tampil di atas keping putih agar warna aslinya terjaga. */
.loka-logo {
    display: block;
    height: 30px;
    width: auto;
    object-fit: contain;
    padding: 10px 16px;
    margin-bottom: 24px;
    box-sizing: content-box;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(3, 20, 48, .25);
}

.loka-hero h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    margin-top: 22px;
}

.loka-hero-desc {
    margin-top: 20px;
    max-width: 520px;
    font-size: 17px;
    color: rgba(255, 255, 255, .8);
}

.loka-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.loka-stores a {
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, opacity .2s ease;
}

.loka-stores a:hover { transform: translateY(-3px); }

.loka-stores img { height: 48px; width: auto; }

.loka-stores .is-soon {
    position: relative;
    opacity: .55;
    cursor: default;
}

.loka-stores .is-soon:hover { transform: none; }

.loka-caption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 26px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.loka-caption i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
}

/* Susunan tiga ponsel */
.loka-phones {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.loka-phone {
    position: absolute;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(3, 20, 48, .45);
}

.loka-phone-left {
    width: 40%;
    max-width: 205px;
    left: 2%;
    transform: rotate(-8deg);
    z-index: 1;
}

.loka-phone-right {
    width: 40%;
    max-width: 205px;
    right: 2%;
    transform: rotate(8deg);
    z-index: 1;
}

/* Ponsel tengah menentukan tinggi blok, jadi lebarnya dibatasi agar
   tangkapan layar aplikasi yang tinggi tidak meregangkan hero. */
.loka-phone-main {
    position: relative;
    width: 47%;
    max-width: 250px;
    z-index: 2;
}

/* --------------------------------------------------- 2. Keunggulan */
.loka-benefit {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease;
}

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

.loka-benefit .ico {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--loka-sky);
    color: var(--loka-blue);
}

.loka-benefit .ico svg { width: 24px; height: 24px; }

.loka-benefit h3 { font-size: 18px; }

.loka-benefit p {
    font-size: 14.5px;
    color: var(--ink-500);
}

/* ------------------------------------------------------ 3. Audiens */
.loka-audience {
    background: linear-gradient(140deg, var(--loka-navy), #1b3a75);
    color: #fff;
}

.loka-audience h2 { color: #fff; }
.loka-audience .section-desc { color: rgba(255, 255, 255, .72); }

/* Lima kartu: memakai flex agar baris terakhir tetap terpusat, tidak
   menggantung di kiri seperti pada grid berkolom tetap. */
.loka-audience-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.loka-audience-item {
    /* Basis dibuat cukup lebar agar lima kartu tertata 3 + 2, bukan 4 + 1
       yang menyisakan satu kartu sendirian di baris kedua. */
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
}

.loka-audience-item svg {
    width: 26px;
    height: 26px;
    color: #7db9ff;
}

.loka-audience-item strong {
    font-size: 16px;
    color: #fff;
}

.loka-audience-item span {
    font-size: 14px;
    color: rgba(255, 255, 255, .68);
}

/* -------------------------------------------------------- 4. Fitur */
.loka-features {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.loka-feature-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.loka-feature-col.is-right { text-align: left; }

.loka-feature {
    padding: 22px 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease;
}

.loka-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.loka-feature h3 {
    font-size: 16.5px;
    color: var(--loka-navy);
}

.loka-feature p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--ink-500);
}

.loka-feature-phone {
    position: relative;
    width: 280px;
    justify-self: center;
}

.loka-feature-phone img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.loka-feature-phone::after {
    content: "";
    position: absolute;
    inset: -34px -34px -34px -34px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 111, 196, .16), transparent 70%);
}

/* ------------------------------------------------------ 5. CTA unduh */
.loka-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b6fc4, #14448f 65%, #0d2a5c);
    color: #fff;
}

.loka-cta::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -110px;
    top: -140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.loka-cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 44px;
    align-items: center;
    padding-block: 72px;
}

.loka-cta h2 {
    color: #fff;
    font-size: clamp(28px, 3.6vw, 40px);
}

.loka-cta p {
    margin-top: 16px;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
}

.loka-cta-visual {
    display: flex;
    justify-content: center;
}

.loka-cta-visual img {
    width: 240px;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(3, 20, 48, .45);
}

/* ---------------------------------------------------- 6. Responsif */
@media (max-width: 1024px) {
    .loka-hero-inner,
    .loka-cta-inner { grid-template-columns: 1fr; }

    .loka-phones { min-height: 400px; }

    /* Ponsel samping dikecilkan dan ditarik ke dalam agar tidak terpotong
       tepi hero saat kolomnya menyempit. */
    .loka-phone-main { max-width: 215px; }

    .loka-phone-left,
    .loka-phone-right { max-width: 165px; }

    .loka-phone-left { left: 6%; }
    .loka-phone-right { right: 6%; }

    .loka-features { grid-template-columns: 1fr; }
    .loka-feature-phone { order: -1; width: 240px; }

}

@media (max-width: 720px) {
    .loka-hero-inner { padding-block: 52px 60px; }
    .loka-phones { min-height: 320px; }
    .loka-phone-main { max-width: 175px; }

    .loka-phone-left,
    .loka-phone-right { max-width: 128px; }

    .loka-phone-left { left: 1%; }
    .loka-phone-right { right: 1%; }
    .loka-audience-item { flex-basis: 100%; max-width: none; }
    .loka-stores img { height: 42px; }
}
