:root {
  --primary: #0F172A; /* Dark Blue from Mockup */
  --secondary: #1E293B; /* Slightly Lighter Blue */
  --accent: #F97316; /* Vibrant Orange */
  --accent-hover: #EA580C;
  --bg-light: #F8FAFC;
  --text-dark: #334155;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --success: #10B981;
  --font-main: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px -1px rgba(249, 115, 22, 0.4);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* ==========================================================================
   NAVBAR & DROPDOWN
   ========================================================================== */
.navbar {
  background: var(--white);
  padding: 16px 50px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.container-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.25;
}

.logo-mobile-break {
  display: none;
}

.logo-dot {
  display: inline;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 0;
}

.nav-item > a:hover,
.nav-item > a.active {
  color: var(--primary);
}

.nav-item > a.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* Dropdown specific */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--white);
  min-width: 250px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid var(--border);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 25px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--accent);
  padding-left: 30px;
}

.dropdown-header {
  padding: 10px 25px 5px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 140px 20px;
  text-align: center;
  background-image: url('../img/kelurahan.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  background-blend-mode: multiply; /* Better dark overlay */
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-top: 24px;
}

.hero h2 {
  color: var(--accent);
  font-size: 42px;
  font-weight: 700;
  margin-top: 5px;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  margin-top: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features {
  padding: 0 20px 80px;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.icon-blue { background-color: #EFF6FF; color: #3B82F6; }
.icon-orange { background-color: #FFF7ED; color: var(--accent); }
.icon-green { background-color: #ECFDF5; color: var(--success); }

/* ==========================================================================
   PROCEDURE MODAL (PROSEDUR)
   ========================================================================== */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(15, 23, 42, 0); 
  backdrop-filter: blur(0px);
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  overflow-y: auto;
  padding: 40px 16px;
}

.modal.is-active {
  background-color: rgba(15, 23, 42, 0.65); 
  backdrop-filter: blur(8px);
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header-badge {
  display: inline-block;
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.close-modal {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background-color: #F1F5F9;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748B;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  top: 20px;
  right: 20px;
}

.close-modal:hover {
  background-color: #FEE2E2;
  color: #EF4444;
  border-color: #FCA5A5;
  transform: rotate(90deg) scale(1.05);
}

.modal-content-prosedur {
  width: 740px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 32px;
  border-radius: 24px;
}

.modal-prosedur-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.modal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: #EA580C;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.6;
}

.procedure-steps {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* Vertical Timeline Line behind the steps */
.procedure-steps::before {
  content: '';
  position: absolute;
  left: 48px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, #FF6B00 30%, #E2E8F0 100%);
  z-index: 1;
}

.proc-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #F8FAFC;
  border: 1.5px solid var(--border);
  padding: 18px 22px;
  border-radius: 18px;
  position: relative;
  z-index: 2;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

/* Stagger animation */
.modal.is-active .proc-step {
  animation: stepFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal.is-active .proc-step:nth-child(1) { animation-delay: 0.05s; }
.modal.is-active .proc-step:nth-child(2) { animation-delay: 0.12s; }
.modal.is-active .proc-step:nth-child(3) { animation-delay: 0.19s; }
.modal.is-active .proc-step:nth-child(4) { animation-delay: 0.26s; }

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proc-step:hover {
  transform: translateX(4px);
  background: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.08);
}

.proc-icon-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  z-index: 2;
}

.proc-icon-wrapper.step-1 { background: #EFF6FF; color: #2563EB; border: 2px solid #BFDBFE; }
.proc-icon-wrapper.step-2 { background: #FFF7ED; color: #EA580C; border: 2px solid #FED7AA; }
.proc-icon-wrapper.step-3 { background: #ECFDF5; color: #059669; border: 2px solid #A7F3D0; }
.proc-icon-wrapper.step-4 { background: #FAF5FF; color: #9333EA; border: 2px solid #E9D5FF; }

.proc-step:hover .proc-icon-wrapper {
  transform: scale(1.08);
}

.proc-icon-wrapper i {
  font-size: 19px;
}

.proc-num {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.proc-step:hover .proc-num {
  background: var(--accent);
}

.proc-text {
  flex-grow: 1;
}

.proc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.proc-text h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.proc-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-blue   { background: #EFF6FF; color: #2563EB; border: 1px solid #DBEAFE; }
.tag-orange { background: #FFF7ED; color: #EA580C; border: 1px solid #FFEDD5; }
.tag-green  { background: #ECFDF5; color: #059669; border: 1px solid #D1FAE5; }
.tag-purple { background: #FAF5FF; color: #9333EA; border: 1px solid #F3E8FF; }

.proc-text p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.proc-text strong {
  color: var(--primary);
}

/* Modal Prosedur Footer */
.modal-prosedur-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mpf-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  color: #475569;
  border-left: 3px solid #10B981;
}

.mpf-info i {
  color: #10B981;
  font-size: 14px;
  flex-shrink: 0;
}

.mpf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-mpf-primary {
  flex: 1.2;
  min-width: 200px;
  background: var(--accent-gradient);
  color: #FFFFFF !important;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
  transition: all 0.2s ease;
}

.btn-mpf-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

.btn-mpf-secondary {
  flex: 1;
  min-width: 160px;
  background: #F1F5F9;
  color: var(--primary) !important;
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-mpf-secondary:hover {
  background: #E2E8F0;
  border-color: #CBD5E1;
}

/* Mobile Procedure Modal styling override */
@media (max-width: 768px) {
  .modal {
    padding: 16px 10px;
  }

  .modal-content-prosedur {
    padding: 26px 16px 20px;
    border-radius: 20px;
  }

  .modal-title {
    font-size: 19px;
    padding-right: 36px;
  }

  .modal-desc {
    font-size: 12.5px;
  }

  .close-modal {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .procedure-steps {
    gap: 10px;
  }

  .procedure-steps::before {
    left: 36px;
    top: 18px;
    bottom: 18px;
  }

  .proc-step {
    padding: 14px 14px;
    gap: 12px;
    border-radius: 14px;
  }

  .proc-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .proc-icon-wrapper i {
    font-size: 16px;
  }

  .proc-num {
    width: 17px;
    height: 17px;
    font-size: 9px;
    top: -4px;
    left: -4px;
  }

  .proc-text h4 {
    font-size: 14px;
  }

  .proc-tag {
    font-size: 10px;
    padding: 2px 7px;
  }

  .proc-text p {
    font-size: 12px;
    line-height: 1.5;
  }

  .mpf-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-mpf-primary,
  .btn-mpf-secondary {
    width: 100%;
    min-width: unset;
    padding: 11px 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
   INFO / DASHBOARD SECTION
   ========================================================================== */
.info-section {
  padding: 40px 20px 80px;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--primary);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.info-box {
  padding: 50px;
  color: var(--white);
}

.info-box.left { background-color: var(--secondary); }
.info-box.right { background-color: var(--primary); }

.info-badge {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Track Form */
.track-form .form-group {
  margin-bottom: 20px;
}
.track-form input[type="text"] {
  width: 100%;
  padding: 16px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-main);
}
.track-form input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
}

/* ==========================================================================
   NEW FOOTER DESIGN
   ========================================================================== */
.footer-main {
  background-color: #0A101D; /* Very dark blue from mockup */
  color: #94A3B8;
  padding: 80px 20px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
}

/* Column 1 */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo i {
  background: #3B82F6;
  color: white;
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.footer-logo .text h3 {
  color: white;
  font-size: 20px;
  font-weight: 800;
}
.footer-logo .text p {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.f-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
}
.f-badge.resmi i { color: #3B82F6; }
.f-badge.gratis i { color: #10B981; }
.f-badge.terpercaya i { color: var(--accent); }

.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Columns 2, 3, 4 */
.footer-title {
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #94A3B8;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--accent);
}

/* Jam Layanan */
.schedule-widget {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.schedule-widget:last-child {
  border-bottom: none;
}
.schedule-widget h5 {
  color: white;
  font-size: 14px;
  margin-bottom: 4px;
}
.schedule-widget p {
  font-size: 13px;
  margin-bottom: 8px;
}
.schedule-time {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  border: 1px solid rgba(249, 115, 22, 0.2);
}
.schedule-time.tutup {
  background: rgba(255,255,255,0.05);
  color: #94A3B8;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Kontak Info */
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
}
.contact-item i {
  color: var(--accent);
  font-size: 18px;
  margin-top: 4px;
  background: rgba(249, 115, 22, 0.1);
  padding: 8px;
  border-radius: 8px;
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 13px;
}

.fb-left strong {
  color: white;
}
.fb-right {
  display: flex;
  gap: 20px;
}
.fb-right a:hover {
  color: white;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .info-container { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  /* Navbar Mobile */
  .navbar {
    padding: 12px 20px;
  }

  /* Hero: background-attachment:fixed tidak jalan di mobile, ganti ke scroll */
  .hero-v2 {
    background-attachment: scroll !important;
  }

  /* Footer Mobile — tampilkan semua kolom */
  .footer-main {
    padding: 50px 20px 30px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-badges {
    flex-wrap: wrap;
    gap: 8px;
  }
  /* Override AOS agar semua footer-col langsung tampil di mobile */
  .footer-col {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 36px;
  }
  .fb-right {
    flex-wrap: wrap;
    gap: 10px;
  }
  .fb-left p {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* ==========================================================================
   FORM & TICKET UI (Warga)
   ========================================================================== */
.form-wrapper {
  max-width: 900px;
  margin: -40px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.form-card {
  background: var(--white);
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.form-section-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.modern-form .form-group {
  margin-bottom: 24px;
}

.modern-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font-main);
  background: var(--bg-light);
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.btn-large {
  width: 100%;
  padding: 20px;
  font-size: 18px;
  justify-content: center;
  margin-top: 20px;
}

/* ==========================================================================
   HERO V2 (index.php redesign)
   ========================================================================== */
.hero-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('../img/kelurahan.jpg');
  background-size: cover;
  background-position: center top;
  gap: 60px;
  padding: 100px 60px;
  overflow: visible;
}

.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10,17,35,0.96) 0%, rgba(15,23,42,0.88) 60%, rgba(15,23,42,0.5) 100%);
  z-index: 0;
}

.hero-v2-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 650px;
}

.hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-v2-title {
  font-size: 64px;
  font-weight: 900;
  color: white;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-highlight {
  color: var(--accent);
  position: relative;
}

.hero-v2-desc {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-v2-desc strong { color: white; }

.hero-v2-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(249,115,22,0.35);
  text-decoration: none;
}

.hero-btn-main:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.45);
  color: white;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  text-decoration: none;
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: white;
  transform: translateY(-2px);
}

.hero-v2-stats {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hstat {
  display: flex;
  flex-direction: column;
}

.hstat-num {
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.hstat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
}

.hstat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Quick Track Card */
.hero-v2-card-panel {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 380px;
}

.quick-track-card {
  background: white;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.qtc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.qtc-header i { color: var(--accent); }

.qtc-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.qtc-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-main);
  transition: all 0.3s;
  margin-bottom: 12px;
  background: var(--bg-light);
}

.qtc-input:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
}

.qtc-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.qtc-btn:hover { background: var(--secondary); transform: translateY(-1px); }

.qtc-footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.qtc-footer a { color: var(--accent); font-weight: 700; }

/* Layanan Strip */
.layanan-strip {
  background: var(--primary);
  padding: 18px 0;
  overflow: hidden;
}

.layanan-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.layanan-strip-inner span {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.layanan-strip-inner span i { color: var(--accent); }
.layanan-strip-inner .sep { color: rgba(255,255,255,0.2); font-size: 20px; }

/* Section V2 */
.section-v2 { padding: 100px 20px; }
.section-light { background: var(--bg-light); }
.section-dark  { background: var(--primary); }

.section-v2-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.feature-v2-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-v2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: var(--accent);
}

.fv2-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-v2-card h3 { font-size: 17px; margin-bottom: 10px; }
.feature-v2-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Steps Grid */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-card {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}

.step-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.step-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(249,115,22,0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-card h4 { color: white; font-size: 16px; margin-bottom: 10px; }
.step-card p  { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.6; }

.step-connector {
  color: rgba(255,255,255,0.2);
  font-size: 20px;
  padding: 0 16px;
  flex-shrink: 0;
}

/* Info V2 Grid */
.info-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.info-v2-card {
  background: white;
  border-radius: 24px;
  padding: 50px;
  border: 1px solid var(--border);
}

.dark-card {
  background: var(--secondary);
  border-color: transparent;
}

.iv2-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.iv2-badge.orange { background: rgba(249,115,22,0.1); color: var(--accent); }
.iv2-badge.blue   { background: rgba(59,130,246,0.1); color: #3B82F6; }

.info-v2-card h2 { font-size: 32px; margin-bottom: 16px; }

/* Schedule V2 */
.schedule-v2 { display: flex; flex-direction: column; gap: 16px; }

.sv2-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.sv2-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 15px;
}

.sv2-label i { color: var(--text-muted); }

.sv2-time {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
}

.sv2-time.open   { background: #D1FAE5; color: #059669; }
.sv2-time.closed { background: #FEE2E2; color: #DC2626; }

/* Location V2 */
.location-v2 { display: flex; flex-direction: column; gap: 20px; }

.loc-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.loc-icon {
  width: 40px; height: 40px;
  background: rgba(249,115,22,0.15);
  color: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.loc-item strong { display: block; color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.loc-item p { color: white; font-size: 15px; font-weight: 500; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #c2410c 100%);
  padding: 80px 20px;
  text-align: center;
}

.cta-banner-inner { max-width: 700px; margin: 0 auto; }

.cta-banner h2 { color: white; font-size: 40px; font-weight: 900; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 36px; }

.cta-banner-actions { display: flex; justify-content: center; }

.cta-banner .hero-btn-main {
  background: white;
  color: var(--accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.cta-banner .hero-btn-main:hover { background: #f1f5f9; color: var(--accent); }

/* ==========================================================================
   FORM PAGE (daftar.php)
   ========================================================================== */
.form-page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 40px;
  text-align: center;
  color: white;
}

.form-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.form-page-header h1 { color: white; font-size: 40px; margin-bottom: 12px; }
.form-page-header p  { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 550px; margin: 0 auto; }

/* Sesi Radio */
.sesi-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sesi-option { cursor: pointer; }
.sesi-option input[type="radio"] { display: none; }

.sesi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: var(--bg-light);
  transition: all 0.3s;
  gap: 6px;
}

.sesi-card i { font-size: 28px; color: var(--text-muted); margin-bottom: 8px; }
.sesi-name   { font-weight: 700; font-size: 16px; color: var(--text-dark); }
.sesi-time   { font-size: 13px; color: var(--text-muted); }

.sesi-option input:checked + .sesi-card {
  border-color: var(--accent);
  background: rgba(249,115,22,0.05);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

.sesi-option input:checked + .sesi-card i { color: var(--accent); }
.sesi-option input:checked + .sesi-card .sesi-name { color: var(--accent); }

/* Form Notice */
.form-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 16px 20px;
  color: #1E40AF;
  font-size: 14px;
  margin-bottom: 10px;
}

.form-notice i { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.form-notice p { margin: 0; line-height: 1.5; }

/* Tracking page */
.tracking-wrapper {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px 80px;
}

.track-header-card {
  background: var(--primary);
  border-radius: 20px;
  padding: 30px;
  color: white;
  margin-bottom: 0;
}

.track-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.track-code-label { font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.track-code { font-size: 28px; font-weight: 900; color: white; letter-spacing: 2px; }

.status-badge {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.track-info-label { font-size: 11px; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 4px; }
.track-info-value { font-size: 15px; font-weight: 600; color: white; }

.track-body-card {
  background: white;
  border-radius: 0 0 20px 20px;
  border: 1px solid var(--border);
  border-top: none;
  padding: 30px;
}

.track-body-card h3 { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 24px; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; margin-bottom: 30px; }

.timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 24px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  width: 2px;
  height: calc(100% - 36px);
  background: var(--border);
}

.timeline-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-icon.completed { background: #D1FAE5; color: #059669; }
.timeline-icon.active    { background: var(--accent); color: white; box-shadow: 0 0 0 4px rgba(249,115,22,0.2); }
.timeline-icon.pending   { background: var(--bg-light); color: var(--text-muted); border: 2px solid var(--border); }

.timeline-content h4 { font-size: 15px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.timeline-content p  { font-size: 13px; color: var(--text-muted); }

.badge-active { background: var(--accent); color: white; font-size: 10px; padding: 3px 8px; border-radius: 4px; font-weight: 700; }

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  justify-content: center;
}

.btn-whatsapp:hover { background: #1ebe59; color: white; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-v2 { flex-direction: column; padding: 100px 30px 60px; text-align: center; }
  .hero-v2-content { max-width: 100%; }
  .hero-v2-actions { justify-content: center; }
  .hero-v2-stats { justify-content: center; }
  .hero-v2-card-panel { width: 100%; max-width: 460px; }
  .hero-v2-desc { margin-left: auto; margin-right: auto; }
  .features-v2-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-connector { display: none; }
  .step-card { flex: unset; }
  .info-v2-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-v2-title { font-size: 40px; }
  .features-v2-grid { grid-template-columns: 1fr; }
  .info-v2-card { padding: 30px; }
  .sesi-radio-group { grid-template-columns: 1fr; }
  .form-page-header { padding: 60px 20px; }
  .form-page-header h1 { font-size: 28px; }
}

@media (max-width: 520px) {
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-card { padding: 28px 20px; }
  .step-num { font-size: 36px; }
}

/* ==========================================================================
   PREMIUM MODERNIZATION OVERRIDE (WOW EFFECT)
   ========================================================================== */

:root {
  --primary: #090e17; /* Deeper midnight blue */
  --secondary: #131d2e;
  --accent: #ff6b00;
  --accent-hover: #e85d00;
  --accent-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --font-heading: 'Outfit', sans-serif;
}

body {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6, .hero-v2-title, .logo-title {
  font-family: var(--font-heading) !important;
}

/* Enhanced Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.3) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stunning Hero Section */
.hero-v2 {
  background-attachment: fixed;
}
.hero-v2-overlay {
  background: linear-gradient(135deg, rgba(9, 14, 23, 0.98) 0%, rgba(19, 29, 46, 0.85) 60%, rgba(255, 107, 0, 0.15) 100%) !important;
}
.hero-highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(255, 107, 0, 0.4);
}
.hero-btn-main {
  background: var(--accent-gradient) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-btn-main:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.4) !important;
}

/* Glassmorphism Quick Track Card */
.quick-track-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.quick-track-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4) !important;
}
.qtc-btn {
  background: var(--primary) !important;
}
.qtc-btn:hover {
  background: var(--accent) !important;
}

/* Modernized Feature Cards */
.feature-v2-card {
  border: none !important;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
}
.feature-v2-card:hover {
  transform: translateY(-12px) scale(1.03) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08) !important;
}

/* Premium Footer */
.footer-main {
  background: var(--primary) !important;
  position: relative;
  overflow: hidden;
}
.footer-main::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Premium CTA Banner Override */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 {
  color: white !important;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.7) !important;
}
.cta-banner .hero-btn-main {
  background: var(--accent-gradient) !important;
  color: white !important;
  border: none !important;
}
.cta-banner .hero-btn-main:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 15px 30px rgba(255, 107, 0, 0.4) !important;
  color: white !important;
}

/* ==========================================================================
   RESPONSIVE NAVBAR - Konsultasi Gratis (Icon Only on Mobile)
   ========================================================================== */
@media (max-width: 768px) {
  .konsultasi-text {
    display: none;
  }

  .btn-konsultasi {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    gap: 0;
  }
}

/* ==========================================================================
   PERSISTENT TOAST NOTIFICATION & COPY TICKET STYLES
   ========================================================================== */
.btn-copy-ticket {
  background: #3B82F6;
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.btn-copy-ticket:hover {
  background: #2563EB;
  transform: scale(1.05);
}

.btn-copy-ticket:active {
  transform: scale(0.95);
}

.persistent-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  max-width: 420px;
  width: calc(100% - 48px);
}

.persistent-toast-container.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.persistent-toast-card {
  background: rgba(15, 23, 42, 0.85); /* Modern slate dark background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Accent warning glow bar on left */
.persistent-toast-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, #F97316 0%, #EA580C 100%);
}

.pt-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: 12px;
  flex-shrink: 0;
}

.pt-warning-icon {
  color: #F97316;
  font-size: 18px;
}

.pt-pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: ptPulse 2s infinite;
}

@keyframes ptPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.pt-content {
  flex-grow: 1;
}

.pt-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #F8FAFC;
  margin-bottom: 2px;
}

.pt-message {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.4;
}

.pt-highlight {
  color: #F97316;
  font-family: 'Courier New', monospace;
  font-weight: 800;
  background: rgba(249, 115, 22, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  margin-left: 2px;
}

.pt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-pt-action {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.btn-pt-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

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

.btn-pt-close {
  background: transparent;
  color: #94A3B8;
  border: none;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s ease;
  align-self: center;
}

.btn-pt-close:hover {
  color: #F8FAFC;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .persistent-toast-container {
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    max-width: none;
  }
  
  .persistent-toast-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }
  
  .pt-actions {
    width: 100%;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
  }
}

/* Hamburger Toggle Button Style */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 22px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background: rgba(15, 23, 42, 0.05);
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container-nav {
    width: 100% !important;
  }

  .logo-mobile-break {
    display: block !important;
  }

  .logo-dot {
    display: none !important;
  }

  .logo-title {
    font-size: 17px !important;
  }

  .logo-subtitle {
    font-size: 9px !important;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none !important; /* hide default horizontal flex menu */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1.5px solid var(--border);
    padding: 24px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    gap: 16px;
    box-sizing: border-box;
    z-index: 999;
  }

  .nav-links.active {
    display: flex !important; /* show vertical menu */
    animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .nav-item {
    width: 100%;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .nav-item > a {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
    box-sizing: border-box;
  }

  .nav-item:last-child > a {
    border-bottom: none;
  }

  /* Responsive dropdown for Profil inside mobile nav */
  .nav-item .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    box-shadow: none !important;
    border: none !important;
    padding: 16px 14px !important;
    margin-top: 8px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .nav-item.dropdown-active .dropdown-menu {
    display: block !important;
    animation: slideDown 0.2s ease forwards;
  }

  .nav-item > a i {
    transition: transform 0.2s ease;
  }

  .nav-item.dropdown-active > a i {
    transform: rotate(180deg);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

