/* =============================================================
   HOME — desain bersih & modern
   Hanya dimuat di halaman utama (body.ds-theme).
   Semua kelas konten memakai awalan .h- agar tidak bentrok
   dengan style.css.
   ============================================================= */

.ds-theme {
    --ink:        #0f172a;
    --ink-2:      #334155;
    --ink-3:      #64748b;
    --line:       #e7e5ef;
    --soft:       #f8f7fc;
    --white:      #ffffff;
    --brand:      #6d28d9;
    --brand-2:    #7c3aed;
    --brand-soft: #f3efff;
    --brand-ink:  #5b21b6;
    --amber:      #f59e0b;
    --radius:     16px;
    --radius-lg:  24px;
    --shadow-sm:  0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.04);
    --shadow:     0 12px 32px -12px rgba(15,23,42,.14);
    --shadow-lg:  0 30px 60px -20px rgba(76,29,149,.25);
    --font-head:  'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    font-family: var(--font-body);
    color: var(--ink-2);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
html:has(body.ds-theme) { scroll-behavior: smooth; scroll-padding-top: 84px; }

.ds-theme h1, .ds-theme h2, .ds-theme h3, .ds-theme h4 { font-family: var(--font-head); color: var(--ink); letter-spacing: -.02em; }

.h-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─────────────────────────── NAVBAR ─────────────────────────── */
.ds-theme .navbar {
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(231,229,239,.8);
    box-shadow: none;
}
.ds-theme .nav-inner { height: 72px; max-width: 1200px; }
.ds-theme .brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head);
    font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em;
}
.ds-theme .brand-mark {
    width: 34px; height: 34px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.ds-theme .brand-mark img { width: 22px; height: 22px; object-fit: contain; }
.ds-theme .nav-links { gap: 2px; }
.ds-theme .nav-links a {
    color: var(--ink-3); font-size: .92rem; font-weight: 500;
    padding: 8px 14px; border-radius: 10px;
}
.ds-theme .nav-links a:hover,
.ds-theme .nav-links a.active { color: var(--ink); background: var(--soft); }
.ds-theme .nav-links .nav-cta {
    margin-left: 10px;
    background: var(--ink) !important; color: #fff !important;
    border-radius: 10px !important; padding: 10px 18px !important;
}
.ds-theme .nav-links .nav-cta:hover { background: var(--brand) !important; }
.ds-theme .nav-member {
    margin-left: 10px;
    background: var(--brand-soft) !important; border: 1px solid #e4dbff !important;
    color: var(--brand-ink) !important;
}
.ds-theme .nav-toggle span { background: var(--ink); transition: transform .2s, opacity .2s; }
.ds-theme .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ds-theme .nav-toggle.open span:nth-child(2) { opacity: 0; }
.ds-theme .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
    .ds-theme .nav-inner { height: 64px; }
    .ds-theme .nav-links {
        top: 64px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px -20px rgba(15,23,42,.25);
        padding: 12px 16px 18px;
    }
    .ds-theme .nav-links a { padding: 12px 14px; font-size: 1rem; }
    .ds-theme .nav-links .nav-cta,
    .ds-theme .nav-member { margin: 8px 0 0; text-align: center; justify-content: center; }
}

/* ─────────────────────────── BUTTONS ─────────────────────────── */
.h-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: .95rem; font-weight: 600; line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
    white-space: nowrap;
}
.h-btn svg { width: 18px; height: 18px; }
.h-btn:active { transform: translateY(1px); }
.h-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(109,40,217,.7); }
.h-btn-primary:hover { background: var(--brand-ink); box-shadow: 0 12px 24px -10px rgba(109,40,217,.8); }
.h-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.h-btn-ghost:hover { border-color: #cfc8e6; background: var(--soft); }
.h-btn-outline { background: #fff; color: var(--brand); border-color: #d9ccff; }
.h-btn-outline:hover { background: var(--brand-soft); }
.h-btn-white { background: #fff; color: var(--brand-ink); }
.h-btn-white:hover { background: #f5f3ff; }
.h-btn-white svg { color: #16a34a; }
.h-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.h-btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.h-btn-sm { padding: 10px 16px; font-size: .87rem; border-radius: 10px; }
.h-btn-block { width: 100%; }

.h-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: .93rem; }
.h-link svg { width: 16px; height: 16px; transition: transform .18s; }
.h-link:hover svg { transform: translateX(3px); }

/* ─────────────────────────── SECTION BASE ─────────────────────────── */
.h-section { padding: 104px 0; }
.h-section-soft { background: var(--soft); }
.h-section-tight { padding: 40px 0 104px; }

.h-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.h-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.h-head p { color: var(--ink-3); font-size: 1.05rem; line-height: 1.65; }
.h-head p a { color: var(--brand); font-weight: 600; }
.h-head-left { text-align: left; margin: 0; }
.h-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; max-width: none; flex-wrap: wrap; }
.h-head-row h2 { margin-bottom: 0; }

.h-kicker {
    display: inline-block;
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 12px;
}

.h-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.h-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ddd6f3; }

.h-icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    flex-shrink: 0;
}
.h-icon svg { width: 22px; height: 22px; }
.h-icon-sm { width: 28px; height: 28px; border-radius: 8px; }
.h-icon-sm svg { width: 15px; height: 15px; }

.h-noimg { width: 100%; height: 100%; background: linear-gradient(135deg, #f3efff, #e9e4fb); }
.h-empty { text-align: center; color: var(--ink-3); }

/* ─────────────────────────── HERO ─────────────────────────── */
.h-hero {
    position: relative;
    padding: 88px 0 96px;
    overflow: hidden;
    background:
        radial-gradient(60% 60% at 85% 10%, rgba(167,139,250,.18), transparent 70%),
        radial-gradient(50% 50% at 0% 100%, rgba(196,181,253,.16), transparent 70%),
        #fff;
}
.h-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
    mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}
.h-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }

.h-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 10px; margin-bottom: 22px;
    border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font-size: .84rem; font-weight: 500; color: var(--ink-2);
    box-shadow: var(--shadow-sm);
}
.h-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }

.h-hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    margin-bottom: 22px;
}
.h-hero h1 span {
    background: linear-gradient(90deg, var(--brand), #a855f7);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.h-lead { font-size: 1.12rem; line-height: 1.7; color: var(--ink-3); max-width: 540px; margin-bottom: 32px; }
.h-lead strong { color: var(--ink); font-weight: 600; }
.h-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.h-actions .h-btn { padding: 15px 24px; }

.h-hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.h-hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.h-hero-points svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #dcfce7; color: #16a34a; }

/* Visual */
.h-hero-visual { position: relative; }
.h-browser {
    position: relative;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform .5s ease;
}
.h-hero-visual:hover .h-browser { transform: perspective(1400px) rotateY(0) rotateX(0); }
.h-browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfaff; }
.h-browser-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #e5e1f0; }
.h-browser-bar > span:nth-child(1) { background: #fca5a5; }
.h-browser-bar > span:nth-child(2) { background: #fcd34d; }
.h-browser-bar > span:nth-child(3) { background: #86efac; }
.h-browser-url {
    flex: 1; margin-left: 12px; padding: 5px 12px; border-radius: 8px;
    background: #fff; border: 1px solid var(--line);
    font-size: .75rem; color: var(--ink-3); max-width: 260px;
}
.h-browser-body { aspect-ratio: 16 / 10.5; background: #fff; }
.h-browser-body img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.h-browser-banner { aspect-ratio: 1672 / 941; } /* banner 16:9 tampil utuh, tidak terpotong */

.h-skel { padding: 18px; height: 100%; display: flex; flex-direction: column; gap: 16px; }
.h-skel b, .h-skel i, .h-skel em { display: block; border-radius: 6px; background: #efecf7; }
.h-skel-nav { display: flex; align-items: center; gap: 10px; }
.h-skel-nav i { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); }
.h-skel-nav b { width: 48px; height: 8px; margin-left: auto; }
.h-skel-nav b + b { margin-left: 0; }
.h-skel-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 8%; border-radius: 12px; background: linear-gradient(135deg, #f6f3ff, #fff); }
.h-skel-hero b { height: 14px; }
.h-skel-hero em { width: 120px; height: 30px; margin-top: 8px; background: var(--brand); opacity: .85; border-radius: 8px; }
.h-skel-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.h-skel-cards i { height: 64px; border-radius: 10px; }

.h-float {
    position: absolute;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    animation: hFloat 6s ease-in-out infinite;
}
.h-float small { display: block; font-size: .7rem; color: var(--ink-3); font-weight: 500; }
.h-float strong { display: block; font-size: .85rem; color: var(--ink); font-weight: 700; font-family: var(--font-head); }
.h-float-a { right: -18px; bottom: -30px; } /* pojok kanan bawah: area laptop/ombak banner, tidak menutupi teks */
.h-float-b { right: -18px; top: -18px; animation-delay: -3s; }
.h-float-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #dcfce7; color: #16a34a; }
.h-float-icon svg { width: 18px; height: 18px; }
.h-float-icon-amber { background: #fef3c7; color: var(--amber); font-size: 1rem; }
@keyframes hFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ─────────────────────────── TRUST ─────────────────────────── */
.h-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.h-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.h-trust-grid > div { padding: 26px 24px; display: flex; flex-direction: column; gap: 3px; border-left: 1px solid var(--line); }
.h-trust-grid > div:first-child { border-left: none; padding-left: 0; }
.h-trust strong { font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.h-trust span { font-size: .87rem; color: var(--ink-3); }

/* ─────────────────────────── PRODUK ─────────────────────────── */
.h-produk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-produk { display: flex; flex-direction: column; overflow: hidden; }
.h-produk-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.h-produk-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.h-produk:hover .h-produk-img img { transform: scale(1.04); }
.h-badge-diskon { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .75rem; font-weight: 700; }
.h-produk-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.h-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: .74rem; font-weight: 600; margin-bottom: 12px; }
.h-produk h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.h-produk p { color: var(--ink-3); font-size: .93rem; line-height: 1.6; margin-bottom: 18px; }
.h-produk-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; margin-bottom: 18px; }
.h-produk-price strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }
.h-produk-price s { font-size: .9rem; color: #94a3b8; }
.h-produk-actions { display: flex; gap: 10px; }
.h-produk-actions .h-btn { flex: 1; }

/* Gambar produk bisa ditekan */
.h-produk-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; }
.h-produk-img .h-produk-open img { object-position: top center; }
.h-zoom {
    position: absolute; right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 11px; border-radius: 999px;
    background: rgba(15,23,42,.72); color: #fff;
    font-size: .76rem; font-weight: 600;
    backdrop-filter: blur(6px);
    opacity: .92; transition: opacity .18s, transform .18s;
}
.h-zoom svg { width: 15px; height: 15px; }
.h-produk:hover .h-zoom { opacity: 1; transform: translateY(-2px); }

.h-produk-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 22px 0; }
.h-produk-thumbs .h-produk-open {
    aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden;
    border: 1px solid var(--line); background: var(--soft);
    transition: border-color .18s, transform .18s;
}
.h-produk-thumbs .h-produk-open:hover { border-color: var(--brand); transform: translateY(-1px); }
.h-produk-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Deskripsi kartu dipotong 4 baris; lengkapnya di "Lihat detail" */
.h-produk p.h-produk-desc {
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 6px;
}
.h-produk-more {
    align-self: flex-start; margin-bottom: 18px; padding: 0; border: 0; background: none;
    color: var(--brand); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
}
.h-produk-more:hover { text-decoration: underline; }
.h-produk-more.h-produk-open { width: auto; height: auto; }

/* ─────────────────────────── LIGHTBOX ─────────────────────────── */
.h-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.h-lb[hidden] { display: none; }
.h-lb-backdrop { position: absolute; inset: 0; background: rgba(10,8,20,.78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.h-lb-dialog {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
    width: 100%; max-width: 1180px; max-height: calc(100vh - 48px);
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
    opacity: 0; transform: translateY(12px) scale(.98);
    transition: opacity .2s, transform .2s;
}
.h-lb.is-open .h-lb-backdrop { opacity: 1; }
.h-lb.is-open .h-lb-dialog { opacity: 1; transform: none; }

.h-lb-close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.h-lb-close svg { width: 18px; height: 18px; }
.h-lb-close:hover { background: var(--soft); }

.h-lb-media { display: flex; flex-direction: column; background: #0f0d17; min-height: 0; }
.h-lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.h-lb-stage img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.h-lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.92); border: 0; color: var(--ink); cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    transition: background .18s, transform .18s;
}
.h-lb-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.h-lb-nav svg { width: 20px; height: 20px; }
.h-lb-prev { left: 14px; }
.h-lb-next { right: 14px; }
.h-lb-count {
    position: absolute; left: 14px; bottom: 14px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(0,0,0,.55); color: #fff; font-size: .78rem; font-weight: 600;
}
.h-lb.is-single .h-lb-nav, .h-lb.is-single .h-lb-count, .h-lb.is-single .h-lb-thumbs { display: none; }

.h-lb-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: #0f0d17; border-top: 1px solid rgba(255,255,255,.08); }
.h-lb-thumbs button {
    flex: 0 0 96px; aspect-ratio: 16 / 10; padding: 0; border-radius: 8px; overflow: hidden;
    border: 2px solid transparent; background: #1c1928; cursor: pointer; opacity: .55;
    transition: opacity .18s, border-color .18s;
}
.h-lb-thumbs button:hover { opacity: .85; }
.h-lb-thumbs button.is-active { opacity: 1; border-color: #a78bfa; }
.h-lb-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.h-lb-info { display: flex; flex-direction: column; padding: 32px 28px 28px; overflow-y: auto; min-height: 0; }
.h-lb-info .h-tag[hidden] { display: none; }
.h-lb-info h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.25; margin: 0 40px 12px 0; }
.h-lb-info .h-produk-price { margin: 0 0 18px; }
.h-lb-desc { color: var(--ink-3); font-size: .95rem; line-height: 1.7; margin-bottom: 24px; }
.h-lb-info .h-produk-actions { margin-top: auto; }

@media (max-width: 860px) {
    .h-lb { padding: 0; align-items: stretch; }
    .h-lb-dialog { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); max-height: 100vh; height: 100%; border-radius: 0; }
    .h-lb-stage { min-height: 42vh; }
    .h-lb-stage img { max-height: 52vh; }
    .h-lb-nav { width: 38px; height: 38px; }
    .h-lb-thumbs button { flex-basis: 76px; }
    .h-lb-info { padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
    .h-lb-info h3 { font-size: 1.2rem; margin-right: 0; }
    .h-lb-close { top: 10px; right: 10px; }
}

/* ─────────────────────────── LAYANAN ─────────────────────────── */
.h-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-service { padding: 28px; display: flex; flex-direction: column; }
.h-service h3 { font-size: 1.1rem; font-weight: 700; margin: 20px 0 8px; }
.h-service p { color: var(--ink-3); font-size: .94rem; line-height: 1.65; flex: 1; }
.h-meta { margin-top: 18px; font-size: .8rem; font-weight: 600; color: var(--ink-3); padding-top: 16px; border-top: 1px dashed var(--line); }

/* ─────────────────────────── PORTOFOLIO ─────────────────────────── */
.h-porto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-porto { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .22s, box-shadow .22s; }
.h-porto:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.h-porto-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.h-porto-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.h-porto:hover .h-porto-img img { transform: scale(1.04); }
.h-porto-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; }
.h-porto-label svg { width: 18px; height: 18px; color: var(--ink-3); transition: transform .18s, color .18s; }
.h-porto:hover .h-porto-label svg { transform: translateX(3px); color: var(--brand); }

/* ─────────────────────────── HARGA ─────────────────────────── */
.h-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.h-price {
    position: relative;
    display: flex; flex-direction: column;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.h-price.is-popular { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.h-price-badge {
    position: absolute; top: -13px; left: 28px;
    padding: 5px 12px; border-radius: 999px;
    background: var(--brand); color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.h-price-name { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.h-price-amount { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px; }
.h-price-amount span { font-size: .95rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 2px; }
.h-price-desc { color: var(--ink-3); font-size: .93rem; line-height: 1.6; margin-bottom: 24px; min-height: 3.2em; }
.h-price-features { list-style: none; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.h-price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.h-price-features svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* ─────────────────────────── PROSES ─────────────────────────── */
.h-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.h-steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.h-steps li > span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--ink); color: #fff;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem;
    margin-bottom: 18px;
}
.h-steps li:first-child > span { background: var(--brand); }
.h-steps li:not(:last-child)::after {
    content: ''; position: absolute; top: 50px; right: -21px; width: 22px; height: 2px;
    background: repeating-linear-gradient(90deg, #cfc8e6 0 4px, transparent 4px 8px);
}
.h-steps h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.h-steps p { color: var(--ink-3); font-size: .92rem; line-height: 1.6; }

/* ─────────────────────────── FITUR (split) ─────────────────────────── */
.h-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.h-split-text h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.h-split-text p { color: var(--ink-3); font-size: 1.05rem; line-height: 1.7; margin-bottom: 28px; }
.h-feature-list { list-style: none; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-sm); }
.h-feature-list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 12px; transition: background .18s; }
.h-feature-list li:hover { background: var(--soft); }
.h-feature-list h4 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.h-feature-list p { font-size: .9rem; color: var(--ink-3); line-height: 1.55; }

/* ─────────────────────────── TESTIMONI ─────────────────────────── */
.h-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-testi { padding: 28px; margin: 0; display: flex; flex-direction: column; }
.h-stars { color: var(--amber); letter-spacing: 3px; font-size: 1rem; margin-bottom: 16px; }
.h-testi blockquote { font-size: .98rem; line-height: 1.7; color: var(--ink-2); flex: 1; margin-bottom: 22px; font-style: normal; }
.h-testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.h-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-family: var(--font-head); flex-shrink: 0; }
.h-testi figcaption strong { display: block; color: var(--ink); font-size: .93rem; }
.h-testi figcaption small { display: block; color: var(--ink-3); font-size: .82rem; }

/* ─────────────────────────── FAQ ─────────────────────────── */
.h-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.h-faq-wrap .h-head { position: sticky; top: 104px; }
.h-faq { display: flex; flex-direction: column; gap: 12px; }
.h-faq details {
    background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0;
    box-shadow: none; overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.h-faq details:hover { box-shadow: var(--shadow-sm); border-color: #ddd6f3; }
.h-faq details[open] { border-color: #d4c7fb; box-shadow: var(--shadow-sm); }
.h-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 22px; cursor: pointer; list-style: none;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after {
    content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
    background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%230f172a' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat;
    transition: transform .2s, background-color .2s;
    font-size: 0;
}
.h-faq details[open] summary { color: var(--brand-ink); }
.h-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-soft); }
.h-faq details > p { padding: 0 22px 22px; color: var(--ink-3); line-height: 1.7; font-size: .95rem; }

/* ─────────────────────────── ARTIKEL ─────────────────────────── */
.h-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-blog { overflow: hidden; display: flex; flex-direction: column; }
.h-blog-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.h-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.h-blog:hover .h-blog-img img { transform: scale(1.04); }
.h-blog-body { padding: 22px; }
.h-blog time { font-size: .8rem; color: var(--ink-3); font-weight: 500; }
.h-blog h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.4; margin: 8px 0 10px; }
.h-blog h3 a:hover { color: var(--brand); }
.h-blog p { font-size: .92rem; color: var(--ink-3); line-height: 1.6; }

/* ─────────────────────────── CTA ─────────────────────────── */
.h-cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: 56px;
    border-radius: 28px;
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #8b5cf6 100%);
    color: #fff;
}
.h-cta::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
    mask-image: linear-gradient(90deg, transparent, #000);
    pointer-events: none;
}
.h-cta > * { position: relative; }
.h-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; max-width: 560px; margin-bottom: 12px; }
.h-cta p { color: rgba(255,255,255,.82); font-size: 1.02rem; max-width: 520px; line-height: 1.6; }
.h-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h-cta-actions .h-btn { padding: 15px 24px; }

/* ─────────────────────────── FOOTER (halaman utama) ─────────────────────────── */
.ds-theme .fv2-main { background: #fff; border-top: 1px solid var(--line); }
.ds-theme .fv2-logo-icon { background: var(--brand-soft); border: none; color: var(--brand); }
.ds-theme .fv2-logo-name { color: var(--ink); font-family: var(--font-head); }
.ds-theme .fv2-logo-sub  { color: var(--brand); }
.ds-theme .fv2-desc { color: var(--ink-3); }
.ds-theme .fv2-col-head { color: var(--ink); font-family: var(--font-head); }
.ds-theme .fv2-links a { color: var(--ink-3); border-bottom: none; padding: 6px 0; }
.ds-theme .fv2-links a:hover { color: var(--brand); padding-left: 0; }
.ds-theme .fv2-contact-item,
.ds-theme .fv2-contact-item a { color: var(--ink-3); }
.ds-theme .fv2-contact-item svg { color: var(--brand); }
.ds-theme .fv2-contact-item a:hover { color: var(--brand); }
.ds-theme .fv2-bottom { background: var(--soft); border-top: 1px solid var(--line); }
.ds-theme .fv2-social-btn { background: #fff; border-color: var(--line); color: var(--ink-3); }
.ds-theme .fv2-social-btn:hover { background: var(--brand-soft); color: var(--brand); border-color: #d9ccff; }
.ds-theme .fv2-social-wa:hover { background: #dcfce7; color: #16a34a; border-color: #bbf7d0; }
.ds-theme .fv2-bottom-row,
.ds-theme .fv2-legal-links a { color: var(--ink-3); }
.ds-theme .fv2-legal-links a:hover { color: var(--ink); }
.ds-theme .fv2-legal-links span { color: #cbd5e1; }

/* ─────────────────────────── RESPONSIVE ─────────────────────────── */
@media (max-width: 1080px) {
    .h-hero-grid { gap: 48px; }
    .h-float-a { right: -6px; }
    .h-float-b { right: -6px; }
    .h-steps { grid-template-columns: repeat(2, 1fr); }
    .h-steps li::after { display: none; }
    .h-split, .h-faq-wrap { gap: 48px; }
}

@media (max-width: 960px) {
    .h-section { padding: 80px 0; }
    .h-hero { padding: 56px 0 72px; }
    .h-hero-grid { grid-template-columns: 1fr; }
    .h-hero-text { text-align: center; }
    .h-lead { margin-left: auto; margin-right: auto; }
    .h-actions, .h-hero-points { justify-content: center; }
    .h-hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
    .h-browser { transform: none; }

    .h-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .h-trust-grid > div { padding: 22px 20px; border-left: none; border-top: 1px solid var(--line); }
    .h-trust-grid > div:nth-child(-n+2) { border-top: none; }
    .h-trust-grid > div:nth-child(odd) { padding-left: 0; }
    .h-trust-grid > div:nth-child(even) { border-left: 1px solid var(--line); }

    .h-produk-grid, .h-service-grid, .h-porto-grid, .h-testi-grid, .h-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .h-split, .h-faq-wrap { grid-template-columns: 1fr; }
    .h-faq-wrap .h-head { position: static; text-align: center; margin: 0 auto 8px; }
    .h-split-text { text-align: center; }
    .h-cta { padding: 44px 36px; }
}

@media (max-width: 640px) {
    .h-container { padding: 0 18px; }
    .h-section { padding: 64px 0; }
    .h-section-tight { padding: 24px 0 64px; }
    .h-head { margin-bottom: 36px; }
    .h-head p { font-size: .98rem; }

    .h-hero { padding: 40px 0 56px; }
    .h-eyebrow { font-size: .78rem; }
    .h-lead { font-size: 1rem; }
    .h-actions { flex-direction: column; }
    .h-actions .h-btn { width: 100%; }
    .h-hero-points { flex-direction: column; align-items: center; gap: 8px; }
    .h-float { padding: 9px 12px; }
    .h-float strong { font-size: .76rem; }
    .h-float-icon { width: 28px; height: 28px; }
    .h-float-a { right: -6px; bottom: -24px; }
    .h-float-b { right: -6px; top: -20px; }

    .h-trust-grid > div { padding: 18px 14px; }
    .h-trust strong { font-size: .92rem; }
    .h-trust span { font-size: .8rem; }

    .h-produk-grid, .h-service-grid, .h-porto-grid, .h-testi-grid, .h-blog-grid, .h-steps { grid-template-columns: 1fr; gap: 16px; }
    .h-service, .h-testi { padding: 22px; }
    .h-price { padding: 28px 22px; }
    .h-price-desc { min-height: 0; }
    .h-produk-actions { flex-direction: column; }
    .h-head-row { align-items: flex-start; }

    .h-cta { padding: 36px 24px; border-radius: 22px; text-align: center; justify-content: center; }
    .h-cta h2, .h-cta p { margin-left: auto; margin-right: auto; }
    .h-cta-actions { width: 100%; flex-direction: column; }
    .h-cta-actions .h-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .h-float { animation: none; }
    .h-card, .h-porto, .h-browser, .h-produk-img img, .h-porto-img img, .h-blog-img img { transition: none; }
    html:has(body.ds-theme) { scroll-behavior: auto; }
}
