/* ============================================================
   Landing page — Absensi Shift
   Tanpa framework. Warna, huruf, dan sudut mengikuti aplikasi
   aslinya: Barlow / Barlow Condensed, biru baja #416180.
   ============================================================ */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}

:root {
  --ink: #1d1f20;
  --ink-soft: #2b2b2d;
  --muted: #5d5d60;
  --line: #e3e8ec;
  --bg: #f2f2f3;
  --card: #ffffff;
  --navy: #1d2d3d;
  --navy-2: #2c455d;
  --accent: #416180;
  --accent-dark: #2c455d;
  --accent-soft: #eef6ff;
  --steel: #416180;
  --steel-light: #b5d9fd;
  --wa: #0ea472;
  --wa-dark: #0b8a60;
  --amber: #f3a712;
  --amber-soft: #fff6e3;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(29, 45, 61, .06);
  --shadow: 0 28px 60px -28px rgba(29, 45, 61, .38);
  --max: 1140px;
  --font: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Barlow Condensed", "Barlow", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.05;
  letter-spacing: -.01em;
  font-family: var(--font-heading);
  font-weight: 600;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.015em; }
h3 { font-size: 1.32rem; letter-spacing: 0; }

p { margin: 0 0 1em; }

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.sprite { display: none; }

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 3px solid rgba(65, 97, 128, .55);
  outline-offset: 3px;
  border-radius: 6px;
}

.muted { color: var(--muted); }

/* ---------- Tombol ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(14, 164, 114, .7);
}
.btn-wa:hover { background: var(--wa-dark); }

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: #cbd4dc; box-shadow: var(--shadow-sm); }

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}
.btn-light:hover { background: #eef6ff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(29, 45, 61, .5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.14rem;
  font-family: var(--font-heading);
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 40px; height: 40px; border-radius: 11px; flex: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:not(.btn):hover { color: var(--steel); border-bottom-color: var(--steel-light); }

.nav a.nav-cta {
  padding: 9px 18px;
  font-size: .9rem;
  line-height: 1.25;
  border-bottom: 0;
  flex: 0 0 auto;
}
.nav-cta .icon { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 20px; height: 20px; display: block; }
.nav-toggle .icon-x { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-x { display: block; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 82px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(65, 97, 128, .12), transparent 60%),
    radial-gradient(760px 420px at -10% 10%, rgba(29, 45, 61, .09), transparent 62%),
    linear-gradient(180deg, #f7f8f9 0%, #eceef0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow .icon { width: 15px; height: 15px; stroke-width: 2.4; }

.hero h1 { margin-bottom: 18px; }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 26px;
}

.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.price {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -.01em;
  color: var(--navy);
}
.price-old {
  font-size: 1.15rem;
  font-weight: 500;
  color: #8b97a3;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-timer {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 14px 8px 12px;
  border: 1px solid #f0d49b;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #7d5300;
  font-size: .92rem;
  line-height: 1.25;
}
.price-timer .icon {
  width: 16px;
  height: 16px;
  flex: none;
  stroke-width: 2.2;
  color: #b57a00;
}
.price-timer-value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  color: #8a4b00;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: .86rem;
  color: var(--muted);
  max-width: 48ch;
  margin: 0;
}

/* Mockup */

.hero-visual { position: relative; }

.mock {
  position: relative;
  padding: 0 0 42px 26px;
}

.mock-desktop {
  border: 6px solid #0b1a26;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.mock-phone {
  position: absolute;
  left: -22px;
  bottom: 0;
  width: 28%;
  max-width: 158px;
  border: 6px solid #0b1a26;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 50px -22px rgba(29, 45, 61, .55);
}
.mock-phone img { width: 100%; }

.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.float-card .icon { width: 17px; height: 17px; color: var(--steel); }
.float-a { top: 6%; right: -18px; }
.float-b { bottom: 18%; right: -10px; }

/* ---------- Strip ---------- */

.strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 24px 0;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.strip-item .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--steel);
}
.strip-item strong {
  display: block;
  font-size: .92rem;
  line-height: 1.25;
  font-weight: 600;
}
.strip-item span {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.3;
}

/* ---------- Section umum ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }

.section-head { max-width: 660px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.kicker {
  display: block;
  margin-bottom: 8px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -28px rgba(29, 45, 61, .45);
  border-color: #d5dde3;
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.icon-box,
.card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--steel);
}
.card .icon svg { width: 22px; height: 22px; }

/* Bagian navy */
.section-navy {
  background:
    radial-gradient(700px 340px at 85% 0%, rgba(181, 217, 253, .14), transparent 65%),
    radial-gradient(600px 300px at 5% 100%, rgba(44, 69, 93, .9), transparent 70%),
    var(--navy);
  color: #eaf1fb;
}
.section-navy .section-head p { color: #aabad0; }
.section-navy .kicker { color: var(--steel-light); }

.card-dark {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .13);
  box-shadow: none;
  backdrop-filter: blur(2px);
}
.card-dark:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 24px 44px -30px rgba(0, 0, 0, .8);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: #b0c1d6; }
.card-dark .icon { background: rgba(181, 217, 253, .16); color: var(--steel-light); }

/* ---------- Tab & tampilan ---------- */

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  margin-bottom: 34px;
  background: #e8ecf0;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tab {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: .94rem;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.js .pane:not(.is-active) { display: none; }

.pane-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.pane-grid-admin { grid-template-columns: 1fr; gap: 24px; }
.pane-grid-admin .pane-copy { max-width: 780px; }
.pane-copy h3 { font-size: 1.7rem; margin-bottom: 16px; }

.bullets {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .97rem;
  color: var(--ink-soft);
}
.bullets .icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--steel);
  stroke-width: 2.4;
}

.phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
}
.phone-sm {
  margin: 0;
  width: 31.5%;
  max-width: 212px;
  border: 5px solid #0b1a26;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 40px -24px rgba(29, 45, 61, .5);
}
.phone-sm:nth-child(2) { transform: translateY(-18px); }
.phone-sm img { width: 100%; }
.phone-sm figcaption {
  padding: 8px 6px;
  font-size: .72rem;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid #eef2f8;
}

.shots-desktop {
  display: grid;
  gap: 26px;
}
.shots-desktop figure { margin: 0; }
.shots-desktop img {
  width: 100%;
  border: 5px solid #0b1a26;
  border-radius: 12px;
  box-shadow: 0 22px 40px -26px rgba(29, 45, 61, .45);
}
.shots-desktop figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
}
.shots-desktop figcaption::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--steel-light);
}

/* ---------- Langkah ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Bukti ---------- */

.proof-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 48px -30px rgba(29, 45, 61, .45);
}
.proof-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef2f8;
  border-bottom: 1px solid var(--line);
}
.proof-body { padding: 18px 22px 22px; }
.proof-tag {
  display: inline-block;
  margin-bottom: 4px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
}
.proof-body h3 { margin-bottom: 4px; }
.proof-body p { margin: 0; color: var(--muted); font-size: .92rem; }

.proof-note {
  margin: 18px 0 0;
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Harga ---------- */

.price-card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(26px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--steel), var(--steel-light) 45%, var(--amber));
}

.price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.price-head p { margin: 4px 0 0; font-size: .92rem; }

.price-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #8a5b00;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.price-big {
  font-size: clamp(2.8rem, 6.4vw, 3.9rem);
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--navy);
}
.price-big small {
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}

.price-old-lg {
  display: inline-block;
  margin-right: .45em;
  font-family: var(--font-heading);
  font-size: .46em;
  font-weight: 500;
  letter-spacing: -.01em;
  color: #949ba3;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  vertical-align: baseline;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 26px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-soft);
}
.checklist .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--steel);
  stroke-width: 2.6;
}

.price-cta {
  display: flex;
  width: 100%;
  margin-bottom: 26px;
}

.fine {
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: .82rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 820px; }
.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0 0 16px;
  padding-right: 34px;
  color: var(--muted);
  font-size: .95rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(181, 217, 253, .28), transparent 65%),
    linear-gradient(120deg, var(--navy) 0%, #2c455d 100%);
  box-shadow: 0 30px 60px -34px rgba(29, 45, 61, .8);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; max-width: 22ch; }
.cta-band p { margin: 0; color: #c6d3e0; max-width: 48ch; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 46px 0 26px;
  background: #16232f;
  color: #9fb0c0;
  font-size: .9rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 340px; }
.footer-brand .brand { color: #fff; margin-bottom: 10px; }
.footer-brand .brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand p { margin: 0; color: #90a3b4; font-size: .88rem; }

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 6px;
}
.footer-nav a {
  color: #c8d6e2;
  text-decoration: none;
  font-size: .9rem;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: #8298ab;
}

/* ---------- Animasi masuk ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsif ---------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .mock { padding-left: 0; }
  .mock-phone { left: -10px; }
  .float-a { right: 0; }
  .float-b { right: 4px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .pane-grid { grid-template-columns: 1fr; }
  .pane-copy { max-width: 560px; }
  .pane-grid-admin .pane-copy { max-width: 780px; }
  .steps { grid-template-columns: 1fr; }
  .steps .step { display: grid; grid-template-columns: 38px 1fr; gap: 4px 16px; align-items: start; }
  .steps .step-num { grid-row: span 2; margin-bottom: 0; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(29, 45, 61, .5);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 2px; border-bottom: 1px solid #f1f5fa; }
  .nav a:not(.btn):hover { border-bottom-color: #f1f5fa; }
  .nav-cta { margin-top: 8px; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .header-inner { position: relative; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .phones { gap: 8px; }
  .phone-sm { width: 32%; border-width: 4px; border-radius: 16px; }
  .phone-sm figcaption { font-size: .64rem; }
  .mock-desktop { transform: none; }
  .float-card { font-size: .72rem; padding: 7px 10px; }
  .price-head { flex-direction: column; align-items: stretch; }
  .cta-band .btn { width: 100%; }
}

@media (max-width: 520px) {
  /* Dua kartu per baris supaya semua terbaca tanpa perlu digeser ke samping. */
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 14px; }
  .card { padding: 18px 15px; border-radius: 16px; }
  .card .icon { width: 38px; height: 38px; margin-bottom: 12px; border-radius: 10px; }
  .card .icon svg { width: 20px; height: 20px; }
  .card h3 { font-size: 1.05rem; line-height: 1.2; }
  .card p { font-size: .86rem; line-height: 1.45; }
  .strip-item { gap: 9px; }
  .strip-item .icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; }
  .strip-item strong { font-size: .84rem; }
  .strip-item span { font-size: .74rem; }
  .hero-actions .btn { width: 100%; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 10px 12px; }
  .float-card { display: none; }
  .mock-phone { width: 36%; }
  .price-big { font-size: 2.55rem; }
  .price-old-lg { display: block; margin: 0 0 6px; font-size: .38em; }
  .price-big small { display: block; margin-top: 6px; font-size: .82rem; }
  .price-old { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
