/* ==========================================================================
   Booking Schedule Meeting — stylesheet tunggal.
   Tema terang (light) futuristik: biru, ungu, putih.
   Tanpa build step, tanpa Tailwind.

   Seluruh warna dipusatkan di :root — untuk mengubah nuansa warna seluruh
   aplikasi, cukup ubah nilai di blok itu saja.
   ========================================================================== */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Latar */
  --bg: #f6f8ff;
  --bg-soft: #eef2ff;
  --surface: #ffffff;

  /* Warna utama */
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --purple-light: #a78bfa;

  /* Status */
  --green: #059669;
  --green-soft: #d1fae5;
  --red: #dc2626;
  --red-soft: #fee2e2;

  /* Teks */
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;

  /* Garis & bayangan */
  --line: rgba(79, 70, 229, 0.14);
  --line-strong: rgba(79, 70, 229, 0.3);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
  --shadow-lg: 0 18px 44px rgba(79, 70, 229, 0.16);
  --glow: 0 8px 26px rgba(37, 99, 235, 0.3);
  --glow-purple: 0 8px 26px rgba(124, 58, 237, 0.32);

  --gradient: linear-gradient(90deg, var(--blue), var(--purple));
  --radius: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 12% -8%, rgba(96, 165, 250, 0.28), transparent 52%),
    radial-gradient(circle at 88% 4%, rgba(167, 139, 250, 0.26), transparent 48%),
    radial-gradient(circle at 50% 110%, rgba(59, 130, 246, 0.14), transparent 55%);
  background-attachment: fixed;
}

::selection {
  background: rgba(124, 58, 237, 0.2);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-soft);
}
::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a5b4fc;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Utilitas dasar
   -------------------------------------------------------------------------- */

.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-card-hover {
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.glass-card-hover:hover:not(:disabled) {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 15%, black 35%, transparent 88%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 15%, black 35%, transparent 88%);
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Logo perusahaan
   -------------------------------------------------------------------------- */

.brand-logo {
  display: inline-flex;
  align-items: center;
}
.brand-logo img {
  /* Ubah tinggi logo di pojok halaman lewat nilai ini. */
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}
.brand-logo-fallback {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Logo besar di latar belakang, di belakang seluruh objek.
   UBAH DI SINI kalau ingin blur atau transparansinya berbeda. */
.brand-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.brand-watermark img {
  width: min(62vw, 720px);
  height: auto;
  filter: blur(6px) saturate(120%);
  opacity: 0.35;            /* 35% — sesuai rentang 30–40% */
  transform: rotate(-6deg);
  animation: drift 18s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Tombol
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 200ms ease, border-color 200ms ease, color 200ms ease,
    background 200ms ease, transform 150ms ease;
}

.btn-primary {
  background-image: var(--gradient);
  color: #fff;
  padding-inline: 2rem;
  box-shadow: var(--glow);
}
.btn-primary:hover:not(:disabled) {
  box-shadow: var(--glow-purple);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink-soft);
  font-weight: 500;
}
.btn-ghost:hover:not(:disabled) {
  border-color: var(--line-strong);
  color: var(--blue);
  background: #fff;
}

.btn-danger {
  background: var(--red-soft);
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--red);
}
.btn-danger:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.link-muted {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font-size: 0.875rem;
  cursor: pointer;
}
.link-muted:hover {
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   Layar loading (logo perusahaan di tengah lingkaran)
   -------------------------------------------------------------------------- */

#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(96, 165, 250, 0.3), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(167, 139, 250, 0.28), transparent 55%);
  transition: opacity 500ms ease, transform 500ms ease;
}
#loading-screen.is-hidden {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.loader-ring {
  position: relative;
  height: 9rem;
  width: 9rem;
}
.loader-ring svg {
  height: 9rem;
  width: 9rem;
  transform: rotate(-90deg);
}

.loader-logo {
  position: absolute;
  inset: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.18);
  animation: logo-pulse 2s ease-in-out infinite;
  overflow: hidden;
}
.loader-logo img {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
}
.loader-logo-fallback {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loader-percent {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}
.loader-brand {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.loader-message {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Landing
   -------------------------------------------------------------------------- */

.landing {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(110px);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.blob-cyan {
  left: 50%;
  top: 5rem;
  height: 20rem;
  width: 20rem;
  transform: translateX(-50%);
  background: rgba(59, 130, 246, 0.35);
}
.blob-purple {
  right: 2rem;
  top: 15rem;
  height: 18rem;
  width: 18rem;
  background: rgba(139, 92, 246, 0.32);
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  flex-wrap: wrap;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-brand {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
}
.nav-link:hover {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.7);
}
.nav-cta {
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.nav-cta:hover {
  border-color: var(--line-strong);
  color: var(--blue);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  display: flex;
  max-width: 64rem;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.dot {
  height: 0.4rem;
  width: 0.4rem;
  border-radius: 9999px;
  background: var(--blue);
  animation: pulse-glow 2.4s ease-in-out infinite;
}

.hero h1 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero p {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--muted);
}
.hero .btn-primary {
  margin-top: 2.25rem;
}

.stats {
  position: relative;
  margin-top: 4.5rem;
  display: grid;
  width: 100%;
  max-width: 48rem;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-bottom: 4rem;
}
.stat-card {
  padding: 1.25rem;
  text-align: left;
  animation: float 6s ease-in-out infinite;
}
.stat-label {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.stat-value {
  margin: 0.375rem 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Wizard
   -------------------------------------------------------------------------- */

.wizard {
  position: relative;
  min-height: 100vh;
  padding: 2.5rem 1rem;
}
.wizard-inner {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  max-width: 48rem;
}

.step-card {
  padding: 1.5rem;
  margin-top: 0.5rem;
}
.step-card h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.step-card > p {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.form-section {
  margin: 2rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Indikator langkah */

.progress {
  margin: 1.5rem 0 2rem;
  width: 100%;
}
.progress-desktop {
  display: none;
  align-items: center;
}
.progress-item {
  display: flex;
  flex: 1 1 0;
  align-items: center;
}
.progress-item:last-child {
  flex: none;
}
.progress-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.progress-bullet {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-light);
  transition: all 300ms ease;
  box-shadow: var(--shadow-sm);
}
.progress-bullet.is-done {
  border-color: transparent;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
}
.progress-bullet.is-active {
  border-color: transparent;
  background-image: var(--gradient);
  color: #fff;
  box-shadow: var(--glow);
}
.progress-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}
.progress-label.is-reached {
  color: var(--ink-soft);
}
.progress-line {
  margin: 0 0.5rem;
  height: 2px;
  flex: 1 1 0;
  border-radius: 2px;
  background: rgba(79, 70, 229, 0.14);
}
.progress-line span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-image: var(--gradient);
  transition: width 500ms ease;
}

.progress-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}
.progress-mobile strong {
  color: var(--blue);
}
.progress-mobile span {
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
}
.progress-bar {
  margin-top: 0.5rem;
  height: 5px;
  width: 100%;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.14);
}
.progress-bar span {
  display: block;
  height: 5px;
  border-radius: 9999px;
  background-image: var(--gradient);
  transition: width 500ms ease;
}

/* Form */

.field-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}
.field {
  display: block;
}
.field-label {
  margin-bottom: 0.375rem;
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.field-required {
  margin-left: 0.2rem;
  color: var(--purple);
}
.input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.input::placeholder {
  color: var(--muted-light);
}
.input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}
.input.has-error {
  border-color: var(--red);
}
textarea.input {
  resize: vertical;
  min-height: 7rem;
}
.field-error {
  margin-top: 0.375rem;
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--red);
}

.actions {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.actions-end {
  justify-content: flex-end;
}

.alert {
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: var(--red-soft);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #991b1b;
}
.alert-success {
  border-color: rgba(5, 150, 105, 0.25);
  background: var(--green-soft);
  color: #065f46;
}

/* Kartu pilihan */

.choice-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.choice-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.choice-grid-slots {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.choice-grid-partners {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.choice-grid-partners .slot-box {
  padding: 1rem 0.75rem;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  padding: 1.25rem;
  text-align: left;
  color: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.choice.is-selected {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 0 0 2px var(--blue), var(--shadow);
}
.choice:disabled {
  cursor: not-allowed;
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(241, 245, 249, 0.8);
  box-shadow: none;
  opacity: 0.7;
}
.choice-title {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.choice-status {
  margin: 0.5rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}
.choice-status.is-busy {
  color: var(--muted-light);
}
.choice-status .dot {
  background: var(--green);
  animation: none;
}
.choice-status.is-busy .dot {
  background: var(--muted-light);
}
.choice-selected-mark {
  margin: 0.75rem 0 0;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
}

.avatar {
  display: flex;
  height: 3.25rem;
  width: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--bg-soft);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--indigo);
}
.choice.is-selected .avatar {
  background-image: var(--gradient);
  color: #fff;
}

.date-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
  text-align: center;
}
.date-day {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.date-month {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--purple);
}
.date-year {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Slot sesi */

.slot {
  position: relative;
}
.slot input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.slot-box {
  display: block;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.875rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease,
    box-shadow 180ms ease;
}
.slot-box:hover {
  border-color: var(--line-strong);
}
.slot input:checked + .slot-box {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.12));
  color: var(--indigo);
  box-shadow: 0 0 0 2px var(--blue);
}
.slot input:focus-visible + .slot-box {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.slot.is-booked .slot-box {
  cursor: not-allowed;
  border-color: rgba(148, 163, 184, 0.25);
  background: #f1f5f9;
  color: var(--muted-light);
  text-decoration: line-through;
  box-shadow: none;
}
.slot.is-booked .slot-box:hover {
  border-color: rgba(148, 163, 184, 0.25);
}
.slot-end {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted);
}
.slot-state {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
}

.empty-state {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  padding: 1.75rem;
  text-align: center;
}
.empty-state p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.empty-state .btn {
  margin-top: 1rem;
}

/* Ringkasan */

.summary-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.summary-section {
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.25rem;
}
.summary-head {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.summary-head h3 {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.summary-head a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}
.summary-head a:hover {
  color: var(--blue);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  padding: 0.3rem 0;
}
.summary-row dt {
  color: var(--muted);
}
.summary-row dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}
.summary-row dd.is-highlight {
  font-weight: 700;
  color: var(--purple);
}

/* --------------------------------------------------------------------------
   Halaman sukses
   -------------------------------------------------------------------------- */

.success-wrap {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  overflow: hidden;
}
.success-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 32rem;
  padding: 2rem;
  text-align: center;
  animation: rise 500ms ease both;
}
.success-check {
  margin: 0 auto;
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--green-soft);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
}
.success-card h1 {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.success-card > p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.success-detail {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.25rem;
  text-align: left;
}
.success-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.success-actions .btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Modal konflik
   -------------------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
}
.modal {
  width: 100%;
  max-width: 28rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.modal-icon {
  margin: 0 auto 1rem;
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--red-soft);
  font-size: 1.5rem;
  color: var(--red);
}
.modal h2 {
  margin: 0;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}
.modal > p {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
.modal-detail {
  margin-top: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1rem;
  font-size: 0.875rem;
}
.modal-detail div {
  display: flex;
  justify-content: space-between;
  padding: 0.15rem 0;
}
.modal-detail .label {
  color: var(--muted);
}
.modal-detail .value-bad {
  font-weight: 600;
  color: var(--red);
}
.modal .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Admin Center
   -------------------------------------------------------------------------- */

.auth-wrap {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  overflow: hidden;
}
.auth-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 24rem;
  padding: 2rem;
  text-align: center;
}
.auth-card .brand-logo {
  justify-content: center;
  margin-bottom: 1.25rem;
}
.auth-card h1 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.auth-card > p {
  margin: 0.375rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.auth-card .field {
  text-align: left;
}

.admin-page {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem 1rem 4rem;
}
.admin-main {
  position: relative;
  z-index: 10;
  margin: 1.5rem auto 0;
  max-width: 78rem;
}
.admin-main-narrow {
  max-width: 52rem;
}

.admin-nav {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  max-width: 78rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.875rem 1.25rem;
}
.admin-nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-nav-left .brand-logo img {
  height: 36px;
}
.admin-nav-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.admin-nav-sub {
  display: block;
  font-size: 0.6875rem;
  color: var(--muted);
}
.admin-nav-links {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.admin-nav-links a {
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.admin-nav-links a:hover {
  background: var(--bg-soft);
  color: var(--blue);
}
.admin-nav-links a.is-active {
  background-image: var(--gradient);
  color: #fff;
}
.admin-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  font-size: 0.8125rem;
}

.admin-head {
  margin-bottom: 1.25rem;
}
.admin-head h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.admin-head p {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.stat-box {
  padding: 1rem 1.25rem;
}
.stat-number {
  margin: 0.25rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  padding: 1.25rem;
  align-items: end;
}
.filter-actions {
  display: flex;
  gap: 0.5rem;
}

.table-wrap {
  margin-top: 1.25rem;
  padding: 0;
  overflow-x: auto;
}
.data-table {
  width: 100%;
  min-width: 56rem;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.data-table th {
  text-align: left;
  padding: 0.875rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(238, 242, 255, 0.95);
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(79, 70, 229, 0.08);
  vertical-align: top;
}
.data-table tbody tr:hover {
  background: rgba(238, 242, 255, 0.5);
}
.data-table strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.data-table .muted {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.data-table .purpose {
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.col-action {
  white-space: nowrap;
  text-align: right;
}
.inline-form {
  display: inline;
}

.code {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  background: var(--bg-soft);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--indigo);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.4rem;
}
.chip {
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--blue);
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-ok {
  background: var(--green-soft);
  color: #065f46;
}
.badge-off {
  background: #f1f5f9;
  color: var(--muted);
}
.badge-admin {
  background-image: var(--gradient);
  color: #fff;
}
.badge-user {
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
}

.note-box {
  margin-top: 1.25rem;
  padding: 1.5rem;
}
.note-box h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}
.note-box p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.note-box pre {
  margin: 0 0 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.75rem;
  overflow-x: auto;
}
.note-box code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
.note-box p code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
  background: var(--bg-soft);
  color: var(--indigo);
}
.note-box .muted {
  color: var(--muted);
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Animasi
   -------------------------------------------------------------------------- */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

@keyframes drift {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-18px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .nav {
    padding: 1.5rem 3rem;
  }
  .hero {
    padding-top: 6rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero p {
    font-size: 1.125rem;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .wizard {
    padding-block: 3.5rem;
  }
  .step-card,
  .modal,
  .success-card {
    padding: 2rem;
  }
  .field-grid,
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .choice-grid-slots {
    grid-template-columns: repeat(4, 1fr);
  }
  .choice-grid-partners {
    grid-template-columns: repeat(3, 1fr);
  }
  .progress-desktop {
    display: flex;
  }
  .progress-mobile,
  .progress-bar {
    display: none;
  }
  .success-actions {
    flex-direction: row;
  }
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .admin-page {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .filter-bar {
    grid-template-columns: repeat(4, 1fr) auto;
  }
}

/* ==========================================================================
   Hitung mundur event & galeri marketing (halaman depan)
   ========================================================================== */

.landing-extra {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 2.5rem;
  margin: 0 auto;
  max-width: 64rem;
  padding: 0 1rem 4rem;
}

/* --------------------------------------------------------------------------
   Hitung mundur — kartu gelap
   -------------------------------------------------------------------------- */

.event-countdown {
  /* Tingkat gelap lapisan di atas gambar latar buatan sendiri (0 = tembus, 1 = pekat). */
  --event-overlay: 0.72;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 1.75rem;
  background-color: #0d1017;
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

/* Gambar latar buatan sendiri (event-bg.*). */
.event-countdown__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Lapisan gelap + cahaya biru di bawah, seperti di desain. */
.event-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 80% at 50% 115%, rgba(59, 130, 246, 0.4), transparent 70%),
    linear-gradient(180deg,
      rgba(13, 16, 23, var(--event-overlay)),
      rgba(20, 23, 31, calc(var(--event-overlay) + 0.12)));
}

.event-countdown__eyebrow {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c084fc;
}

.event-countdown__title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.625rem, 4.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.event-countdown__tagline {
  margin: 0.5rem auto 0;
  max-width: 52rem;
  font-size: clamp(0.875rem, 2.2vw, 1.0625rem);
  color: #9ca3af;
}

.event-countdown__grid {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 2vw, 1.5rem);
}

.event-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.875rem, 2.5vw, 1.5rem) 0.25rem clamp(0.75rem, 2vw, 1.125rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(0.875rem, 2vw, 1.25rem);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.event-countdown__num {
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.event-countdown__label {
  font-size: clamp(0.6875rem, 1.8vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* --------------------------------------------------------------------------
   Galeri marketing — 5 slot, ganti otomatis
   -------------------------------------------------------------------------- */

.marketing {
  padding: clamp(1rem, 3vw, 1.75rem);
  text-align: center;
}

.marketing__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}

.marketing__title {
  margin: 0.4rem 0 1.25rem;
  font-size: clamp(1.375rem, 3.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.marketing__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 34rem;
  width: 100%;
  overflow: hidden;
  border-radius: 1.125rem;
  background: linear-gradient(135deg, #dbe4ff, #e9defc);
  box-shadow: var(--shadow-lg);
}

.marketing__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 0s linear 800ms;
}
.marketing__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 800ms ease, visibility 0s;
}

.marketing__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketing__placeholder {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px dashed rgba(79, 70, 229, 0.35);
  border-radius: inherit;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.marketing__placeholder strong {
  font-size: 1.25rem;
  color: var(--indigo);
}
.marketing__placeholder code {
  padding: 0.1rem 0.4rem;
  border-radius: 0.375rem;
  background: rgba(79, 70, 229, 0.1);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.marketing__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 2.5rem 1.25rem 1rem;
  text-align: left;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.78));
}
.marketing__caption strong {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 700;
}
.marketing__caption span {
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.85);
}

/* Titik navigasi; titik aktif terisi perlahan selama 5 detik. */
.marketing__dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
}
.marketing__dot {
  width: clamp(2rem, 9vw, 3rem);
  padding: 0.5rem 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.marketing__track {
  display: block;
  height: 0.3125rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.16);
  transition: background 200ms ease;
}
.marketing__dot:hover .marketing__track {
  background: rgba(79, 70, 229, 0.3);
}
.marketing__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--gradient);
}
/* Tanpa JavaScript, titik aktif tetap terlihat penuh. */
.marketing__dot.is-active .marketing__fill {
  transform: scaleX(1);
}
.js .marketing__dot.is-active .marketing__fill {
  transform: scaleX(0);
}
