/* =========================================================
   Journal Theme — Landing page OJS/PKP
   Gaya: Clean Minimal · biru & putih · akademik modern
   Berkas ini satu-satunya sumber tampilan.
   ========================================================= */

/* ---------------------------------------------------------
   1. Token desain
   --------------------------------------------------------- */
:root {
  /* Warna utama — biru institusi */
  --brand-800: #123E8C;
  --brand-700: #164BA6;
  --brand-600: #1F5FD0;
  --brand-500: #2E76E4;
  --brand-050: #EDF3FE;
  --brand-100: #DCE8FD;

  /* Netral */
  --ink: #0E1E3A;
  --ink-2: #243B5E;
  --muted: #5C6C86;
  --muted-2: #7C8AA2;
  --line: #E4EBF5;
  --line-2: #EFF3F9;

  /* Permukaan */
  --surface: #FFFFFF;
  --soft: #F6F9FE;
  --soft-2: #EFF5FD;

  /* WhatsApp */
  --wa: #25D366;
  --wa-dark: #1DA851;
  --wa-050: #E8FAF0;

  /* Bentuk & bayangan */
  --r-s: 10px;
  --r: 14px;
  --r-l: 18px;
  --r-xl: 24px;
  --sh-s: 0 1px 2px rgba(14, 30, 58, .05), 0 2px 6px rgba(14, 30, 58, .04);
  --sh-m: 0 6px 22px rgba(14, 30, 58, .07);
  --sh-l: 0 22px 54px rgba(14, 30, 58, .13);

  /* Tata letak */
  --container: 1160px;
  --pad-x: 20px;
  --header-h: 68px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------------------------------------------------------
   2. Dasar
   --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0; }

:focus-visible {
  outline: 3px solid rgba(31, 95, 208, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Lompat ke konten (aksesibilitas keyboard) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--brand-600);
  color: #fff;
  font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------
   3. Tata letak
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Label kecil + judul section */
.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
  padding-bottom: 10px;
  position: relative;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-600);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 4px; }
.section-head .eyebrow::after { left: 50%; transform: translateX(-50%); }
.section-head h2 { font-size: clamp(24px, 3.4vw, 31px); margin: 10px 0 12px; }
.section-head p { color: var(--muted); }

/* ---------------------------------------------------------
   4. Tombol
   --------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  box-shadow: 0 6px 16px rgba(31, 95, 208, .26);
}
.btn--primary:hover { --btn-bg: var(--brand-700); }

.btn--ghost {
  --btn-bg: #fff;
  --btn-bd: var(--line);
  --btn-fg: var(--ink);
  box-shadow: var(--sh-s);
}
.btn--ghost:hover { --btn-bd: var(--brand-100); --btn-fg: var(--brand-700); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-700);
  box-shadow: 0 10px 24px rgba(8, 25, 60, .18);
}
.btn--light:hover { --btn-bg: #F3F7FF; }

.btn--wa {
  --btn-bg: var(--wa);
  --btn-fg: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .3);
  width: 100%;
}
.btn--wa:hover { --btn-bg: var(--wa-dark); }

.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------
   5. Header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(14, 30, 58, .05);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { flex: none; height: 44px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand__tag { font-size: 11.5px; color: var(--muted-2); font-weight: 500; }

/* ---------------------------------------------------------
   6. Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: 66px 0 96px;
  background:
    radial-gradient(120% 90% at 78% 0%, #E8F1FE 0%, rgba(232, 241, 254, 0) 58%),
    linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 78%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 52px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  margin: 14px 0 16px;
}
.hero__lead {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Mockup perangkat */
.hero__devices {
  position: relative;
  padding-bottom: 26px;
  padding-right: 34px;
}
.device-laptop {
  position: relative;
  border-radius: 16px;
  background: #101B2E;
  padding: 11px 11px 13px;
  box-shadow: var(--sh-l);
}
.device-laptop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%);
  width: 132px;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: #D8E1EE;
}
.device-laptop__screen {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #fff;
}
.device-laptop__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 148px;
  border-radius: 22px;
  background: #101B2E;
  padding: 7px;
  box-shadow: 0 18px 40px rgba(14, 30, 58, .22);
}
.device-phone__screen {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 17;
  background: #fff;
}
.device-phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------------------------------------------------------
   7. Carousel theme
   --------------------------------------------------------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; padding: 6px 4px 10px; }
.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

/* Satu theme = satu halaman selebar pandangan; kartunya dipusatkan di dalamnya,
   jadi tidak ada kartu tetangga yang terpotong separuh di tepi. */
.carousel__page {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.theme-card {
  flex: 0 0 auto;
  width: calc((100% - 48px) / 3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-s);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-m);
  border-color: var(--brand-100);
}

/* Pratinjau: bingkai browser mini dengan warna palet asli tema */
.theme-card__preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #F3F7FD, #E9F0FA);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}
.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 4px 12px rgba(31, 95, 208, .3);
}
.mini {
  position: absolute;
  inset: 12px 12px 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  border: 1px solid rgba(14, 30, 58, .07);
  border-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mini__bar {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: #F1F5FB;
  border-bottom: 1px solid rgba(14, 30, 58, .06);
}
.mini__bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #CFD9E8;
}
.mini__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-bottom: 1px solid rgba(14, 30, 58, .06);
}
.mini__nav i {
  display: block;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: #DDE5F1;
}
.mini__nav b {
  margin-left: auto;
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: var(--tint, var(--brand-600));
}
.mini__body { padding: 9px 9px 0; display: flex; flex-direction: column; gap: 6px; }
.mini__title {
  height: 9px;
  width: 62%;
  border-radius: 3px;
  background: var(--tint, var(--brand-600));
  opacity: .85;
}
.mini__line { height: 5px; border-radius: 3px; background: #E5ECF6; }
.mini__line--w80 { width: 80%; }
.mini__line--w58 { width: 58%; }
.mini__rows { display: flex; flex-direction: column; gap: 5px; margin-top: 3px; }
.mini__row {
  height: 14px;
  border-radius: 4px;
  background: #F2F6FC;
  border-left: 3px solid var(--tint, var(--brand-600));
  opacity: .9;
}

.theme-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.theme-card__name { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.theme-card__by { font-size: 11.5px; color: var(--muted-2); font-weight: 600; letter-spacing: .02em; }
.theme-card__desc { font-size: 13.8px; color: var(--muted); margin-top: 2px; }
.theme-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
.theme-card__actions .btn { flex: 1; }

/* Tombol navigasi carousel */
.carousel__nav {
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-m);
  cursor: pointer;
  transition: transform .16s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.carousel__nav:hover { color: var(--brand-600); border-color: var(--brand-100); }
.carousel__nav--prev { left: -21px; }
.carousel__nav--next { right: -21px; }
.carousel__nav svg { width: 18px; height: 18px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #C9D6E8;
  cursor: pointer;
  transition: width .22s ease, background-color .22s ease;
}
.carousel__dot[aria-selected="true"] {
  width: 20px;
  background: var(--brand-600);
}

/* ---------------------------------------------------------
   7b. Kartu sorotan (satu theme) + spesifikasi + harga
   --------------------------------------------------------- */
.theme-card--unggulan { width: min(800px, 100%); margin-inline: auto; }
.theme-card--unggulan .theme-card__preview { aspect-ratio: 16 / 9; }
.theme-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.theme-card__isi {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 28px;
  padding: 24px 26px 26px;
}
.theme-card__kolom { display: flex; flex-direction: column; }

.spec__judul {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.spec {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.spec li {
  position: relative;
  padding-left: 24px;
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.5;
}
.spec li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(40deg);
}

.harga {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.harga__angka {
  font-size: 27px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.harga__ket { font-size: 12.5px; color: var(--muted-2); }
.termasuk { font-size: 12.6px; color: var(--muted-2); margin-top: 7px; }

@media (max-width: 860px) {
  .theme-card--unggulan { width: 100%; }
  .theme-card__isi { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px 24px; }
}

/* ---------------------------------------------------------
   8. Fitur
   --------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 46px;
  max-width: 940px;
  margin-inline: auto;
}
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-600);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.feature p { font-size: 13.8px; color: var(--muted); }

/* ---------------------------------------------------------
   9. Cara kerja
   --------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step__num {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(31, 95, 208, .26);
}
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 13.8px; color: var(--muted); max-width: 30ch; margin-inline: auto; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: -6px;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid #B9C6DA;
  border-bottom: 1.6px solid #B9C6DA;
  transform: rotate(-45deg);
  background: #fff;
}

/* ---------------------------------------------------------
   10. FAQ + kartu WhatsApp
   --------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1.45fr .85fr;
  gap: 34px;
  align-items: start;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-s);
  padding: 6px 24px;
}
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 0; }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 14.6px;
  font-weight: 600;
  color: var(--ink);
  transition: color .18s ease;
}
.faq-item__q:hover { color: var(--brand-700); }
.faq-item__sign {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.faq-item__sign::before,
.faq-item__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--brand-600);
  transform: translate(-50%, -50%);
  transition: transform .24s ease, opacity .24s ease;
}
.faq-item__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item__q[aria-expanded="true"] .faq-item__sign::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-item__a > div { overflow: hidden; }
.faq-item__a p {
  padding: 0 0 18px;
  font-size: 13.9px;
  color: var(--muted);
  max-width: 62ch;
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

.wa-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--sh-s);
  padding: 30px 28px;
  text-align: center;
}
.wa-card__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa-050);
  color: var(--wa-dark);
}
.wa-card__icon svg { width: 28px; height: 28px; }
.wa-card h3 { font-size: 18px; margin-bottom: 8px; }
.wa-card p { font-size: 13.9px; color: var(--muted); margin-bottom: 20px; }

/* ---------------------------------------------------------
   11. Closing CTA
   --------------------------------------------------------- */
.closing { padding: 20px 0 84px; }
.closing__panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px 44px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 100%);
  box-shadow: 0 24px 50px rgba(20, 62, 140, .26);
}
.closing__panel h2 { color: #fff; font-size: clamp(21px, 2.7vw, 26px); margin-bottom: 8px; }
.closing__panel p { color: rgba(255, 255, 255, .82); font-size: 14.5px; }

/* ---------------------------------------------------------
   12. Footer
   --------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: var(--surface);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer .brand__mark { height: 36px; width: auto; }
.site-footer__copy { font-size: 13px; color: var(--muted-2); }

/* ---------------------------------------------------------
   13. Tombol WhatsApp mengambang
   --------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .38);
  transition: transform .18s ease, background-color .2s ease;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-dark); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px 13px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: var(--sh-m);
}
.wa-float:hover .wa-float__tip,
.wa-float:focus-visible .wa-float__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------------------------------------------------------
   14. Tablet
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .hero { padding: 52px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__lead { max-width: 58ch; }
  .hero__devices { max-width: 620px; }
  .theme-card { width: calc((100% - 24px) / 2); }
  .carousel__nav--prev { left: -14px; }
  .carousel__nav--next { right: -14px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-card { text-align: left; }
  .wa-card__icon { margin-inline: 0; }
  .closing__panel { grid-template-columns: 1fr; padding: 34px 32px; }
  .closing__panel .btn { justify-self: start; }
}

/* Bingkai ponsel pada hero: berdampingan dengan bingkai laptop di semua ukuran layar */
.device-phone--ponsel { display: block; }
.device-phone--ponsel .device-phone__screen { aspect-ratio: 400 / 926; }

/* ---------------------------------------------------------
   15. Ponsel
   --------------------------------------------------------- */
@media (max-width: 680px) {
  body { font-size: 14.5px; }
  /* Di layar kecil kedua bingkai tetap tampil; ponsel menumpuk di bawah laptop */
  .device-phone--ponsel {
    position: static;
    width: min(230px, 62%);
    margin: 24px auto 0;
  }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
  .hero { padding: 40px 0 68px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__devices { padding-right: 0; }
  .theme-card { width: 100%; }
  .carousel__nav { display: none; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { display: none; }
  .step { text-align: left; padding-left: 60px; }
  .step__num { position: absolute; left: 0; top: 0; margin: 0; }
  .step:not(:last-child)::after { display: none; }
  .step p { margin-inline: 0; max-width: none; }
  .faq-card { padding: 4px 18px; }
  .wa-card { padding: 26px 22px; }
  .closing { padding-bottom: 66px; }
  .closing__panel { padding: 28px 24px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-float__tip { display: none; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------------------------------------------------------
   16. Hormati preferensi pengguna
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .btn:hover,
  .theme-card:hover,
  .wa-float:hover { transform: none; }
}

/* ---------------------------------------------------------
   17. Cetak
   --------------------------------------------------------- */
@media print {
  .site-header, .wa-float, .carousel__nav, .carousel__dots { display: none; }
  .section { padding: 24px 0; }
  body { color: #000; }
}
