/* ---------- 1. TOKENS & DARK MODE ---------- */
:root {
    --bg: #f4f9ff;
    --bg2: #fff;
    --ink: #0b2a5b;
    --mut: #5f7396;
    --pri: #0a2f74;
    --acc: #2b7fff;
    --soft: #e6f1ff;
    --line: #dbe8fa;
    --sh: 0 8px 28px rgba(30, 90, 180, 0.1);
    --hero: linear-gradient(180deg, #e3f0ff 0, #f4f9ff 100%);

    --ok: #1f9d55;
    --ok-soft: #e8f8ee;
    --warn: #c98a1f;
    --warn-soft: #fdf3e2;
    --bad: #d5484d;
    --bad-soft: #fdecec;

    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0a1424;
        --bg2: #101d33;
        --ink: #e8f1ff;
        --mut: #93a7c8;
        --pri: #2b7fff;
        --acc: #5aa2ff;
        --soft: #16294a;
        --line: #1f3559;
        --sh: 0 8px 28px rgba(0, 0, 0, 0.4);
        --hero: linear-gradient(180deg, #0e1e3a 0, #0a1424 100%);
    }
}

:root[data-theme="dark"] {
    --bg: #0a1424;
    --bg2: #101d33;
    --ink: #e8f1ff;
    --mut: #93a7c8;
    --pri: #2b7fff;
    --acc: #5aa2ff;
    --soft: #16294a;
    --line: #1f3559;
    --sh: 0 8px 28px rgba(0, 0, 0, 0.4);
    --hero: linear-gradient(180deg, #0e1e3a 0, #0a1424 100%);
}

/* ---------- 2. RESET & BASE ---------- */
* {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    cursor: pointer;
    border: 0;
    color: inherit;
    background: none;
}
img,
svg {
    max-width: 100%;
}
[hidden] {
    display: none !important;
}
:focus-visible {
    outline: 3px solid var(--acc);
    outline-offset: 2px;
}

h1 {
    font-size: clamp(30px, 5.2vw, 55px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 22px 0 20px;
}
h1 i {
    font-family: "Playfair Display", serif;
    color: var(--acc);
    font-weight: 700;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
section {
    padding: 44px 0 10px;
}
.sec {
    padding: 56px 0 8px;
}

.card {
    background: var(--bg2);
    border-radius: 24px;
    box-shadow: var(--sh);
    border: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- 3. BUTTONS & ICON ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}
.btn.p {
    background: var(--pri);
    color: #fff;
    box-shadow: 0 8px 20px rgba(10, 47, 116, 0.25);
}
.btn.p:hover {
    transform: translateY(-2px);
}
.btn.o {
    border: 1.5px solid var(--acc);
    color: var(--acc);
    background: var(--bg2);
}

.cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.i {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.13em;
    flex: none;
}
.ph,
.im {
    color: rgba(10, 47, 116, 0.4);
}
.ph .i,
.im .i {
    stroke-width: 1.2;
}

.pill {
    display: inline-flex;
    gap: 6px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    color: var(--pri);
    background: var(--soft);
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.go {
    position: absolute;
    right: 16px;
    bottom: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pri);
    color: #fff;
    display: grid;
    place-items: center;
}

.h,
.feat .h {
    font-weight: 600;
}
.script {
    font-size: 34px;
}

/* ---------- 4. HEADER / NAV ---------- */
header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    background: color-mix(in srgb, var(--bg2) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}
.logo b {
    font-size: 34px;
    font-weight: 800;
    color: var(--pri);
    letter-spacing: -1px;
}
.logo small {
    display: block;
    font-size: 11px;
    color: var(--mut);
    line-height: 1.2;
}
.logo strong {
    font-size: 13px;
    display: block;
}
.star {
    width: 40px;
    height: 40px;
    color: var(--acc);
}

.links {
    display: flex;
    gap: 30px;
    margin-left: 24px;
    font-size: 13px;
    font-weight: 500;
}
.links a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    color: var(--mut);
}
.links a.on,
.links a:hover {
    color: var(--pri);
    border-color: var(--acc);
}

.nav .links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 6px;
    background: var(--bg2);
    padding: 14px 24px;
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.sp {
    flex: 1;
}

.search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 0 16px;
    height: 40px;
    width: 270px;
}
.search input {
    border: 0;
    background: none;
    outline: 0;
    font: inherit;
    font-size: 12px;
    width: 100%;
    color: var(--ink);
}

.ic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex: none;
}
.ic.b {
    border: 1.5px solid var(--acc);
    color: var(--acc);
}
.burger {
    display: none;
    font-size: 24px;
}

/* ---------- 5. HERO & CAROUSEL ---------- */
.hero {
    background: var(--hero);
    position: relative;
    overflow: hidden;
    padding: 40px 0 30px;
}
.blob {
    position: absolute;
    border-radius: 50%;
    background: var(--soft);
    filter: blur(2px);
    opacity: 0.8;
}
.hg {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 20px;
    align-items: center;
    position: relative;
}

.tag {
    display: inline-flex;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--pri);
    border: 1px solid var(--line);
    background: var(--bg2);
    border-radius: 99px;
    padding: 5px 12px;
}
.hero p.lead {
    color: var(--mut);
    max-width: 440px;
    font-size: 15px;
    margin-bottom: 30px;
}

.ph-hero {
    padding: 56px 0 52px;
}
.ph-hero h1 {
    font-size: clamp(32px, 4.4vw, 54px);
    margin: 18px 0 14px;
    max-width: 760px;
}
.ph-hero .lead {
    margin: 0;
}

.vis {
    position: relative;
    height: 440px;
}
.script1 {
    position: absolute;
    top: 2px;
    left: -20%;
    font-family: "Dancing Script", cursive;
    font-size: 32px;
    color: var(--acc);
    transform: rotate(-8deg);
    line-height: 1;
    z-index: 5;
}
.script2 {
    position: absolute;
    right: 6%;
    top: 30%;
    font-family: "Dancing Script", cursive;
    font-size: 36px;
    font-weight: 600;
    color: var(--acc);
    transform: rotate(-6deg);
    line-height: 1.05;
}

.car {
    position: absolute;
    inset: 40px 0 0 0;
    border-radius: 32px;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    box-shadow: var(--sh);
}
.car.drag {
    cursor: grabbing;
}
.track {
    display: flex;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.track.nd {
    transition: none;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    font-size: 0;
    background-size: cover;
    background-position: center;
}
.slide .ppl {
    display: flex;
    gap: 0;
    align-items: flex-end;
    pointer-events: none;
}
.slide .ppl span {
    font-size: 130px;
    line-height: 0.9;
    margin: 0 -14px;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.2));
}
.slide .ppl svg {
    margin: 0 -22px;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18));
}
.slide .cap {
    position: absolute;
    top: 26px;
    right: 44px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.85);
    color: var(--pri);
    padding: 4px 12px;
    border-radius: 99px;
    pointer-events: none;
}

.ctrl {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg2);
    border-radius: 99px;
    padding: 5px 8px;
    box-shadow: var(--sh);
    z-index: 6;
}
.ctrl .ar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--acc);
    font-weight: 700;
}
.dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.dots i {
    width: 7px;
    height: 7px;
    border-radius: 9px;
    background: #b9cdea;
    transition: 0.3s;
    cursor: pointer;
}
.dots i.on {
    width: 20px;
    background: var(--pri);
}
.cnt {
    font-size: 11px;
    color: var(--mut);
    font-weight: 600;
}

.fc {
    position: absolute;
    background: var(--bg2);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--sh);
    width: 120px;
    z-index: 4;
    font-size: 10px;
    font-weight: 600;
    animation: fl 5s ease-in-out infinite;
}
.fc .im {
    height: 62px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 36px;
    margin-bottom: 6px;
}
.fc div.r {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--pri);
}
.fc small {
    display: block;
    font-weight: 700;
}
.fc em {
    font-style: normal;
    color: var(--acc);
    font-size: 16px;
}
@keyframes fl {
    50% {
        transform: translateY(-6px);
    }
}

/* ---------- 6. FEATURE STRIP ---------- */
.strip {
    display: grid;
    grid-template-columns: 2.6fr 1fr;
    gap: 20px;
    margin-top: 34px;
}
.feat {
    display: grid;
    grid-template-columns: 1.1fr repeat(4, 1fr);
    align-items: center;
    padding: 24px 10px;
}
.feat .h {
    font-family: "Dancing Script", cursive;
    font-size: 28px;
    color: var(--acc);
    line-height: 1.05;
    transform: rotate(-6deg);
    padding: 0 20px;
}
.feat .f {
    padding: 0 18px;
    border-left: 1px solid var(--line);
}
.fi {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--soft);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 8px;
}
.f b {
    font-size: 13px;
    display: block;
}
.f small {
    font-size: 11px;
    color: var(--mut);
    display: block;
    line-height: 1.4;
    margin-top: 2px;
}

.bdi {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    position: relative;
}
.bot {
    width: 72px;
    height: 72px;
    flex: none;
    border-radius: 50%;
    background: var(--soft);
    display: grid;
    place-items: center;
    font-size: 36px;
}
.bdi b {
    font-size: 14px;
    display: block;
    line-height: 1.3;
}
.bdi small {
    font-size: 11px;
    color: var(--mut);
    display: block;
    margin-top: 4px;
}

/* ---------- 7. SECTION HEADING & NEWS ---------- */
.sh {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.sh .si {
    width: 42px;
    height: 42px;
    font-size: 26px;
    color: var(--acc);
    display: grid;
    place-items: center;
    flex: none;
}
.sh h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
}
.sh p {
    font-size: 12px;
    color: var(--mut);
}
.sh a {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--acc);
}

.news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.nw {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.25s;
}
.nw:hover {
    transform: translateY(-4px);
}
.nw .ph {
    height: 140px;
    display: grid;
    place-items: center;
    font-size: 56px;
    overflow: hidden;
}
.nw .ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nw .bd {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.nw h3 {
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 8px;
}
.nw p {
    font-size: 12px;
    color: var(--mut);
    flex: 1;
}

.dt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--mut);
    margin-top: 14px;
}
.dt .go {
    position: static;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* ---------- 8. PRODUK (tabs, rail, card) ---------- */
.tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.tab {
    padding: 9px 24px;
    border-radius: 99px;
    background: var(--bg2);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 500;
    color: var(--mut);
}
.tab.on {
    background: var(--pri);
    color: #fff;
    border-color: var(--pri);
    font-weight: 700;
}

.rail {
    position: relative;
}
.prods {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 20px;
    scrollbar-width: none;
}
.prods::-webkit-scrollbar {
    display: none;
}

.pd {
    flex: 0 0 clamp(180px, 17%, 215px);
    scroll-snap-align: start;
    overflow: hidden;
    transition: 0.25s;
}
.pd:hover {
    transform: translateY(-4px);
}
.pd .ph {
    height: 130px;
    display: grid;
    place-items: center;
    font-size: 56px;
    position: relative;
}
.pd .bd {
    padding: 12px 14px;
}
.pd b {
    font-size: 13px;
    display: block;
}
.pd small {
    font-size: 10px;
    color: var(--mut);
}
.pd .pr {
    font-weight: 800;
    color: var(--pri);
    font-size: 14px;
    margin: 6px 0;
}

.heart {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--acc);
    font-size: 12px;
}
.heart.on {
    color: #e5484d;
}
.heart .i {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}
.heart.on .i {
    fill: currentColor;
}

.by {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 10px;
    color: var(--mut);
}
.av {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--soft);
    display: grid;
    place-items: center;
    font-size: 10px;
}

.nb {
    position: absolute;
    top: 45%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg2);
    box-shadow: var(--sh);
    font-weight: 800;
    z-index: 3;
}
.nb.l {
    left: -16px;
}
.nb.r {
    right: -16px;
}

.pgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.pgrid .pd {
    flex: none;
}

.row1 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ---------- 9. TRENDING / BOX / PEOPLE ---------- */
.duo {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
}
.box {
    padding: 22px;
    background: linear-gradient(180deg, var(--soft), var(--bg2));
}
.trend {
    display: grid;
    grid-template-columns: 150px 1.5fr repeat(3, 1fr);
    gap: 12px;
}

.top {
    border-radius: 18px;
    background: var(--soft);
    padding: 16px;
    font-family: "Dancing Script", cursive;
    font-size: 14px;
    color: var(--acc);
}
.top b {
    display: block;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 17px;
    color: var(--pri);
    line-height: 1.2;
    font-weight: 800;
}

.cats {
    background: var(--bg2);
    border-radius: 16px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.cat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
}
.cat .fi {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin: 0;
}
.cat em {
    margin-left: auto;
    font-style: normal;
    color: var(--ok);
    font-size: 11px;
}

.tp {
    background: var(--bg2);
    border-radius: 16px;
    overflow: hidden;
    font-size: 10px;
    padding-bottom: 8px;
}
.tp .ph {
    height: 80px;
    display: grid;
    place-items: center;
    font-size: 40px;
    margin-bottom: 6px;
}
.tp b,
.tp span {
    display: block;
    padding: 0 10px;
}
.tp span {
    color: var(--mut);
}
.tp .tg {
    color: #e5484d;
    font-weight: 600;
    margin-top: 4px;
}
.tg2 {
    display: flex;
    gap: 6px;
    padding: 0 10px;
    margin-top: 4px;
    color: var(--ok);
    font-weight: 700;
}

.bt {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 16px;
    background: var(--bg2);
    border-radius: 16px;
    padding: 10px;
    position: relative;
}
.bt .ph {
    border-radius: 12px;
    min-height: 170px;
    display: grid;
    place-items: center;
    font-size: 64px;
    background: linear-gradient(135deg, #b8d6ff, #7fb0f5);
}
.bt h4 {
    font-size: 14px;
    margin: 6px 0;
}
.bt p {
    font-size: 11px;
    color: var(--mut);
    margin-bottom: 8px;
}
.bt .btn {
    font-size: 11px;
    padding: 9px 18px;
    margin-top: 10px;
}

.ppl2 {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px;
}
.pp {
    flex: 0 0 132px;
    background: var(--bg2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--sh);
    font-size: 10px;
}
.pp .ph {
    height: 100px;
    display: grid;
    place-items: center;
    font-size: 52px;
}
.pp div {
    padding: 8px 10px;
}
.pp b {
    font-size: 11px;
    display: block;
}
.pp small {
    color: var(--mut);
    display: block;
}
.pp a {
    display: block;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 6px;
    color: var(--pri);
    font-weight: 600;
}

.help {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
}
.help .bot {
    width: 110px;
    height: 110px;
    font-size: 56px;
    background: var(--bg2);
    box-shadow: var(--sh);
}
.help h3 {
    font-size: 22px;
    margin: 2px 0 8px;
}
.help p {
    font-size: 12px;
    color: var(--mut);
    max-width: 200px;
    margin-bottom: 16px;
}

.banner {
    margin-top: 44px;
    background: linear-gradient(180deg, var(--soft), var(--bg));
    padding: 36px 0 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.banner .h {
    position: absolute;
    left: 5%;
    top: 30px;
    font-family: "Dancing Script", cursive;
    font-size: 28px;
    color: var(--acc);
    transform: rotate(-7deg);
    text-align: left;
    line-height: 1.05;
}
.banner .b {
    position: absolute;
    left: 14%;
    bottom: -20px;
    font-size: 100px;
    opacity: 0.5;
}
.banner .pl {
    position: absolute;
    right: 8%;
    top: 30px;
    font-size: 52px;
    color: var(--acc);
}
.banner h2 {
    font-size: 24px;
}
.banner p {
    font-size: 13px;
    color: var(--mut);
    margin: 8px 0 22px;
}
.banner .cta {
    justify-content: center;
}

/* ---------- 10. ABOUT ---------- */
.vm {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
}
.vcard {
    background: linear-gradient(150deg, var(--pri), #1a56c4);
    color: #fff;
    border-radius: 28px;
    padding: 38px;
    position: relative;
    overflow: hidden;
}
.vcard .sc {
    font-family: "Dancing Script", cursive;
    font-size: 30px;
    opacity: 0.85;
}
.vcard h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 8px 0 14px;
}
.vcard p {
    opacity: 0.85;
    font-size: 14px;
}
.vcard .deco {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 200px;
    height: 200px;
    opacity: 0.12;
}

.mis {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mi {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    align-items: flex-start;
}
.mi .fi {
    margin: 0;
    flex: none;
}
.mi b {
    display: block;
    font-size: 15px;
}
.mi p {
    font-size: 13px;
    color: var(--mut);
}

.logos {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 40px;
    text-align: center;
}
.lg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.lg b {
    font-size: 16px;
}
.lg small {
    color: var(--mut);
    font-size: 12px;
    max-width: 260px;
}
.lgbox {
    width: 160px;
    height: 160px;
    border-radius: 34px;
    background: var(--bg);
    border: 1.5px dashed var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--mut);
    font-size: 12px;
}
.lgbox img {
    max-width: 80%;
    max-height: 80%;
}
.lgbox .star {
    width: 64px;
    height: 64px;
}
.x {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--acc);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
}

.val {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.val .card {
    padding: 24px;
}
.val b {
    display: block;
    margin: 4px 0;
    font-size: 15px;
}
.val p {
    font-size: 12px;
    color: var(--mut);
}

.tl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.tl::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--line);
}
.ts {
    position: relative;
    padding: 38px 16px 0;
    text-align: center;
}
.ts::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg2);
    border: 4px solid var(--acc);
}
.ts small {
    color: var(--acc);
    font-weight: 700;
    font-size: 12px;
}
.ts b {
    display: block;
    margin: 2px 0;
    font-size: 15px;
}
.ts p {
    font-size: 12px;
    color: var(--mut);
}

/* ---------- 11. KOLABORASI ---------- */
.kol {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: 20px;
    align-items: start;
}

/* Box besar (detail): tinggi tetap, sama dengan list samping */
.kf {
    padding: 20px;
    height: 420px;
    overflow: hidden;
}
.kf .bt {
    background: none;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    align-items: stretch;
}
.kf .bt .ph {
    height: 100%;
    min-height: 0;
}
.kf .bt > div:last-child {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.kf .bt h4 {
    font-size: 20px;
    margin: 10px 0;
}
.kf .bt p {
    font-size: 13px;
    line-height: 1.7;
}

/* Switch detail */
.collab-detail {
    display: none;
    height: 100%;
}
.collab-detail.active {
    display: block;
    animation: collabFade 0.25s ease;
}
.collab-detail .ph {
    position: relative;
    overflow: hidden;
}
.collab-detail .ph img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@keyframes collabFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* List samping: scroll kalau banyak */
.kol .side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 420px;
    overflow-y: auto;
    padding: 4px 6px 4px 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.kol .side::-webkit-scrollbar {
    width: 6px;
}
.kol .side::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 99px;
}
.kol .side .kc {
    flex: 0 0 auto;
}

.kc {
    padding: 14px 16px;
    height: auto;
    min-height: 0;
}
.kc h4 {
    font-size: 13px;
    margin: 7px 0 4px;
    line-height: 1.35;
}
.kc p {
    font-size: 11px;
    color: var(--mut);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.kc .pill {
    font-size: 10px;
    padding: 3px 8px;
    margin-bottom: 6px;
}
.kc .dt {
    margin-top: 8px;
    font-size: 10px;
}

.collab-select {
    width: 100%;
    border: 1px solid var(--line);
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: 0.2s ease;
}
.collab-select:hover {
    transform: translateY(-2px);
}
.collab-select.active {
    border-color: var(--acc);
    background: var(--soft);
    box-shadow: 0 8px 20px rgba(43, 127, 255, 0.08);
}

/* ---------- 12. PRODUK: list, detail, gallery ---------- */
.tr2 {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 22px;
}
.cbar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
}
.cb .t {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
}
.cb .t em {
    font-style: normal;
    color: var(--ok);
}
.cb .b {
    height: 8px;
    border-radius: 9px;
    background: var(--soft);
    margin-top: 7px;
    overflow: hidden;
}
.cb .b i {
    display: block;
    height: 100%;
    border-radius: 9px;
    background: linear-gradient(90deg, var(--acc), var(--pri));
}

.tops {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.tk {
    position: relative;
    overflow: hidden;
    display: block;
}
.tk .ph {
    height: 120px;
    display: grid;
    place-items: center;
    font-size: 52px;
}
.tk .rk {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pri);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.tk .bd {
    padding: 12px 14px;
    font-size: 12px;
}
.tk b {
    display: block;
    font-size: 13px;
}
.tk span {
    color: var(--mut);
}
.tk .hot {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    color: var(--ok);
    font-weight: 700;
}

.crumb {
    font-size: 12px;
    color: var(--mut);
}
.crumb a {
    color: var(--acc);
}

.dt2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
    align-items: center;
}
.dt2 h1 {
    font-size: 34px;
    margin: 12px 0 4px;
}
.dt2 p {
    color: var(--mut);
    font-size: 14px;
    margin-bottom: 18px;
    max-width: 460px;
}
.dt2 .by {
    margin-bottom: 22px;
    font-size: 12px;
}
.prc {
    font-size: 28px;
    font-weight: 800;
    color: var(--pri);
    margin: 6px 0 14px;
}
.big {
    height: 400px;
    font-size: 130px;
    border-radius: 28px;
    display: grid;
    place-items: center;
}

/* Halaman detail produk */
.product-detail-page {
    padding-top: 18px;
}
.product-detail-page .dt2 {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 35px;
    margin-top: 24px;
    align-items: start;
}
.product-detail-page .dt2 > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 8px 20px;
    min-width: 0;
}
.product-detail-page .dt2 h1 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    margin: 10px 0 8px;
    color: var(--pri);
}
.product-detail-page .dt2 p {
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.product-detail-page .dt2 > div:last-child > small {
    margin-left: 34px;
}
.product-detail-page .pill {
    width: fit-content;
    margin-bottom: 4px;
}
.product-detail-page .prc {
    font-size: 27px;
    margin-bottom: 18px;
}
.product-detail-page .by {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.product-detail-page .cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.product-detail-page .big {
    height: 440px;
    min-height: 440px;
    border-radius: 30px;
    overflow: hidden;
    background-color: var(--bg);
    box-shadow: 0 18px 45px rgba(10, 47, 116, 0.08);
}

/* Gallery */
.product-gallery {
    width: 100%;
    max-width: 560px;
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 28px rgba(40, 100, 150, 0.07);
}
.product-main-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}
.product-main-image img:hover {
    transform: scale(1.015);
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 9px;
    padding: 0 1px 1px;
    overflow-x: auto;
}
.product-thumb {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 9px;
    overflow: hidden;
    background: var(--bg);
    cursor: pointer;
    transition: 0.2s ease;
}
.product-thumb:hover {
    transform: translateY(-1px);
    border-color: #9fc7ff;
}
.product-thumb.active {
    border-color: #1677ff;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-no-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(10, 47, 116, 0.35);
}

.product-detail-page .product-gallery {
    width: 500px;
    max-width: 100%;
}
.product-detail-page .product-main-image {
    width: 100%;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
}
.product-detail-page .product-thumbnails {
    margin-top: 8px;
}
.product-detail-page .product-thumb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

/* Highlights & related */
.product-highlights {
    padding-top: 28px;
    padding-bottom: 45px;
}
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg2);
    box-shadow: 0 10px 30px rgba(10, 47, 116, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(10, 47, 116, 0.09);
}
.highlight-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--acc);
}
.highlight-card b {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}
.highlight-card p {
    margin: 0;
    color: var(--mut);
    font-size: 12px;
    line-height: 1.6;
}

.product-related {
    padding-top: 20px;
}
.product-related .pgrid {
    margin-top: 22px;
}
/* =====================================================================
   13. KONTAK 
   ===================================================================== */

.contact-section {
    padding-bottom: 60px;
}

/* ---------- Hero: kartu chat + pilihan keperluan ---------- */
.ct-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.ct-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
}
.ct-card > * {
    position: relative;
    z-index: 1;
}
.ct-card h2 {
    font-size: clamp(24px, 3vw, 32px);
}
.ct-card p {
    max-width: 460px;
}
.ct-card .deco {
    z-index: 0;
    width: 240px;
    height: 240px;
    right: -40px;
    bottom: -40px;
    opacity: 0.1;
}

.ct-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}
.ct-steps li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 11.5px;
    font-weight: 600;
}
.ct-steps b {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    color: var(--pri);
    display: grid;
    place-items: center;
    font-size: 11px;
}

.ct-card .btn.wa {
    align-self: flex-start;
    margin-top: 26px;
    background: #fff;
    color: var(--pri);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.ct-card .btn.wa:hover {
    transform: translateY(-2px);
}
.ct-card .btn.wa .i {
    width: 18px;
    height: 18px;
}
.ct-num {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.8;
}

/* Sisi kanan: pilihan keperluan */
.ct-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ct-side-head {
    margin-bottom: 2px;
}
.ct-side-head h3 {
    font-size: 19px;
    letter-spacing: -0.3px;
    color: var(--pri);
}
.ct-side-head p {
    font-size: 12.5px;
    color: var(--mut);
    margin-top: 3px;
}

.ct-topic {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    transition: 0.2s ease;
}
.ct-topic:hover {
    transform: translateY(-2px);
    border-color: var(--acc);
}
.ct-topic .ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--soft);
    color: var(--acc);
    display: grid;
    place-items: center;
    font-size: 22px;
}
.ct-topic .tx b {
    display: block;
    font-size: 14px;
}
.ct-topic .tx small {
    display: block;
    font-size: 12px;
    color: var(--mut);
    line-height: 1.5;
    margin-top: 2px;
}
.ct-topic .go {
    position: static;
    width: 34px;
    height: 34px;
    background: var(--soft);
    color: var(--acc);
    transition: 0.2s;
}
.ct-topic:hover .go {
    background: var(--pri);
    color: #fff;
}

/* ---------- Info kontak lain ---------- */
.ct-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.contact-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    text-decoration: none;
    color: var(--ink);
    transition: 0.2s ease;
}
a.contact-item:hover {
    transform: translateY(-2px);
    border-color: var(--acc);
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--pri);
    font-size: 22px;
}
.contact-item-content span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--pri);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}
.contact-item-content h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.contact-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--pri);
}
.contact-arrow svg {
    width: 15px;
    height: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .ct-hero {
        grid-template-columns: 1fr;
    }
    .ct-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ct-card {
        padding: 28px 22px;
    }
    .ct-card .btn.wa {
        align-self: stretch;
        justify-content: center;
    }
    .ct-card .deco {
        width: 180px;
        height: 180px;
    }
    .ct-topic {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 16px;
        gap: 12px;
    }
    .ct-topic .ico {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    .ct-topic .go {
        display: none;
    }

    .contact-item {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 17px;
        gap: 14px;
    }
    .contact-item-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    .contact-arrow {
        display: none;
    }
}
/* ---------- 14. PAGE BANNER ---------- */
.pgb {
    position: relative;
    width: min(1320px, calc(100% - 48px));
    margin: 24px auto 0;
    min-height: 170px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 40px;
    color: #fff;
    background: linear-gradient(120deg, #5aa3e0 0%, #3d7fd6 60%, #2e66c2 100%);
    box-shadow: 0 10px 28px rgba(20, 60, 120, 0.18);
}
.pgb-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.pgb-decor .i {
    position: absolute;
    width: 38px;
    height: 38px;
    stroke: #fff;
    stroke-width: 1.2;
    opacity: 0.22;
}
.pgb-decor .sp {
    stroke: none;
    fill: #fff;
    width: 14px;
    height: 14px;
    opacity: 0.5;
}
.d1 {
    left: 3%;
    top: 14%;
}
.d2 {
    left: 14%;
    top: 60%;
    width: 30px;
    height: 30px;
}
.d3 {
    left: 47%;
    top: 12%;
    width: 30px;
    height: 30px;
}
.d4 {
    left: 60%;
    top: 66%;
    width: 26px;
    height: 26px;
}
.d5 {
    left: 8%;
    top: 78%;
    width: 26px;
    height: 26px;
}
.d6 {
    right: 24%;
    top: 16%;
    width: 26px;
    height: 26px;
}
.d7 {
    right: 14%;
    top: 64%;
    width: 34px;
    height: 34px;
}
.d8 {
    right: 4%;
    top: 20%;
    width: 30px;
    height: 30px;
}
.d9 {
    right: 6%;
    top: 62%;
    width: 28px;
    height: 28px;
}
.d10 {
    left: 2%;
    top: 44%;
}
.d11 {
    left: 24%;
    top: 38%;
}
.d12 {
    right: 32%;
    top: 44%;
}

.pgb-caption {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    max-width: 250px;
    background: rgba(8, 45, 90, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 10px 14px;
}
.pgb-caption span {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2px;
}
.pgb-caption h1 {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.1em;
    margin: 0;
}

.pgb-mid {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
.pgb-mid .star {
    width: 52px;
    height: 52px;
}
.pgb-word {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
}
.pgb-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}
.pgb-divider {
    position: relative;
    z-index: 2;
    width: 1px;
    align-self: stretch;
    margin: 22px 0;
    background: rgba(255, 255, 255, 0.35);
    flex: none;
}

.pgb-head {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}
.pgb-head h2 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-family: "Dancing Script", cursive;
}
.pgb-rule {
    width: 60px;
    height: 2px;
    background: #fff;
    margin: 10px 0 8px;
    opacity: 0.8;
}
.pgb-head p {
    font-size: 11px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- 15. CHATBOT B-DI ---------- */
.chatbot {
    position: fixed;
    right: 16px;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    width: 340px;
    max-width: calc(100vw - 32px);
    height: 480px;
    max-height: calc(100vh - 140px);
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(10, 47, 116, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 65;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}
.chatbot.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chatbot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--pri), #1a56c4);
    color: #fff;
    flex: none;
}
.chatbot-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chatbot-brand strong {
    display: block;
    font-size: 14px;
}
.chatbot-brand span {
    display: block;
    font-size: 10px;
    opacity: 0.8;
}
.chatbot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex: none;
}
.chatbot-avatar.sm {
    width: 26px;
    height: 26px;
    font-size: 13px;
}
.chatbot-avatar.sm .i {
    width: 14px;
    height: 14px;
}
.chatbot-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    display: grid;
    place-items: center;
}
.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.chatbot-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 16px;
    gap: 0;
}
.chatbot-thread {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.chatbot-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}
.chatbot-row.user {
    justify-content: flex-end;
}
.chatbot-row.bot .chatbot-message {
    flex: 1 1 auto;
}

.chatbot-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.6;
    flex: 0 1 auto;
    min-width: 0;
    word-break: break-word;
}
.bot-message {
    background: var(--soft);
    color: var(--ink);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.bot-message strong {
    display: block;
    margin-bottom: 2px;
    color: var(--pri);
}
.user-message {
    background: var(--pri);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}
.chatbot-question {
    text-align: left;
    padding: 9px 13px;
    border-radius: 12px;
    background: var(--bg2);
    border: 1px solid var(--line);
    font-size: 11.5px;
    color: var(--ink);
    transition: 0.2s;
}
.chatbot-question:hover {
    background: var(--soft);
    border-color: var(--acc);
    color: var(--pri);
}
.chatbot-loading,
.chatbot-error {
    font-size: 12px;
    color: var(--mut);
    text-align: center;
    padding: 10px;
}

.chatbot-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    flex: none;
    background: var(--bg2);
}
.chatbot-input input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 9px 14px;
    font: inherit;
    font-size: 12px;
    background: var(--bg);
    color: var(--ink);
    outline: 0;
}
.chatbot-input input:focus {
    border-color: var(--acc);
}
.chatbot-input button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pri);
    color: #fff;
    display: grid;
    place-items: center;
    flex: none;
}
.chatbot-input button .i {
    width: 15px;
    height: 15px;
}

/* Halaman chat penuh */
.chatpage {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 72px - env(safe-area-inset-top, 0px));
    height: calc(100dvh - 72px - env(safe-area-inset-top, 0px));
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    background: var(--bg2);
}
.chatpage-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--pri), #1a56c4);
    color: #fff;
    flex: none;
}
.chatpage-back {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    flex: none;
    color: #fff;
}
.chatpage-head strong {
    display: block;
    font-size: 15px;
}
.chatpage-head span {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}
.chatpage-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
/* =====================================================================
   FOOTER — tempel di PALING BAWAH css/app.css
   (class footer lama .ft, .ft .links, .soc, .cp sudah tidak dipakai)
   ===================================================================== */

footer.site-footer {
    margin-top: 30px;
    padding: 52px 0 0;
    background: var(--bg2);
    border-top: 1px solid var(--line);
}

.ft-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    padding-bottom: 40px;
}

/* ---------- Brand + logo (logo putih diberi latar biru) ---------- */
.ft-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.ft-logo-img {
    flex: none;
    display: grid;
    place-items: center;
    padding: 10px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0a2f74, #1a56c4);
    box-shadow: 0 8px 20px rgba(10, 47, 116, 0.22);
}
.ft-logo-img img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.ft-logo-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--pri);
    line-height: 1.2;
}
.ft-logo-text small {
    display: block;
    font-size: 11px;
    color: var(--mut);
    margin-top: 3px;
    letter-spacing: 0.04em;
}

.ft-brand p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--mut);
    max-width: 340px;
    margin: 18px 0 20px;
}

.ft-soc {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ft-soc a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: var(--soft);
    color: var(--pri);
    transition: 0.2s;
}
.ft-soc a:hover {
    background: var(--pri);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Kolom link ---------- */
.ft-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pri);
    margin-bottom: 16px;
}
.ft-col ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 11px;
}
.ft-col li {
    font-size: 13px;
    color: var(--mut);
}
.ft-col li a {
    transition: 0.2s;
}
.ft-col li a:hover {
    color: var(--acc);
}
.ft-col > ul:not(.ft-contact) a {
    display: inline-block;
}
.ft-col > ul:not(.ft-contact) a:hover {
    transform: translateX(3px);
}

.ft-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.ft-contact .i {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: var(--acc);
}
.ft-contact a,
.ft-contact span {
    overflow-wrap: anywhere;
}

/* ---------- Bar bawah ---------- */
.ft-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px 16px;
    flex-wrap: wrap;
    padding: 18px 0 22px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--mut);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    footer.site-footer {
        padding-top: 40px;
    }
    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 28px;
    }
    .ft-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .ft-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }
    .ft-logo-img img {
        height: 34px;
    }
    .ft-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================================
   17. RESPONSIVE
   ===================================================================== */

/* ---- Laptop kecil / tablet landscape ---- */
@media (max-width: 1100px) {
    .nav {
        gap: 18px;
    }
    .links {
        gap: 20px;
    }
    .search {
        width: 210px;
    }
    .trend {
        grid-template-columns: 130px 1.4fr repeat(3, 1fr);
    }
}

/* ---- Tablet ---- */
@media (max-width: 1000px) {
    /* nav */
    .nav .links,
    .search {
        display: none;
    }
    .nav .links.open {
        display: flex;
    }
    .burger {
        display: block;
    }

    /* hero & grid utama */
    .hg,
    .strip,
    .duo {
        grid-template-columns: 1fr;
    }
    .vis {
        height: 400px;
    }
    .script1 {
        left: 0;
    }
    .script2 {
        display: none;
    }

    .news {
        grid-template-columns: 1fr 1fr;
    }

    .feat {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .feat .h {
        grid-column: 1 / -1;
    }
    .feat .f {
        border: 0;
    }

    .trend {
        grid-template-columns: 1fr 1fr;
    }
    .top,
    .cats {
        grid-column: 1 / -1;
    }

    .help {
        flex-wrap: wrap;
    }

    /* about, produk, kontak, kolaborasi -> 1 kolom */
    .vm,
    .logos,
    .kol,
    .tr2,
    .dt2,
    .cw {
        grid-template-columns: 1fr;
    }
    .val {
        grid-template-columns: 1fr 1fr;
    }
    .tl {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px;
    }
    .tl::before {
        display: none;
    }

    /* kolaborasi */
    .kf {
        height: auto;
    }
    .kf .bt {
        grid-template-columns: 1fr;
    }
    .kf .bt .ph {
        height: 220px;
    }
    .kol .side {
        height: auto;
        max-height: 360px;
    }

    /* produk */
    .row1 {
        grid-template-columns: repeat(5, 200px);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
    }
    .row1 .pd {
        scroll-snap-align: start;
    }

    .product-detail-page .dt2 {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .product-detail-page .dt2 > div:last-child {
        padding: 0;
    }
    .product-detail-page .product-gallery {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
    .product-detail-page .big {
        height: 360px;
        min-height: 360px;
    }
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    /* footer tetap tampil di tablet */
    .ft .links {
        display: flex;
    }
}

/* ---- Page banner ---- */
@media (max-width: 900px) {
    .pgb {
        width: calc(100% - 32px);
        padding: 20px 24px;
        flex-wrap: wrap;
        min-height: auto;
        gap: 16px;
    }
    .pgb-caption {
        order: 0;
        flex: 1 0 100%;
        max-width: none;
    }
    .pgb-mid {
        order: 1;
    }
    .pgb-head {
        order: 2;
        flex: 1 0 100%;
    }
    .pgb-divider {
        display: none;
    }
    .pgb-head h2 {
        font-size: 17px;
    }
}

/* ---- Tablet portrait ---- */
@media (max-width: 760px) {
    .chatpage {
        max-width: none;
        border: 0;
        height: calc(100vh - 72px);
        height: calc(100dvh - 72px);
    }
    .logos {
        padding: 28px 20px;
    }
    .vcard {
        padding: 30px;
    }
    .form {
        padding: 24px;
    }
    .banner h2 {
        font-size: 21px;
    }
}

/* ---- HP ---- */
@media (max-width: 560px) {
    section {
        padding: 34px 0 8px;
    }
    .sec {
        padding: 40px 0 8px;
    }
    .wrap {
        padding: 0 16px;
    }
    .nav {
        gap: 12px;
        height: 64px;
    }
    .nav .btn {
        display: none;
    }
    .nav .links.open {
        top: 64px;
        padding: 12px 16px;
    }

    /* hero */
    .hero {
        padding: 28px 0 22px;
    }
    .ph-hero {
        padding: 36px 0 32px;
    }
    .hero p.lead {
        font-size: 14px;
        margin-bottom: 22px;
    }
    .cta {
        gap: 12px;
    }
    .vis {
        height: 340px;
    }
    .car {
        border-radius: 24px;
    }
    .fc {
        display: none;
    }
    .slide .ppl span {
        font-size: 90px;
    }
    .slide .ppl svg {
        transform: scale(0.7);
        transform-origin: bottom;
    }
    .slide .cap {
        top: 16px;
        right: 16px;
    }

    /* grid -> 1 kolom */
    .news,
    .val,
    .tops,
    .two,
    .trend,
    .tl {
        grid-template-columns: 1fr;
    }
    .bt {
        grid-template-columns: 1fr;
    }
    .tl {
        row-gap: 20px;
    }
    .feat {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 18px 14px;
    }
    .feat .h {
        grid-column: 1 / -1;
        padding: 0 4px 4px;
        font-size: 24px;
        transform: rotate(-3deg);
    }
    .feat .f {
        padding: 14px 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--bg);
        text-align: center;
    }
    .feat .fi {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin: 0 auto 8px;
    }
    .feat .f b {
        font-size: 12.5px;
    }
    .feat .f small {
        font-size: 10.5px;
    }
    .bdi {
        padding: 16px 60px 16px 16px;
        gap: 12px;
    }
    .bdi .bot {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    .bdi .go {
        right: 14px;
        bottom: 50%;
        transform: translateY(50%);
    }
    .strip {
        margin-top: 24px;
    }

    /* produk */
    .pgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .prods {
        gap: 14px;
    }
    .nb {
        display: none;
    }
    .tab {
        padding: 8px 18px;
    }

    /* section heading */
    .sh {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 16px;
    }
    .sh h2 {
        font-size: 19px;
    }

    /* about */
    .vcard {
        padding: 26px;
        border-radius: 22px;
    }
    .vcard h2 {
        font-size: 22px;
    }
    .lgbox {
        width: 120px;
        height: 120px;
        border-radius: 26px;
    }
    .mi {
        padding: 16px;
    }
    .help .bot {
        width: 84px;
        height: 84px;
        font-size: 42px;
    }
    .help {
        text-align: center;
    }

    /* banner dekor & footer */
    .banner {
        padding: 28px 0 34px;
    }
    .banner .h,
    .banner .pl,
    .banner .b {
        display: none;
    }
    .ft {
        justify-content: center;
        text-align: center;
        gap: 16px;
    }

    /* detail produk */
    .big {
        height: 260px;
        font-size: 90px;
    }
    .product-detail-page .big {
        height: 280px;
        min-height: 280px;
        border-radius: 22px;
    }
    .product-detail-page .product-main-image {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }
    .product-detail-page .dt2 h1 {
        font-size: 30px;
    }
    .product-detail-page .prc {
        font-size: 24px;
    }
    .product-detail-page .cta {
        flex-direction: column;
    }
    .product-detail-page .cta .btn {
        width: 100%;
        justify-content: center;
    }
    .highlight-card {
        padding: 16px;
    }

    /* kolaborasi */
    .kf {
        padding: 14px;
    }
    .kf .bt h4 {
        font-size: 17px;
    }
    .kf .bt .ph {
        height: 180px;
    }
    .kol .side {
        max-height: 320px;
    }

    /* kontak */
    .form {
        padding: 20px;
        gap: 14px;
    }

    /* page banner */
    .pgb {
        padding: 18px 18px;
        border-radius: 16px;
    }
    .pgb-decor {
        display: none;
    }
    .pgb-mid .star {
        width: 40px;
        height: 40px;
    }
    .pgb-word {
        font-size: 15px;
    }
    .pgb-logo {
        width: 40px;
        height: 40px;
    }
    .pgb-head h2 {
        font-size: 15px;
    }

    /* chatbot & fab */
    .chatbot {
        right: 8px;
        left: 8px;
        width: auto;
        max-width: none;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }
    .fab {
        width: 52px;
        height: 52px;
        font-size: 24px;
        right: 12px;
    }
    .toast {
        bottom: 84px;
    }
}

/* ---- HP kecil ---- */
@media (max-width: 400px) {
    .logo small {
        display: none;
    }
    .logo b {
        font-size: 30px;
    }
    h1 {
        letter-spacing: -1px;
    }
    .pgrid {
        gap: 10px;
    }
    .pd .bd {
        padding: 10px;
    }
    .pgb-word {
        font-size: 13px;
    }
}

@media (max-width: 340px) {
    .pgrid {
        grid-template-columns: 1fr;
    }
    .row1 {
        grid-template-columns: repeat(5, 170px);
    }
}
/* =====================================================================
   KABAR TERBARU (gaya detail berita) — tempel di PALING BAWAH css/app.css
   ===================================================================== */

/* Ganti artikel */
.nd-item {
    display: none;
}
.nd-item.active {
    display: block;
    animation: collabFade 0.25s ease;
}

.nd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

/* ---------- Artikel ---------- */
.nd-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}
.nd-title {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.6px;
    margin: 4px 0 12px;
    color: var(--pri);
}
.nd-lead {
    color: var(--mut);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.nd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 12px;
    color: var(--mut);
}
.nd-meta span,
.nd-meta button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nd-meta button {
    color: var(--pri);
    font-weight: 600;
    font-size: 12px;
}

.nd-cover {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: var(--soft);
    color: rgba(10, 47, 116, 0.4);
    display: grid;
    place-items: center;
    font-size: 56px;
    box-shadow: var(--sh);
}
/* Ada foto: kotak mengikuti foto, tidak dipotong */
.nd-cover img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
}
.nd-cover:has(img) > .i {
    display: none;
}
/* Tidak ada foto: tampil placeholder */
.nd-cover:not(:has(img)) {
    height: 220px;
    background: linear-gradient(135deg, #b8d6ff, #7fb0f5);
}

.nd-body {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--mut);
    overflow-wrap: anywhere;
}
.nd-body h2,
.nd-body h3 {
    color: var(--pri);
    font-size: 18px;
    margin: 22px 0 8px;
    line-height: 1.35;
}
.nd-body p {
    margin-bottom: 12px;
}
.nd-body strong {
    color: var(--ink);
}
.nd-body ul,
.nd-body ol {
    padding-left: 20px;
    margin-bottom: 12px;
}
.nd-body img {
    border-radius: 14px;
    height: auto;
    margin: 8px 0;
}
.nd-body a {
    color: var(--acc);
    text-decoration: underline;
}

.nd-quote {
    display: flex;
    gap: 14px;
    padding: 20px 22px;
    margin: 24px 0 0;
    border-radius: 20px;
    background: var(--soft);
    border: 1px solid var(--line);
}
.nd-quote::before {
    content: "\201C";
    font-family: "Playfair Display", serif;
    font-size: 56px;
    line-height: 0.8;
    color: var(--acc);
    font-weight: 700;
    flex: none;
}
.nd-quote p {
    font-style: italic;
    font-size: 13px;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.7;
}
.nd-quote small {
    font-weight: 600;
    color: var(--pri);
    font-size: 12px;
}

/* ---------- Sidebar ---------- */
.nd-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.nd-card {
    padding: 22px;
}
.nd-card h3 {
    font-size: 16px;
    color: var(--pri);
    margin-bottom: 16px;
}

.nd-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
}
.nd-info li {
    display: flex;
    gap: 12px;
    align-items: center;
}
.nd-info .fi {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin: 0;
    flex: none;
}
.nd-info small {
    display: block;
    font-size: 11px;
    color: var(--mut);
}
.nd-info b {
    font-size: 13px;
}
.nd-dl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 7px 14px;
    border-radius: 99px;
    border: 1px solid var(--line);
    background: var(--bg2);
    color: var(--pri);
    font-size: 12px;
    font-weight: 600;
}

/* Artikel terkait (bisa di-scroll kalau banyak) */
.nd-rel {
    display: flex;
    flex-direction: column;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.nd-rel button {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.nd-rel button:first-child {
    padding-top: 0;
}
.nd-rel button:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.nd-rel button:hover b {
    color: var(--acc);
}
.nd-rel b {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    transition: 0.2s;
}
.nd-rel small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 11px;
    color: var(--mut);
}

.nd-rel .th,
.nd-mini .th {
    position: relative;
    flex: none;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #b8d6ff, #7fb0f5);
    color: rgba(10, 47, 116, 0.4);
    display: grid;
    place-items: center;
}
.nd-rel .th {
    width: 84px;
    height: 64px;
}
.nd-mini .th {
    width: 54px;
    height: 54px;
    border-radius: 10px;
}
.nd-rel .th img,
.nd-mini .th img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nd-rel .tx,
.nd-mini .tx {
    flex: 1;
    min-width: 0;
}
.nd-rel .go,
.nd-mini .go {
    position: static;
    flex: none;
    width: 30px;
    height: 30px;
    background: var(--soft);
    color: var(--acc);
}

/* ---------- Strip produk ---------- */
.nd-strip {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
}
.nd-strip .tt {
    flex: none;
    font-family: "Dancing Script", cursive;
    font-size: 24px;
    font-weight: 600;
    color: var(--acc);
    line-height: 1.05;
    transform: rotate(-4deg);
}
.nd-strip .row {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.nd-strip .row::-webkit-scrollbar {
    display: none;
}
.nd-strip .btn {
    flex: none;
    font-size: 12px;
    padding: 10px 18px;
}
.nd-mini {
    flex: 0 0 210px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 14px;
    scroll-snap-align: start;
}
.nd-mini b {
    display: block;
    font-size: 12px;
    line-height: 1.3;
}
.nd-mini small {
    font-size: 11px;
    color: var(--mut);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .nd {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nd-top {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .nd-cover {
        order: -1;
    }
    .nd-cover img {
        max-height: 320px;
    }
    .nd-cover:not(:has(img)) {
        height: 180px;
    }
    .nd-strip {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .nd-strip .row {
        width: 100%;
    }
    .nd-strip .btn {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .nd-card {
        padding: 18px;
    }
    .nd-quote {
        padding: 16px;
    }
    .nd-body {
        font-size: 13.5px;
    }
    .nd-mini {
        flex-basis: 190px;
    }
    .nd-rel .th {
        width: 72px;
        height: 56px;
    }
}

/* =====================================================================
   NAVBAR 
   ===================================================================== */

/* ---------- Logo gambar (putih) dengan latar biru ---------- */
.logo {
    flex: none;
    gap: 12px;
}
.logo-chip {
    flex: none;
    display: grid;
    place-items: center;
    padding: 8px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0a2f74, #1a56c4);
    box-shadow: 0 8px 20px rgba(10, 47, 116, 0.22);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
}
.logo-chip img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
}
.logo-text strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--pri);
    line-height: 1.2;
    white-space: nowrap;
}
.logo-text small {
    display: block;
    font-size: 10.5px;
    color: var(--mut);
    margin-top: 2px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ---------- Menu & search muat satu baris ---------- */
.nav {
    gap: 20px;
}

.nav .links {
    flex: none;
    gap: 24px;
    margin-left: 12px;
    white-space: nowrap;
}
.nav .links a {
    white-space: nowrap;
}

/* search mengecil otomatis kalau ruang sempit */
.nav .search {
    flex: 0 1 220px;
    width: auto;
    min-width: 140px;
}

.nav .ic,
.nav .acct,
.nav .nav-login {
    flex: none;
}

/* Laptop kecil: teks logo disembunyikan, ruang untuk menu */
@media (min-width: 1001px) and (max-width: 1180px) {
    .logo-text {
        display: none;
    }
    .nav {
        gap: 16px;
    }
    .nav .links {
        gap: 18px;
    }
    .nav .search {
        flex-basis: 180px;
    }
}

@media (max-width: 560px) {
    .logo-chip {
        padding: 6px 10px;
    }
    .logo-chip img {
        height: 28px;
    }
}

/* HP kecil: sisakan hanya logo supaya header tidak sesak */
@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
}

/* ---------- Bottom nav ---------- */
.bnav {
    display: none;
}

/* =====================================================================
   DROPDOWN AKUN (navbar)
   ===================================================================== */

.acct {
    position: relative;
    flex: none;
}

.acct-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 5px;
    border-radius: 99px;
    border: 1px solid var(--line);
    background: var(--bg2);
    cursor: pointer;
    transition: 0.2s;
}
.acct-btn:hover {
    border-color: var(--acc);
    background: var(--soft);
}

.acct-av {
    width: 32px;
    height: 32px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--acc), var(--pri));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.acct-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

.acct-btn .chev {
    width: 14px;
    height: 14px;
    color: var(--mut);
    transition: transform 0.2s;
    flex: none;
}
.acct-btn[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.acct-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 80;
    min-width: 240px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg2);
    box-shadow: 0 16px 40px rgba(10, 47, 116, 0.16);
}

.acct-head {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--soft) 50%, var(--bg2));
}
.acct-head b {
    display: block;
    font-size: 13.5px;
    color: var(--pri);
    line-height: 1.3;
}
.acct-head small {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--mut);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acct-menu a,
.acct-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    border: 0;
    background: none;
    cursor: pointer;
    transition: background 0.15s;
}
.acct-menu a .i,
.acct-menu button .i {
    width: 17px;
    height: 17px;
    flex: none;
    color: var(--mut);
}
.acct-menu a:hover,
.acct-menu button:hover {
    background: var(--soft);
}

.acct-menu form {
    margin: 0;
    border-top: 1px solid var(--line);
}
.acct-menu .out {
    color: var(--bad);
}
.acct-menu .out .i {
    color: var(--bad);
}
.acct-menu .out:hover {
    background: var(--bad-soft);
}

@media (max-width: 1000px) {
    :root {
        --bnav-h: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    .search-ic {
        display: grid;
    }

    /* ruang untuk bar bawah */
    body {
        padding-bottom: var(--bnav-h);
    }

    /* elemen melayang naik supaya tidak tertutup bar */
    .fab {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }
    .chatbot {
        bottom: calc(154px + env(safe-area-inset-bottom, 0px));
    }
    .toast {
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }

    /* halaman chat penuh: kurangi tinggi bar bawah */
    .chatpage {
        height: calc(100dvh - 72px - var(--bnav-h));
    }
}

@media (max-width: 560px) {
    /* tombol Masuk tetap tampil walau .nav .btn disembunyikan */
    .nav .btn.nav-login {
        display: inline-flex;
        padding: 8px 16px;
        font-size: 12px;
    }
    .acct-btn {
        padding: 3px;
    }
    .acct-name,
    .acct-btn .chev {
        display: none;
    }
    .acct-menu {
        min-width: 210px;
    }
    .chatpage {
        height: calc(100dvh - 64px - var(--bnav-h));
    }
}

/* =====================================================================
   AUTH (login) 
   ===================================================================== */

.auth {
    padding: 44px 0 70px;
}

.auth-box {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    overflow: hidden;
    border-radius: 28px;
}

/* ---------- Panel brand ---------- */
.auth-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    color: #fff;
    background: linear-gradient(150deg, var(--pri), #1a56c4);
}
.auth-brand > * {
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    align-self: flex-start;
}
.auth-logo .star {
    width: 38px;
    height: 38px;
    color: #fff;
}
.auth-logo b {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.auth-brand .sc {
    font-family: "Dancing Script", cursive;
    font-size: 28px;
    opacity: 0.85;
    line-height: 1;
}
.auth-brand h1 {
    font-size: clamp(24px, 2.8vw, 31px);
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin: 8px 0 12px;
}
.auth-brand p {
    font-size: 13.5px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 380px;
}

.auth-points {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 12px;
}
.auth-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
}
.auth-points li span {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    font-size: 16px;
}

.auth-brand .deco {
    position: absolute;
    z-index: 0;
    right: -50px;
    bottom: -50px;
    width: 260px;
    height: 260px;
    opacity: 0.1;
}

/* ---------- Panel form ---------- */
.auth-form {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg2);
}
.auth-head {
    margin-bottom: 22px;
}
.auth-head h2 {
    font-size: 26px;
    letter-spacing: -0.5px;
    color: var(--pri);
}
.auth-head p {
    font-size: 13px;
    color: var(--mut);
    margin-top: 4px;
}

.auth-alert {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 18px;
}
.auth-alert.ok {
    background: var(--ok-soft);
    color: var(--ok);
    border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent);
}

.auth-fld {
    margin-bottom: 16px;
}
.auth-fld label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-input {
    position: relative;
}
.auth-input > .i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--mut);
    pointer-events: none;
}
.auth-input input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 13.5px;
    outline: 0;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}
.auth-input input::placeholder {
    color: var(--mut);
    opacity: 0.7;
}
.auth-input input:focus {
    border-color: var(--acc);
    background: var(--bg2);
    box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.12);
}
.auth-input input.is-invalid {
    border-color: var(--bad);
    background: var(--bad-soft);
}
.auth-input input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(213, 72, 77, 0.14);
}
.auth-input input[type="password"],
.auth-input input#password {
    padding-right: 48px;
}

.auth-input .toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--mut);
    transition: 0.2s;
}
.auth-input .toggle:hover {
    background: var(--soft);
    color: var(--pri);
}
.auth-input .toggle .i {
    position: static;
    transform: none;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.auth-error {
    font-size: 12px;
    color: var(--bad);
    margin-top: 6px;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 20px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--mut);
    cursor: pointer;
}
.auth-check input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
    border-radius: 6px;
    border: 1.5px solid var(--line);
    background: var(--bg);
    cursor: pointer;
    transition: 0.2s;
}
.auth-check input:checked {
    background-color: var(--acc);
    border-color: var(--acc);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--acc);
}
.auth-link:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}
.auth-foot {
    text-align: center;
    font-size: 12.5px;
    color: var(--mut);
    margin-top: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .auth {
        padding: 28px 0 50px;
    }
    .auth-box {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    /* panel brand jadi band ringkas di atas form */
    .auth-brand {
        padding: 26px 26px 24px;
    }
    .auth-logo {
        margin-bottom: 14px;
    }
    .auth-brand p,
    .auth-points {
        display: none;
    }
    .auth-brand .deco {
        width: 180px;
        height: 180px;
        right: -30px;
        bottom: -40px;
    }

    .auth-form {
        padding: 30px 26px 32px;
    }
}

@media (max-width: 560px) {
    .auth {
        padding: 18px 0 40px;
    }
    .auth-box {
        border-radius: 22px;
    }
    .auth-brand {
        padding: 22px 20px;
    }
    .auth-brand .sc {
        font-size: 24px;
    }
    .auth-form {
        padding: 24px 20px 26px;
    }
    .auth-head h2 {
        font-size: 23px;
    }
}

/* =====================================================================
   AUTH (login)
   ===================================================================== */

.auth {
    padding: 44px 0 70px;
}

.auth-box {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    overflow: hidden;
    border-radius: 28px;
}

/* ---------- Panel brand ---------- */
.auth-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    color: #fff;
    background: linear-gradient(150deg, var(--pri), #1a56c4);
}
.auth-brand > * {
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    align-self: flex-start;
}
.auth-logo .star {
    width: 38px;
    height: 38px;
    color: #fff;
}
.auth-logo b {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.auth-brand .sc {
    font-family: "Dancing Script", cursive;
    font-size: 28px;
    opacity: 0.85;
    line-height: 1;
}
.auth-brand h1 {
    font-size: clamp(24px, 2.8vw, 31px);
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin: 8px 0 12px;
}
.auth-brand p {
    font-size: 13.5px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 380px;
}

.auth-points {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 12px;
}
.auth-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
}
.auth-points li span {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    font-size: 16px;
}

.auth-brand .deco {
    position: absolute;
    z-index: 0;
    right: -50px;
    bottom: -50px;
    width: 260px;
    height: 260px;
    opacity: 0.1;
}

/* ---------- Panel form ---------- */
.auth-form {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg2);
}
.auth-head {
    margin-bottom: 22px;
}
.auth-head h2 {
    font-size: 26px;
    letter-spacing: -0.5px;
    color: var(--pri);
}
.auth-head p {
    font-size: 13px;
    color: var(--mut);
    margin-top: 4px;
}

.auth-alert {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 18px;
}
.auth-alert.ok {
    background: var(--ok-soft);
    color: var(--ok);
    border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent);
}

.auth-fld {
    margin-bottom: 16px;
}
.auth-fld label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-input {
    position: relative;
}
.auth-input > .i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--mut);
    pointer-events: none;
}
.auth-input input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 13.5px;
    outline: 0;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}
.auth-input input::placeholder {
    color: var(--mut);
    opacity: 0.7;
}
.auth-input input:focus {
    border-color: var(--acc);
    background: var(--bg2);
    box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.12);
}
.auth-input input.is-invalid {
    border-color: var(--bad);
    background: var(--bad-soft);
}
.auth-input input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(213, 72, 77, 0.14);
}
.auth-input input[type="password"],
.auth-input input#password,
.auth-input input.has-toggle {
    padding-right: 48px;
}

.auth-input .toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--mut);
    transition: 0.2s;
}
.auth-input .toggle:hover {
    background: var(--soft);
    color: var(--pri);
}
.auth-input .toggle .i {
    position: static;
    transform: none;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.auth-error {
    font-size: 12px;
    color: var(--bad);
    margin-top: 6px;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 20px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--mut);
    cursor: pointer;
}
.auth-check input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
    border-radius: 6px;
    border: 1.5px solid var(--line);
    background: var(--bg);
    cursor: pointer;
    transition: 0.2s;
}
.auth-check input:checked {
    background-color: var(--acc);
    border-color: var(--acc);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--acc);
}
.auth-link:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}
.auth-foot {
    text-align: center;
    font-size: 12.5px;
    color: var(--mut);
    margin-top: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .auth {
        padding: 28px 0 50px;
    }
    .auth-box {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    /* panel brand jadi band ringkas di atas form */
    .auth-brand {
        padding: 26px 26px 24px;
    }
    .auth-logo {
        margin-bottom: 14px;
    }
    .auth-brand p,
    .auth-points {
        display: none;
    }
    .auth-brand .deco {
        width: 180px;
        height: 180px;
        right: -30px;
        bottom: -40px;
    }

    .auth-form {
        padding: 30px 26px 32px;
    }
}

@media (max-width: 560px) {
    .auth {
        padding: 18px 0 40px;
    }
    .auth-box {
        border-radius: 22px;
    }
    .auth-brand {
        padding: 22px 20px;
    }
    .auth-brand .sc {
        font-size: 24px;
    }
    .auth-form {
        padding: 24px 20px 26px;
    }
    .auth-head h2 {
        font-size: 23px;
    }
}

/* ---------- CHATBOT B-DI ---------- */

.fab {
    position: fixed;
    right: 22px;
    bottom: 100px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--acc);
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 10px 28px rgba(30, 100, 180, 0.25);
    z-index: 9999;
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: box-shadow 0.2s ease;
}

.fab:hover {
    box-shadow: 0 14px 32px rgba(30, 100, 180, 0.3);
}

.fab:active {
    cursor: grabbing;
}

.fab svg {
    width: 25px;
    height: 25px;
}

@media (max-width: 560px) {
    .fab {
        width: 52px;
        height: 52px;
        font-size: 24px;
        right: 12px;
        bottom: 90px;
    }
}
