@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   AYOLAPOR DESIGN SYSTEM — HUMAN-CENTERED & PSYCHOLOGICAL COMFORT
   ========================================================================== */

:root {
  /* Primary & Brand (Trust, Safety, Professionalism) */
  --brand-primary: #1d4ed8;
  /* Blue 700 - Deep, confident trust */
  --brand-primary-light: #3b82f6;
  /* Blue 500 */
  --brand-primary-dark: #1e3a8a;
  /* Blue 900 */
  --brand-surface: #eff6ff;
  /* Blue 50 - Gentle soft tint */
  --brand-accent: #f97316;
  /* Warm Orange / Tangerine - Optimism & Action */
  --brand-accent-hover: #ea580c;
  --brand-accent-surface: #fff7ed;

  /* Status Colors (Calm & Clear Signaling) */
  --color-success: #059669;
  /* Emerald 600 - Verified, safe, solved */
  --color-success-surface: #ecfdf5;
  --color-success-border: #a7f3d0;

  --color-warning: #d97706;
  /* Amber 600 */
  --color-warning-surface: #fffbeb;
  --color-warning-border: #fde68a;

  --color-info: #0284c7;
  /* Sky 600 */
  --color-info-surface: #f0f9ff;

  --color-danger: #dc2626;
  /* Rose/Red 600 */
  --color-danger-surface: #fef2f2;
  --color-danger-border: #fecaca;

  /* Neutral Spectrum (Soft Slate, Anti-Fatigue) */
  --bg-page: #f8fafc;
  /* Slate 50 - Soft natural canvas */
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  /* Slate 100 */
  --bg-elevated: #ffffff;

  --text-main: #0f172a;
  /* Slate 900 - Crisp, high legibility */
  --text-body: #334155;
  /* Slate 700 - Relaxing contrast for paragraphs */
  --text-muted: #64748b;
  /* Slate 500 - De-emphasized secondary text */
  --text-light: #94a3b8;
  /* Slate 400 */

  --border-subtle: #e2e8f0;
  /* Slate 200 */
  --border-focus: #93c5fd;
  /* Blue 300 focus ring */
  --border-strong: #cbd5e1;
  /* Slate 300 */

  /* Elevation & Shadows (Ambient Multi-layer) */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px -1px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 48px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.18);

  /* Radius & Curves (Approachable, Organic) */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-body);
  font-size: 1rem;
}

.container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  width: min(720px, calc(100% - 40px));
}

/* ==========================================================================
   HEADER & NAVBAR (FROSTED GLASS EFFECT)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: 128px;
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-primary-dark);
}

.logo-img {
  height: 115px;
  max-height: 122px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

.logo span {
  color: var(--brand-primary);
}

.logo small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 2px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}

.nav nav a:hover {
  color: var(--brand-primary);
}

.nav nav a.active {
  color: var(--brand-primary);
}

.nav nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, var(--brand-primary) 100%);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.38);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--brand-accent) 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #fb923c 0%, var(--brand-accent) 100%);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.38);
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-light:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand-surface);
  color: var(--brand-primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   CARDS & CONTAINERS
   ========================================================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   HERO SECTION (COMFORT & TRUST)
   ========================================================================== */

.hero {
  padding: 52px 0 28px;
  background: radial-gradient(100% 120% at 50% 0%, #eff6ff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  line-height: 1.12;
  margin: 18px 0 20px;
  font-weight: 800;
  color: var(--text-main);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #2563eb 60%, var(--brand-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 20px;
  flex-wrap: wrap;
}

/* Horizontal Hero Status Strip */
.hero-status-strip {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

.hero-status-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero-status-title {
  color: var(--brand-primary);
}

.hero-status-total {
  font-weight: 600;
  color: var(--text-muted);
}

.hero-status-total strong {
  color: var(--text-main);
  font-weight: 800;
}

.hero-status-chips-horizontal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.status-chip-hz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--chip-bg, #f8fafc);
  border: 1px solid var(--chip-border, var(--border-subtle));
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.status-chip-hz:hover {
  transform: translateY(-1px);
  border-color: var(--chip-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.status-chip-hz .chip-icon {
  font-size: 0.875rem;
  line-height: 1;
}

.status-chip-hz .chip-name {
  font-size: 0.8125rem;
  font-weight: 700;
}

.status-chip-hz .chip-count {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--chip-color, var(--brand-primary));
  background: #ffffff;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  min-width: 22px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item span.icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: var(--color-success-surface);
  color: var(--color-success);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

/* Hero Preview Card */
/* Hero Preview Card & Counter */
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.mini-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 20px 40px -10px rgba(29, 78, 216, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  position: relative;
  transition: transform var(--transition-smooth);
}

.mini-card:hover {
  transform: translateY(-3px);
}

.mini-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.mini-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-surface) 0%, #dbeafe 100%);
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}

.mini-card small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  text-transform: uppercase;
}

.mini-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-main);
  font-weight: 800;
}

.progress {
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  margin: 22px 0 12px;
  overflow: hidden;
}

.progress i {
  display: block;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  border-radius: var(--radius-full);
  animation: pulse-progress 2s ease-in-out infinite alternate;
}

@keyframes pulse-progress {
  0% {
    width: 50%;
    opacity: 0.85;
  }

  100% {
    width: 68%;
    opacity: 1;
  }
}

.steps {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.steps .active {
  color: var(--brand-primary);
  font-weight: 800;
}

/* WhatsApp Pengaduan Card */
.wa-card {
  width: 100%;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-radius: var(--radius-xl);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 14px 28px -4px rgba(22, 163, 74, 0.35), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), filter var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.wa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.wa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -4px rgba(22, 163, 74, 0.45);
  filter: brightness(1.03);
}

.wa-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wa-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.wa-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2px;
}

.wa-number {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.wa-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 4px;
  line-height: 1.35;
}

/* Status Counter Card */
.status-counter-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.07), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.status-counter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
}

.counter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-subtle);
}

.counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-surface);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #bfdbfe;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: live-pulse-dot 1.8s infinite;
}

@keyframes live-pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.counter-total {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.counter-total strong {
  color: var(--text-main);
  font-weight: 800;
}

.status-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.status-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  background: var(--chip-bg, #f8fafc);
  border: 1px solid var(--chip-border, var(--border-subtle));
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.status-chip:hover {
  transform: translateX(3px);
  border-color: var(--chip-color);
}

.chip-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.chip-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-body);
}

.chip-count {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--chip-color, var(--brand-primary));
  background: #ffffff;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  min-width: 28px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   SECTIONS & CATEGORIES
   ========================================================================== */

.section {
  padding: 44px 0;
}

.section-alt {
  padding: 52px 0;
  background: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 32px;
}

.section-head h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  margin: 12px 0 10px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.category {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.category:hover {
  border-color: #bfdbfe;
  box-shadow: 0 14px 28px -4px rgba(29, 78, 216, 0.12);
  transform: translateY(-3px);
}

.category:hover::before {
  opacity: 1;
}

.category-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.category:hover .category-icon {
  transform: scale(1.15);
}

.category b {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--text-main);
  font-weight: 700;
}

.category small {
  margin-top: auto;
  padding-top: 14px;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   HOW IT WORKS (4 STEPS)
   ========================================================================== */

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.how-grid article {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
}

.how-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.how-grid em {
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  color: var(--brand-primary);
  background: var(--brand-surface);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.how-grid h3 {
  font-size: 1.1875rem;
  margin-bottom: 8px;
}

.how-grid p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta {
  margin: 70px auto;
  padding: 56px 60px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, #172554 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 24px 48px -12px rgba(30, 58, 138, 0.35);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.cta h2 {
  font-size: clamp(1.875rem, 3vw, 2.375rem);
  color: #ffffff;
  margin: 10px 0 8px;
}

.cta p {
  color: #bfdbfe;
  font-size: 1.0625rem;
  max-width: 540px;
}

.cta .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: #fed7aa;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   FORM PAGES & INPUTS (EMPATHY & FOCUS)
   ========================================================================== */

.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #eff6ff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 36px;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 10px 0 6px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding-bottom: 80px;
  align-items: start;
}

.form-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.form-section-header .step-badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.875rem;
}

.form-section-header h2 {
  font-size: 1.25rem;
  margin: 0;
}

label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

label span.req {
  color: var(--brand-accent);
  margin-left: 2px;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: all var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  margin-bottom: 16px;
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--brand-primary);
}

/* Interactive Upload Dropzone */
.upload-box {
  border: 2px dashed #93c5fd;
  background: #f8fbff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-box:hover {
  background: #eff6ff;
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.upload-box input[type="file"] {
  display: none;
}

.upload-box .upload-icon {
  font-size: 36px;
}

.upload-box .upload-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 1rem;
}

.upload-box .upload-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
}

.form-actions p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Sidebar Info / Psychological Calming Advice */
.side-info .card {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: sticky;
  top: 104px;
}

.side-info h3 {
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--brand-primary-dark);
}

.side-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
}

.side-info li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 900;
}

/* ==========================================================================
   RESULT & SUCCESS PAGE
   ========================================================================== */

.result-page {
  padding: 60px 0 90px;
}

.success-card {
  text-align: center;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.success-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-success) 0%, #34d399 100%);
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-success-surface);
  color: var(--color-success);
  border: 2px solid var(--color-success-border);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.success-card h1 {
  font-size: 2.25rem;
  margin-bottom: 10px;
}

.secret-box {
  background: #f8fafc;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px auto;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.secret-box small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.secret-box strong {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  color: var(--brand-primary-dark);
  word-break: break-all;
}

.btn-copy {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: #dbeafe;
  color: var(--brand-primary-dark);
}

.warning-box {
  background: var(--color-warning-surface);
  border: 1px solid var(--color-warning-border);
  color: #92400e;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  max-width: 520px;
  margin: 20px auto 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

/* ==========================================================================
   TRACKING & STATUS TIMELINE
   ========================================================================== */

.tracking-form {
  padding: 40px;
  margin-top: 20px;
}

.tracking-form .btn {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
}

.status-page {
  padding: 40px 0 80px;
}

.status-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.status-top h1 {
  font-size: 1.75rem;
  margin: 6px 0 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #eff6ff;
  color: var(--brand-primary);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
}

/* Dynamic Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  margin: 44px 0 36px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  height: 3px;
  background: var(--border-subtle);
  left: 8%;
  right: 8%;
  top: 20px;
  z-index: 0;
}

.timeline>div {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light);
  width: 20%;
}

.timeline i {
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
  color: var(--text-light);
  transition: all var(--transition-smooth);
}

.timeline .done i {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(29, 78, 216, 0.35);
}

.timeline .done span {
  color: var(--brand-primary);
  font-weight: 700;
}

.report-summary {
  background: var(--bg-subtle);
  padding: 28px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.report-summary h2 {
  font-size: 1.375rem;
  margin-bottom: 18px;
}

dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  font-size: 0.9375rem;
}

dt {
  color: var(--text-muted);
  font-weight: 500;
}

dd {
  margin: 0;
  font-weight: 700;
  color: var(--text-main);
}

.history {
  margin-top: 24px;
}

.history article {
  border-left: 3px solid var(--brand-primary);
  padding: 0 0 20px 20px;
  position: relative;
}

.history article::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 2px solid #ffffff;
}

.history article b {
  font-size: 1rem;
  color: var(--text-main);
}

.history article small {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 2px;
}

.history article p {
  margin-top: 6px;
  font-size: 0.9375rem;
}

/* ==========================================================================
   ADMIN PANEL
   ========================================================================== */

.admin {
  padding: 48px 0 80px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.admin-stats a,
.admin-stats div {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.admin-stats a:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.admin-stats a.active {
  border-color: var(--brand-primary);
  background: #f8fafc;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.2), var(--shadow-sm);
}

.admin-stats a.active::after {
  content: '✓ Aktif';
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--brand-primary);
  background: var(--brand-surface);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.admin-stats small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.admin-stats strong {
  font-size: 2rem;
  color: var(--brand-primary);
  font-family: var(--font-heading);
}

.table-wrap {
  overflow-x: auto;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
}

td a {
  color: var(--brand-primary);
  font-weight: 700;
}

.login-page {
  padding: 80px 0;
}

.login-card {
  max-width: 440px;
  margin: 0 auto;
}

/* ==========================================================================
   FOOTER (TRUST & SERENITY)
   ========================================================================== */

footer {
  background: #091e42;
  color: #cbd5e1;
  padding: 64px 0 0;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer-grid .logo {
  color: #ffffff;
}

.footer-grid p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-grid b {
  display: block;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.footer-grid a {
  display: block;
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 10px 0;
}

.footer-grid a:hover {
  color: #ffffff;
}

.copyright {
  border-top: 1px solid #1e293b;
  margin-top: 48px;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */

@media (max-width: 900px) {

  .hero-grid,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    padding: 36px 0 18px;
  }

  .section {
    padding: 36px 0;
  }

  .section-alt {
    padding: 40px 0;
  }

  .hero-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    margin: 8px auto 0;
  }

  .mini-card {
    display: none;
  }

  .wa-card {
    display: flex;
    width: 100%;
  }

  .category-grid,
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    padding: 36px 24px;
    flex-direction: column;
    text-align: center;
  }

  .cta p {
    margin-inline: auto;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1140px);
  }

  .site-header {
    height: 104px;
  }

  .logo-img {
    height: 92px;
    max-height: 98px;
  }

  .nav nav {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .hero-actions {
    margin: 20px 0 14px;
  }

  .hero-status-strip {
    margin-bottom: 16px;
    padding: 10px 14px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .timeline {
    font-size: 0.6875rem;
  }

  .timeline i {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .status-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .hero-card {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 6px 0 0;
  }

  .mini-card {
    display: none;
  }

  .wa-card {
    display: flex;
    padding: 14px 16px;
    gap: 12px;
  }

  .wa-number {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   MODAL DIALOG / POPUP SYSTEM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-icon-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fffbeb;
  border: 2px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 16px -4px rgba(217, 119, 6, 0.15);
}

.modal-badge-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b45309;
  background: #fef3c7;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.modal-body {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-btn {
  width: 100%;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  background: var(--brand-primary);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-btn:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.modal-btn:active {
  transform: translateY(0);
}