/* =============================================
   GLOBAL UI/UX ENHANCEMENTS STYLE SHEET
   Dinas Kependudukan dan Pencatatan Sipil Salatiga
   ============================================= */

/* ===== 1. Keyboard Focus States (A11y) ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.quiz-option:focus-visible {
  outline: 3px solid #F59E0B !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.35) !important;
}

/* ===== 2. Reading Progress Bar ===== */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  transition: width 0.1s ease-out;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* ===== 3. Cookie Consent Banner ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #F1F5F9;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  transform: translateY(100%);
  animation: cookieSlideUp 0.5s ease 0.8s forwards;
}
@keyframes cookieSlideUp {
  to { transform: translateY(0); }
}
.cookie-consent.cookie-hidden {
  animation: cookieSlideDown 0.4s ease forwards;
}
@keyframes cookieSlideDown {
  to { transform: translateY(100%); }
}
.cookie-consent-text {
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-cookie {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-cookie-accept {
  background: #22C55E;
  color: white;
}
.btn-cookie-accept:hover {
  background: #16A34A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.btn-cookie-learn {
  background: transparent;
  color: #93C5FD;
  border: 1px solid rgba(147, 197, 253, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.btn-cookie-learn:hover {
  background: rgba(147, 197, 253, 0.1);
  color: #BFDBFE;
}

/* ===== 4. Sidebar Search Box & Highlight Mark ===== */
.search-box {
  margin-bottom: 1rem;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 2.25rem;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-body);
  transition: all 0.2s ease;
  outline: none;
}
.search-input::placeholder {
  color: var(--text-muted);
}
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.1);
}
.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  display: none;
  padding: 0.25rem;
  line-height: 1;
}
.search-clear.visible {
  display: block;
}
.toc-link.dimmed, .sticky-nav a.dimmed {
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.card-section.search-highlight, .profil-card.search-highlight {
  animation: pulseHighlight 1.2s ease;
}
@keyframes pulseHighlight {
  0%, 100% { box-shadow: var(--shadow-sm); }
  50% { box-shadow: 0 0 0 4px rgba(0, 85, 164, 0.2), var(--shadow-md); }
}

mark.search-mark {
  background-color: #FDE047 !important;
  color: #0F172A !important;
  border-radius: 4px;
  padding: 0 0.2rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
body.dark-mode mark.search-mark {
  background-color: #EAB308 !important;
  color: #000000 !important;
}

/* ===== 5. Reading Time Badge ===== */
.reading-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: #F8FAFC !important;
}
.reading-time-badge i {
  color: #F59E0B;
}

/* ===== 6. Version History Card ===== */
.version-item {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.82rem;
}
.version-item:last-child {
  border-bottom: none;
}
.version-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.8rem;
}
.version-date {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 0.5rem;
}
.version-desc {
  color: var(--text-dark);
  font-size: 0.8rem;
  margin-top: 0.15rem;
  line-height: 1.4;
}

/* ===== 7. Accordion Mobile (Smooth CSS Grid Layout) ===== */
@media (max-width: 768px) {
  .card-section[data-accordion] .section-header,
  .profil-card[data-accordion] .profil-card-header {
    cursor: pointer;
    margin-bottom: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    user-select: none;
    position: relative;
    padding-right: 2rem;
  }
  .card-section[data-accordion] .section-header::after,
  .profil-card[data-accordion] .profil-card-header::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
  }
  .card-section[data-accordion].accordion-open .section-header,
  .profil-card[data-accordion].accordion-open .profil-card-header {
    margin-bottom: 1.25rem;
  }
  .card-section[data-accordion].accordion-open .section-header::after,
  .profil-card[data-accordion].accordion-open .profil-card-header::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .card-section[data-accordion] .accordion-content,
  .profil-card[data-accordion] .accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    opacity: 0;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out;
  }
  .card-section[data-accordion] .accordion-content-inner,
  .profil-card[data-accordion] .accordion-content-inner {
    min-height: 0;
  }
  .card-section[data-accordion].accordion-open .accordion-content,
  .profil-card[data-accordion].accordion-open .accordion-content {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

/* ===== 8. WhatsApp Share Button ===== */
.btn-wa-share i {
  color: #25D366;
  transition: transform 0.2s ease;
}
.btn-wa-share:hover i {
  transform: scale(1.15);
}

/* ===== 9. Data Flow Infographic ===== */
.data-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 1.5rem 0 0.5rem;
  overflow-x: auto;
  padding: 1rem 0.5rem;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  min-width: 85px;
}
.flow-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.flow-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.flow-step:hover .flow-icon {
  transform: scale(1.1);
}
.flow-icon-1 { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.flow-icon-2 { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.flow-icon-3 { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.flow-icon-4 { background: linear-gradient(135deg, #10B981, #059669); }
.flow-icon-5 { background: linear-gradient(135deg, #F59E0B, #D97706); }
.flow-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  max-width: 85px;
  line-height: 1.3;
}
.flow-arrow {
  color: #94A3B8;
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  margin: 0 0.15rem;
}
.flow-arrow.visible {
  opacity: 1;
}
@media (max-width: 600px) {
  .data-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.5rem 0;
  }
  .flow-step {
    flex-direction: row;
    min-width: unset;
    gap: 0.75rem;
  }
  .flow-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .flow-label {
    text-align: left;
    max-width: unset;
    font-size: 0.85rem;
  }
  .flow-arrow {
    transform: rotate(90deg);
    align-self: center;
    margin: 0;
  }
}

/* ===== 10. Privacy Quiz ===== */
.quiz-card {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%) !important;
  border: 1.5px solid #BFDBFE !important;
}
.quiz-question {
  margin-bottom: 1rem;
  padding: 1.15rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.quiz-q-text {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  border: 1.5px solid var(--border-color);
  background: white;
  transition: all 0.2s ease;
  color: var(--text-dark);
  line-height: 1.4;
}
.quiz-option i {
  flex-shrink: 0;
  font-size: 0.9rem;
}
.quiz-option:hover:not(.q-disabled) {
  border-color: var(--primary);
  background: var(--primary-light);
}
.quiz-option.q-correct {
  border-color: #22C55E !important;
  background: #F0FDF4 !important;
  color: #166534;
  font-weight: 600;
}
.quiz-option.q-wrong {
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
  color: #991B1B;
  text-decoration: line-through;
  opacity: 0.55;
}
.quiz-option.q-disabled {
  pointer-events: none;
}
.quiz-result {
  text-align: center;
  padding: 1.5rem;
  display: none;
}
.quiz-result.show {
  display: block;
  animation: fadeIn 0.5s ease;
}
.quiz-score {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.15rem;
}
.quiz-confetti {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

/* ===== 11. Print Styles (Watermark & Official Header) ===== */
.print-header, .print-footer {
  display: none;
}
@media print {
  body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background-image: url('../images/logo-salatiga.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
  }
  .print-header {
    display: block !important;
    text-align: center;
    border-bottom: 3px double #000;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }
  .print-footer {
    display: block !important;
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    border-top: 1px solid #ccc;
    padding-top: 0.5rem;
    margin-top: 2rem;
    page-break-inside: avoid;
  }
  .cookie-consent {
    display: none !important;
  }
  .quiz-card {
    break-inside: avoid;
  }
  .data-flow .flow-step {
    opacity: 1 !important;
    transform: none !important;
  }
  .data-flow .flow-arrow {
    opacity: 1 !important;
  }
}

/* ===== 12. Global Dark Mode Variables & Custom Styles ===== */
body.dark-mode {
  --bg-body: #0F172A;
  --bg-main: #0F172A;
  --bg-card: #1E293B;
  --bg-glass: rgba(15, 23, 42, 0.85);
  --border-light: #334155;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  --border-color: #334155;
  --primary-light: rgba(59, 130, 246, 0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.35);
  background-color: #0F172A;
  color: #E2E8F0;
}

body.dark-mode .main-header,
body.dark-mode .sticky-nav,
body.dark-mode .profil-card,
body.dark-mode .card-section,
body.dark-mode .highlights-card,
body.dark-mode .news-detail-card,
body.dark-mode .requirement-modal-content {
  background-color: #1E293B !important;
  border-color: #334155 !important;
  color: #E2E8F0 !important;
}

body.dark-mode .section-header,
body.dark-mode .profil-card-header {
  border-bottom-color: #334155 !important;
}

body.dark-mode .profil-card h2,
body.dark-mode .profil-card h3,
body.dark-mode .profil-card h4,
body.dark-mode .profil-card p,
body.dark-mode .profil-card li,
body.dark-mode .card-section p,
body.dark-mode .card-section li,
body.dark-mode .card-section span,
body.dark-mode .news-detail-card p,
body.dark-mode .news-detail-card li {
  color: #CBD5E1 !important;
}

body.dark-mode .misi-item-custom,
body.dark-mode .timeline-card {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #CBD5E1 !important;
}
body.dark-mode .misi-item-custom:hover,
body.dark-mode .timeline-card:hover {
  background: #273549 !important;
  border-color: #475569 !important;
}

body.dark-mode .moto-card-custom {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.02) 100%) !important;
  border-color: #475569 !important;
  color: #FBBF24 !important;
}
body.dark-mode .moto-card-custom h4,
body.dark-mode .moto-card-custom div {
  color: #FBBF24 !important;
}

body.dark-mode .timeline-node {
  background: #1E293B !important;
  border-color: #60A5FA !important;
  color: #60A5FA !important;
}

body.dark-mode .timeline-year.year-gray { background: #334155; color: #E2E8F0; }
body.dark-mode .timeline-year.year-blue { background: rgba(59, 130, 246, 0.2); color: #93C5FD; }
body.dark-mode .timeline-year.year-green { background: rgba(16, 185, 129, 0.2); color: #86EFAC; }

body.dark-mode .sticky-nav a {
  color: #94A3B8;
}
body.dark-mode .sticky-nav a:hover,
body.dark-mode .sticky-nav a.active {
  background: rgba(59, 130, 246, 0.12);
  color: #60A5FA;
}

body.dark-mode .search-input {
  background: #0F172A;
  color: #E2E8F0;
  border-color: #334155;
}
body.dark-mode .search-input:focus {
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

body.dark-mode .btn-action {
  background: #1E293B;
  color: #E2E8F0;
  border-color: #334155;
}
body.dark-mode .btn-action:hover {
  background: #334155;
  border-color: #60A5FA;
  color: #60A5FA;
}

body.dark-mode .btn-feedback {
  background: #1E293B;
  color: #CBD5E1;
  border-color: #475569;
}

body.dark-mode .contact-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.03) 100%);
  border-color: #334155;
}
body.dark-mode .contact-info span,
body.dark-mode .contact-info a {
  color: #E2E8F0 !important;
}

body.dark-mode .a11y-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
body.dark-mode .a11y-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Home Portal Specific Dark Mode Overrides */
body.dark-mode .hero-v3 {
  background: linear-gradient(135deg, #020617 0%, #0F172A 70%, #1E293B 100%) !important;
  border-bottom-color: #334155 !important;
}
body.dark-mode .hero-v3-title {
  color: #F8FAFC !important;
}
body.dark-mode .hero-v3-title span {
  color: #60A5FA !important;
}
body.dark-mode .hero-v3 p {
  color: #94A3B8 !important;
}
body.dark-mode .search-wrapper {
  background: #1E293B !important;
  border-color: #475569 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}
body.dark-mode .search-wrapper input {
  background-color: transparent !important;
  color: #F1F5F9 !important;
}
body.dark-mode .search-wrapper input::placeholder {
  color: #64748B !important;
}
body.dark-mode .quick-pills .pills-label {
  color: #94A3B8 !important;
}
body.dark-mode .pill-item {
  background-color: #1E293B !important;
  border-color: #475569 !important;
  color: #CBD5E1 !important;
}
body.dark-mode .pill-item:hover,
body.dark-mode .pill-item.active {
  background-color: #2563EB !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}
body.dark-mode .exec-card {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
}
body.dark-mode .exec-card:hover {
  border-color: #3B82F6 !important;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15) !important;
}
body.dark-mode .exec-card h4 {
  color: #F1F5F9 !important;
}
body.dark-mode .exec-card p {
  color: #94A3B8 !important;
}
body.dark-mode .exec-card-icon {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #60A5FA !important;
}

/* Stats Ribbon Dark Mode */
body.dark-mode .stat-card {
  background: #1E293B !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
  color: #E2E8F0 !important;
}
body.dark-mode .stat-number {
  color: #F8FAFC !important;
}
body.dark-mode .stat-label {
  color: #94A3B8 !important;
}
body.dark-mode .stat-card i {
  color: #3B82F6 !important;
}

/* Service Row Items Dark Mode */
body.dark-mode .service-row-item {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}
body.dark-mode .service-row-item:hover {
  border-color: #3B82F6 !important;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.12) !important;
}
body.dark-mode .row-header-title {
  color: #F1F5F9 !important;
}
body.dark-mode .row-main-text {
  color: #CBD5E1 !important;
}
body.dark-mode .badge-tag-std {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #60A5FA !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}
body.dark-mode .badge-tag-populer {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #FBBF24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}
body.dark-mode .row-icon-badge {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: #334155 !important;
  color: #60A5FA !important;
}
body.dark-mode .service-row-item:hover .row-icon-badge {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-color: #2563EB !important;
}
body.dark-mode .cat-tab-btn {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #CBD5E1 !important;
}
body.dark-mode .cat-tab-btn:hover,
body.dark-mode .cat-tab-btn.active {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}

/* Service online & offline buttons */
body.dark-mode .btn-service-syarat {
  background: #334155 !important;
  border-color: #475569 !important;
  color: #E2E8F0 !important;
}
body.dark-mode .btn-service-syarat:hover {
  background: #475569 !important;
  color: #FFFFFF !important;
}

/* Safety Banner Dark Mode */
body.dark-mode .safety-banner-container {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
  border-color: #334155 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}
body.dark-mode .safety-banner-text h3 {
  color: #F8FAFC !important;
}
body.dark-mode .safety-banner-text p {
  color: #CBD5E1 !important;
}
body.dark-mode .safety-banner-icon {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #EF4444 !important;
}

/* FAQ & News Dark Mode */
body.dark-mode .faq-tab-btn {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #CBD5E1 !important;
}
body.dark-mode .faq-tab-btn:hover,
body.dark-mode .faq-tab-btn.active {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}
body.dark-mode .faq-item {
  background: #1E293B !important;
  border-color: #334155 !important;
}
body.dark-mode .faq-question {
  color: #F1F5F9 !important;
}
body.dark-mode .faq-answer p {
  color: #CBD5E1 !important;
}
body.dark-mode .faq-item.active {
  border-color: #2563EB !important;
  background: #243042 !important;
}
body.dark-mode .faq-item.active .faq-question {
  color: #60A5FA !important;
}
body.dark-mode .faq-icon {
  color: #94A3B8 !important;
}
body.dark-mode .faq-item.active .faq-icon {
  color: #60A5FA !important;
}

body.dark-mode .berita-card {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}
body.dark-mode .news-title {
  color: #F1F5F9 !important;
}
body.dark-mode .news-excerpt {
  color: #CBD5E1 !important;
}
body.dark-mode .news-date {
  color: #94A3B8 !important;
}

/* Location Card Dark Mode */
body.dark-mode .location-info-card {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}
body.dark-mode .location-info-card h4 {
  color: #F1F5F9 !important;
}
body.dark-mode .location-info-card p,
body.dark-mode .location-info-card span {
  color: #CBD5E1 !important;
}
body.dark-mode .location-info-card strong {
  color: #60A5FA !important;
}
body.dark-mode .map-iframe-wrapper {
  border-color: #334155 !important;
}

/* Requirement Modal Dark Mode */
body.dark-mode .modal-window {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4) !important;
}
body.dark-mode .modal-header {
  border-bottom-color: #334155 !important;
  color: #F1F5F9 !important;
}
body.dark-mode .modal-body {
  color: #CBD5E1 !important;
}
body.dark-mode .modal-body p {
  color: #CBD5E1 !important;
}
body.dark-mode .modal-progress-card {
  background: #0F172A !important;
  border-color: #334155 !important;
}
body.dark-mode .progress-text {
  color: #60A5FA !important;
}
body.dark-mode .progress-bar-container {
  background-color: #334155 !important;
}
body.dark-mode #progressBar {
  background-color: #2563EB !important;
}
body.dark-mode .requirements-list label {
  color: #E2E8F0 !important;
  background: #0F172A !important;
  border-color: #334155 !important;
}
body.dark-mode .requirements-list label:hover {
  background: #243042 !important;
  border-color: #475569 !important;
}
body.dark-mode #modalFormDownloads {
  background: #0F172A !important;
  border-color: #334155 !important;
}
body.dark-mode #modalFormDownloads a {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #E2E8F0 !important;
}
body.dark-mode #modalFormDownloads a:hover {
  border-color: #475569 !important;
  background: #273549 !important;
}
body.dark-mode .modal-footer {
  background: #0F172A !important;
  border-top-color: #334155 !important;
}
body.dark-mode .btn-modal-print,
body.dark-mode .btn-outline {
  background: #1E293B !important;
  border-color: #475569 !important;
  color: #CBD5E1 !important;
}
body.dark-mode .btn-modal-print:hover,
body.dark-mode .btn-outline:hover {
  background: #273549 !important;
  color: #FFFFFF !important;
}

/* Nav Menu & Brand Logo Dark Mode Overrides */
body.dark-mode .nav-link {
  color: #CBD5E1 !important;
}
body.dark-mode .nav-link:hover {
  color: #60A5FA !important;
  background-color: rgba(96, 165, 250, 0.08) !important;
}
body.dark-mode .nav-link.active {
  color: #60A5FA !important;
  background-color: rgba(96, 165, 250, 0.15) !important;
}
body.dark-mode .brand-name {
  color: #F8FAFC !important;
}
body.dark-mode .brand-text span:last-child {
  color: #94A3B8 !important;
}
body.dark-mode .mobile-toggle {
  color: #F8FAFC !important;
  background: transparent !important;
}
body.dark-mode .nav-dropdown-menu {
  background-color: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
}
body.dark-mode .nav-dropdown-link,
body.dark-mode .nav-dropdown-item {
  color: #CBD5E1 !important;
  background: transparent !important;
}
body.dark-mode .nav-dropdown-link:hover,
body.dark-mode .nav-dropdown-item:hover {
  background-color: #273549 !important;
  color: #60A5FA !important;
}

/* Hero Badge & Announcement Overrides */
body.dark-mode .hero-top-row > span {
  background: rgba(96, 165, 250, 0.15) !important;
  color: #60A5FA !important;
  border: 1px solid rgba(96, 165, 250, 0.3) !important;
}
body.dark-mode .hero-live-status {
  background: #1E293B !important;
  border-color: #334155 !important;
}
body.dark-mode .status-indicator {
  color: #E2E8F0 !important;
}
body.dark-mode .status-wa-link {
  color: #4ADE80 !important;
}
body.dark-mode .status-wa-link:hover {
  color: #22C55E !important;
}

/* Flow Step Card Dark Mode */
body.dark-mode {
  --border-light: #334155 !important;
}
body.dark-mode .flow-step-card {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}
body.dark-mode .flow-step-card h4 {
  color: #F1F5F9 !important;
}
body.dark-mode .flow-step-card p {
  color: #CBD5E1 !important;
}
body.dark-mode .flow-connector {
  border-top-color: #334155 !important;
}

/* Footer Section Dark Mode Overrides */
body.dark-mode .footer-section {
  background: #0B0F19 !important;
  border-top: 1px solid #1E293B !important;
}
body.dark-mode .footer-section h4 {
  color: #F8FAFC !important;
}
body.dark-mode .footer-section p {
  color: #94A3B8 !important;
}
body.dark-mode .footer-section a {
  color: #94A3B8 !important;
}
body.dark-mode .footer-section a:hover {
  color: #3B82F6 !important;
}
body.dark-mode .footer-bottom {
  border-top-color: #1E293B !important;
  color: #64748B !important;
}

/* Global Headings Overrides */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #F1F5F9 !important;
}

body.dark-mode .section-tag {
  background-color: #E0F2FE !important;
  color: #0369A1 !important;
  border: 1px solid #BAE6FD !important;
}
body.dark-mode .section-header p {
  color: #94A3B8 !important;
}

/* Inline Styles Overrides for Dark Mode */
body.dark-mode #lokasi-kantor {
  background-color: #0F172A !important;
  border-color: #334155 !important;
}
body.dark-mode .location-info-card {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}
body.dark-mode .location-info-card h3 {
  color: #F8FAFC !important;
}
body.dark-mode .location-info-card span {
  color: #94A3B8 !important;
}
body.dark-mode .location-info-card strong {
  color: #F1F5F9 !important;
}
body.dark-mode .location-info-card p {
  color: #CBD5E1 !important;
}
body.dark-mode .map-iframe-wrapper {
  border-color: #334155 !important;
  background-color: #1E293B !important;
}
body.dark-mode .map-iframe-wrapper iframe {
  filter: invert(90%) hue-rotate(180deg) grayscale(10%) contrast(90%) !important;
}

body.dark-mode #cek-tte {
  background-color: #0F172A !important;
  border-color: #334155 !important;
}
body.dark-mode #cek-tte .flow-grid > div,
body.dark-mode #cek-tte .flow-grid > .exec-card,
body.dark-mode #cek-tte div[style*="background: white"] {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
}
body.dark-mode #cek-tte h3 {
  color: #F1F5F9 !important;
}
body.dark-mode #cek-tte p {
  color: #CBD5E1 !important;
}

body.dark-mode #survei-rating {
  background: #0F172A !important;
  border-color: #334155 !important;
}
body.dark-mode #survei-rating > div {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35) !important;
}
body.dark-mode #survei-rating h2 {
  color: #F8FAFC !important;
}
body.dark-mode #survei-rating p {
  color: #CBD5E1 !important;
}
body.dark-mode #ratingFeedbackMsg {
  color: #60A5FA !important;
}

/* Modal Window Inline Styles Overrides */
body.dark-mode .modal-window {
  background: #1E293B !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}
body.dark-mode .modal-header {
  background: #1E293B !important;
  border-bottom-color: #334155 !important;
}
body.dark-mode #modalTitle {
  color: #F8FAFC !important;
}
body.dark-mode .modal-close {
  background: #334155 !important;
  color: #E2E8F0 !important;
}
body.dark-mode .modal-close:hover {
  background: #475569 !important;
  color: #FFFFFF !important;
}
body.dark-mode #modalDesc {
  color: #CBD5E1 !important;
}
body.dark-mode .modal-progress-card {
  background: #0F172A !important;
  border-color: #334155 !important;
}
body.dark-mode .progress-text {
  color: #60A5FA !important;
}
body.dark-mode .progress-bar-container {
  background-color: #334155 !important;
}
body.dark-mode #progressBar {
  background-color: #2563EB !important;
}
body.dark-mode #modalFormDownloads {
  background: #0F172A !important;
  border-color: #334155 !important;
}
body.dark-mode #modalFormDownloads > div {
  color: #F8FAFC !important;
}
body.dark-mode #modalFormDownloads a.btn-outline,
body.dark-mode #modalFormDownloads a {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #F1F5F9 !important;
}
body.dark-mode #modalFormDownloads a.btn-outline:hover,
body.dark-mode #modalFormDownloads a:hover {
  background: #273549 !important;
  border-color: #475569 !important;
  color: #FFFFFF !important;
}
body.dark-mode .modal-footer {
  background: #0F172A !important;
  border-top-color: #334155 !important;
}
body.dark-mode .modal-footer button.btn-modal-print,
body.dark-mode .modal-footer button.btn-outline {
  background: #1E293B !important;
  border-color: #475569 !important;
  color: #CBD5E1 !important;
}
body.dark-mode .modal-footer button.btn-modal-print:hover,
body.dark-mode .modal-footer button.btn-outline:hover {
  background: #273549 !important;
  color: #FFFFFF !important;
}

/* High contrast overrides */
body.high-contrast.dark-mode {
  background: #000000 !important;
}

/* Ticker Animation Speed (20% faster: 32s -> 25s) */
.ticker-track {
  animation-duration: 25s !important;
}

/* Disable Pause on Hover for News Ticker */
.ticker-wrapper:hover .ticker-track,
.ticker-container:hover .ticker-track,
.ticker-track:hover {
  animation-play-state: running !important;
}

/* ===== Custom Modern SOP Penanganan Pengaduan Layout ===== */
.sop-modal-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
}

.sop-hero-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}

.sop-hero-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.sop-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sop-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0 0 0.4rem 0;
  line-height: 1.35;
}

.sop-hero-law {
  font-size: 0.8rem;
  color: #94A3B8;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sop-flow-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sop-flow-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.dark-mode .sop-flow-card {
  background: #1E293B;
  border-color: #334155;
}

.sop-flow-card:hover {
  transform: translateY(-2px);
  border-color: #38BDF8;
  box-shadow: 0 8px 20px -4px rgba(56, 189, 248, 0.12);
}

.sop-step-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.sop-step-content {
  flex: 1;
}

.sop-step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.sop-step-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

body.dark-mode .sop-step-name {
  color: #F8FAFC;
}

.sop-actor-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
}

.pill-warga {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.pill-tim {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.pill-opd {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.sop-step-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.48;
  margin: 0 0 0.5rem 0;
}

body.dark-mode .sop-step-desc {
  color: #CBD5E1;
}

.sop-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0284C7;
  background: #F0F9FF;
  border: 1px solid #E0F2FE;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

body.dark-mode .sop-meta-chip {
  background: rgba(2, 132, 199, 0.15);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.25);
}

.sop-time-guarantee {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #A7F3D0;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

body.dark-mode .sop-time-guarantee {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.4) 0%, rgba(4, 120, 87, 0.2) 100%);
  border-color: #059669;
}

.sop-time-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.sop-time-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #065F46;
  margin: 0 0 0.15rem 0;
}

body.dark-mode .sop-time-text h5 {
  color: #34D399;
}

.sop-time-text p {
  font-size: 0.8rem;
  color: #047857;
  margin: 0;
  line-height: 1.4;
}

body.dark-mode .sop-time-text p {
  color: #A7F3D0;
}

.sop-contact-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .sop-contact-footer {
    grid-template-columns: 1fr;
  }
}

.sop-officer-box, .sop-channels-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

body.dark-mode .sop-officer-box,
body.dark-mode .sop-channels-box {
  background: #0F172A;
  border-color: #334155;
}

.sop-officer-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sop-officer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E0F2FE;
  color: #0369A1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.sop-officer-info small {
  display: block;
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
}

.sop-officer-info span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
}

body.dark-mode .sop-officer-info span {
  color: #F8FAFC;
}

.sop-channels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sop-channel-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

body.dark-mode .sop-channel-badge {
  background: #1E293B;
  border-color: #475569;
  color: #CBD5E1;
}

/* Clickable Channel Badges */
a.sop-channel-badge {
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

a.sop-channel-badge:hover {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border-color: #0284C7 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

a.sop-channel-badge:hover i {
  color: #FFFFFF !important;
}

/* Premium Misi Card Styling */
.misi-item-custom {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.misi-item-custom:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
  border-color: #0055A4;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 85, 164, 0.12);
}

.misi-number-badge {
  background: linear-gradient(135deg, #0055A4 0%, #0284C7 100%);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.98rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 85, 164, 0.25);
  transition: transform 0.25s ease;
}

.misi-item-custom:hover .misi-number-badge {
  transform: scale(1.08) rotate(3deg);
}

.misi-text {
  color: #0F172A;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

body.dark-mode .misi-item-custom {
  background: #1E293B !important;
  border-color: #334155 !important;
}

body.dark-mode .misi-text {
  color: #F8FAFC !important;
}

/* ===== 12. Dynamic WhatsApp CTA styling for Tinggalkan Pesan status ===== */
.btn-header-cta.closed {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25) !important;
  opacity: 1 !important;
  color: #FFFFFF !important;
}
.btn-header-cta.closed i {
  color: #A7F3D0 !important;
}

/* ===== 13. Homepage Hero Section Modernizations ===== */
.hero-v3 {
  background: radial-gradient(circle at 85% 15%, rgba(0, 85, 164, 0.05) 0%, transparent 45%), radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.03) 0%, transparent 40%), linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%) !important;
  position: relative;
  overflow: hidden;
}
.hero-backdrop-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 85, 164, 0.07) 0%, rgba(245, 158, 11, 0.02) 50%, rgba(0,0,0,0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  top: -50px;
  right: -50px;
}
body.dark-mode .hero-backdrop-glow {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, rgba(245, 158, 11, 0.03) 50%, rgba(0,0,0,0) 70%) !important;
}

.exec-card {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 85, 164, 0.015) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden;
  z-index: 2;
}
.exec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: all 0.3s ease;
}

/* e-KTP card hover */
.exec-card-blue::before { background: #0055A4; }
.exec-card-blue:hover {
  border-color: #0055A4 !important;
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 85, 164, 0.1) !important;
}

/* KK card hover */
.exec-card-green::before { background: #059669; }
.exec-card-green:hover {
  border-color: #059669 !important;
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.1) !important;
}

/* Akta card hover */
.exec-card-orange::before { background: #D97706; }
.exec-card-orange:hover {
  border-color: #D97706 !important;
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.1) !important;
}

/* Pindah card hover */
.exec-card-purple::before { background: #7E22CE; }
.exec-card-purple:hover {
  border-color: #7E22CE !important;
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(126, 34, 206, 0.1) !important;
}

/* Dark mode adjustments */
body.dark-mode .exec-card {
  background: rgba(30, 41, 59, 0.7) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
}
body.dark-mode .exec-card-blue:hover {
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.15) !important;
}
body.dark-mode .exec-card-green:hover {
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15) !important;
}
body.dark-mode .exec-card-orange:hover {
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.15) !important;
}
body.dark-mode .exec-card-purple:hover {
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.15) !important;
}

/* Search bar focus adjustments */
.search-wrapper {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  position: relative;
}
.search-wrapper:focus-within {
  border-color: #0055A4 !important;
  box-shadow: 0 8px 30px rgba(0, 85, 164, 0.08) !important;
  transform: translateY(-1px);
}
body.dark-mode .search-wrapper:focus-within {
  border-color: #3B82F6 !important;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15) !important;
}
.search-btn-action {
  background: linear-gradient(135deg, #0055A4 0%, #003366 100%) !important;
  transition: all 0.25s ease;
}
.search-btn-action:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 85, 164, 0.3);
}

.status-wa-link {
  transition: all 0.25s ease;
}
.status-wa-link:hover {
  transform: scale(1.03);
}

/* Redesigned Hero Section (Concept B + Background D + Compact Smartphone IKD) */
.hero-v3 {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4rem !important;
  border-bottom: none !important;
  overflow: hidden;
  min-height: 660px;
  background-color: #0b1120;
}

.hero-v3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/salatiga-bg-day.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.hero-v3-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.82) 30%, rgba(15, 23, 42, 0.05) 100%) !important;
  z-index: 1;
  pointer-events: none;
}

.hero-v3-container {
  position: relative;
  z-index: 2;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2;
}

.hero-badge-container {
  margin-bottom: 0.5rem;
}

.hero-top-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.4rem 1.15rem !important;
  border-radius: 50px !important;
  background: rgba(15, 23, 42, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.82rem !important;
  color: #FFFFFF !important;
}

.hero-top-status-badge.status-is-open {
  border-color: rgba(16, 185, 129, 0.5) !important;
  background: rgba(6, 78, 59, 0.78) !important;
}

.hero-top-status-badge.status-is-closed {
  border-color: rgba(239, 68, 68, 0.45) !important;
  background: rgba(127, 29, 29, 0.78) !important;
}

.top-status-text .text-open {
  color: #34D399 !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
}

.top-status-text .text-closed {
  color: #F87171 !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
}

.status-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.status-indicator-dot.open-pulse {
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.8);
  animation: pulseGreenDot 2s infinite;
}

@keyframes pulseGreenDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.8);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.status-indicator-dot.closed-dot {
  background: #F87171;
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.6);
}

.status-tag {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.status-tag-open {
  background: #059669 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.status-tag-closed {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.status-hours-detail {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.85rem !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

.hero-v3-title {
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(2rem, 3.5vw, 3.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 0.25rem !important;
}

.hero-v3-title .highlight-text {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900 !important;
  display: block;
  margin-top: 0.2rem;
}

.hero-v3-desc {
  color: #E2E8F0 !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  max-width: 620px;
  margin-bottom: 0.25rem !important;
}

/* Glassmorphism Search Bar overrides */
.search-wrapper.hero-search-glass {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
  border-radius: 50px;
  width: 100%;
  max-width: 580px;
  padding: 0.25rem 0.5rem 0.25rem 1.25rem !important;
  box-sizing: border-box !important;
}

.search-wrapper.hero-search-glass input.search-input-box {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  color: #FFFFFF !important;
  padding: 0.75rem 0.5rem !important;
  font-size: 0.95rem !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.search-wrapper.hero-search-glass input.search-input-box::placeholder {
  color: #CBD5E1 !important;
}

.search-icon-glass {
  color: #E2E8F0 !important;
  margin-right: 0.75rem !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}

.search-btn-action-glass {
  background: linear-gradient(135deg, #0284C7 0%, #0055A4 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
  flex-shrink: 0 !important;
  font-size: 0.9rem !important;
}

.search-btn-action-glass:hover {
  transform: scale(1.02) !important;
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55) !important;
}

/* Glassmorphism Quick Pills overrides */
.hero-pills-glass .pills-label {
  color: #E2E8F0 !important;
}

.hero-pills-glass .pill-item {
  background-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #F1F5F9 !important;
  font-weight: 600 !important;
}

.hero-pills-glass .pill-item.active,
.hero-pills-glass .pill-item:hover {
  background-color: #FFFFFF !important;
  color: #0055A4 !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15) !important;
}

/* Dual CTA Buttons */
.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-hero-primary-gold {
  background: linear-gradient(135deg, #0284C7 0%, #0055A4 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4) !important;
}

.btn-hero-primary-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%) !important;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.6) !important;
}

.btn-hero-secondary-glass {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary-glass:hover {
  background: linear-gradient(135deg, #2ee872 0%, #16a085 100%) !important;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55) !important;
}

.btn-hero-secondary-glass i {
  font-size: 1.15rem;
}

/* Stats Counter Bento Grid Row - Clean & Minimalist 3 Columns */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
  max-width: 620px;
}

.stat-item-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.2rem 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.25s ease;
}

.stat-item-card:hover {
  transform: translateY(-2px);
}

.stat-icon-glow {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
  transition: all 0.3s ease;
}

.stat-icon-glow.icon-blue {
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.stat-icon-glow.icon-purple {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}

.stat-icon-glow.icon-green {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.stat-icon-glow.icon-star {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.stat-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.stat-number {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.1 !important;
  white-space: nowrap;
}

.stat-number-sm {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.15 !important;
  white-space: nowrap;
}

.stat-label-highlight {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  line-height: 1.15 !important;
  white-space: nowrap;
}

.stat-number.text-gold {
  color: #fbbf24 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(245, 158, 11, 0.5) !important;
  opacity: 1 !important;
}

.stat-number.text-green {
  color: #34d399 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(16, 185, 129, 0.5) !important;
  opacity: 1 !important;
}

.stat-number.text-purple {
  color: #c084fc !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(168, 85, 247, 0.5) !important;
  opacity: 1 !important;
}

.stat-number.text-blue {
  color: #38bdf8 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(56, 189, 248, 0.5) !important;
  opacity: 1 !important;
}

.stat-label {
  font-size: 0.74rem !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

/* Right Column Visuals: Smartphone IKD Mockup & Badges */
.hero-right-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 600px !important;
  min-height: 600px !important;
  max-height: 600px !important;
  overflow: visible !important;
}

.phone-mockup-wrapper {
  position: relative;
  transition: transform 0.5s ease;
  perspective: 1200px;
  transform-style: preserve-3d;
  height: 590px !important;
  contain: layout;
}

.phone-floating-container {
  display: block;
  width: 275px;
  height: 590px;
  flex-shrink: 0 !important;
  perspective: 1200px;
  transform-style: preserve-3d;
  position: relative;
}

/* Floating Click/Tap Hint Badge on Phone Screen - Crisp & Sharp Text */
.phone-tap-hint-badge {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a; /* Solid crisp background - no blur bleed */
  border: 1.5px solid #38bdf8;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.5rem 1.05rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  z-index: 50;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  backface-visibility: hidden;
  animation: hintPulse 2.5s ease-in-out infinite;
}

.phone-tap-hint-badge i {
  color: #38bdf8 !important; /* Salatiga Blue download icon */
  font-size: 0.85rem;
}

@keyframes hintPulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 12px rgba(56, 189, 248, 0.35);
    border-color: rgba(56, 189, 248, 0.6);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85), 0 0 22px rgba(56, 189, 248, 0.8);
    border-color: #38bdf8;
  }
}

.phone-case {
  width: 275px;
  height: 550px;
  flex-shrink: 0 !important;
  border-radius: 36px;
  border: 9px solid #0f172a; /* Deep matte obsidian frame */
  background: #020617;
  /* Premium 3D Isometric rotation angled facing right */
  transform: rotateX(8deg) rotateY(-18deg) rotateZ(2deg);
  /* Extruded physical depth thickness via multi-layered box shadow containing chamfer highlights */
  box-shadow: 
    -1px 1px 0px #64748b,
    -2px 2px 0px #475569,
    -3px 3px 0px #1e293b,
    -4px 4px 0px #1e293b,
    -5px 5px 0px #0f172a,
    -6px 6px 0px #0f172a,
    -7px 7px 0px #020617,
    -8px 8px 0px #000000,
    -18px 28px 55px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 85, 164, 0.18) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease !important;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
  animation: phoneFloatSmooth 5s ease-in-out infinite !important;
}

@keyframes phoneFloatSmooth {
  0%, 100% {
    transform: rotateX(8deg) rotateY(-18deg) rotateZ(2deg);
  }
  50% {
    transform: rotateX(6deg) rotateY(-15deg) rotateZ(1deg);
  }
}

.phone-case:hover {
  animation-play-state: paused;
  transform: rotateX(4deg) rotateY(-8deg) rotateZ(0deg) scale(1.04) !important;
  border-color: #1e293b !important;
  box-shadow: 
    -1px 1px 0px #94a3b8,
    -2px 2px 0px #64748b,
    -3px 3px 0px #334155,
    -4px 4px 0px #1e293b,
    -5px 5px 0px #0f172a,
    -6px 6px 0px #020617,
    -28px 40px 80px rgba(0, 0, 0, 0.75),
    0 0 85px rgba(0, 85, 164, 0.45),
    0 0 35px rgba(251, 191, 36, 0.25) !important;
}

/* Tiny camera lens reflection spot inside the dynamic island */
.phone-case::before {
  content: '';
  position: absolute;
  top: 11px;
  left: calc(50% - 16px);
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #38bdf8 0%, #0369a1 60%, transparent 100%);
  border-radius: 50%;
  z-index: 25;
  opacity: 0.85;
  pointer-events: none;
}

/* Sleek camera island / dynamic island accent at the top of the phone screen */
.phone-case::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 10px;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  z-index: 20;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1), 0 1px 1px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  user-select: none;
  position: relative;
  overflow: hidden;
}

/* Premium Light Shimmer / Shine Sweep over the glass screen */
.phone-screen::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -150%;
  width: 80%;
  height: 140%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.12) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 98;
  pointer-events: none;
  animation: screenShine 3.5s infinite ease-in-out !important;
}

@keyframes screenShine {
  0% { left: -150%; opacity: 0; }
  10% { opacity: 1; }
  55% { left: 180%; opacity: 1; }
  100% { left: 180%; opacity: 0; }
}

/* System Status Bar - Day Mode */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1.1rem 0.2rem;
  font-size: 0.58rem;
  color: #1E293B;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #FFFFFF;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.status-bar-icons {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-bar-icons i {
  font-size: 0.52rem;
  color: #1E293B !important;
}

.status-bar-icons .fa-battery-three-quarters {
  font-size: 0.62rem;
}

/* App Header - Day Mode */
.ikd-app-header {
  background: #FFFFFF !important;
  padding: 0.75rem 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ikd-logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ikd-logo-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ikd-logo-img {
  height: 28px;
  width: auto;
}

.ikd-title-main {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  display: block;
  letter-spacing: 0.02em;
}

.ikd-title-sub {
  font-size: 0.56rem;
  color: #64748B !important;
  display: block;
}

.app-notification-bell {
  position: relative;
  cursor: pointer;
  color: #64748B;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.app-notification-bell:hover {
  color: #0F172A;
}

.bell-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 5px;
  height: 5px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 6px #EF4444;
}

/* Holographic KTP-el Card - Day Mode (Realistic Sky Blue) */


.ktp-holo-shimmer {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.2) 38%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.2) 62%,
    transparent 75%
  );
  animation: holoShine 3.2s infinite ease-in-out !important;
  z-index: 2;
  pointer-events: none;
}

@keyframes holoShine {
  0% { left: -150%; opacity: 0; }
  12% { opacity: 1; }
  60% { left: 160%; opacity: 1; }
  100% { left: 160%; opacity: 0; }
}

.ktp-card-header {
  font-size: 0.52rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding-bottom: 0.3rem;
  color: #FFFFFF !important;
}

.ktp-card-body {
  display: grid;
  grid-template-columns: 42px 1fr 34px;
  gap: 0.45rem;
  align-items: center;
  margin: 0.2rem 0;
}

/* Face Scanner Placeholder - Day Mode */
.face-scanner {
  width: 42px;
  height: 52px;
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid rgba(59, 130, 246, 0.5) !important;
  box-shadow: inset 0 0 8px rgba(59, 130, 246, 0.2) !important;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #1d4ed8 !important;
  position: relative;
  overflow: hidden;
}

.face-scanner i {
  color: #1d4ed8 !important;
  filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.3)) !important;
}

.scanner-laser-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: laserScan 2s infinite ease-in-out;
  z-index: 3;
}

@keyframes laserScan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* Details and chip */
.ktp-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.46rem;
  font-weight: 600;
  font-family: monospace;
  color: #FFFFFF !important;
}

.ktp-smart-chip {
  width: 13px;
  height: 9px;
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%) !important;
  border-radius: 2px;
  position: relative;
  margin-bottom: 0.05rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1px;
  box-sizing: border-box;
}

.chip-line {
  height: 1px;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
}

.ktp-nik {
  font-weight: 700;
  color: #FEE2E2 !important;
}

/* QR Code & Glow */
.ktp-qr-code {
  width: 34px;
  height: 34px;
  background: white !important;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.15) !important;
}

.qr-pulse-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1.5px solid #10B981;
  border-radius: 5px;
  box-sizing: border-box;
  animation: qrPulse 2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes qrPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.18); opacity: 0; }
}

.ktp-card-status {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.02rem;
}

.status-badge-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: white !important;
  font-size: 0.48rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2) !important;
}

.status-badge-green i {
  font-size: 0.52rem;
  color: #FFFFFF !important;
}

/* Menu items - Day Mode */
.ikd-app-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0 0.8rem;
  margin-top: 0.5rem;
}

.menu-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #475569 !important;
  font-size: 0.58rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-grid-item i {
  width: 32px;
  height: 32px;
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #0055A4 !important;
  transition: all 0.25s ease;
}

.menu-grid-item:hover {
  color: #0055A4 !important;
  transform: translateY(-2px);
}

.menu-grid-item:hover i {
  background: linear-gradient(135deg, #0055A4 0%, #3B82F6 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 5px 12px rgba(0, 85, 164, 0.3) !important;
  border-color: rgba(0, 85, 164, 0.2) !important;
}

/* Fingerprint Section - Day Mode at Bottom */
.ikd-biometric-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.55rem 0;
  gap: 0.25rem;
  background: #F1F5F9 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  width: 100% !important;
}

.fingerprint-scan-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.fingerprint-scan-btn i {
  color: #FFFFFF !important;
}

.fingerprint-scan-btn:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.5) !important;
}

.fingerprint-radar-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1.5px solid #10B981;
  border-radius: 50%;
  box-sizing: border-box;
  animation: radarPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes radarPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.fingerprint-scan-text {
  font-size: 0.48rem;
  color: #059669;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.fingerprint-active-dot {
  width: 5px;
  height: 5px;
  background: #10B981;
  border-radius: 50%;
  animation: pulseOpacity 1.5s infinite;
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* 3D Smartphone Showcase & Micro Floating Chips */
.phone-showcase-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.micro-floating-chip {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.micro-floating-chip:hover {
  transform: scale(1.06) translateY(-3px);
  border-color: rgba(251, 191, 36, 0.5) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 15px rgba(251, 191, 36, 0.2) !important;
}

.micro-floating-chip.chip-top-left {
  top: 8%;
  left: -20px;
  animation: floatSubtleLeft 5s infinite ease-in-out;
}

.micro-floating-chip.chip-bottom-right {
  bottom: 22%;
  right: -20px;
  animation: floatSubtleRight 5.5s infinite ease-in-out;
}

@keyframes floatSubtleLeft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatSubtleRight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.micro-floating-chip .text-green {
  color: #34D399;
  font-size: 0.88rem;
}

.micro-floating-chip .text-gold {
  color: #FBBF24;
  font-size: 0.88rem;
}

.phone-action-btn-row {
  margin-top: 1.25rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-ikd-download-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.95) 100%) !important;
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4) !important;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-ikd-download-glass:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6) !important;
}

/* Floating Badges Container & Styling (Side-by-Side Flex Layout on Desktop) */
.phone-mockup-wrapper {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.5rem !important;
  width: 100% !important;
  max-width: 520px !important;
  height: 590px !important;
  contain: layout;
}

/* Unified IKD Feature Showcase Glass Card Container */
.phone-badges-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  flex-shrink: 0 !important;
  width: 315px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 1.15rem 1.1rem !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 85, 164, 0.15) !important;
  box-sizing: border-box !important;
}

.badges-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding-bottom: 0.65rem !important;
  margin-bottom: 0.2rem !important;
  transition: all 0.25s ease !important;
}

.badges-card-header:hover {
  opacity: 0.95;
}

.badges-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.badges-header-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
}

.floating-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 0.65rem 0.85rem !important;
  border-radius: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-badge:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  transform: translateX(4px);
}

.floating-badge.badge-blue-glow:hover {
  border-color: rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.3) !important;
}

.floating-badge.badge-green-glow:hover {
  border-color: rgba(16, 185, 129, 0.55) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3) !important;
}

.floating-badge.badge-gold-glow:hover {
  border-color: rgba(245, 158, 11, 0.55) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3) !important;
}

.floating-badge.badge-cyan-glow:hover {
  border-color: rgba(6, 182, 212, 0.55) !important;
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.3) !important;
}

.badge-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem !important;
  color: white !important;
  flex-shrink: 0;
}

.badge-icon.bg-green { background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important; }
.badge-icon.bg-gold { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important; }
.badge-icon.bg-blue { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important; }
.badge-icon.bg-cyan { background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%) !important; }

.badge-text h4 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 0.12rem 0 !important;
  letter-spacing: 0.01em;
}

.badge-text p {
  font-size: 0.72rem !important;
  color: #CBD5E1 !important;
  margin: 0;
  line-height: 1.25;
  font-weight: 500;
}

/* App Store & Play Store Download Badges in IKD Card Footer */
.badges-card-footer {
  display: flex !important;
  gap: 0.55rem !important;
  margin-top: 0.25rem !important;
  padding-top: 0.65rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  width: 100% !important;
}

.app-store-badge-btn {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.55rem 0.6rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  box-sizing: border-box !important;
}

.app-store-badge-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 85, 164, 0.35) !important;
}

.store-icon-svg {
  display: block !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.app-store-badge-btn:hover .store-icon-svg {
  transform: scale(1.12) !important;
}

.store-badge-text {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  line-height: 1 !important;
}

.store-label {
  font-size: 0.52rem !important;
  color: #94A3B8 !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.store-name {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}

/* Responsiveness media queries overrides */
@media (min-width: 769px) and (max-width: 992px) {
  .hero-v3-container {
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  .hero-v3 {
    padding: 3.5rem 1.5rem 4rem !important;
  }
  .hero-cta-buttons {
    justify-content: center;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    max-width: 100%;
    margin: 1.25rem 0 0;
  }
  .hero-right-visual {
    margin-top: 2rem;
    width: 100%;
  }
  .phone-mockup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    transform: none !important;
  }
  .phone-case {
    margin: 0 auto;
    transform: none !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
  }
  .phone-badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
  }
  .floating-badge {
    position: static !important;
    width: auto !important;
    min-width: 170px;
    margin: 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  }
}

/* QR Code Scan Line Animation & Modal Additions */
@keyframes qrScanAnim {
  0% { top: 0; }
  50% { top: calc(100% - 3px); }
  100% { top: 0; }
}

/* =============================================
   15. Interactive IKD Simulator & Document Views
   ============================================= */

/* IKD View Cards Simulator Base */
.ikd-view-card {
  margin: 1rem 0.8rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  padding: 0.8rem;
  position: relative;
  display: none; /* Hidden by default */
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
  height: 130px; /* Fixed height for uniformity */
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ikd-view-card.active {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

/* Holographic KTP Card Specific Theme */
.holographic-ktp {
  background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 50%, #0284C7 100%) !important;
  color: white !important;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.2) !important;
}

/* KK Card Theme */
.ikd-kk-card {
  background: linear-gradient(135deg, #059669 0%, #10B981 50%, #34D399 100%) !important;
  color: white !important;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.2) !important;
}
.kk-card-header {
  font-size: 0.52rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding-bottom: 0.2rem;
  color: #FFFFFF !important;
}
.kk-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.1rem 0;
}
.kk-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.46rem;
  font-family: monospace;
  line-height: 1.2;
}
.kk-number {
  font-weight: 700;
  color: #FEE2E2 !important;
}
.kk-members-table {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 0.4rem;
}
.kk-member-row {
  display: flex;
  justify-content: space-between;
  padding: 1px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.kk-member-row:last-child {
  border-bottom: none;
}
.kk-member-row.header {
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #FEE2E2 !important;
}

/* Akta Card Theme */
.ikd-akta-card {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #F59E0B 100%) !important;
  color: #1E293B !important;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
}
.akta-card-header {
  font-size: 0.52rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
  padding-bottom: 0.2rem;
  color: #1E293B !important;
}
.akta-card-body {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.4rem;
  align-items: center;
  margin: 0.1rem 0;
}
.akta-logo-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #D97706 !important;
}
.akta-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.akta-title {
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1E293B !important;
}
.akta-number {
  font-size: 0.4rem;
  font-family: monospace;
  color: #475569 !important;
}
.akta-grid-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.38rem;
  margin-top: 1px;
}
.akta-grid-details div {
  display: flex;
  justify-content: space-between;
}
.akta-grid-details span {
  color: #475569 !important;
}

/* iOS Style Notification Banner */
.ikd-notification-banner {
  position: absolute;
  top: 24px; /* Right under status bar */
  left: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0.65rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transform: translateY(-130%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.ikd-notification-banner.show {
  transform: translateY(0);
}
.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.48rem;
  font-weight: 600;
  color: #64748B;
}
.notification-app-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.notif-logo-img {
  height: 10px;
  width: auto;
}
.notification-time {
  font-size: 0.44rem;
}
.notification-body h4 {
  font-size: 0.54rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}
.notification-body p {
  font-size: 0.46rem;
  color: #475569;
  margin: 0;
  line-height: 1.2;
}

/* App menu active states */
.menu-grid-item.active {
  color: #0055A4 !important;
}
.menu-grid-item.active i {
  background: linear-gradient(135deg, #0055A4 0%, #3B82F6 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(0, 85, 164, 0.2) !important;
  border-color: rgba(0, 85, 164, 0.15) !important;
}

/* Holographic stripe & signature layout */
.holographic-stripe {
  position: absolute;
  top: 0;
  left: 2rem;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.28) 40%,
    rgba(255, 255, 255, 0.28) 60%,
    rgba(255, 255, 255, 0.05)
  );
  mix-blend-mode: overlay;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.ktp-signature {
  position: absolute;
  bottom: 2.15rem;
  right: 3.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  z-index: 2;
  pointer-events: none;
  transform: rotate(-1.5deg);
}
.ktp-signature span {
  font-size: 0.26rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: 0.03em;
}
.signature-line-draw {
  width: 25px;
  height: 7px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.45);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 15"><path d="M4,11 C12,9 18,3 23,8 C27,11 31,4 42,7 C45,8 43,1 46,3" fill="none" stroke="%23ffffff" stroke-width="1.3" stroke-linecap="round"/></svg>') no-repeat center;
  background-size: contain;
  opacity: 0.85;
}

/* Glass Glare Overlay */
.phone-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(255, 255, 255, 0) 52%,
    rgba(255, 255, 255, 0) 100%
  );
  background-position: var(--glare-x, 0%) var(--glare-y, 0%);
  background-size: 250% 250%;
  pointer-events: none;
  z-index: 99; /* Under notification banner (100) but above cards */
  mix-blend-mode: overlay;
  transition: background-position 0.12s ease-out;
}

/* Ultra-Realistic Card backgrounds & Smart Chip */
.holographic-ktp {
  background: 
    radial-gradient(circle at 100% 150%, rgba(255,255,255,0.06) 24%, transparent 24%),
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.04) 24%, transparent 24%),
    linear-gradient(135deg, #0284C7 0%, #0369A1 50%, #075985 100%) !important;
}

.ktp-smart-chip {
  width: 14px;
  height: 10px;
  background: linear-gradient(135deg, #ffe066 0%, #f5c400 35%, #d4a017 65%, #b8860b 100%) !important;
  border-radius: 2px;
  border: 0.5px solid rgba(0,0,0,0.22) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 1px 0;
  box-sizing: border-box;
}
.ktp-smart-chip .chip-line {
  height: 0.5px;
  background: rgba(0, 0, 0, 0.35) !important;
  width: 100%;
}

/* Visual Document Filter Pills Bar */
.doc-filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.1rem;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.doc-filter-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 0.6rem;
  border-right: 2px solid #E2E8F0;
}

.doc-filter-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.doc-filter-scroll-wrapper::-webkit-scrollbar {
  height: 4px;
}
.doc-filter-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.doc-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  color: #475569;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-pill-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-2px);
}

.doc-pill-btn.active {
  background: linear-gradient(135deg, #0F172A 0%, #0055A4 100%) !important;
  border-color: #0055A4 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 85, 164, 0.3) !important;
}

.doc-pill-btn.active i {
  color: #FFFFFF !important;
}

.doc-pill-btn i.text-blue { color: #3B82F6; }
.doc-pill-btn i.text-gold { color: #F59E0B; }
.doc-pill-btn i.text-green { color: #10B981; }
.doc-pill-btn i.text-amber { color: #D97706; }
.doc-pill-btn i.text-slate { color: #64748B; }
.doc-pill-btn i.text-pink { color: #EC4899; }
.doc-pill-btn i.text-purple { color: #8B5CF6; }
.doc-pill-btn i.text-cyan { color: #06B6D4; }
.doc-pill-btn i.text-orange { color: #F97316; }
.doc-pill-btn i.text-rose { color: #F43F5E; }
.doc-pill-btn i.text-indigo { color: #6366F1; }
.doc-pill-btn i.text-red { color: #EF4444; }

/* Hero Quick Document Filter Bar (Beranda) */
.hero-quick-doc-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 580px;
}

.hero-filter-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-filter-label i.text-gold {
  color: #FBBF24;
}

.hero-filter-chips {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.hero-filter-chips::-webkit-scrollbar {
  height: 3px;
}
.hero-filter-chips::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.hero-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 50px;
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.hero-chip-btn:hover {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(251, 191, 36, 0.6) !important;
  color: #FBBF24 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 12px rgba(251, 191, 36, 0.2) !important;
}

.hero-chip-btn i.text-blue { color: #60A5FA; }
.hero-chip-btn i.text-gold { color: #FBBF24; }
.hero-chip-btn i.text-green { color: #34D399; }
.hero-chip-btn i.text-amber { color: #F59E0B; }
.hero-chip-btn i.text-slate { color: #94A3B8; }
.hero-chip-btn i.text-pink { color: #F472B6; }
.hero-chip-btn i.text-purple { color: #A78BFA; }
.hero-chip-btn i.text-cyan { color: #38BDF8; }
.hero-chip-btn i.text-orange { color: #FB923C; }
.hero-chip-btn i.text-red { color: #F87171; }


/* ===== 18. Inline Expandable Service Drawer (Tanpa Pop-up Modal) ===== */
.service-inline-drawer {
  display: none;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  animation: drawerExpand 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  box-sizing: border-box;
}

.service-inline-drawer.active {
  display: block;
}

@keyframes drawerExpand {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

body.dark-mode .service-inline-drawer {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.inline-drawer-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.dark-mode .inline-drawer-header {
  color: #F8FAFC;
}

.inline-subcase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.inline-chip-btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.inline-chip-btn.active,
.inline-chip-btn:hover {
  border-color: #0055A4 !important;
  background: #E0F2FE !important;
  color: #0055A4 !important;
  box-shadow: 0 4px 12px rgba(0, 85, 164, 0.15);
}

body.dark-mode .inline-chip-btn {
  background: #0F172A;
  border-color: #475569;
  color: #CBD5E1;
}

body.dark-mode .inline-chip-btn.active,
body.dark-mode .inline-chip-btn:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38BDF8 !important;
  color: #38BDF8 !important;
}

.inline-checklist-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

body.dark-mode .inline-checklist-card {
  background: #0F172A;
  border-color: #334155;
}

.inline-req-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  margin-bottom: 0.5rem;
}

body.dark-mode .inline-req-item {
  background: #1E293B;
  border-color: #334155;
}

.floating-badge.badge-cyan-glow:hover {
  border-color: rgba(6, 182, 212, 0.55) !important;
  box-shadow: 0 15px 30px rgba(6, 182, 212, 0.3), 0 0 15px rgba(6, 182, 212, 0.2) !important;
  transform: translateY(-5px) scale(1.02);
}
.badge-icon.bg-cyan { background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%) !important; }

/* ===== 19. Premium Bento Split Grid Modal for IKD Badges ===== */
.qr-modal-responsive-width {
  max-width: 700px !important;
}

.qr-modal-grid-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 640px) {
  .qr-modal-responsive-width {
    max-width: 440px !important;
  }
  .qr-modal-grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .qr-modal-left-details {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1.25rem;
  }
}

/* Dropdown Hover Bridge - prevents menu flickering/disappearing when moving mouse from header to submenu */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: -1;
}

/* Ultra-Smooth Smartphone Slideshow Horizontal Slide-to-Left */
.phone-slideshow-container {
  overflow: hidden !important;
  position: relative !important;
}

.phone-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  transform: translateX(100%);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  will-change: transform;
}

.phone-slide.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
  pointer-events: auto !important;
  z-index: 2 !important;
}

.phone-slide.exit-left {
  opacity: 1 !important;
  transform: translateX(-100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.phone-slide.no-transition {
  transition: none !important;
}
