/* =====================================================================
   DUPLINEXO — HOMEPAGE
   Beranda saja. Navbar & footer global ada di layouts/public.blade.php,
   jadi aturan untuk keduanya sengaja tidak disertakan di sini.
   Prefix struktur: .home-*  |  token: --brand-*
   ===================================================================== */

/* =====================================================================
   DUPLINEXO — HOMEPAGE MARKETPLACE PREVIEW
   Visual direction based on the supplied Duplinexo design tokens.
   ===================================================================== */

:root {
  --brand-navy: #1E3A8A;
  --brand-bg: #F7F8FC;
  --brand-ink: #191D29;
  --brand-white: #FFFFFF;
  --brand-body: #525B6B;
  --brand-secondary: #778196;
  --brand-border: #E4E8F0;
  --brand-soft: #E9EEFA;
  --brand-blue-light: #2563eb;
  --font-size-base: 125%;
  --radius-card: 1rem;
  --radius-input: .5rem;
  --shadow-soft: 0 12px 35px rgba(25, 29, 41, .07);
  --shadow-hover: 0 16px 35px rgba(25, 29, 41, .13);
  --font-display: 'Sora', sans-serif;
  --font-ui: 'Instrument Sans', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}


* { box-sizing: border-box; }

html { font-size: var(--font-size-base); scroll-behavior: smooth; scroll-padding-top: 100px; }

body { margin: 0; overflow-x: hidden; background: var(--brand-bg); color: var(--brand-ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }

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

button, input { font: inherit; }

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

.container { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 21px; border: 1px solid transparent; border-radius: var(--radius-input); font: 700 .76rem var(--font-ui); transition: transform .3s cubic-bezier(.25,.8,.25,1), box-shadow .3s ease, background .25s ease, border-color .25s ease; }

.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.button:active { transform: scale(.98); }

.button-primary { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }

.button-primary:hover { background: #173274; }

.button-secondary { background: #fff; border-color: var(--brand-border); color: var(--brand-ink); }

.button-secondary:hover { border-color: #bdc9e6; background: #fbfcff; }

.button-small { min-height: 41px; padding-inline: 15px; font-size: .7rem; }


.hero-section { position: relative; overflow: hidden; padding: 86px 0 91px; background: linear-gradient(115deg, #F7F8FC 0%, #F7F8FC 51%, #F0F3FC 100%); }

.hero-grid-pattern { position: absolute; inset: 0 0 0 48%; opacity: .36; background-image: linear-gradient(rgba(30,58,138,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(30,58,138,.07) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 35%, transparent 100%); }

.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 55px; }

.hero-copy { max-width: 610px; }

.section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-navy); font: 800 .62rem var(--font-ui); letter-spacing: .14em; }

.hero-copy h1 { margin: 25px 0 20px; color: var(--brand-ink); font: 800 clamp(2.65rem, 5.1vw, 4.3rem)/1.13 var(--font-display); letter-spacing: -.075em; }

.hero-copy h1 span, .section-heading h2 span, .why-copy h2 span { color: var(--brand-navy); }

.hero-description { max-width: 545px; margin: 0; color: var(--brand-body); font-size: 1rem; line-height: 1.78; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }

.hero-assurances { display: flex; flex-wrap: wrap; gap: 15px 20px; margin-top: 29px; color: var(--brand-secondary); font: 600 .64rem var(--font-ui); }

.hero-assurances span { display: inline-flex; align-items: center; gap: 7px; }

.check-icon { display: inline-grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: #e2f4eb; color: #16804c; font-size: .62rem; }


/* ---------- HERO VISUAL — layered product showcase ---------- */
.hero-visual { position: relative; }

.hero-stack { position: relative; width: 100%; padding-top: 15%; }

.hero-shot {
    margin: 0;
    /* Sudut PNG-nya sudah membulat sendiri: 93px pada kanvas 1579x838.
       Dinyatakan dalam persen supaya tetap pas saat gambar mengecil. */
    border-radius: 5.903% / 11.122%;
}

/* Gambar memotong sudutnya sendiri, jadi tidak ada sisa putih di lengkungan. */
.hero-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

/* Gambar belakang: sedikit ke kanan atas, lebih kecil. */
.hero-shot-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 74%;
    box-shadow: 0 0 0 1px rgba(25, 29, 41, .10),
                0 20px 44px -18px rgba(22, 42, 89, .34),
                0 6px 16px -10px rgba(25, 29, 41, .22);
}

/* Gambar depan: dominan, sedikit ke kiri bawah, menutup sebagian gambar belakang. */
.hero-shot-front {
    position: relative;
    z-index: 1;
    width: 86%;
    box-shadow: 0 0 0 1px rgba(25, 29, 41, .12),
                0 46px 80px -32px rgba(22, 42, 89, .55),
                0 18px 36px -20px rgba(25, 29, 41, .32),
                0 4px 12px -6px rgba(25, 29, 41, .18);
}

@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; gap: 42px; }
    .hero-section { padding: 64px 0 72px; }
    .hero-visual { padding-inline: 0; }
    .hero-stack { max-width: 560px; margin-inline: auto; padding-top: 13%; }
    .hero-shot-back { width: 76%; }
    .hero-shot-front { width: 88%; }
}

@media (max-width: 560px) {
    .hero-shot-back { width: 80%; }
    .hero-stack { padding-top: 16%; }
    .hero-shot-front { width: 92%; }
}



.section { padding: 92px 0; }

.section-white { background: #fff; }

.section-heading h2, .why-copy h2 { margin: 13px 0 13px; color: var(--brand-ink); font: 800 clamp(2rem, 3.6vw, 3rem)/1.18 var(--font-display); letter-spacing: -.065em; }

.section-heading > p, .section-heading > div > p { max-width: 540px; margin: 0; color: var(--brand-body); font-size: .88rem; line-height: 1.7; }

.heading-with-action { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }

.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-navy); font: 700 .72rem var(--font-ui); white-space: nowrap; }

.text-link span { transition: transform .2s ease; }

.text-link:hover span { transform: translateX(4px); }

/* ---------- KARTU WORKFLOW — sama dengan halaman katalog ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }

.product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 9px rgba(25, 29, 41, .025);
    transition: transform .24s, border-color .24s, box-shadow .24s;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #c8d2e8;
    box-shadow: 0 18px 34px -18px rgba(22, 42, 89, .28);
}

/* --- thumbnail 16:9 --- */
.thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 17px;
    background: #17213c;
}

.thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(255, 255, 255, .055), transparent 45%, rgba(9, 17, 36, .2));
}

.thumb.tone-slate { background: #202b40; }
.thumb.tone-indigo { background: #24234b; }
.thumb.tone-deep { background: #111c30; }
.thumb.tone-light { background: #e9eef8; }
.thumb.tone-soft { background: #e8edf6; }

.thumb-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.25, .8, .25, 1);
}

.product-card:hover .thumb-img { transform: scale(1.04); }

.thumb-art {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-map { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

.node-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.node {
    position: absolute;
    z-index: 2;
    min-width: 64px;
    max-width: 83px;
    padding: 7px 8px;
    border: 1px solid rgba(222, 229, 242, .95);
    border-radius: 7px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 13px rgba(0, 0, 0, .14);
    color: #35415a;
    font: 700 8px 'Instrument Sans', sans-serif;
    line-height: 1.2;
}

.node small { display: block; margin-bottom: 4px; color: #8994a7; font: 600 6px 'Instrument Sans', sans-serif; letter-spacing: .7px; text-transform: uppercase; }

.node .node-icon {
    display: inline-grid;
    place-items: center;
    width: 15px;
    height: 15px;
    margin-right: 4px;
    border-radius: 4px;
    background: #e9efff;
    color: #31569b;
    font-size: 8px;
}

.n1 { left: 3%; top: 24%; }
.n2 { left: 38%; top: 8%; }
.n3 { right: 2%; top: 35%; }
.n4 { left: 37%; bottom: 4%; }
.n2 .node-icon { background: #f0eaff; color: #7658a9; }
.n3 .node-icon { background: #e5f4ed; color: #299364; }
.n4 .node-icon { background: #fff0e4; color: #c47a37; }

.thumb-number { position: absolute; right: 12px; bottom: 9px; z-index: 4; color: rgba(255, 255, 255, .55); font: 600 8px 'Instrument Sans', sans-serif; }

.thumb.tone-light .thumb-number,
.thumb.tone-soft .thumb-number { color: #8792a5; }

/* --- isi kartu --- */
.card-body { flex: 1; display: flex; flex-direction: column; padding: 15px 16px 14px; }

.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }

.category-label {
    padding: 5px 7px;
    border-radius: 5px;
    background: #f0f3f8;
    color: #66738b;
    font: 700 9px 'Instrument Sans', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.access-label { padding: 5px 7px; border-radius: 5px; font: 800 8px 'Instrument Sans', sans-serif; letter-spacing: .65px; text-transform: uppercase; white-space: nowrap; }

.access-label.free { background: #eaf6ef; color: #278057; }

.access-label.premium { background: #e9eefb; color: var(--brand-navy); }

.card-title { min-height: 39px; margin: 0 0 6px; color: #20283a; font: 700 14px/1.4 'Sora', sans-serif; letter-spacing: -.25px; }

.card-title a:hover { color: var(--brand-navy); }

.card-desc {
    min-height: 34px;
    margin: 0 0 12px;
    color: #7a8495;
    font-size: 11px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rating-line { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid #eff1f5; }

.stars { color: #e4a83e; font-size: 11px; letter-spacing: 1px; }

.rating-text { color: #455064; font: 700 10px 'Instrument Sans', sans-serif; }

.rating-count { color: #9aa3b1; font-size: 10px; }

.rating-none { color: #9aa3b1; font: 600 10px 'Instrument Sans', sans-serif; }

.downloads { margin-left: auto; display: flex; align-items: center; gap: 5px; color: #8b94a3; font: 600 9px 'Instrument Sans', sans-serif; white-space: nowrap; }

.downloads svg { width: 12px; height: 12px; }

.card-action { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eff1f5; }

.card-action > a:first-child { color: var(--brand-navy); font: 700 10px 'Instrument Sans', sans-serif; letter-spacing: .2px; transition: color .2s; }

.card-action > a:first-child:hover { color: #173276; }

.arrow-btn {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f0f3fb;
    color: var(--brand-navy);
    transition: background .2s, color .2s, transform .2s;
}

.product-card:hover .arrow-btn { background: var(--brand-navy); color: #fff; transform: translateX(2px); }

.arrow-btn svg { width: 13px; height: 13px; }

.preview-note { margin: 15px 0 0; color: #8993a5; font-size: .62rem; font-style: italic; }


.category-section { background: var(--brand-bg); }

.centered-heading { max-width: 620px; margin: 0 auto 36px; text-align: center; }

.centered-heading .section-kicker { justify-content: center; }

.centered-heading p { margin-inline: auto; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.category-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 230px; padding: 24px 21px; background: #fff; border-radius: 14px; box-shadow: 0 6px 18px -12px rgba(25, 29, 41, .28), 0 2px 6px -4px rgba(25, 29, 41, .16); }

.category-empty { grid-column: 1 / -1; color: var(--brand-body); font-size: .8rem; text-align: center; }

.category-number { color: rgba(25,29,41,.4); font: 800 .53rem var(--font-ui); letter-spacing: .1em; }

.category-symbol { width: 54px; height: 54px; display: grid; place-items: center; margin: 18px auto 0; border: 1px solid var(--brand-border); border-radius: 15px; background: var(--brand-soft); color: var(--brand-navy); }

.category-symbol svg { width: 24px; height: 24px; }

.category-card h3 { margin: 15px 0 7px; color: var(--brand-ink); font: 700 .87rem var(--font-display); letter-spacing: -.03em; }

.category-card p { margin: 0; color: var(--brand-body); font-size: .68rem; line-height: 1.55; }

.category-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--brand-navy); font: 700 .59rem var(--font-ui); }



.why-section { background: #f0f3fa; }

.why-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: center; }

.why-copy h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); }

.why-copy > p { max-width: 510px; margin: 0 0 22px; color: var(--brand-body); font-size: .85rem; line-height: 1.75; }

.why-points { display: grid; gap: 12px; }

.why-point {
    position: relative;
    display: flex;
    gap: 17px;
    padding: 20px 22px;
    border: 1px solid rgba(205, 215, 234, .9);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 2px 10px -7px rgba(25, 29, 41, .18);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.why-point::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--brand-navy);
    opacity: 0;
    transition: opacity .25s ease;
}

.why-point:hover { transform: translateY(-2px); border-color: #c3d0ea; box-shadow: 0 18px 34px -22px rgba(22, 42, 89, .45); }

.why-point:hover::before { opacity: 1; }

.why-point-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand-navy);
}

.why-point-icon svg { width: 22px; height: 22px; }

.why-point-tag { display: block; color: #8490a4; font: 800 .47rem var(--font-ui); letter-spacing: .13em; }

.why-point h3 { margin: 6px 0 6px; color: var(--brand-ink); font: 700 .84rem var(--font-ui); letter-spacing: -.01em; }

.why-point p { margin: 0; color: var(--brand-body); font-size: .7rem; line-height: 1.6; }


.usecase-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }

.usecase-card { overflow: hidden; border: 1px solid var(--brand-border); border-radius: 13px; background: #fff; }

.usecase-illustration { position: relative; height: 175px; overflow: hidden; display: grid; place-items: center; }

.illustration-leads { background: #e8eefb; }
.illustration-content { background: #e8f2ed; }
.illustration-data { background: #efebf9; }

.mini-window { position: relative; z-index: 2; width: 210px; display: grid; gap: 7px; padding: 14px; border: 1px solid #d7e1f2; border-radius: 10px; background: rgba(255,255,255,.88); box-shadow: 0 12px 25px rgba(30,58,138,.09); transform: rotate(-3deg); }

.mini-window > i { position: absolute; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: #b5c3dc; }
.mini-window > i:first-child { right: 32px; }
.mini-window > i:nth-child(2) { right: 22px; }
.mini-window > i:nth-child(3) { right: 12px; }

.mini-window b { margin-bottom: 5px; color: #657694; font: 800 .49rem var(--font-ui); letter-spacing: .1em; }

.mini-window em { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 5px; background: #f1f4fb; color: #62718c; font: normal 600 .56rem var(--font-ui); }
.mini-window em strong { color: #23734e; }

.mini-bubble { position: absolute; right: 16%; bottom: 15%; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #d1dcf1; border-radius: 10px; background: #fff; color: var(--brand-navy); font: 800 .65rem var(--font-ui); }

.content-tile { position: absolute; display: grid; place-items: center; width: 112px; height: 47px; border: 1px solid #cee2d7; border-radius: 8px; background: rgba(255,255,255,.84); color: #507766; font: 800 .51rem var(--font-ui); letter-spacing: .07em; box-shadow: 0 8px 18px rgba(35,115,78,.06); }

.tile-one { top: 24%; left: 11%; transform: rotate(-8deg); }
.tile-two { top: 43%; right: 10%; transform: rotate(6deg); }
.tile-three { bottom: 13%; left: 24%; transform: rotate(-3deg); background: #dff0e6; }

.data-ring { position: absolute; border: 1px solid rgba(104,81,159,.26); border-radius: 50%; }
.ring-one { width: 140px; height: 140px; }
.ring-two { width: 95px; height: 95px; border-style: dashed; }

.data-core { position: relative; z-index: 2; width: 53px; height: 53px; display: grid; place-items: center; border: 1px solid #dbd3f0; border-radius: 50%; background: #fff; color: #69549d; font: 800 .53rem var(--font-ui); }

.data-chip { position: absolute; z-index: 3; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #d9d0ef; border-radius: 8px; background: #fff; color: #69549d; font: 800 .57rem var(--font-ui); }
.chip-one { top: 23%; left: 29%; }
.chip-two { top: 31%; right: 25%; }
.chip-three { bottom: 20%; left: 47%; }

.usecase-text { padding: 16px 17px 18px; }

.usecase-tag { color: #8390a7; font: 800 .48rem var(--font-ui); letter-spacing: .11em; }

.usecase-text h3 { margin: 8px 0 6px; color: var(--brand-ink); font: 700 .88rem var(--font-display); }

.usecase-text p { margin: 0; color: var(--brand-body); font-size: .69rem; line-height: 1.58; }


.faq-section { background: var(--brand-bg); }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }

.faq-intro h2 { font-size: clamp(2rem, 3.3vw, 2.65rem); }

.faq-intro > p { margin-bottom: 22px; }

.faq-list { border-top: 1px solid var(--brand-border); }

.faq-item { border-bottom: 1px solid var(--brand-border); }

.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 0; color: var(--brand-ink); cursor: pointer; list-style: none; font: 700 .77rem var(--font-ui); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary span { width: 25px; height: 25px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--brand-border); border-radius: 50%; color: var(--brand-navy); font-size: .9rem; transition: transform .2s ease, background .2s ease; }

.faq-item[open] summary span { transform: rotate(45deg); background: #fff; }

.faq-item p { max-width: 590px; margin: -3px 35px 18px 0; color: var(--brand-body); font-size: .73rem; line-height: 1.7; }


.final-cta-section { padding: 35px 0 82px; background: var(--brand-bg); }

.final-cta { position: relative; overflow: hidden; min-height: 300px; display: flex; align-items: center; padding: 54px 62px; border: 1px solid #18316f; border-radius: 19px; background: linear-gradient(115deg, #1E3A8A, #173475 70%, #142d68); color: #fff; }

.cta-content { position: relative; z-index: 2; max-width: 690px; }

/* Semua teks CTA putih bersih. */
.cta-kicker { color: #fff; font: 800 .57rem var(--font-ui); letter-spacing: .16em; }

.cta-content h2 { margin: 15px 0 12px; color: #fff; font: 800 clamp(1.75rem, 3.3vw, 2.8rem)/1.2 var(--font-display); letter-spacing: -.06em; }

.cta-content h2 span { color: #fff; }

.cta-content p { max-width: 530px; margin: 0; color: #fff; font-size: .82rem; line-height: 1.7; }

.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* Dua tombol CTA: putih dengan tulisan biru. */
.button-light { background: #fff; border-color: #fff; color: var(--brand-navy); }

.button-light:hover { background: #eef2ff; border-color: #eef2ff; color: #16306e; }

.cta-decoration { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }

.cta-decoration-one { width: 390px; height: 390px; right: -80px; top: -160px; }
.cta-decoration-two { width: 290px; height: 290px; right: -30px; top: -110px; border-style: dashed; }

.cta-mark { position: absolute; right: 6%; top: 50%; width: 190px; height: 190px; display: grid; place-items: center; transform: translateY(-50%); }

/* Pelat putih + bayangan supaya logo tidak menyatu dengan gradasi biru. */
.cta-mark-plate { position: relative; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 42px; background: #fff; box-shadow: 0 26px 52px rgba(6, 16, 42, .40), 0 0 0 1px rgba(255, 255, 255, .55); }

.cta-mark-plate::before { content: ''; position: absolute; inset: -18px; z-index: -1; border-radius: 56px; background: radial-gradient(circle, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 70%); filter: blur(2px); }

.cta-mark-plate img { width: 74%; height: 74%; object-fit: contain; }

/* Di bawah 1000px pelat mulai menabrak teks, jadi disembunyikan. */
@media (max-width: 1000px) {
    .cta-mark { display: none; }
}

/* =====================================================================
   TAMBAHAN — elemen yang tidak ada di file referensi
   (thumbnail asli, rating, empty state)
   ===================================================================== */

.home { display: block; }

.home-empty {
    padding: 54px 26px;
    border: 1px dashed var(--brand-border);
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.home-empty-title {
    margin: 0 0 6px;
    color: var(--brand-ink);
    font: 700 .92rem var(--font-display);
    letter-spacing: -.03em;
}

.home-empty-text { margin: 0; color: var(--brand-secondary); font-size: .74rem; }

/* =====================================================================
   RESPONSIF — beranda
   File ini sebelumnya tidak punya breakpoint sama sekali, sehingga grid
   4 kolom tetap 4 kolom di ponsel. Aturan di bawah hanya menyusun ulang
   grid; tidak mengubah konten.
   ===================================================================== */

@media (max-width: 1024px) {
    .container { padding-inline: 16px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .usecase-grid { grid-template-columns: 1fr 1fr; }
    .usecase-large { grid-column: 1 / -1; }
    .why-layout, .faq-layout { gap: 46px; }
}

@media (max-width: 900px) {
    .section { padding: 64px 0; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-layout, .faq-layout { grid-template-columns: 1fr; gap: 34px; }
    .usecase-grid { grid-template-columns: 1fr; }
    .final-cta { padding: 40px 28px; }
}

@media (max-width: 640px) {
    .section { padding: 52px 0; }
    .product-grid, .category-grid { grid-template-columns: 1fr; }
    .heading-with-action { flex-direction: column; align-items: flex-start; gap: 14px; }
    .category-card { min-height: 0; }
    .why-point { padding: 18px; gap: 14px; }
    .final-cta { padding: 32px 22px; }
    .faq-item p { margin-right: 0; }
}


/* =====================================================================
   ANIMASI BERANDA — fade in + slide up untuk semua objek
   Memakai sistem .reveal dari public.js; di sini hanya jeda berjenjang.
   ===================================================================== */
.js-enabled .home .reveal { transition-duration: .75s; }
.js-enabled .home .reveal.d1 { transition-delay: .08s; }
.js-enabled .home .reveal.d2 { transition-delay: .16s; }
.js-enabled .home .reveal.d3 { transition-delay: .24s; }

/* Kartu dalam grid masuk bergiliran, bukan serempak. */
.js-enabled .home .product-grid > .product-card.reveal:nth-child(2),
.js-enabled .home .category-grid > .category-card.reveal:nth-child(2),
.js-enabled .home .why-points > .why-point.reveal:nth-child(2),
.js-enabled .home .usecase-grid > .usecase-card.reveal:nth-child(2),
.js-enabled .home .faq-list > .faq-item.reveal:nth-child(2) { transition-delay: .09s; }

.js-enabled .home .product-grid > .product-card.reveal:nth-child(3),
.js-enabled .home .category-grid > .category-card.reveal:nth-child(3),
.js-enabled .home .why-points > .why-point.reveal:nth-child(3),
.js-enabled .home .usecase-grid > .usecase-card.reveal:nth-child(3),
.js-enabled .home .faq-list > .faq-item.reveal:nth-child(3) { transition-delay: .18s; }

.js-enabled .home .category-grid > .category-card.reveal:nth-child(4),
.js-enabled .home .faq-list > .faq-item.reveal:nth-child(4) { transition-delay: .27s; }

.js-enabled .home .faq-list > .faq-item.reveal:nth-child(5) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
    .js-enabled .home .reveal { transition-delay: 0s !important; transition-duration: .01s !important; }
}

/* =====================================================================
   KARTU KATEGORI — zoom saat kursor
   Ditempatkan paling akhir + spesifisitas lebih tinggi agar menang atas
   aturan transition .reveal di atas.
   ===================================================================== */
.home .category-grid > .category-card,
.js-enabled .home .category-grid > .category-card {
    transition: transform .32s cubic-bezier(.16, 1, .3, 1), box-shadow .32s ease, opacity .45s ease;
    will-change: transform;
}

.home .category-grid > .category-card:hover,
.js-enabled .home .category-grid > .category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 56px -24px rgba(30, 58, 138, .42), 0 10px 24px -14px rgba(25, 29, 41, .22);
    z-index: 2;
    transition: transform .32s cubic-bezier(.16, 1, .3, 1), box-shadow .32s ease;
}
