/**
 * VTUPress Pro Theme - Complete FinTech & Telecom Design System
 * Vanilla CSS3 with Modern Variables, Glassmorphism, and Responsive Mobile App UX
 */

:root {
  --vtu-primary: #6366f1;
  --vtu-primary-rgb: 99, 102, 241;
  --vtu-primary-hover: #4f46e5;
  --vtu-secondary: #0ea5e9;
  --vtu-secondary-rgb: 14, 165, 233;
  --vtu-accent: #10b981;
  --vtu-accent-rgb: 16, 185, 129;
  --vtu-warning: #f59e0b;
  --vtu-danger: #ef4444;
  
  --vtu-bg: #f8fafc;
  --vtu-surface: #ffffff;
  --vtu-surface-2: #f1f5f9;
  --vtu-text: #0f172a;
  --vtu-text-muted: #64748b;
  --vtu-border: #e2e8f0;
  --vtu-border-focus: #a5b4fc;
  
  --vtu-radius-sm: 6px;
  --vtu-radius: 12px;
  --vtu-radius-lg: 20px;
  --vtu-radius-full: 9999px;
  
  --vtu-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --vtu-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  --vtu-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  
  --vtu-gradient-primary: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #0ea5e9 100%);
  --vtu-gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  
  --vtu-font-heading: 'Plus Jakarta Sans', sans-serif;
  --vtu-font-body: 'Inter', sans-serif;
}

/* Dark Mode Variables */
body.vtu-mode-dark,
[data-theme="dark"] {
  --vtu-bg: #0b0f19;
  --vtu-surface: #111827;
  --vtu-surface-2: #1f2937;
  --vtu-text: #f9fafb;
  --vtu-text-muted: #9ca3af;
  --vtu-border: #374151;
  --vtu-border-focus: #6366f1;
  --vtu-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --vtu-gradient-card: linear-gradient(145deg, #111827 0%, #0f172a 100%);
}

/* ========================================================
   1. RESET & BASELINE
   ======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--vtu-font-body);
  background-color: var(--vtu-bg);
  color: var(--vtu-text);
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
}

main.site-main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--vtu-font-heading);
  font-weight: 700;
  color: var(--vtu-text);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p { margin-bottom: 1rem; color: var(--vtu-text); }
a { color: var(--vtu-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--vtu-primary-hover); }

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

.vtu-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ========================================================
   2. BUTTONS & UI UTILITIES
   ======================================================== */
.vtu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--vtu-font-heading);
  border-radius: var(--vtu-radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
  vertical-align: middle;
}

.vtu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(var(--vtu-primary-rgb), 0.35);
}

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

.vtu-btn-primary {
  background: var(--vtu-primary);
  color: #ffffff !important;
}
.vtu-btn-primary:hover {
  background: var(--vtu-primary-hover);
}

.vtu-btn-gradient {
  background: var(--vtu-gradient-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(var(--vtu-primary-rgb), 0.25);
}

.vtu-btn-secondary {
  background: var(--vtu-secondary);
  color: #ffffff !important;
}

.vtu-btn-outline {
  background: transparent;
  border-color: var(--vtu-border);
  color: var(--vtu-text) !important;
}
.vtu-btn-outline:hover {
  border-color: var(--vtu-primary);
  color: var(--vtu-primary) !important;
  background: rgba(var(--vtu-primary-rgb), 0.05);
}

.vtu-btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--vtu-radius-sm);
}

.vtu-btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--vtu-radius-lg);
}

.vtu-card {
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: var(--vtu-radius);
  padding: 1.5rem;
  box-shadow: var(--vtu-shadow-sm);
  transition: all 0.25s ease;
}

.vtu-card:hover {
  box-shadow: var(--vtu-shadow);
  border-color: var(--vtu-border-focus);
}

.vtu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--vtu-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vtu-badge-primary { background: rgba(var(--vtu-primary-rgb), 0.12); color: var(--vtu-primary); }
.vtu-badge-success { background: rgba(var(--vtu-accent-rgb), 0.12); color: var(--vtu-accent); }
.vtu-badge-warning { background: rgba(245, 158, 11, 0.12); color: var(--vtu-warning); }

/* ========================================================
   3. HEADER & NAVIGATION
   ======================================================== */
.site-header {
  background: var(--vtu-surface);
  border-bottom: 1px solid var(--vtu-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--vtu-shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 0.75rem;
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-branding .custom-logo {
  max-height: 40px;
  width: auto;
}

.site-title-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vtu-primary);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.primary-nav li {
  position: relative;
  flex-shrink: 0;
}

.primary-nav a {
  display: block;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--vtu-text);
  border-radius: var(--vtu-radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--vtu-primary);
  background: rgba(var(--vtu-primary-rgb), 0.08);
}

@media (max-width: 1080px) {
  .primary-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
  }
}

/* Submenu Dropdown */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: var(--vtu-radius);
  box-shadow: var(--vtu-shadow-lg);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 100;
}

.primary-nav li:hover > .sub-menu {
  display: flex;
}

/* Header Wallet & User Pill */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.vtu-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--vtu-surface-2);
  border: 1px solid var(--vtu-border);
  padding: 0.3rem 0.65rem;
  border-radius: var(--vtu-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.vtu-wallet-pill .bal-label {
  color: var(--vtu-text-muted);
  font-size: 0.72rem;
}

.vtu-wallet-pill .bal-val {
  color: var(--vtu-accent);
  font-weight: 700;
  font-family: var(--vtu-font-heading);
}

.vtu-wallet-pill .topup-btn {
  background: var(--vtu-primary);
  color: #fff !important;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.vtu-wallet-pill .topup-btn:hover {
  transform: scale(1.1);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--vtu-text);
  cursor: pointer;
  padding: 0.4rem;
}

/* Off-Canvas Navigation Drawer (Desktop & Mobile) */
.vtu-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vtu-drawer-backdrop.active {
  display: block;
  opacity: 1;
}

.vtu-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--vtu-surface);
  border-left: 1px solid var(--vtu-border);
  z-index: 99999;
  box-shadow: -6px 0 28px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.vtu-mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-nav {
  margin-top: 1rem;
  flex: 1;
}

.mobile-drawer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer-nav li {
  width: 100%;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--vtu-radius);
  background: var(--vtu-surface-2);
  border: 1px solid var(--vtu-border);
  color: var(--vtu-text);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav .current-menu-item > a {
  background: rgba(var(--vtu-primary-rgb), 0.08);
  border-color: var(--vtu-primary);
  color: var(--vtu-primary);
}

/* Responsive Main Grid for sidebars and posts */
.vtu-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .vtu-main-grid {
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
  }
}

/* ========================================================
   4. MOBILE APP BOTTOM NAVIGATION BAR
   ======================================================== */
.vtu-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--vtu-surface);
  border-top: 1px solid var(--vtu-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.25rem;
}

.vtu-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--vtu-text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 0.15rem;
  padding: 0.3rem 0.4rem;
  flex: 1;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.vtu-bottom-nav-item i {
  font-size: 1.15rem;
  line-height: 1;
}

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

@media (max-width: 991px) {
  body.has-bottom-nav {
    padding-bottom: 60px;
  }
  .vtu-bottom-nav {
    display: flex;
  }
  .primary-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .site-title-text {
    font-size: 1.05rem;
  }
  .vtu-wallet-pill .bal-label {
    display: none;
  }
  .vtu-wallet-pill {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .vtu-container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .vtu-card {
    padding: 1.15rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }
}

/* End Mobile Breakpoint */

/* ========================================================
   5. FINTECH SERVICE TILES & CARDS
   ======================================================== */
.vtu-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.vtu-service-tile {
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: var(--vtu-radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.vtu-service-tile:hover {
  transform: translateY(-4px);
  border-color: var(--vtu-primary);
  box-shadow: 0 10px 25px rgba(var(--vtu-primary-rgb), 0.12);
}

.vtu-service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--vtu-radius);
  background: rgba(var(--vtu-primary-rgb), 0.1);
  color: var(--vtu-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.25s ease;
}

.vtu-service-tile:hover .vtu-service-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--vtu-gradient-primary);
  color: #fff;
}

.vtu-service-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--vtu-text);
}

.vtu-service-desc {
  font-size: 0.85rem;
  color: var(--vtu-text-muted);
  margin: 0;
}

/* ========================================================
   6. BUILT-IN SLIDESHOW ENGINE
   ======================================================== */
.vtu-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--vtu-radius-lg);
  margin-bottom: 2.5rem;
}

.vtu-slider-container {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vtu-slide-item {
  min-width: 100%;
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 3.5rem 2rem;
  background-size: cover;
  background-position: center;
}

.vtu-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.vtu-slide-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: #ffffff;
}

.vtu-slide-content h1,
.vtu-slide-content h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.vtu-slide-content p {
  color: #e2e8f0;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

.vtu-slider-nav {
  position: absolute;
  bottom: 20px;
  right: 25px;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.vtu-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.vtu-slider-dot.active {
  background: #ffffff;
  width: 28px;
  border-radius: var(--vtu-radius-full);
}

/* ========================================================
   7. BUILT-IN POPUP ENGINE & NOTIFICATION LAYOUTS
   ======================================================== */
.vtu-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.vtu-popup-backdrop.active {
  display: flex !important;
  animation: vtuFadeIn 0.25s ease;
}

.vtu-popup-card {
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: var(--vtu-radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: vtuScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Layout: Bottom-Right Slide-In Toast */
.vtu-popup-backdrop.layout-slide_right {
  background: transparent !important;
  backdrop-filter: none !important;
  pointer-events: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.5rem;
}

.vtu-popup-backdrop.layout-slide_right .vtu-popup-card {
  pointer-events: auto;
  max-width: 420px;
  animation: vtuSlideRight 0.35s ease;
}

/* Layout: Bottom Notification Bar */
.vtu-popup-backdrop.layout-bottom_bar {
  background: transparent !important;
  backdrop-filter: none !important;
  pointer-events: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.vtu-popup-backdrop.layout-bottom_bar .vtu-popup-card {
  pointer-events: auto;
  max-width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  padding: 1.25rem 2rem;
  animation: vtuSlideUp 0.35s ease;
}

.vtu-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--vtu-surface-2);
  border: 1px solid var(--vtu-border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--vtu-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.vtu-popup-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.vtu-popup-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--vtu-primary-rgb), 0.1);
  color: var(--vtu-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

@keyframes vtuFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes vtuScaleUp { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes vtuSlideRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes vtuSlideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ========================================================
   8. KNOWLEDGE BASE & FAQ
   ======================================================== */
.vtu-kb-hero {
  background: linear-gradient(135deg, var(--vtu-primary) 0%, #1e1b4b 60%, #0f172a 100%);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #ffffff;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.vtu-kb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.vtu-kb-hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.5px;
}

.vtu-kb-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

.vtu-kb-search-container {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.vtu-kb-search-input {
  width: 100%;
  padding: 1.1rem 1.4rem 1.1rem 3.4rem;
  border-radius: 50px;
  border: 2px solid transparent;
  font-size: 1.05rem;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.vtu-kb-search-input:focus {
  outline: none;
  border-color: var(--vtu-secondary);
  box-shadow: 0 12px 35px rgba(14, 165, 233, 0.35);
}

.vtu-kb-search-icon {
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vtu-primary);
  font-size: 1.2rem;
  pointer-events: none;
}

/* Category Filter Tabs Bar */
.vtu-kb-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vtu-border);
}

.vtu-kb-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  color: var(--vtu-text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vtu-kb-filter-pill:hover,
.vtu-kb-filter-pill.active {
  background: var(--vtu-primary);
  border-color: var(--vtu-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--vtu-primary-rgb), 0.3);
}

.vtu-kb-filter-pill .pill-count {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.vtu-kb-filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* KB Cards Grid */
.vtu-kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.vtu-kb-card {
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
}

.vtu-kb-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--vtu-primary-rgb), 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.vtu-kb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1rem;
}

.vtu-kb-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vtu-primary);
  background: rgba(var(--vtu-primary-rgb), 0.08);
  padding: 4px 10px;
  border-radius: 8px;
}

.vtu-kb-time-tag {
  font-size: 0.8rem;
  color: var(--vtu-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.vtu-kb-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.vtu-kb-card-title a {
  color: var(--vtu-text);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.vtu-kb-card-title a:hover {
  color: var(--vtu-primary);
}

.vtu-kb-card-excerpt {
  color: var(--vtu-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.vtu-kb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--vtu-border);
  font-size: 0.88rem;
}

.vtu-kb-read-link {
  font-weight: 700;
  color: var(--vtu-primary);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.vtu-kb-card:hover .vtu-kb-read-link {
  gap: 10px;
}

/* Support Help Banner */
.vtu-kb-help-banner {
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: 18px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
  .vtu-kb-single-grid {
    grid-template-columns: 1fr 340px !important;
  }
}

.vtu-kb-search-box {
  background: var(--vtu-gradient-primary);
  border-radius: var(--vtu-radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 2.5rem;
}

.vtu-kb-search-box h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.vtu-kb-input-wrap {
  max-width: 600px;
  margin: 1.5rem auto 0;
  position: relative;
}

.vtu-kb-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3rem;
  border-radius: var(--vtu-radius-full);
  border: 1px solid var(--vtu-border);
  font-size: 1rem;
  background: var(--vtu-surface);
  color: var(--vtu-text);
  box-shadow: var(--vtu-shadow-lg);
}

.vtu-kb-input-wrap i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vtu-text-muted);
  font-size: 1.1rem;
}

.vtu-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.vtu-faq-item {
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: var(--vtu-radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.vtu-faq-header {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vtu-faq-header i {
  transition: transform 0.2s ease;
  color: var(--vtu-primary);
}

.vtu-faq-item.open .vtu-faq-header i {
  transform: rotate(180deg);
}

.vtu-faq-body {
  padding: 0 1.25rem 1.1rem;
  display: none;
  color: var(--vtu-text-muted);
  border-top: 1px solid var(--vtu-border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.vtu-faq-item.open .vtu-faq-body {
  display: block;
}

/* ========================================================
   9. CONTACT FORM
   ======================================================== */
.vtu-contact-form .form-group {
  margin-bottom: 1.25rem;
}

.vtu-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.vtu-contact-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--vtu-border);
  border-radius: var(--vtu-radius);
  background: var(--vtu-surface);
  color: var(--vtu-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vtu-contact-form .form-control:focus {
  outline: none;
  border-color: var(--vtu-primary);
  box-shadow: 0 0 0 3px rgba(var(--vtu-primary-rgb), 0.15);
}

/* Anti-spam honeypot */
.vtu-hp-field {
  display: none !important;
}

/* ========================================================
   10. FOOTER
   ======================================================== */
.site-footer {
  background: var(--vtu-surface);
  border-top: 1px solid var(--vtu-border);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  border-top: 1px solid var(--vtu-border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--vtu-text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========================================================
   11. FLUID LANDING PAGE & COMPONENT ENHANCEMENTS
   ======================================================== */
.vtu-page-fluid,
.vtu-fullwidth-content,
.vtu-front-article {
  width: 100%;
  padding: 0;
  margin: 0;
}

.vtu-page-fluid > * {
  max-width: 100%;
}

.vtu-hero-banner {
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.vtu-hero-banner h1 {
  letter-spacing: -0.03em;
}

.vtu-service-tile {
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: var(--vtu-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--vtu-text) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--vtu-shadow-sm);
  position: relative;
  overflow: hidden;
}

.vtu-service-tile:hover {
  transform: translateY(-4px);
  border-color: var(--vtu-primary);
  box-shadow: 0 12px 24px rgba(var(--vtu-primary-rgb), 0.12);
}

.vtu-service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(var(--vtu-primary-rgb), 0.1);
  color: var(--vtu-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  transition: all 0.3s ease;
}

.vtu-service-tile:hover .vtu-service-icon {
  background: var(--vtu-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.vtu-service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vtu-text);
  margin-bottom: 0.35rem;
}

.vtu-service-desc {
  font-size: 0.86rem;
  color: var(--vtu-text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

@keyframes vtuPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ========================================================
   12. CORE UTILITY & COMPONENT STYLING
   ======================================================== */
.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-muted {
  color: var(--vtu-text-muted) !important;
}

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.vtu-trust-badges-bar {
  background: var(--vtu-surface);
  border: 1px solid var(--vtu-border);
  border-radius: 18px;
  padding: 1.4rem 2rem;
  margin: 3.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.vtu-trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

#vtu-toggle-services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Dark Mode Logo Switching */
[data-theme="dark"] .site-branding .custom-logo-link:not(.vtu-dark-logo) {
  display: none !important;
}

[data-theme="dark"] .site-branding .vtu-dark-logo {
  display: inline-block !important;
}

:root:not([data-theme="dark"]) .site-branding .vtu-dark-logo {
  display: none !important;
}

/* ========================================================
   API Reseller Showcase Section & Mobile Responsive UX
   ======================================================== */
.vtu-api-reseller-showcase {
  margin: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #020617 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.3);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.vtu-api-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.vtu-api-badge {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.vtu-api-title {
  color: #ffffff !important;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.vtu-api-desc {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.vtu-api-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.vtu-api-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

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

.vtu-api-btn-primary {
  background: #6366f1;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  transition: all 0.25s ease;
}

.vtu-api-btn-primary:hover {
  background: #4f46e5;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.vtu-api-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.vtu-api-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.vtu-api-terminal-card {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  width: 100%;
}

.vtu-api-terminal-header {
  background: #0f172a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vtu-api-terminal-body {
  padding: 16px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 11.5px;
  line-height: 1.6;
  color: #e2e8f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
  .vtu-api-showcase-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .vtu-api-reseller-showcase {
    padding: 2rem 1.25rem;
    margin: 2.5rem 0;
    border-radius: 18px;
  }
  .vtu-api-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }
  .vtu-api-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .vtu-api-checklist {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 1.75rem;
  }
  .vtu-api-check-item {
    white-space: normal;
    font-size: 0.88rem;
  }
  .vtu-api-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .vtu-api-btn-primary,
  .vtu-api-btn-secondary {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }
  .vtu-api-terminal-body {
    padding: 12px;
    font-size: 10.5px;
  }
}



