/* =========================================================
   PuntenAI Landing — design tokens diadaptasi dari Passionfroot
   (krem hangat, ink scale, aksen oranye, shadow via border)
   ========================================================= */

:root {
  /* Foundation (krem hangat — hue 96–98 seperti referensi) */
  --surface-50: #fbfaf7;
  --surface-300: #f6f4ee;
  --surface-500: #f1efe8;
  
  /* Scroll behavior */
  --scroll-duration: 0.5s;

  /* Ink (coklat-arang hangat) */
  --ink-100: #f2f0ea;
  --ink-200: #edeae4;
  --ink-300: #dedbd2;
  --ink-400: #b5b1a7;
  --ink-500: #8d8a82;
  --ink-600: #6f6c65;
  --ink-700: #4a4741;
  --ink-800: #38352f;
  --ink-900: #2b2924;

  /* Aksen */
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-accent: #dc2626;

  /* Semantic (gaya referensi: shadow via border) */
  --bg-foundation: var(--surface-300);
  --bg-brand-surface: var(--surface-500);
  --bg-card: #ffffff;
  --text-primary: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-inverse: var(--ink-100);
  --text-inverse-muted: var(--ink-300);
  --border-subtle: var(--ink-200);
  --border-strong: var(--ink-300);

  --font-body: "Nunito Sans", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;

  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --max-w: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-foundation);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 24px; }
.caveat { font-family: var(--font-hand); }

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); text-align: center; }
.section-sub { max-width: 560px; margin: 14px auto 0; text-align: center; color: var(--text-muted); font-size: 1.05rem; }
.text-inverse { color: var(--text-inverse); }
.text-inverse-muted { color: var(--text-inverse-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--orange-400), var(--orange-500));
  border-color: var(--orange-600);
  box-shadow: 0 0 0 1px var(--orange-600), 0 1px 2px rgb(43 41 36 / .18);
}
.btn-primary:hover { filter: brightness(1.04); box-shadow: 0 0 0 1px var(--orange-600), 0 3px 10px rgb(249 115 22 / .35); }
.btn-ghost { color: var(--text-primary); background: var(--bg-card); border-color: var(--border-strong); box-shadow: 0 0 0 1px var(--border-subtle); }
.btn-ghost:hover { background: var(--surface-50); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 250 247 / .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--text-primary); text-decoration: none; letter-spacing: -.02em; }
.logo-accent { color: var(--orange-500); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-600); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text-primary); }
@media (max-width: 640px) { .nav { display: none; } }

/* ===== Hero (terang, krem — seperti referensi) ===== */
.hero { padding: clamp(56px, 9vw, 110px) 0 48px; text-align: center; }
.hero-kicker {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--red-accent);
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 999px;
  padding: 6px 14px; margin: 0 0 22px;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-highlight {
  color: var(--orange-500);
}

.hero-sub {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 1.1rem;
  color: var(--ink-600);
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 26px; font-size: 1.35rem; color: var(--ink-500); transform: rotate(-2deg); }

/* Hero Form - Improved */
.hero-form-container {
  margin: 32px 0 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.hero-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(43, 41, 36, 0.08);
  transition: box-shadow 0.2s ease;
}

.hero-input-wrapper:focus-within {
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.2);
}

.hero-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--orange-500);
  z-index: 2;
  pointer-events: none;
}

.hero-input {
  flex: 1;
  padding: 16px 20px 16px 52px;
  font-size: 1.05rem;
  font-weight: 500;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all 0.2s ease;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(43, 41, 36, 0.05);
}

.hero-input:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.hero-input::placeholder {
  color: var(--ink-400);
  font-weight: 400;
}

.hero-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--orange-400), var(--orange-500));
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.2);
}

.hero-submit:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.hero-submit:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-submit span {
  font-size: 1.1rem;
  line-height: 1;
}

/* Loading state */
.hero-input.loading {
  background: var(--surface-50);
}

.loading-spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-input-wrapper.active {
  border-color: var(--orange-400);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.1);
}

.hero-form-hint {
  font-size: 0.88rem;
  color: var(--ink-500);
  text-align: center;
  margin-top: 6px;
  font-weight: 500;
}

/* Animation for input */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); }
}

.hero-input:focus {
  animation: pulse-glow 1.5s infinite;
}

/* ===== Video Founder (kartu dua kolom — video dikecilkan) ===== */
.video-section {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--bg-foundation);
}

.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px var(--border-subtle), 0 6px 22px rgb(43 41 36 / .06);
  padding: clamp(22px, 3.4vw, 44px);
}
@media (max-width: 860px) {
  .video-card { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- Kolom teks ---- */
.video-kicker {
  display: inline-block;
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.video-title {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.video-desc {
  margin: 0;
  max-width: 46ch;
  color: var(--ink-600);
  font-size: clamp(.96rem, 1.1vw, 1.03rem);
  line-height: 1.62;
}
.video-desc strong { color: var(--text-primary); }

.video-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.video-link {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-700);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink-300);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.video-link:hover { color: var(--orange-600); border-color: var(--orange-500); }

/* ---- Kolom video (kecil, tidak lagi full-width) ---- */
.video-media { min-width: 0; }

.video-placeholder {
  /* reset gaya <button> */
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  display: block;
  padding: 0;
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--border-subtle), 0 3px 12px rgb(43 41 36 / .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.video-placeholder:hover,
.video-placeholder:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ink-400);
  box-shadow: 0 0 0 1px var(--border-subtle), 0 10px 26px rgb(43 41 36 / .14);
}
.video-placeholder:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 3px; }

.video-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--surface-300);
  overflow: hidden;
}
.video-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .3s ease, transform .35s ease;
}
.video-placeholder:hover .video-thumbnail img { opacity: 1; transform: scale(1.02); }

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(43 41 36 / .18);
  transition: background .3s ease;
}
.video-placeholder:hover .video-overlay { background: rgb(43 41 36 / .3); }

.video-play-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgb(249 115 22 / .92);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
  box-shadow: 0 4px 12px rgb(249 115 22 / .3);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.video-placeholder:hover .video-play-button {
  background: var(--orange-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(249 115 22 / .38);
}
.video-play-button svg { width: 16px; height: 16px; flex: 0 0 auto; }

.video-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-50);
}
.video-caption-title { font-weight: 800; font-size: .95rem; color: var(--text-primary); }
.video-caption-meta { font-size: .82rem; color: var(--ink-500); }

/* Layar sempit: video tampil setelah teks, tetap kecil */
@media (max-width: 860px) {
  .video-media { order: 2; max-width: 460px; margin-inline: auto; width: 100%; }
  .video-copy { order: 1; }
}
@media (max-width: 520px) {
  .video-actions { margin-top: 20px; }
  .video-play-button span { display: none; }
  .video-play-button { padding: 12px; }
}

/* ===== Marquee galeri AI staff (auto-scroll, seamless, pause on hover) ===== */
.gallery-section {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--bg-brand-surface);
  border-block: 1px solid var(--border-subtle);
  overflow: hidden; /* jangan bikin body bisa digeser horizontal */
}

.marquee {
  /* Lebar kartu + jarak; durasi dihitung ulang oleh js/main.js
     supaya kecepatan konstan (~62px/detik) berapa pun lebar layarnya. */
  --card-w: 264px;
  --card-gap: 20px;
  --marquee-duration: 46s;
  position: relative;
  margin-top: 34px;
}

/* Viewport: satu-satunya yang overflow; tepi kiri/kanan di-fade halus */
.marquee-viewport {
  overflow: hidden;
  padding: 18px 0 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* Track = 2 grup identik, jadi geser -50% = tepat satu grup → loop mulus */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration) linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  gap: var(--card-gap);
  padding-right: var(--card-gap); /* ekor = gap, supaya tidak ada celah saat loop */
}

.marquee-viewport:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Pause saat hover (area kartu) atau lewat tombol jeda */
.marquee-viewport:hover .marquee-track,
.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}
/* Pause saat navigasi keyboard (:focus-visible saja, supaya focus
   programatik — misal setelah form hero — tidak mengunci animasi).
   Dipisah agar browser tanpa :has() tetap dapat aturan di atas. */
.marquee-viewport:focus-visible .marquee-track,
.marquee:has(.staff-card :focus-visible) .marquee-track {
  animation-play-state: paused;
}

/* ---- Kartu profil ---- */
.staff-card {
  position: relative; flex: 0 0 var(--card-w); aspect-ratio: 3 / 4;
  background: var(--bg-card); border: 1.5px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--border-subtle);
  overflow: hidden; user-select: none; -webkit-user-select: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.staff-card:hover,
.staff-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--ink-400);
  box-shadow: 0 12px 26px rgb(43 41 36 / .14);
}

/* Highlight untuk karyawan yang match dengan input bisnis */
.staff-card.highlight-match {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgb(249 115 22 / .3);
  transform: translateY(-6px) scale(1.02);
  animation: pulse-highlight 1.6s ease-in-out infinite;
  z-index: 2;
}

@keyframes pulse-highlight {
  0%, 100% { box-shadow: 0 0 0 3px rgb(249 115 22 / .3); }
  50% { box-shadow: 0 0 0 7px rgb(249 115 22 / .45); }
}

.staff-avatar {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 96px;
  background: var(--surface-300);
}
.staff-avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.staff-avatar::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffffffcc 0%, transparent 42%),
    var(--avatar-bg, linear-gradient(160deg, #fdba74, #f97316));
  top: 12%; filter: blur(0.5px);
}
.staff-avatar span { position: relative; top: 4%; filter: drop-shadow(0 10px 14px rgb(43 41 36 / .25)); }

.staff-overlay {
  position: relative; padding: 44px 18px 16px;
  background: linear-gradient(180deg, transparent, rgb(43 41 36 / .82) 68%);
  color: var(--text-inverse);
}
.staff-name { font-size: 1.15rem; font-weight: 800; }
.staff-role { font-size: .88rem; color: var(--text-inverse-muted); margin-top: 2px; }
.staff-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgb(255 255 255 / .14); color: var(--text-inverse); border: 1px solid rgb(255 255 255 / .22);
}
.chip-chan { background: rgb(255 255 255 / .9); color: var(--ink-900); border-color: transparent; }

.staff-actions {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; background: rgb(43 41 36 / .55); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.staff-card:hover .staff-actions, .staff-card:focus-within .staff-actions, .staff-card.show-actions .staff-actions {
  opacity: 1; pointer-events: auto;
}
.staff-actions .btn { min-width: 150px; }

/* ---- Kontrol (jeda) ---- */
.gallery-controls {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 6px; flex-wrap: wrap;
}
.marquee-hint { margin: 0; font-size: .82rem; color: var(--ink-500); }
.gallery-pause {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border-strong);
  background: var(--bg-card); font-size: 1rem; cursor: pointer; color: var(--text-primary);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.gallery-pause:hover { background: var(--surface-500); }
.gallery-pause.paused { background: var(--orange-500); border-color: var(--orange-600); color: white; }
.gallery-pause.paused:hover { background: var(--orange-600); }

/* Denyut halus selama marquee berjalan (opacity saja — tidak menggeser
   posisi tombol, jadi target klik tetap stabil) */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: .72; }
}
.gallery-pause:not(.paused) { animation: pulse-subtle 2.4s ease-in-out infinite; }
.gallery-pause:hover, .gallery-pause:focus-visible { animation: none; opacity: 1; }

@media (max-width: 620px) {
  .marquee { --card-w: 214px; --card-gap: 14px; }
  .marquee-hint { display: none; }
}

/* Hormati preferensi reduced motion: matikan animasi, jadikan geser manual */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-viewport {
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .marquee-viewport::-webkit-scrollbar { display: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .staff-card { scroll-snap-align: center; }
  .gallery-pause { display: none; }
}

/* ===== Dark section (cara kerja) ===== */
.dark-section {
  background:
    radial-gradient(1200px 420px at 50% -10%, rgb(249 115 22 / .16), transparent 60%),
    var(--ink-900);
  color: var(--text-inverse);
  padding: clamp(56px, 8vw, 96px) 0;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .14);
  border-radius: var(--radius-lg); padding: 26px;
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(180deg, var(--orange-400), var(--orange-500));
  margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-inverse-muted); margin: 0; font-size: .96rem; }

/* ===== Features ===== */
.features-section { padding: clamp(56px, 8vw, 96px) 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: 0 0 0 1px var(--border-subtle);
}
.feature-ico { font-size: 1.7rem; }
.feature-card h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.feature-card p { margin: 0; color: var(--ink-600); font-size: .95rem; }

/* ===== Pricing ===== */
.pricing-section { padding: clamp(48px, 7vw, 88px) 0; background: var(--bg-brand-surface); border-block: 1px solid var(--border-subtle); }
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; margin-top: 44px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  position: relative; background: var(--bg-card); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl); padding: 30px; display: flex; flex-direction: column; gap: 14px;
}
.price-featured { border-color: var(--orange-500); box-shadow: 0 0 0 1px var(--orange-500); }
.price-badge {
  position: absolute; top: -16px; right: 22px; background: var(--ink-900); color: var(--text-inverse);
  padding: 4px 14px; border-radius: 999px; font-size: 1.1rem; transform: rotate(3deg);
}
.price-card h3 { font-size: 1.2rem; }
.price { font-size: 2.3rem; color: var(--text-primary); margin: 0; line-height: 1; }
.price span { font-size: 1rem; color: var(--ink-500); }
.price-card ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; color: var(--ink-700); font-size: .96rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-500); font-weight: 800; }

/* ===== CTA form (gelap) ===== */
.cta-section {
  background: var(--ink-900); padding: clamp(56px, 8vw, 96px) 0;
  background-image: radial-gradient(900px 380px at 50% 0%, rgb(249 115 22 / .14), transparent 60%);
}
.cta-form {
  max-width: 680px; margin: 40px auto 0; display: grid; gap: 16px;
  background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .14);
  border-radius: var(--radius-xl); padding: clamp(22px, 4vw, 36px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.cta-form label { display: block; font-size: .9rem; font-weight: 700; color: var(--text-inverse-muted); }
.cta-form label input, .cta-form label select { margin-top: 6px; width: 100%; }
.req { color: var(--orange-400); margin-left: 3px; }
.cta-form input, .cta-form select {
  font: inherit; color: var(--text-inverse); background: rgb(43 41 36 / .6);
  border: 1.5px solid rgb(255 255 255 / .2); border-radius: var(--radius-md); padding: 12px 14px;
}
.cta-form input:focus, .cta-form select:focus { outline: 2px solid var(--orange-500); outline-offset: 1px; }
.cta-form select option { color: var(--ink-900); }
.cta-form button { margin-top: 4px; }
.form-note { text-align: center; font-size: .82rem; color: var(--text-inverse-muted); margin: 0; }

/* ===== Footer ===== */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-foundation);
}
.footer-inner { display: grid; gap: 26px; }

.footer-brand .logo { display: inline-block; }
.footer-tag { color: var(--ink-500); margin: 6px 0 0; font-size: .92rem; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-600); text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer-links a:hover { color: var(--text-primary); }

/* Kredit vendor: SAN Sales, Automation & Networking */
.footer-credit {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-left: 3px solid var(--orange-500);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px var(--border-subtle);
}
.footer-credit-label {
  margin: 0 0 4px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.footer-credit-name {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text-primary);
}
.footer-credit-meta { margin: 6px 0 0; font-size: .88rem; color: var(--ink-500); max-width: 62ch; }

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.footer-legal { color: var(--ink-500); font-size: .85rem; margin: 0; }
.footer-built { color: var(--ink-500); font-size: .85rem; margin: 0; }
.footer-built a { color: var(--ink-700); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink-300); }
.footer-built a:hover { color: var(--orange-600); border-color: var(--orange-500); }

/* ===== Modal demo ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgb(43 41 36 / .6); }
.modal-card {
  position: relative; width: min(420px, 100%); max-height: 82vh; overflow: auto;
  background: var(--surface-50); border-radius: var(--radius-xl); border: 1.5px solid var(--border-strong);
  padding: 24px;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: #fff; cursor: pointer; font-size: .9rem;
}
#demoTitle { font-size: 1.15rem; padding-right: 36px; }
.chat { margin-top: 18px; display: grid; gap: 8px; }
.bubble {
  max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.45;
}
.bubble-row { display: flex; align-items: flex-end; gap: 8px; }
.bubble-row.out { justify-content: flex-end; }
.bubble-row.in { justify-content: flex-start; }
.bubble-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  border: 1px solid var(--border-subtle);
}
.bubble.in { background: #fff; border: 1px solid var(--border-subtle); border-bottom-left-radius: 4px; }
.bubble.out { background: #d9fdd3; border-bottom-right-radius: 4px; }
.bubble .t { display: block; font-size: .68rem; color: var(--ink-400); margin-top: 3px; text-align: right; }
