/* Landing page handayanifiber.net — bahasa desain sama dengan login/portal aplikasi HFM
   (kobalt #0055a5, gelap #00305f, langit #2ea3dd; hero gradien + cincin + cahaya blur, kaca, ikon duotone). */
:root {
  --brand: #0055a5; --brand-dark: #00305f; --sky: #2ea3dd; --cyan: #22d3ee;
  --ink: #0f172a; --muted: #5b6475; --line: #e6ebf3; --soft: #f1f5fa; --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
img { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 24px; }
.kicker { color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 40px; max-width: 640px; }
.muted { color: var(--muted); margin-top: 20px; }

/* ikon (gaya plumpy duotone aplikasi) */
.i { width: 20px; height: 20px; flex: none; fill: currentColor; fill-opacity: .2; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.i .o, .i use { }
svg .o { fill: none; }

/* tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 650; font-size: 15px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn .i { width: 18px; height: 18px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--brand); box-shadow: 0 12px 28px -12px rgb(0 0 0 / .45); }
.btn-glass { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .28); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / .2); }
.btn-primary { background: linear-gradient(135deg, #0a6cc0, var(--brand)); color: #fff; box-shadow: 0 14px 26px -12px rgb(0 85 165 / .65); }
.btn-soft { background: #e2eff9; color: var(--brand); }
.btn-soft:hover { background: #d3e7f7; }

/* kotak ikon berwarna (seperti m-tile di aplikasi) */
.tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 15px; flex: none; }
.tile .i { width: 24px; height: 24px; }
.tile.sm { width: 34px; height: 34px; border-radius: 11px; }
.tile.sm .i { width: 18px; height: 18px; }
.t-blue { background: #e2eff9; color: #0055a5; }
.t-sky { background: #def3fc; color: #0a86c2; }
.t-indigo { background: #e7e9fd; color: #4054d6; }
.t-cyan { background: #dcf7fb; color: #0891a8; }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #00244a 0%, var(--brand-dark) 35%, var(--brand) 100%); border-radius: 0 0 44px 44px; padding-bottom: 120px; }
.deco { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at calc(100% - 120px) 60px, transparent 158.5px, rgb(255 255 255 / .1) 158.5px, rgb(255 255 255 / .1) 160px, transparent 160px),
    radial-gradient(circle at calc(100% - 120px) 60px, transparent 278.5px, rgb(255 255 255 / .09) 278.5px, rgb(255 255 255 / .09) 280px, transparent 280px),
    radial-gradient(circle at calc(100% - 120px) 60px, transparent 398.5px, rgb(255 255 255 / .08) 398.5px, rgb(255 255 255 / .08) 400px, transparent 400px),
    radial-gradient(circle at calc(100% - 120px) 60px, transparent 518.5px, rgb(255 255 255 / .06) 518.5px, rgb(255 255 255 / .06) 520px, transparent 520px),
    radial-gradient(rgb(255 255 255 / .16) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask: linear-gradient(#000, #000) top / 100% 100% no-repeat;
}
.deco::before, .deco::after { content: ""; position: absolute; border-radius: 50%; filter: blur(100px); }
.deco::before { width: 620px; height: 620px; right: -120px; top: -300px; background: var(--sky); opacity: .55; }
.deco::after { width: 520px; height: 520px; left: -200px; bottom: -260px; background: var(--cyan); opacity: .22; }

.nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 32px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; font-size: 18px; color: inherit; letter-spacing: -0.01em; }
.brand img { border-radius: 12px; background: #fff; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { color: rgb(255 255 255 / .78); font-size: 15px; font-weight: 500; }
.links a:hover { color: #fff; }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-top: 56px; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(6px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #7dd3fc; box-shadow: 0 0 0 4px rgb(125 211 252 / .25); }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 22px 0 20px; font-weight: 800; }
.grad { background: linear-gradient(90deg, #9fdcff, #e0f4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: rgb(255 255 255 / .82); max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; color: rgb(255 255 255 / .85); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .i { width: 18px; height: 18px; color: #7dd3fc; }

.hero-card { position: relative; padding: 30px; border-radius: 28px; background: linear-gradient(160deg, rgb(255 255 255 / .18), rgb(255 255 255 / .06)); border: 1px solid rgb(255 255 255 / .24); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); }
.hc-top { display: flex; justify-content: space-between; align-items: center; }
.hc-tag { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .16); }
.hc-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 14px; align-items: center; justify-content: center; background: rgb(255 255 255 / .16); }
.hc-icon .i { width: 22px; height: 22px; }
.hc-name { margin-top: 22px; color: rgb(255 255 255 / .75); font-weight: 600; }
.hc-speed { font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.hc-speed span { font-size: 24px; font-weight: 700; margin-left: 8px; letter-spacing: 0; color: rgb(255 255 255 / .8); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin: 24px 0; }
.bars i { flex: 1; border-radius: 6px; background: linear-gradient(to top, rgb(125 211 252 / .35), rgb(255 255 255 / .85)); }
.bars i:nth-child(1) { height: 22%; } .bars i:nth-child(2) { height: 30%; } .bars i:nth-child(3) { height: 38%; } .bars i:nth-child(4) { height: 46%; }
.bars i:nth-child(5) { height: 52%; } .bars i:nth-child(6) { height: 60%; } .bars i:nth-child(7) { height: 66%; } .bars i:nth-child(8) { height: 74%; }
.bars i:nth-child(9) { height: 80%; } .bars i:nth-child(10) { height: 88%; } .bars i:nth-child(11) { height: 94%; } .bars i:nth-child(12) { height: 100%; }
.hc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .18); }
.hc-price { font-size: 26px; font-weight: 800; }
.hc-per { font-size: 13px; color: rgb(255 255 255 / .7); }

/* kartu angka mengambang di tepi bawah hero */
.stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -64px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgb(0 48 95 / .35); }
.stat b { display: block; font-size: 19px; letter-spacing: -0.01em; }
.stat span:not(.tile) { font-size: 13px; color: var(--muted); }

/* keunggulan */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s; }
.feature:hover { border-color: #b8d7ef; transform: translateY(-2px); box-shadow: 0 20px 36px -26px rgb(0 48 95 / .4); }
.feature h3 { font-size: 18px; margin: 20px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.band { background: var(--soft); }

/* paket */
.plans { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: stretch; }
.plan { position: relative; padding: 36px; border-radius: 28px; background: #fff; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--sky), var(--brand)); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 30px 60px -36px rgb(0 48 95 / .45); }
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.plan-name { font-weight: 700; color: var(--muted); }
.plan-speed { font-size: 64px; font-weight: 800; line-height: 1.05; color: var(--brand); letter-spacing: -0.04em; }
.plan-speed span { font-size: 22px; letter-spacing: 0; }
.badge { font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: #e2eff9; color: var(--brand); }
.plan-price { font-size: 30px; font-weight: 800; margin: 18px 0 24px; padding-bottom: 24px; border-bottom: 1px dashed #d6e0ec; }
.plan-price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; align-items: flex-start; color: #334155; }
.list .i { width: 22px; height: 22px; padding: 3px; border-radius: 8px; background: #e2eff9; color: var(--brand); stroke-width: 3; margin-top: 1px; }
.ask { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.ask h3 { font-size: 22px; margin-top: 6px; }
.ask p { color: var(--muted); flex: 1; }

/* langkah */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #b8d7ef 0 8px, transparent 8px 16px); }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.num { position: relative; display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 18px; font-size: 20px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--sky), var(--brand)); box-shadow: 0 0 0 8px #fff, 0 14px 24px -10px rgb(0 85 165 / .6); }
.steps h3 { font-size: 18px; margin: 22px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* aplikasi */
.app { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }
.app h2 { margin-bottom: 28px; }
.app .cta { margin-top: 0; }
.phone { justify-self: center; width: 300px; padding: 12px; border-radius: 44px; background: #0f172a; box-shadow: 0 40px 70px -30px rgb(0 48 95 / .55); transform: rotate(3deg); }
.screen { border-radius: 34px; overflow: hidden; background: #f1f5fa; padding-bottom: 18px; }
.p-hero { padding: 34px 20px 46px; color: #fff; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.p-hi { font-size: 12px; opacity: .8; }
.p-title { font-size: 18px; font-weight: 750; }
.p-card { display: flex; align-items: center; gap: 12px; margin: 0 14px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 12px 24px -18px rgb(0 48 95 / .5); }
.p-card:first-of-type { margin-top: -28px; }
.p-l { font-size: 11px; color: var(--muted); }
.p-v { font-size: 15px; font-weight: 750; }
.p-pay { margin-left: auto; font-size: 12px; font-weight: 700; color: #fff; padding: 7px 12px; border-radius: 10px; background: var(--brand); }
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px; }
.p-grid div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; background: #fff; font-size: 11px; font-weight: 600; }
.p-ok { margin-top: 0; }

/* wilayah */
.areas { display: flex; flex-wrap: wrap; gap: 12px; }
.areas span { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; box-shadow: 0 10px 20px -18px rgb(0 48 95 / .4); }
.areas .i { color: var(--brand); }

/* pita ajakan */
.cta-band { position: relative; overflow: hidden; margin-bottom: 96px; border-radius: 32px; color: #fff; background: linear-gradient(135deg, #00244a, var(--brand) 60%, #0a86c2); }
.cta-band .deco::before { top: -360px; }
.cta-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 56px; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { color: rgb(255 255 255 / .8); }

/* footer */
.foot { background: #0b1626; color: rgb(255 255 255 / .72); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; padding: 64px 24px 40px; }
.foot .brand { color: #fff; margin-bottom: 16px; }
.foot-about { max-width: 300px; }
.foot-h { color: #fff; font-weight: 700; margin-bottom: 12px; }
.foot-grid p + p { margin-top: 8px; }
.foot a { color: rgb(255 255 255 / .72); }
.foot a:hover { color: #fff; }
.foot-bottom { padding: 20px 24px 28px; border-top: 1px solid rgb(255 255 255 / .08); font-size: 13px; }

/* ===== halaman kebijakan (header .top, isi .doc) ===== */
.top { position: sticky; top: 0; z-index: 10; color: #fff; background: linear-gradient(135deg, #00244a, var(--brand)); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.top .nav { height: auto; gap: 24px; }
.top .nav a:not(.btn) { color: rgb(255 255 255 / .8); font-size: 15px; }
.top .btn-ghost { min-height: 40px; padding: 0 14px; border-radius: 12px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .28); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; }
.doc { max-width: 780px; padding: 56px 24px 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 32px 0 10px; }
.doc p, .doc li { color: #334155; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 24px; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ===== layar kecil ===== */
@media (max-width: 1020px) {
  .hero-grid, .app { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .stats, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phone { transform: none; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .nav { justify-content: space-between; }
  .plans { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .section { padding: 72px 20px; }
  .hero { border-radius: 0 0 32px 32px; padding-bottom: 104px; }
  .hero-grid { padding-top: 24px; gap: 40px; }
  .hc-speed { font-size: 68px; }
  .cta-in { padding: 36px 28px; }
  .top .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .features, .steps { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .stat .tile { width: 40px; height: 40px; border-radius: 13px; }
  .stat b { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .plan, .ask { padding: 26px; }
  .plan-speed { font-size: 54px; }
  .brand span { font-size: 16px; }
  .btn-sm { padding: 0 12px; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
