/* SALTECH landing page - gaya disamakan dengan video iklan Meta:
   navy gelap + grid blueprint, headline kapital Oswald dengan blok merah, aksen HUD. */
:root {
  --bg: #070f1a;
  --bg-2: #0a1522;
  --card: #0e1c2d;
  --card-2: #12243a;
  --line: rgba(143, 180, 220, 0.14);
  --line-strong: rgba(143, 180, 220, 0.28);
  --red: #e23a32;
  --red-deep: #b01010;
  --text: #f3f6f9;
  --muted: #9fb0c2;
  --blue: #8fb4dc;
  --wa: #25d366;
  --wa-deep: #1da851;
  --radius: 14px;
  --wrap: 1120px;
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 84px; /* ruang untuk bar CTA bawah di HP */
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* grid blueprint seperti latar video iklan */
.grid-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}

/* ---------- tipografi ---------- */
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 9vw, 72px); }
h2 { font-size: clamp(30px, 6.4vw, 48px); }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { font-size: clamp(17px, 2.4vw, 19px); color: #c9d4df; max-width: 60ch; }

/* blok merah di belakang frasa aksen (seperti di iklan) */
.hl {
  /* inline-block: blok merah tidak menutupi baris di atasnya (seperti di iklan) */
  display: inline-block;
  background: var(--red-deep);
  color: #fff;
  padding: 0.04em 0.16em 0.02em;
  margin-top: 0.1em;
  line-height: 1.12;
}
.kicker {
  display: inline-block;
  font: 600 13px/1 var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.kicker::before { content: "// "; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 15, 26, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.top img { height: 30px; width: auto; }
.top .btn { padding: 10px 16px; font-size: 14px; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 0;
  font: 700 16px/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #06220f; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25); }
.btn-wa:hover { background: var(--wa-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero::after { /* sorot merah lembut di belakang media */
  content: ""; position: absolute; right: -20%; top: 10%; width: 70%; height: 80%;
  background: radial-gradient(closest-side, rgba(176, 16, 16, 0.22), transparent);
  pointer-events: none;
}
.hero .wrap { display: grid; gap: 36px; position: relative; z-index: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badge {
  font: 600 13px/1 var(--body);
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #d6e0ea;
  background: rgba(14, 28, 45, 0.7);
}
.badge b { color: var(--red); }

.media-frame { position: relative; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero .media-frame { aspect-ratio: 4 / 5; max-height: 640px; justify-self: center; width: min(460px, 100%); }
/* sudut HUD */
.hud::before, .hud::after {
  content: ""; position: absolute; width: 26px; height: 26px; z-index: 2; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.hud::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.hud::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.hud-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font: 500 11px/1 ui-monospace, Consolas, monospace; letter-spacing: .08em;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- statistik ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 28px; }
.stat { background: var(--bg-2); padding: 16px 12px; text-align: center; }
.stat b { display: block; font: 700 clamp(26px, 6vw, 36px)/1 var(--head); color: #fff; }
.stat span { font-size: 12px; color: var(--muted); line-height: 1.35; display: block; margin-top: 6px; }

/* ---------- section umum ---------- */
section { padding: 64px 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: 30px; max-width: 720px; }

.cards { display: grid; gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }
.card .num { font: 700 14px/1 var(--head); color: var(--red); letter-spacing: .1em; display: block; margin-bottom: 12px; }

/* daftar dengan penanda */
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.list .n { font: 700 15px/1.5 var(--head); color: var(--red); }
.list b { color: #fff; font-weight: 600; }
.list small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.list .opt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(143,180,220,.4); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; color: #d6e0ea; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pain li::before { background: #2a3645 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e23a32' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #0b1520; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .tall img { aspect-ratio: 3 / 4; }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px;
  font-size: 12.5px; font-weight: 600; color: #fff; line-height: 1.3;
  background: linear-gradient(transparent, rgba(3, 8, 14, 0.88));
}
.gallery figcaption i { font-style: normal; display: block; color: var(--blue); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--card-2); color: #d6e0ea; border: 1px solid var(--line); }

/* portofolio: render HD 16:9 (utuh) agar board & watermark tidak terpotong */
.gallery.pf img { aspect-ratio: 16 / 9; height: auto; }
.gallery.pf figcaption { position: static; background: var(--card); padding: 12px 14px; font-size: 14px; }
.gallery.pf figure:hover img { transform: none; }
.gallery.pf { grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery.pf { grid-template-columns: 1fr 1fr; } }

/* galeri foto HD: satu foto lebar di atas, sisanya 2 kolom */
.gallery.photos { grid-template-columns: 1fr 1fr; }
.gallery.photos .wide { grid-column: 1 / -1; }
.gallery.photos .wide img { aspect-ratio: 16 / 10; }

/* masonry: foto tampil utuh sesuai bentuk aslinya (portrait / landscape) */
.masonry { column-count: 2; column-gap: 10px; }
.masonry figure { break-inside: avoid; margin: 0 0 10px; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b1520; }
.masonry img { width: 100%; height: auto; }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px;
  font-size: 12.5px; font-weight: 600; color: #fff; line-height: 1.3;
  background: linear-gradient(transparent, rgba(3, 8, 14, 0.88));
}
@media (min-width: 760px) { .masonry { column-count: 3; column-gap: 14px; } .masonry figure { margin-bottom: 14px; } }

/* lokasi / Google Maps */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
.map-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.map-card address { font-style: normal; color: #d6e0ea; line-height: 1.6; margin-bottom: 18px; }
.map-card .btn { width: 100%; margin-top: 10px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--card); }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* split: teks + gambar */
.split { display: grid; gap: 28px; align-items: center; }
.split .media-frame img { aspect-ratio: 4 / 3; }

/* ---------- langkah proses ---------- */
.steps { counter-reset: s; display: grid; gap: 12px; }
.step { position: relative; padding: 20px 20px 20px 72px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; left: 20px; top: 18px;
  font: 700 28px/1 var(--head); color: var(--red);
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; }

/* ---------- kartu harga ---------- */
.price {
  position: relative;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 30px 24px;
  max-width: 560px;
  margin-inline: auto;
  overflow: hidden;
}
.price::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red); }
.price .tag { font: 600 13px/1 var(--body); letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }
.price .amount { font: 700 clamp(46px, 13vw, 68px)/1 var(--head); margin: 14px 0 4px; color: #fff; }
.price .amount sup { font-size: .38em; vertical-align: .95em; margin-right: 4px; color: var(--muted); }
.price .per { color: var(--muted); margin-bottom: 22px; }
.price .checks { margin-bottom: 26px; }
.price .btn { width: 100%; }

/* ---------- mentor ---------- */
.mentor { display: grid; gap: 22px; align-items: center; }
.mentor .media-frame img { aspect-ratio: 4 / 3; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-weight: 600; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font: 400 24px/1 var(--body); color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; }

/* ---------- CTA penutup ---------- */
.final { text-align: center; padding: 76px 0 84px; position: relative; overflow: hidden; }
.final h2 { max-width: 16ch; margin-inline: auto; }
.final .lead { margin-inline: auto; }
.final .btn-row { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 28px 0 32px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; gap: 14px; }
footer img { height: 26px; width: auto; }
footer a { color: #d6e0ea; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- bar CTA melayang (HP) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(7, 15, 26, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; padding: 14px 20px; }

/* animasi muncul saat di-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- layar lebar ---------- */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  section { padding: 92px 0; }
  .hero { padding: 64px 0 88px; }
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; }
  .cards.c3 { grid-template-columns: repeat(3, 1fr); }
  .cards.c2 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.rev > :first-child { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mentor { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
  .map-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .map-frame, .map-frame iframe { min-height: 400px; }
  .list.two { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .gallery img { transition: none; }
}

/* strip bidang proyek berjalan */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 14px 0; }
.marquee .track { display: flex; gap: 34px; width: max-content; animation: slide 40s linear infinite; }
.marquee span { font: 600 15px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: #cdd7e3; white-space: nowrap; }
.marquee span::before { content: "\25C6"; color: var(--red); margin-right: 12px; font-size: 10px; vertical-align: 2px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* showcase video proses */
.showcase { display: grid; gap: 28px; align-items: center; }
.showcase .media-frame { aspect-ratio: 9 / 16; max-width: 380px; width: 100%; justify-self: center; }
.showcase .media-frame video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .showcase { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
