/* Konsep 2 — Homepage (prefix .hm-). Komponen umum ada di /assets/v2/css/v2.css. Mockup: HomeV2. */

/* Hero */
.hm-hero .v2-hero__h1 { font-size: 60px; line-height: 1.04; }
.hm-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; width: 100%; padding-top: 20px; border-top: 1px solid rgba(207, 226, 242, .14); color: var(--v2-on-dark); font-size: 14px; }
.hm-trust strong { display: block; color: #ffffff; font-size: 16px; }

/* Produk (panel overlap) */
.hm .v2-head--split > .hm-intro { flex: 0 1 400px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 400px; color: var(--v2-muted); }
.hm .v2-head--split > div:first-child { flex: 1 1 480px; max-width: 620px; }
.hm-products > li { display: flex; }
.hm-product { width: 100%; height: 100%; gap: 14px; padding: 26px; border-radius: 22px; }
.hm-product .v2-ico { width: 56px; height: 56px; }
.hm-product h3 { font-size: 20px; color: var(--v2-ink); }
.hm-product p { flex-grow: 1; font-size: 15px; }
.hm-product .v2-card__foot { margin-top: 0; }
.hm-product__more { display: inline-flex; align-items: center; gap: 6px; color: var(--v2-blue); font-size: 15px; font-weight: 700; }
.hm-product__more .v2-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.hm-product:hover .hm-product__more .v2-icon { transform: translateX(3px); }

/* Domain */
.hm-domain-sec { padding-top: 80px; }
.hm-domain { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 56px 40px; overflow: hidden; border: 1px solid #dceeff; border-radius: var(--v2-r-xl); background: linear-gradient(135deg, var(--v2-blue-tint) 0%, #f6faff 45%, #fff6e2 100%); text-align: center; }
.hm-domain .v2-h2 { max-width: 760px; }
.hm-domain__lead { max-width: 600px; color: var(--v2-muted); }
.hm-domain__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; width: 100%; max-width: 720px; padding: 8px; border: 1px solid var(--v2-line-strong); border-radius: var(--v2-r-pill); background: #ffffff; box-shadow: 0 18px 40px rgba(6, 43, 78, .08); }
.hm-domain__form:focus-within { border-color: var(--v2-blue); }
.hm-domain__form input { min-width: 0; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--v2-r-pill); background: transparent; color: var(--v2-ink); font-size: 17px; font-weight: 500; }
.hm-domain__form input::placeholder { color: var(--v2-faint); }
.hm-domain__form input:focus { outline: none; }
.hm-domain__form input:focus-visible { outline: 3px solid var(--v2-blue); outline-offset: 2px; }
.hm-domain__form .v2-btn { min-height: 52px; }
.hm-domain__form .v2-btn:disabled { opacity: .7; cursor: progress; }
.hm-domain__note { color: var(--v2-muted); font-size: 15px; }

/* Chip harga TLD (di-render main.js: <div><strong>.com<em>Popular</em></strong><span>Rp …</span></div>) */
.hm-domain__tlds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hm-domain__tlds > div { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border: 1px solid var(--v2-line); border-radius: var(--v2-r-pill); background: #ffffff; font-size: 14px; }
.hm-domain__tlds strong { display: inline-flex; align-items: center; gap: 6px; color: var(--v2-ink); font-size: 16px; }
.hm-domain__tlds em { padding: 1px 8px; border-radius: var(--v2-r-pill); background: var(--v2-gold-tint); color: var(--v2-gold-ink); font-size: 11px; font-style: normal; font-weight: 700; }
.hm-domain__tlds span { color: var(--v2-muted); }

/* Hasil cek domain (markup dari main.js) */
.hm-domain .domain-search__result { width: 100%; max-width: 920px; text-align: left; }
.hm-domain .domain-search__result:not(.is-visible) { display: none; }
.hm-domain .domain-search__result.is-error { padding: 14px 18px; border: 1px solid #f6c4c0; border-radius: var(--v2-r-md); background: #fff4f3; color: #a3271d; font-weight: 600; text-align: center; }
.hm-domain .domain-result-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; padding: 24px; border: 1px solid var(--v2-line); border-radius: var(--v2-r-lg); background: #ffffff; box-shadow: 0 18px 40px rgba(6, 43, 78, .08); }
.hm-domain .domain-result-card--loading { display: block; color: var(--v2-muted); font-weight: 600; text-align: center; }
.hm-domain .domain-result-card__main { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hm-domain .domain-result-card__status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: var(--v2-r-pill); background: var(--v2-green-tint); color: var(--v2-green-ink); font-size: 13px; font-weight: 700; }
.hm-domain .is-unavailable .domain-result-card__status { background: var(--v2-gold-tint); color: var(--v2-gold-ink); }
.hm-domain .domain-result-card__status-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: currentColor; font-size: 0; }
.hm-domain .domain-result-card__status-icon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffffff; }
.hm-domain .domain-result-card h3 { color: var(--v2-ink); font-family: var(--v2-font-display); font-size: 26px; font-weight: 800; letter-spacing: -.01em; word-break: break-all; }
.hm-domain .domain-result-card__main h3 span { display: none; }
.hm-domain .domain-result-card p { color: var(--v2-muted); }
.hm-domain .domain-result-card__price { color: var(--v2-ink); font-family: var(--v2-font-display); font-size: 28px; font-weight: 800; }
.hm-domain .domain-result-card__price span { color: var(--v2-muted); font-family: var(--v2-font-body); font-size: 15px; font-weight: 500; }
.hm-domain .domain-result-card__features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hm-domain .domain-result-card__features span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--v2-r-pill); background: var(--v2-alt); color: var(--v2-body); font-size: 13px; font-weight: 600; }
.hm-domain .domain-result-card__features img { width: 18px; height: 18px; }
.hm-domain .domain-result-card__side { padding: 18px; border-radius: var(--v2-r-md); background: var(--v2-alt); }
.hm-domain .domain-result-card__side h3 { margin-bottom: 10px; font-size: 16px; }
.hm-domain .domain-result-card__side ul { list-style: none; display: grid; gap: 6px; }
.hm-domain .domain-result-card__side li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--v2-r-sm); background: #ffffff; font-size: 14px; }
.hm-domain .domain-result-card__side li > span { overflow: hidden; color: var(--v2-ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.hm-domain .domain-result-card__side li strong { color: var(--v2-muted); font-weight: 600; }
.hm-domain .domain-result-card__side li a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--v2-blue); color: #ffffff; font-weight: 700; }
.hm-domain .domain-result-card__side li a:hover { background: var(--v2-blue-hover); }

/* Bento */
.hm-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-tags .v2-chip { font-size: 13px; font-weight: 700; }
.hm-tag-solo { align-self: flex-start; }
.hm-chip-white { background: #ffffff; }
.hm-chat { display: grid; gap: 8px; min-width: 210px; padding: 12px 14px; font-size: 13px; }
.hm-chat__row { display: flex; justify-content: space-between; gap: 12px; }
.hm-chat__row span { color: var(--v2-muted); }
.hm-chat__row:last-child { padding-top: 8px; border-top: 1px solid var(--v2-line); }
.hm-ok { color: var(--v2-green-ink); }

/* Kenapa (foto + statistik) */
.hm-local { right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; max-width: 300px; padding: 18px 20px; }
.hm-local strong { font-family: var(--v2-font-display); font-size: 18px; font-weight: 800; line-height: 1.2; }
.hm-local span { color: var(--v2-muted); font-size: 14px; }
.hm-why__copy { --v2-gap: 22px; align-items: flex-start; }
.hm-values { display: grid; gap: 14px; width: 100%; }
.hm-value { display: flex; align-items: flex-start; gap: 16px; }
.hm-value .v2-ico { border: 1px solid var(--v2-line); }
.hm-value h3 { color: var(--v2-ink); font-size: 17px; font-weight: 700; }
.hm-value p { margin-top: 2px; color: var(--v2-muted); font-size: 15px; }
.hm-stats { --v2-cols: 3; width: 100%; gap: 12px; }

/* Performa (gelap) */
.hm-perf__list { display: grid; gap: 16px; }
.hm-perf__item { flex-direction: row; align-items: flex-start; gap: 18px; padding: 24px; border-radius: var(--v2-r-lg); }
.hm-perf__item h3 { color: #ffffff; font-size: 20px; }
.hm-perf__item p { margin-top: 6px; }
.hm-perf__item strong { color: #ffffff; }
.hm-board { display: grid; gap: 4px; padding: 28px; border: 1px solid var(--v2-on-dark-line); border-radius: var(--v2-r-xl); background: rgba(255, 255, 255, .05); box-shadow: 0 30px 70px rgba(0, 0, 0, .25); color: var(--v2-on-dark); font-size: 15px; }
.hm-board__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #ffffff; font-family: var(--v2-font-display); font-size: 20px; font-weight: 800; }
.hm-board__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--v2-green); box-shadow: 0 0 0 6px rgba(32, 185, 130, .2); }
.hm-board__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--v2-on-dark-line); }
.hm-board__row strong, .hm-board__foot strong { color: #ffffff; }
.hm-board__meter { height: 10px; margin-top: 14px; overflow: hidden; border-radius: var(--v2-r-pill); background: rgba(255, 255, 255, .1); }
.hm-board__meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--v2-green), var(--v2-gold)); }
.hm-board__foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; }
.hm-board__foot strong { font-family: var(--v2-font-display); font-size: 22px; }

/* Testimoni */
.hm-testi-lead { max-width: 560px; color: var(--v2-muted); }

/* Brand */
.hm-brands__list { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.hm-brands__list li { display: flex; align-items: center; justify-content: center; height: 88px; padding: 12px 16px; border: 1px solid var(--v2-line); border-radius: var(--v2-r-md); background: #ffffff; }
.hm-brands__list img { width: auto; max-width: 100%; max-height: 56px; object-fit: contain; }

/* FAQ */
.hm-faq__more { color: var(--v2-muted); }

/* Pembayaran & garansi */
.hm-guarantee h3 { color: var(--v2-ink); font-family: var(--v2-font-display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hm-guarantee p { max-width: 620px; }
.hm-guarantee__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; flex: 1 1 420px; max-width: 520px; }
.hm-guarantee__stats > div { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--v2-line); border-radius: var(--v2-r-md); background: #ffffff; }
.hm-guarantee__stats dt { color: var(--v2-ink); font-family: var(--v2-font-display); font-size: 24px; font-weight: 800; line-height: 1.1; }
.hm-guarantee__stats dd { color: var(--v2-muted); font-size: 14px; }

/* Panduan (konten SEO lama) */
.hm-guide__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.hm-toc { position: sticky; top: 24px; padding: 24px; border: 1px solid var(--v2-line); border-radius: var(--v2-r-lg); background: #ffffff; }
.hm-toc__title { margin-bottom: 12px; color: var(--v2-ink); font-family: var(--v2-font-display); font-size: 16px; font-weight: 800; }
.hm-toc ol { display: grid; gap: 4px; padding-left: 20px; color: var(--v2-faint); font-size: 14px; }
.hm-toc a { display: block; padding: 4px 0; color: var(--v2-body); line-height: 1.4; }
.hm-toc a:hover { color: var(--v2-blue); }
.hm-prose { max-width: 820px; padding: 48px; border: 1px solid var(--v2-line-soft); border-radius: var(--v2-r-xl); background: #ffffff; color: var(--v2-body); font-size: 17px; line-height: 1.75; }
.hm-prose h2 { margin: 48px 0 14px; scroll-margin-top: 110px; color: var(--v2-ink); font-family: var(--v2-font-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hm-prose h2:first-child { margin-top: 0; }
.hm-prose h3 { margin: 30px 0 10px; color: var(--v2-ink); font-family: var(--v2-font-display); font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.hm-prose h4 { margin: 22px 0 8px; color: var(--v2-ink); font-size: 18px; font-weight: 700; }
.hm-prose p + p { margin-top: 14px; }
.hm-prose strong { color: var(--v2-ink); }
.hm-prose ul { display: grid; gap: 8px; margin: 16px 0 0; padding-left: 0; list-style: none; }
.hm-prose li { position: relative; padding-left: 30px; }
.hm-prose li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 14px; height: 8px; border-bottom: 2.5px solid var(--v2-green); border-left: 2.5px solid var(--v2-green); transform: rotate(-45deg); }

@media (max-width: 1024px) {
    .hm-hero .v2-hero__h1 { font-size: 46px; }
    .hm-brands__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hm-guide__grid { grid-template-columns: 1fr; gap: 24px; }
    .hm-toc { position: static; }
    .hm-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
    .hm-prose { max-width: none; }
    .hm-domain .domain-result-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hm-hero .v2-hero__h1 { font-size: 36px; line-height: 1.08; }
    .hm-trust { gap: 12px 24px; }
    .hm-product { padding: 22px; }
    .hm-domain-sec { padding-top: 56px; }
    .hm-domain { padding: 36px 18px; border-radius: var(--v2-r-lg); }
    .hm-domain__form { grid-template-columns: 1fr; border-radius: 20px; }
    .hm-domain__form input { padding: 0 14px; }
    .hm-domain__form .v2-btn { width: 100%; }
    .hm-domain .domain-result-card { padding: 18px; }
    .hm-local { max-width: 240px; padding: 14px 16px; }
    .hm-stats { --v2-cols: 1; }
    .hm-perf__item { flex-direction: column; padding: 20px; }
    .hm-board { padding: 22px; }
    .hm-brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-brands__list li { height: 76px; }
    .hm-guarantee h3 { font-size: 22px; }
    .hm-guarantee__stats { grid-template-columns: 1fr; flex-basis: auto; max-width: none; }
    .hm-toc ol { grid-template-columns: 1fr; }
    .hm-prose { padding: 26px 20px; border-radius: var(--v2-r-lg); font-size: 16px; }
    .hm-prose h2 { margin-top: 36px; font-size: 24px; }
    .hm-prose h3 { font-size: 19px; }
}
