/* Halaman depan bengkel.tahap.id — gaya Bengkel Industrial + animasi ringan. */

.landing { background: var(--bg); overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Tombol: varian untuk latar gelap & ukuran besar */
.btn { transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(207, 74, 0, 0.28); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--hazard); outline-offset: 3px; }
.btn.big { min-height: 56px; font-size: 20px; padding: 0 24px; border-radius: 12px; }
.btn.ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.28); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; box-shadow: none; }
.btn.outline:hover { box-shadow: none; border-color: var(--ink); }

/* ------------------------------------------------------------------ Navigasi */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 31, 35, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-bottom-color: #2f343b; background: rgba(28, 31, 35, 0.96); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand .brand-mark { width: 38px; height: 38px; font-size: 20px; color: #fff; }
.brand-text { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.4px; }
.brand-dot { color: var(--brand-on-dark); }

.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  color: var(--on-asphalt-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #3a3f47;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 16px; border-top: 1px solid #2f343b; }
.menu a:not(.btn) { color: #fff; text-decoration: none; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid #2a2e34; }
.menu .btn { margin-top: 10px; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(207, 74, 0, 0.18), transparent 60%),
    linear-gradient(180deg, #1c1f23, #16181b);
  color: #fff;
}
.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 16px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand-on-dark);
}
.kicker.dark { color: var(--brand); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #34c27a; box-shadow: 0 0 0 0 rgba(52, 194, 122, 0.6); animation: ping 2s infinite; }

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.5px;
}
.hl { color: var(--brand-on-dark); position: relative; white-space: nowrap; }
.hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.12em;
  background: var(--hazard);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  animation: underline 0.9s 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.lead { margin: 20px 0 0; font-size: 20px; line-height: 1.5; color: var(--on-asphalt-muted); max-width: 540px; }
.lead b { color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--on-asphalt-muted); font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust i { color: #34c27a; }

/* Tampilan aplikasi hiasan */
.hero-visual { position: relative; min-height: 460px; display: flex; justify-content: center; align-items: center; }
.device {
  width: min(380px, 100%);
  background: var(--bg);
  color: var(--ink);
  border-radius: 26px;
  padding: 14px;
  border: 8px solid #2a2e34;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px #3a3f47;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: floaty 7s ease-in-out infinite;
}
.device-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--asphalt);
  color: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 1.2px;
}
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.counters div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.counters b { display: block; font-family: var(--display); font-size: 26px; line-height: 1; color: var(--warning); }
.counters .c-info b { color: var(--info); }
.counters .c-ok b { color: var(--success); }
.counters small { color: var(--muted); font-weight: 600; font-size: 12px; }

.ticket {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--warning);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: slidein 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.ticket small { color: var(--muted); }
.ticket .plate { font-size: 13px; padding: 2px 8px; }
.ticket .pill { font-size: 12px; padding: 2px 8px; }
.t1 { border-left-color: var(--info); animation-delay: 0.3s; }
.t2 { animation-delay: 0.5s; }
.t3 { border-left-color: var(--success); animation-delay: 0.7s; }
.bar { height: 6px; background: var(--well); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.bar span { display: block; height: 100%; width: 30%; background: var(--info); border-radius: 3px; animation: progress 6s ease-in-out infinite; }
.pill.cycle { --c: var(--info); --t: var(--info-tint); transition: background 0.3s, color 0.3s; }
.pill.cycle.done { --c: var(--success); --t: var(--success-tint); }

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 2;
  /* Terlihat bawaan; animasi hanya efek muncul (backwards) lalu mengapung. */
  animation: pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards, floaty 6s ease-in-out infinite;
}
.float i { font-size: 26px; }
.float b { display: block; font-family: var(--display); font-size: 17px; line-height: 1.1; }
.float small { color: var(--muted); font-weight: 600; }
.f1 { top: 8%; left: -4%; animation-delay: 1s, 1.6s; }
.f1 i { color: var(--brand); }
.f2 { top: 44%; right: -6%; animation-delay: 1.4s, 2s; }
.f2 i { color: var(--success); }
.f3 { bottom: 4%; left: 2%; animation-delay: 1.8s, 2.4s; }
.f3 i { color: var(--info); }
.f3 small { font-family: var(--mono); color: var(--success); }

.hero .hazard { height: 10px; }

/* ------------------------------------------------------------------ Bagian */
.section { max-width: 1180px; margin: 0 auto; padding: 88px 16px; }
.section.alt { max-width: none; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt > * { max-width: 1148px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.02; margin: 0; }
.section-head .muted { font-size: 18px; margin: 12px 0 0; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(23, 25, 28, 0.08); border-color: var(--line-strong); }
.feature .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--asphalt);
  color: var(--brand-on-dark);
  display: grid;
  place-items: center;
  font-size: 26px;
  transition: transform 0.25s ease;
}
.feature:hover .ic { transform: rotate(-6deg) scale(1.06); }
.feature h3 { font-family: var(--display); font-size: 24px; margin: 16px 0 6px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.55; }

.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.step .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
}
.step.optional { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
.step.optional .num { background: var(--asphalt-raised); color: var(--brand-on-dark); border: 1px solid #3a3f47; }
.step.optional p { color: var(--on-asphalt-muted); }
.step h3 { font-family: var(--display); font-size: 22px; margin: 14px 0 6px; }
.step p { margin: 0; color: var(--muted); line-height: 1.5; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 45px;
  right: -12px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
}

/* Paket */
.cycle-toggle { display: inline-flex; margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.cycle-toggle button {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.cycle-toggle button[aria-pressed="true"] { background: var(--asphalt); color: #fff; }
.save { font-size: 12px; background: var(--hazard); color: var(--ink); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 25, 28, 0.08); }
.price h3 { font-family: var(--display); font-size: 30px; margin: 0; }
.price-sub { margin: -10px 0 0; color: var(--muted); }
.amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amount .big { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; }
.amount .per { color: var(--muted); font-weight: 600; }
.amount .was { width: 100%; color: var(--muted); text-decoration: line-through; font-size: 15px; }
.amount .note { width: 100%; color: var(--success); font-weight: 700; font-size: 15px; }
.price ul { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li i { color: var(--success); margin-top: 3px; }
.price.featured { background: var(--asphalt); color: #fff; border-color: var(--asphalt); box-shadow: 0 24px 60px rgba(23, 25, 28, 0.25); }
.price.featured .price-sub, .price.featured .amount .per, .price.featured .amount .was { color: var(--on-asphalt-muted); }
.price.featured li i { color: #34c27a; }
.badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--hazard);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
}
.skeleton { min-height: 460px; background: linear-gradient(100deg, var(--surface) 30%, var(--well) 50%, var(--surface) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); margin: 24px 0 0; text-align: center; }
.pay-note i { color: var(--success); font-size: 20px; }
.amount .big.swap { animation: swap 0.35s ease; }

/* Tanya jawab */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: border-color 0.2s, background 0.2s; }
.faq details[open] { background: var(--surface); border-color: var(--line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--brand); transition: transform 0.25s ease; }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; animation: fadein 0.3s ease; }

/* Ajakan terakhir */
.final { background: var(--asphalt); color: #fff; text-align: center; }
.final .hazard { height: 10px; }
.final-inner { max-width: 760px; margin: 0 auto; padding: 80px 16px; }
.final h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 56px); margin: 0; }
.final p { color: var(--on-asphalt-muted); font-size: 19px; margin: 12px 0 0; }
.final .cta { justify-content: center; }
.soon { font-weight: 700; color: var(--hazard) !important; }

.foot { background: #141618; color: var(--on-asphalt-muted); }
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 32px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: #fff; text-decoration: none; font-weight: 600; }
.foot small { margin-left: auto; }

/* ------------------------------------------------------------------ Animasi */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes slidein { from { opacity: 0; transform: translateY(14px); } }
@keyframes pop { from { opacity: 0; transform: scale(0.8) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes progress { 0% { width: 18%; } 60% { width: 92%; } 100% { width: 18%; } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 194, 122, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(52, 194, 122, 0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .ticket, .float { opacity: 1; transform: none; }
  .hl::after { transform: scaleX(1); }
}

/* ------------------------------------------------------------------ Layar kecil */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .hero-visual { min-height: 420px; }
  .features, .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .features, .prices, .steps { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 64px 16px; }
  .float { transform: scale(0.9); }
  .f1 { left: 0; }
  .f2 { right: 0; }
  .foot small { margin-left: 0; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .cta .btn { width: 100%; }
  .hero-visual { min-height: 380px; }
  .float { display: none; }
  .f1, .f2 { display: flex; }
  .f1 { top: -30px; left: auto; right: 4px; }
  .f2 { top: auto; bottom: -2%; }
}
