/* =========================================================
   MIKODE STUDIO DIGITAL — STYLE
   Warna utama diambil dari logo (#144262) supaya identitas konsisten.
   ========================================================= */

/* ---------- Font lokal ---------- */
@font-face{ font-family:'Inter'; font-weight:400; font-style:normal; font-display:swap; src:url('../assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-weight:500; font-style:normal; font-display:swap; src:url('../assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-weight:600; font-style:normal; font-display:swap; src:url('../assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face{ font-family:'Space Grotesk'; font-weight:600; font-style:normal; font-display:swap; src:url('../assets/fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face{ font-family:'Space Grotesk'; font-weight:700; font-style:normal; font-display:swap; src:url('../assets/fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face{ font-family:'JetBrains Mono'; font-weight:400; font-style:normal; font-display:swap; src:url('../assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face{ font-family:'JetBrains Mono'; font-weight:500; font-style:normal; font-display:swap; src:url('../assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

/* ---------- Token ---------- */
:root{
  --bg:            #FFFFFF;
  --bg-tint:       #F4F8FB;
  --surface:       #EAF1F7;

  --ink:           #0A1F33;
  --text:          #0A1F33;
  --text-muted:    #44596D;
  --text-faint:    #5A6E82;      /* kontras ≥ 4.5:1 di atas putih */

  --brand:         #144262;      /* warna logo */
  --brand-hover:   #0E3350;
  --brand-deep:    #0A1F33;
  --accent:        #3E9BE6;
  --accent-soft:   rgba(62, 155, 230, 0.14);

  --line:          rgba(10, 31, 51, 0.10);
  --line-strong:   rgba(10, 31, 51, 0.20);

  --danger:        #B42318;
  --success:       #17803D;

  --term-bg:       #0A1B2C;
  --term-bar:      #0F2438;
  --term-line:     rgba(234, 242, 251, 0.10);
  --term-text:     #E6EEF7;
  --term-muted:    #8FA6BD;

  --font-display:  'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --radius-sm: 8px;      /* tombol, input */
  --radius-md: 12px;     /* panel kecil, terminal */
  --radius-lg: 16px;     /* kartu besar, formulir */

  --shadow-card: 0 1px 2px rgba(10, 31, 51, 0.04), 0 10px 24px -18px rgba(10, 31, 51, 0.22);
  --shadow-lift: 0 2px 4px rgba(10, 31, 51, 0.05), 0 24px 44px -24px rgba(10, 31, 51, 0.35);

  --nav-h: 68px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --max: 1160px;
}

/* ---------- Reset & dasar ---------- */
*, *::before, *::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p{ margin: 0 0 1em; color: var(--text-muted); text-wrap: pretty; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; height: auto; display: block; }
ul, ol{ margin: 0; padding: 0; }
small{ font-size: .85em; font-weight: 400; color: var(--text-faint); }
::selection{ background: var(--brand); color: #fff; }

:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container{ width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link{
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--brand); color: #fff; padding: .7em 1.1em; border-radius: var(--radius-sm);
  font-weight: 600; transition: top .2s ease;
}
.skip-link:focus{ top: 1rem; }

/* ---------- Section ---------- */
.section{ padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--tint{ background: var(--bg-tint); border-block: 1px solid var(--line); }

.section__head{ max-width: 640px; margin: 0 0 clamp(2.2rem, 5vw, 3.25rem); }
.section__head h2{ font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.section__desc{ font-size: 1.04rem; margin-bottom: 0; }

/* ---------- Tombol ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.6em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:active{ transform: translateY(1px); }
.btn--sm{ min-height: 40px; padding: .5em 1.15em; font-size: .9rem; }

.btn--primary{ background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px rgba(20, 66, 98, .7); }
.btn--primary:hover{ background: var(--brand-hover); }

.btn--outline{ background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover{ border-color: var(--brand); color: var(--brand); }

.btn--ghost{ background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover{ border-color: var(--brand); color: var(--brand); }

/* ---------- Navbar ---------- */
.nav{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
  transition: border-color .25s ease, background-color .25s ease;
}
.nav.is-scrolled{ border-bottom-color: var(--line); background: rgba(255, 255, 255, .96); }

.nav__inner{ height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.nav__logo{ display: flex; align-items: center; margin-right: auto; }
.nav__logo-img{ height: 26px; width: auto; }

.nav__links{ display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn){
  position: relative; font-size: .94rem; font-weight: 500; color: var(--text-muted);
  padding-block: .4rem; transition: color .2s ease;
}
.nav__links a:not(.btn):hover{ color: var(--brand); }
.nav__links a[aria-current="true"]{ color: var(--brand); }
.nav__links a[aria-current="true"]::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav__menu-cta{ display: none; }

.nav__burger{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.nav__burger span{ height: 2px; width: 100%; background: var(--brand); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity: 0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px){
  .nav__cta{ display: none; }
  .nav__burger{ display: flex; }
  .nav__links{
    position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(10, 31, 51, .45);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
  }
  .nav__links.is-open{ transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__links a:not(.btn){ padding: 1rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__links a[aria-current="true"]::after{ display: none; }
  .nav__menu-cta{ display: inline-flex; margin-top: 1.2rem; }
}

/* ---------- Hero ---------- */
.hero{ position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.hero::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 66, 98, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 66, 98, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 78% 25%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 85% at 78% 25%, #000 0%, transparent 72%);
}
.hero__inner{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 980px){ .hero__inner{ grid-template-columns: 1fr; } }

.hero__title{ font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: .45em; }
.hero__subtitle{ font-size: clamp(1.02rem, 1.4vw, 1.12rem); max-width: 48ch; }
.hero__actions{ display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.9rem 0 2.6rem; }

.facts{
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.fact{ padding-right: 2rem; margin-right: 2rem; border-right: 1px solid var(--line); }
.fact:last-child{ padding-right: 0; margin-right: 0; border-right: 0; }
.fact dt{ font-size: .8rem; color: var(--text-faint); margin-bottom: .2rem; }
.fact dd{ margin: 0; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
@media (max-width: 640px){
  .hero__actions .btn{ flex: 1 1 100%; }
  .facts{ grid-template-columns: 1fr; gap: 1rem; }
  .fact{ padding: 0; margin: 0; border: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .fact dt{ margin: 0; }
}

/* Terminal */
.terminal{
  background: var(--term-bg); border: 1px solid var(--term-line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.terminal__bar{ display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; background: var(--term-bar); border-bottom: 1px solid var(--term-line); }
.dot{ width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot--red{ background: #FF6159; } .dot--yellow{ background: #FFC02E; } .dot--green{ background: #2BC55E; }
.terminal__title{ margin-left: .6rem; font-family: var(--font-mono); font-size: .76rem; color: var(--term-muted); }
.terminal__body{ padding: 1.5rem 1.4rem 1.9rem; font-family: var(--font-mono); font-size: clamp(.78rem, 1.6vw, .9rem); min-height: 210px; overflow-x: auto; }
.terminal__body p{ margin: 0 0 .55rem; color: var(--term-text); white-space: pre-wrap; word-break: break-word; }
.prompt{ color: var(--accent); }
.terminal__out{ color: var(--term-muted) !important; padding-left: 1.3em; min-height: 1.5em; }
.terminal__out--ok{ color: #5BD98A !important; }
.cursor{ color: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink{ 50%{ opacity: 0; } }

/* ---------- Keunggulan ---------- */
.features{
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg);
}
.feature{ padding: 1.9rem 1.7rem 2rem; border-left: 1px solid var(--line); }
.feature:first-child{ border-left: 0; }
@media (max-width: 980px){
  .features{ grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(odd){ border-left: 0; }
  .feature:nth-child(n+3){ border-top: 1px solid var(--line); }
}
@media (max-width: 560px){
  .features{ grid-template-columns: 1fr; }
  .feature{ border-left: 0; }
  .feature:nth-child(n+2){ border-top: 1px solid var(--line); }
}
.feature__icon{
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1.25rem;
  border-radius: 10px; background: var(--accent-soft); color: var(--brand);
}
.feature__icon svg, .to-top svg{ width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3{ font-size: 1.08rem; margin-bottom: .45em; }
.feature p{ font-size: .95rem; margin-bottom: 0; }

/* ---------- Proses ---------- */
.steps{ list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps::before{
  content: ""; position: absolute; top: 19px; left: 19px; right: calc(25% - 19px); height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.step{ position: relative; padding-top: 3.4rem; }
.step__num{
  position: absolute; top: 0; left: 0; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 4px solid var(--bg-tint);
  box-sizing: content-box; margin: -4px 0 0 -4px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.step h3{ font-size: 1.1rem; margin-bottom: .4em; }
.step p{ font-size: .94rem; margin-bottom: 0; }

@media (max-width: 860px){
  .steps{ grid-template-columns: 1fr; gap: 0; }
  .steps::before{ top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand), var(--accent)); }
  .step{ padding: 0 0 2rem 4rem; }
  .step:last-child{ padding-bottom: 0; }
}

/* ---------- Layanan ---------- */
.plans{ display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; align-items: stretch; }
@media (max-width: 620px){ .plans{ grid-template-columns: 1fr; } }

.plan{
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem 1.9rem; box-shadow: var(--shadow-card);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.plan:hover{ border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.plan__badge{
  position: absolute; top: -13px; left: 1.9rem;
  background: var(--accent); color: var(--brand-deep);
  font-size: .76rem; font-weight: 600; padding: .3em .85em; border-radius: 999px;
}
.plan__name{ font-size: 1.35rem; margin-bottom: .3rem; }
.plan__tagline{ font-size: .93rem; min-height: 2.9em; }
.plan__price{ font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--brand); margin: .5rem 0 0; line-height: 1.1; }
.plan__period{ font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: var(--text-faint); margin-left: .25em; }
.plan__features{ list-style: none; display: flex; flex-direction: column; gap: .75rem; margin: 1.6rem 0 2rem; flex: 1; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.plan__features li{ position: relative; padding-left: 1.7rem; font-size: .94rem; color: var(--text); line-height: 1.5; }
.plan__features li::before{
  content: ""; position: absolute; left: 0; top: .2em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23144262' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.plan .btn{ width: 100%; }
.plan__more{ display: block; text-align: center; margin: 0 0 1.1rem; font-size: .9rem; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.plan__more:hover{ color: var(--brand-hover); }
.plan--featured .plan__more{ color: #fff; }
.plan__features{ margin-bottom: 1.2rem; }

/* Kartu unggulan */
.plan--featured{ background: var(--brand); border-color: var(--brand); box-shadow: 0 30px 56px -28px rgba(20, 66, 98, .75); }
.plan--featured .plan__name, .plan--featured .plan__price, .plan--featured .plan__features li{ color: #fff; }
.plan--featured .plan__tagline, .plan--featured .plan__period{ color: rgba(255, 255, 255, .78); }
.plan--featured .plan__features{ border-top-color: rgba(255, 255, 255, .2); }
.plan--featured .plan__features li::before{
  background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.plan--featured .btn--primary{ background: #fff; color: var(--brand); box-shadow: none; }
.plan--featured .btn--primary:hover{ background: var(--accent-soft); background-color: #E6F2FD; }

/* Segera hadir */
.plan--soon{ background: transparent; border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
.plan--soon:hover{ border-color: var(--line-strong); box-shadow: none; }
.plan--soon .plan__badge{ background: var(--surface); color: var(--text-muted); }
.plan--soon .plan__price{ color: var(--text-faint); }
.plan .btn:disabled{ cursor: not-allowed; background: transparent; color: var(--text-faint); border-color: var(--line); }

.noscript-note{ text-align: center; }
.noscript-note a{ color: var(--brand); text-decoration: underline; }

/* ---------- Kontak ---------- */
.contact{ display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px){ .contact{ grid-template-columns: 1fr; } }
.contact__intro h2{ font-size: clamp(1.7rem, 3.2vw, 2.25rem); }
.contact__list{ list-style: none; margin-top: 1.8rem; }
.contact__list li{
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .85rem 0; border-top: 1px solid var(--line); font-size: .96rem; color: var(--text);
}
.contact__list li:last-child{ border-bottom: 1px solid var(--line); }
.contact__list li span{ color: var(--text-faint); font-size: .9rem; }
.contact__list a{ color: var(--brand); font-weight: 500; }
.contact__list a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.form{
  display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: var(--shadow-card);
}
.form__row{ display: flex; flex-direction: column; gap: .4rem; }
.form__row label{ font-size: .9rem; font-weight: 500; color: var(--ink); }
.form__row input, .form__row select, .form__row textarea{
  width: 100%; min-height: 48px; padding: .7em .95em;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem;   /* 16px: mencegah zoom otomatis di iOS */
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__row textarea{ resize: vertical; min-height: 110px; }
.form__row select{ appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344596D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; }
.form__row input:focus, .form__row select:focus, .form__row textarea:focus{
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(62, 155, 230, .28);
}
.form__row.has-error input, .form__row.has-error textarea{ border-color: var(--danger); }
.form__row [aria-invalid="true"]:focus{ box-shadow: 0 0 0 3px rgba(180, 35, 24, .22); }
.form__error{ min-height: 1.1em; font-size: .82rem; color: var(--danger); }
.form__submit{ width: 100%; margin-top: .2rem; }
.form__status{ min-height: 1.3em; margin: 0; font-size: .9rem; color: var(--success); }
.form__status.is-error{ color: var(--danger); }
.form__note{ margin: 0; font-size: .82rem; color: var(--text-faint); }
.form .noscript-note{ text-align: left; font-size: .88rem; }

.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer{ background: var(--brand-deep); color: #fff; padding: 3.5rem 0 calc(1.75rem + env(safe-area-inset-bottom)); }
.footer__top{ display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__logo{ height: 26px; width: auto; }
.footer__brand p{ margin: .9rem 0 0; font-size: .92rem; color: rgba(255, 255, 255, .7); max-width: 34ch; }
.footer__nav{ display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.footer__nav a{ font-size: .94rem; color: rgba(255, 255, 255, .8); transition: color .2s ease; }
.footer__nav a:hover{ color: #fff; }
.footer__contact{ list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer__contact a{ font-size: .94rem; color: rgba(255, 255, 255, .8); transition: color .2s ease; }
.footer__contact a:hover{ color: #fff; }
.footer__bottom{ display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; }
.footer__bottom p{ margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.footer__install{
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-sm);
  padding: .5em 1em; font: 500 .85rem var(--font-body); cursor: pointer; transition: background-color .2s ease, border-color .2s ease;
}
.footer__install:hover{ background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.footer__install[hidden]{ display: none; }

/* ---------- Tombol ke atas ---------- */
.to-top{
  position: fixed; right: max(1.2rem, env(safe-area-inset-right)); bottom: max(1.2rem, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  background: var(--brand); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.to-top.is-visible{ opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover{ background: var(--brand-hover); }

/* ---------- Notifikasi PWA ---------- */
.toast{
  position: fixed; z-index: 130; left: 50%; transform: translateX(-50%);
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 1rem;
  max-width: min(520px, calc(100vw - 2rem));
  background: var(--brand-deep); color: #fff; border-radius: var(--radius-sm);
  padding: .8rem 1rem .8rem 1.15rem; font-size: .92rem; box-shadow: var(--shadow-lift);
  animation: rise .3s ease both;
}
.toast__action{
  flex-shrink: 0; background: #fff; color: var(--brand-deep); border: 0; border-radius: 6px;
  padding: .45em .9em; font: 600 .86rem var(--font-body); cursor: pointer;
}
.toast[hidden], .toast__action[hidden]{ display: none; }
@keyframes rise{ from{ opacity: 0; transform: translate(var(--tx, 0), 10px); } to{ opacity: 1; transform: translate(var(--tx, 0), 0); } }
.toast{ --tx: -50%; }

/* Mode aplikasi terpasang */
@media (display-mode: standalone){
  .footer__install{ display: none; }
}

/* ---------- Halaman offline ---------- */
.offline{
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; padding: 2rem var(--gutter); text-align: center;
}
.offline__logo{ height: 28px; width: auto; margin-bottom: 1.6rem; }
.offline h1{ font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .2em; }
.offline p{ max-width: 38ch; margin-bottom: 1.4rem; }

/* ---------- Mode kontras tinggi & cetak ---------- */
@media (forced-colors: active){
  .btn, .plan, .form, .features, .terminal{ border: 1px solid CanvasText; }
  .btn--primary{ forced-color-adjust: none; background: ButtonText; color: ButtonFace; }
}
@media print{
  .nav, .to-top, .toast, .hero::before, .footer__install{ display: none !important; }
  .section{ padding-block: 1.5rem; }
}

/* ---------- Tambahan SEO: tautan teks, kartu, halaman konten ---------- */
.eyebrow{ font-family: var(--font-mono); font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--brand); margin: 0 0 1rem; }
.textlink{ color: var(--brand); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(20,66,98,.3); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.textlink:hover{ text-decoration-color: var(--brand); }
.section__more{ margin: 2rem 0 0; font-size: .95rem; }

.cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card{
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-card);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover{ border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.card h3, .card__title{ font-size: 1.12rem; line-height: 1.25; margin-bottom: .55em; }
.card h3 a:hover, .card__title a:hover{ color: var(--brand); }
.card p{ font-size: .94rem; flex: 1; }
.card__more{ font-size: .92rem; font-weight: 600; color: var(--brand); }
.card__more::after{ content: " →"; }
.card__meta{ font-size: .8rem; color: var(--text-faint); margin: 0 0 .6rem; }

.breadcrumb{ font-size: .85rem; color: var(--text-faint); margin: 0 0 1.4rem; }
.breadcrumb ol{ list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumb li + li::before{ content: "/"; margin-right: .5rem; color: var(--line-strong); }
.breadcrumb a{ color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover{ color: var(--brand); }

.page-hero{ position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); background: var(--bg-tint); }
.page-hero h1{ font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -0.03em; line-height: 1.08; max-width: 22ch; margin-bottom: .5em; }
.page-hero .lead{ font-size: clamp(1.02rem, 1.4vw, 1.14rem); max-width: 60ch; }
.page-hero .hero__actions{ margin: 1.6rem 0 0; }

.prose{ max-width: 720px; }
.prose h2{ font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 2.4em 0 .6em; }
.prose h2:first-child{ margin-top: 0; }
.prose h3{ font-size: 1.15rem; margin: 1.8em 0 .5em; }
.prose p, .prose li{ font-size: 1.04rem; line-height: 1.75; color: var(--text); }
.prose p{ margin-bottom: 1.1em; }
.prose ul, .prose ol{ margin: 0 0 1.3em 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.prose a:not(.btn){ color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose strong{ color: var(--ink); }
.article-meta{ font-size: .88rem; color: var(--text-faint); margin: 0 0 1.5rem; }

.checklist{ list-style: none; margin-left: 0 !important; }
.checklist li{ position: relative; padding-left: 1.8rem; }
.checklist li::before{
  content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23144262' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.faq{ max-width: 760px; display: flex; flex-direction: column; gap: .75rem; }
.faq details{ background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 1.2rem; }
.faq summary{ cursor: pointer; list-style: none; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{ content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); flex-shrink: 0; }
.faq details[open] summary::after{ content: "–"; }
.faq details p{ font-size: .98rem; padding-bottom: .4rem; }

.cta-band{ background: var(--brand); color: #fff; padding-block: clamp(2.6rem, 6vw, 4rem); }
.cta-band .container{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2{ color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; max-width: 24ch; }
.cta-band p{ color: rgba(255,255,255,.8); margin: .5rem 0 0; }
.cta-band .btn--primary{ background: #fff; color: var(--brand); box-shadow: none; }
.cta-band .btn--primary:hover{ background: #E6F2FD; }
@media (max-width: 640px){ .cta-band .btn{ width: 100%; } }
.offline .offline__links{ margin: 1.2rem 0 0; font-size: .92rem; }
