/* Landing page PotretHaramain v3: foto asli, tangkapan layar tajam di bingkai perangkat, bagian yang rapi dan konsisten. */
:root {
  --night: #0d1326; --deep: #070b18; --blue: #2f4bff; --blue-d: #2238d6; --yellow: #ffb224;
  --bg: #f6f7f9; --tint: #eef1f6; --card: #fff; --line: #e3e7ef; --ink: #0d1326; --muted: #586079;
  --font: 'Host Grotesk', system-ui, sans-serif; --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 22px; --pad: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; } ul, ol { padding: 0; list-style: none; } img, svg { display: block; max-width: 100%; } a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.box { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); min-width: 0; }

.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.logo svg { width: 28px; height: 28px; } .logo span { font-weight: 400; } .logo b { font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--blue); color: #fff; font: 600 16px var(--font); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.2s; }
.btn:hover { background: var(--blue-d); } .btn:active { transform: scale(0.97); }
.btn i { font-style: normal; transition: transform 0.25s var(--ease); } .btn:hover i { transform: translateX(4px); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); color: #fff; } .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn.white { background: #fff; color: var(--ink); } .btn.white:hover { background: #e9ecf3; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); } .btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: transparent; }
.link { font-weight: 600; text-decoration: none; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.link::after { content: '→'; transition: transform 0.25s var(--ease); } .link:hover::after { transform: translateX(4px); }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.eyebrow.light { color: var(--yellow); }
h1 { font-size: clamp(38px, 10vw, 66px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; margin-top: 16px; }
h2 { font-size: clamp(30px, 7.4vw, 48px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; margin-top: 12px; max-width: 20ch; }
.head.center { text-align: center; } .head.center h2, .head.center .sub { margin-left: auto; margin-right: auto; }
.sub { font-size: 17px; color: var(--muted); margin-top: 14px; max-width: 56ch; } .sub.light { color: #c8cee2; }
.sec { padding: 72px 0; } .sec.tint { background: var(--tint); }
.fine { font-size: 14px; color: var(--muted); margin-top: 18px; } .center { text-align: center; }

/* Bingkai perangkat */
.iphone { position: relative; aspect-ratio: 390 / 844; border-radius: 17% / 7.9%; background: linear-gradient(145deg, #2b2f38, #0c0d11 40%, #191b21); padding: 3.2%;
  box-shadow: inset 0 0 0 1.5px #464b57, inset 0 0 0 4px #0c0d11, 0 50px 90px -40px rgba(7, 11, 24, 0.6), 0 18px 36px -18px rgba(7, 11, 24, 0.45); }
.iphone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 14% / 6.5%; background: #fff; }
.iphone::before { content: ''; position: absolute; z-index: 2; top: 5.2%; left: 50%; width: 29%; height: 3.4%; transform: translateX(-50%); border-radius: 99px; background: #050507; }
.iphone::after { content: ''; position: absolute; right: -1.3%; top: 22%; width: 1.3%; height: 11%; border-radius: 0 3px 3px 0; background: #2b2f38; }
.win { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(13, 19, 38, 0.08), 0 50px 100px -50px rgba(7, 11, 24, 0.55), 0 20px 40px -24px rgba(7, 11, 24, 0.3); }
.win figcaption { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f3f7; border-bottom: 1px solid var(--line); }
.win figcaption i { width: 10px; height: 10px; border-radius: 50%; background: #d6dbe5; } .win figcaption i:first-child { background: #ff6159; } .win figcaption i:nth-child(2) { background: #ffbd2e; } .win figcaption i:nth-child(3) { background: #28c941; }
.win figcaption span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: var(--muted); background: #fff; border-radius: 999px; padding: 3px 14px; border: 1px solid var(--line); }
.win img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top left; }

/* Navigasi */
.nav { position: fixed; z-index: 40; top: 0; left: 0; right: 0; color: #fff; transition: background 0.3s, box-shadow 0.3s, color 0.3s; }
.nav.solid { background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.nav nav { display: none; gap: 2px; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 14px; border-radius: 999px; opacity: 0.85; } .nav nav a:hover { opacity: 1; background: rgba(127, 140, 170, 0.14); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; padding: 110px 0 0; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; opacity: 0.5; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 19, 38, 0.97) 0%, rgba(13, 19, 38, 0.86) 45%, rgba(13, 19, 38, 0.55) 100%), linear-gradient(0deg, var(--night) 0%, rgba(13, 19, 38, 0) 40%); }
.hero-grid { display: grid; gap: 48px; }
.lede { font-size: 18px; color: #d0d5e6; margin-top: 18px; max-width: 46ch; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14.5px; color: #c8cee2; }
.ticks li { padding-left: 22px; position: relative; } .ticks li::before { content: ''; position: absolute; left: 2px; top: 0.48em; width: 11px; height: 6px; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg); }
.hero-vis { position: relative; padding-bottom: 40px; }
.w-hero { width: 100%; border-radius: 14px 14px 0 0; }
.p-hero { position: absolute; width: 34%; max-width: 230px; right: 3%; bottom: 0; }
.note { position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; display: grid; gap: 1px; box-shadow: 0 24px 50px -20px rgba(7, 11, 24, 0.55); font-size: 13.5px; min-width: 200px; }
.note b { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #14734a; } .note small { color: var(--muted); font-size: 12.5px; } .note .big { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.note.n1 { left: -2%; top: 18%; } .note.n2 { left: 6%; bottom: 14%; } .note.n3 { right: 30%; top: -6%; display: none; }
.note::before { content: ''; position: absolute; left: 14px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #28c941; box-shadow: 0 0 0 4px rgba(40, 201, 65, 0.18); }

/* Bilah keunggulan */
.strip { position: relative; z-index: 2; margin-top: -1px; display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; padding: 0; box-shadow: 0 30px 60px -40px rgba(7, 11, 24, 0.35); max-width: 1160px; transform: translateY(-36px); }
.strip article { background: #fff; padding: 22px 22px 20px; }
.strip b { font-size: 16.5px; letter-spacing: -0.01em; } .strip p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }

/* Sebelum dan sesudah */
.vs { margin-top: 36px; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.vs-h, .vs-r { display: grid; grid-template-columns: 1fr 1fr; }
.vs-h span { padding: 16px 20px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.vs-h span + span { background: var(--night); color: #fff; } .vs-h svg { width: 18px; height: 18px; }
.vs-r p { padding: 16px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.vs-r p:first-child { color: var(--muted); } .vs-r p + p { background: #f5f7ff; font-weight: 600; border-left: 1px solid var(--line); }

/* Alur */
.flow { display: grid; gap: 10px; margin-top: 36px; counter-reset: f; }
.flow li { background: #fff; border-radius: 18px; padding: 18px 18px 18px 70px; position: relative; display: grid; box-shadow: 0 0 0 1px var(--line); }
.flow i { position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--night); color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.flow b { font-size: 17px; } .flow span { color: var(--muted); font-size: 14.5px; }

/* Peran */
.tabs { display: flex; gap: 6px; margin-top: 30px; overflow-x: auto; scrollbar-width: none; padding: 4px; background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); width: max-content; max-width: 100%; }
.tabs button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: none; color: var(--muted); font: 600 15px var(--font); cursor: pointer; transition: background 0.25s, color 0.25s; }
.tabs button[aria-selected='true'] { background: var(--night); color: #fff; }
.role-panes { margin-top: 14px; min-width: 0; }
.pane { display: none; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.pane.on { display: grid; }
.pane-t { padding: 28px 24px 8px; min-width: 0; } .pane-t h3 { font-size: 26px; letter-spacing: -0.03em; }
.pane-t ul { margin: 16px 0 8px; display: grid; gap: 12px; }
.pane-t li { padding-left: 28px; position: relative; color: var(--muted); } .pane-t li::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; background: #e8ecff; }
.pane-t li::after { content: ''; position: absolute; left: 5px; top: 0.55em; width: 8px; height: 4px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.pane-v { background: linear-gradient(160deg, #eef1fb, #dfe5f4); padding: 28px 20px 0; display: flex; justify-content: center; align-items: flex-end; gap: 16px; overflow: hidden; min-height: 320px; min-width: 0; }
.pane-v .win { width: 100%; border-radius: 12px 12px 0 0; }
.pane-v .iphone { width: 58%; max-width: 260px; margin-bottom: -18%; }
.pane-v.duo .iphone { width: 46%; max-width: 230px; } .pane-v.duo .iphone + .iphone { margin-bottom: -30%; }

/* Merek */
.sec.dark { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; }
.dark-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.sec.dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 19, 38, 0.92), rgba(13, 19, 38, 0.78)); }
.merek-grid { display: grid; gap: 48px; align-items: center; }
.case-note { margin-top: 18px; font-size: 14px; color: #9aa3c0; max-width: 48ch; padding-left: 14px; border-left: 2px solid var(--yellow); }
.merek-vis { position: relative; padding-bottom: 8%; }
.w-merek { width: 92%; }
.p-merek { position: absolute; width: 30%; max-width: 210px; right: 0; bottom: 0; }

/* Paket */
.plans { display: grid; gap: 12px; margin-top: 36px; max-width: 900px; margin-left: auto; margin-right: auto; }
.plan { background: #fff; border-radius: var(--r); padding: 30px 28px; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--line); position: relative; }
.plan h3 { font-size: 26px; letter-spacing: -0.03em; } .plan > p { color: var(--muted); margin-top: 8px; }
.plan ul { margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 24px; position: relative; } .plan li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 11px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.plan.hot { background: var(--night); color: #fff; box-shadow: none; } .plan.hot > p { color: #c8cee2; } .plan.hot ul { border-color: rgba(255, 255, 255, 0.14); } .plan.hot li::before { border-color: var(--yellow); }
.tag { position: absolute; top: 24px; right: 24px; font-size: 12.5px; font-weight: 700; background: var(--yellow); color: var(--night); padding: 4px 12px; border-radius: 999px; }

/* Langkah */
.steps { display: grid; gap: 10px; margin-top: 36px; }
.steps li { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 0 0 1px var(--line); }
.steps i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 700; }
.steps h3 { font-size: 19px; letter-spacing: -0.02em; margin-top: 18px; } .steps p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Tanya jawab */
.faq-grid { display: grid; gap: 28px; }
.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border-radius: 16px; padding: 0 20px; box-shadow: 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-weight: 400; font-size: 20px; transition: transform 0.3s var(--ease), background 0.2s, color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* Jadwal demo */
.cta { background: var(--blue); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta .box { position: relative; }
.cta .h2 { font-size: clamp(30px, 7.4vw, 48px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; max-width: 16ch; }
.cta p { color: #dfe4ff; font-size: 17px; margin-top: 14px; max-width: 44ch; }
.cta .eyebrow { color: #fff; opacity: 0.8; }

/* Kaki */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14.5px; color: var(--muted); }
.foot-in { display: grid; gap: 28px; }
.foot .logo { color: var(--ink); } .foot-a p { margin-top: 12px; max-width: 34ch; }
.foot nav { display: grid; gap: 2px; align-content: start; } .foot nav b { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.foot nav a { text-decoration: none; font-weight: 500; color: var(--ink); min-height: 34px; display: inline-flex; align-items: center; } .foot nav a:hover { color: var(--blue); }
.foot .legal { font-size: 13px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Muncul saat digulir */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .js .rv { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

@media (min-width: 700px) {
  :root { --pad: 32px; }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; } .foot .legal { grid-column: 1 / -1; }
  .note.n3 { display: grid; }
}
@media (min-width: 980px) {
  .nav nav { display: flex; }
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
  h1 { font-size: 58px; }
  .hero-txt { padding-bottom: 110px; }
  .w-hero { width: 118%; }
  .p-hero { right: -14%; width: 30%; }
  .sec { padding: 110px 0; }
  .flow { grid-template-columns: repeat(6, 1fr); } .flow li { padding: 70px 18px 20px; } .flow i { top: 18px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pane.on { grid-template-columns: 0.8fr 1.2fr; } .pane-t { padding: 44px 40px; align-self: center; } .pane-v { padding: 44px 36px 0; min-height: 460px; }
  .merek-grid { grid-template-columns: 0.9fr 1.1fr; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
  .cta { padding: 110px 0; }
  .foot-in { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (max-width: 699px) {
  .hero-vis { padding-bottom: 0; } .w-hero { display: none; }
  .p-hero { position: relative; right: auto; margin: 0 auto -12%; width: 64%; }
  .note.n1 { left: 0; top: 12%; } .note.n2 { left: auto; right: 0; bottom: 24%; }
  .note { min-width: 0; max-width: 62%; }
  .vs-h span, .vs-r p { padding: 14px; font-size: 14px; }
}
