/* ==========================================================================
   Triple Four Network Indonesia (444 Network)
   Design System Reference: BMS Services Clean Enterprise Gradient System
   No Emojis • Vector SVG Driven • Interactive Micro-Interactions • 60 FPS
   ========================================================================== */

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

:root {
  /* Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-mesh: #F5F3FF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFE;

  --border-subtle: rgba(139, 92, 246, 0.12);
  --border-card: #EDE9FE;
  --border-glow: rgba(79, 70, 229, 0.3);

  /* Accents */
  --brand-indigo: #4F46E5;
  --brand-blue: #3B82F6;
  --brand-cyan: #0EA5E9;
  --brand-pink: #D946EF;
  --brand-violet: #8B5CF6;
  --brand-lavender: #EDE9FE;
  --brand-emerald: #10B981;
  --brand-amber: #F59E0B;
  --brand-rose: #EF4444;

  /* Typography */
  --text-main: #16113A;
  --text-muted: #5B557A;
  --text-dim: #8C86A8;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 50%, #D946EF 100%);
  --gradient-btn: linear-gradient(135deg, #4F46E5 0%, #6366F1 50%, #8B5CF6 100%);
  --gradient-text: linear-gradient(135deg, #312E81 0%, #4F46E5 50%, #7C3AED 100%);
  --gradient-soft: linear-gradient(135deg, #EDE9FE 0%, #E0F2FE 100%);

  /* Shadows */
  --shadow-card: 0 10px 32px -10px rgba(22, 17, 58, 0.08), 0 4px 12px rgba(22, 17, 58, 0.04);
  --shadow-glow: 0 16px 40px -10px rgba(79, 70, 229, 0.28);
  --shadow-card-hover: 0 20px 40px -12px rgba(22, 17, 58, 0.14), 0 6px 16px rgba(22, 17, 58, 0.06);

  /* ==========================================================================
     APPLE LIQUID GLASS DESIGN SYSTEM (iOS / macOS Material Physics)
     GPU-Composited • 60 FPS • Specular Edge Sheen • Frosted Refraction
     ========================================================================== */
  --liquid-glass-bg: rgba(255, 255, 255, 0.62);
  --liquid-glass-bg-hover: rgba(255, 255, 255, 0.82);
  --liquid-glass-blur: blur(28px) saturate(210%);
  --liquid-glass-border: rgba(255, 255, 255, 0.85);
  --liquid-glass-border-subtle: rgba(226, 232, 240, 0.75);
  --liquid-glass-rim: inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 1px 0 rgba(255, 255, 255, 0.35);
  --liquid-glass-shadow: inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 1px 0 rgba(255, 255, 255, 0.35), 0 20px 48px -12px rgba(15, 23, 42, 0.08), 0 4px 14px -2px rgba(15, 23, 42, 0.03);
  --liquid-glass-shadow-hover: inset 0 1.5px 1px 0 #FFFFFF, inset 0 -1px 1px 0 rgba(255, 255, 255, 0.5), 0 28px 56px -12px rgba(15, 23, 42, 0.13), 0 8px 22px -4px rgba(15, 23, 42, 0.05);

  --liquid-btn-primary: linear-gradient(180deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%);
  --liquid-btn-primary-rim: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.65), 0 10px 24px -4px rgba(37, 99, 235, 0.42);

  --nav-height: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background-color: #F8FAFC;
  background-image:
    radial-gradient(at 10% 10%, rgba(219, 234, 254, 0.85) 0px, transparent 50%),
    radial-gradient(at 90% 15%, rgba(224, 242, 254, 0.8) 0px, transparent 50%),
    radial-gradient(at 50% 55%, rgba(237, 233, 254, 0.65) 0px, transparent 55%),
    radial-gradient(at 85% 85%, rgba(254, 243, 199, 0.55) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.025em;
  font-weight: 800;
}

/* Vector SVG Icon System (No Emojis) */
.svg-icon,
.svg-icon-sm,
.svg-icon-xs,
.svg-icon-lg,
.svg-icon-xl {
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-xs {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.svg-icon {
  width: 20px;
  height: 20px;
}

.svg-icon-sm {
  width: 16px;
  height: 16px;
}

.svg-icon-lg {
  width: 26px;
  height: 26px;
}

.svg-icon-xl {
  width: 36px;
  height: 36px;
}

.hidden {
  display: none !important;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-mesh);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-indigo);
  margin-bottom: 14px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.glass-panel:hover .icon-box {
  transform: scale(1.08) rotate(3deg);
  background: #EDE9FE;
}

/* Touch Target Standards */
button:not(.carousel-dot),
a:not(.carousel-dot),
input,
select,
textarea,
.touch-btn {
  min-height: 44px;
  font-family: inherit;
  font-size: inherit;
}

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

/* Layout Containers */
.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 24px);
  position: relative;
  overflow: hidden;
}

.container-mobile {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
}

/* Interactive Spotlight Cards (Tracks mouse/touch for dynamic luminous border) */
.spotlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), 0 16px 36px -8px rgba(15, 23, 42, 0.07), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 1.5px 0 #FFFFFF, 0 24px 44px -10px rgba(15, 23, 42, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.05);
  border-color: rgba(99, 102, 241, 0.35);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(99, 102, 241, 0.45),
      transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), 0 16px 36px -8px rgba(15, 23, 42, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: inset 0 1px 1.5px 0 #FFFFFF, 0 22px 42px -10px rgba(15, 23, 42, 0.1);
}

.glass-panel-glow {
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: 0 14px 44px -10px rgba(79, 70, 229, 0.16);
}

/* ==========================================================================
   UNIFIED IMMERSIVE HERO STAGE (Apple-Inspired Cinematic Architecture)
   ========================================================================== */
.hero-unified-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0A0F1D;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  margin-bottom: 36px;
  box-sizing: border-box;
}

.hero-stage-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-stage-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(1.2) contrast(1.05);
}

.hero-stage-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(15, 23, 42, 0.25) 0%, rgba(10, 15, 29, 0.85) 75%, #0A0F1D 100%);
  z-index: 2;
}

.hero-stage-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 68px 24px 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #93C5FD;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
  animation: pulseLiveDot 2s infinite ease-in-out;
}

.hero-title-headline {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.4px;
  color: #FFFFFF;
  margin: 0 0 20px 0;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-desc {
  color: #CBD5E1;
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 34px 0;
  font-weight: 500;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-btn-ghost:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Apple-Style Bottom Spec Benchmarks */
.hero-benchmarks-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 18px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: 100%;
  max-width: 620px;
  box-sizing: border-box;
}

.hero-bench-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.bench-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.bench-lbl {
  font-size: 0.74rem;
  color: #94A3B8;
  font-weight: 500;
}

.hero-bench-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
  .hero-unified-stage {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    margin-bottom: 24px;
  }

  .hero-stage-content {
    padding: 44px 18px 36px 18px;
  }

  .hero-badge-pill {
    font-size: 0.65rem;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .hero-title-headline {
    font-size: 2.15rem;
    line-height: 1.18;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
  }

  .hero-subtitle-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-btn-primary,
  .hero-btn-secondary,
  .hero-btn-ghost {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 13px 18px;
  }

  .hero-benchmarks-strip {
    gap: 12px;
    padding: 14px 12px;
  }

  .bench-val {
    font-size: 0.95rem;
  }

  .bench-lbl {
    font-size: 0.66rem;
  }
}

/* Navigation Bars - Apple Liquid Glass System */
.mobile-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.03), 0 8px 25px -4px rgba(15, 23, 42, 0.05);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

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

/* Ergonomic Thumb-Zone Bottom Navigation - Apple Liquid Glass */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--nav-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.95), 0 -10px 32px -4px rgba(15, 23, 42, 0.08);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  min-width: 60px;
  border-radius: 12px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.nav-item.active {
  color: #2563EB;
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.nav-item:hover {
  color: #1D4ED8;
}

.nav-item:active {
  transform: scale(0.92);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-nav-dock {
  display: none !important;
}

.desktop-header-actions {
  display: none !important;
}

@media (min-width: 1024px) {
  .app-wrapper {
    padding-bottom: 40px;
  }

  .mobile-bottom-nav {
    display: none !important;
  }

  .desktop-nav-dock {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 5px 8px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  }

  .desktop-header-actions {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
  }
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.nav-dock-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-dock-item:hover {
  color: #1D4ED8;
  background: rgba(37, 99, 235, 0.08);
}

.nav-dock-item.active {
  color: #FFFFFF;
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 4px 14px rgba(37, 99, 235, 0.32);
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

/* Dropdown Flyout System - Apple Liquid Glass */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-wrapper:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 8px;
  min-width: 280px;
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), 0 20px 48px -10px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Invisible bridge so mouse hover doesn't break */
.nav-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.nav-dropdown-item:hover {
  background: #F8FAFC;
  transform: translateX(3px);
}

.nav-dropdown-item.active {
  background: #EEF2FF;
}

.nav-dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-indigo { background: #EEF2FF; color: var(--brand-indigo); border: 1px solid #C7D2FE; }
.icon-emerald { background: #ECFDF5; color: var(--brand-emerald); border: 1px solid #A7F3D0; }
.icon-cyan { background: #ECFEFF; color: var(--brand-cyan); border: 1px solid #A5F3FC; }
.icon-violet { background: #F5F3FF; color: #7C3AED; border: 1px solid #DDD6FE; }
.icon-amber { background: #FFFBEB; color: #D97706; border: 1px solid #FDE68A; }

.nav-dropdown-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.nav-dropdown-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.badge-micro {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  background: #ECFDF5;
  color: #065F46;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid #A7F3D0;
}

.desktop-action-btn {
  padding: 8px 20px;
  font-size: 0.84rem;
  border-radius: 999px;
  gap: 6px;
}

.desktop-logout-btn {
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: 999px;
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.svg-icon-xs {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}

/* Buttons - Apple Liquid Gloss & Frosted Glass */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.65), 0 8px 24px -4px rgba(37, 99, 235, 0.42);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.85), 0 12px 30px -4px rgba(37, 99, 235, 0.52);
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 4px 12px -2px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  padding: 11px 22px;
  cursor: pointer;
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), 0 6px 18px -3px rgba(15, 23, 42, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1.5px 0 #FFFFFF, 0 10px 24px -4px rgba(15, 23, 42, 0.08);
}

.btn-secondary:active {
  transform: scale(0.97);
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-cyan {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.badge-violet {
  background: #EDE9FE;
  color: #5B21B6;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.badge-emerald {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-rose {
  background: #FFE4E6;
  color: #BE123C;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.badge-amber {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Forms */
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  color: var(--text-main);
  padding: 12px 16px;
  outline: none;
  font-family: inherit;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: #3B82F6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), inset 0 1px 1px #FFFFFF;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.section-tag {
  color: #4338CA;
  background: rgba(237, 233, 254, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 5px 16px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  margin-bottom: 10px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Interactive Estimator Component */
.estimator-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.estimator-chip {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: #FFFFFF;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.estimator-chip:hover {
  border-color: var(--brand-indigo);
  background: #F8FAFC;
}

.estimator-chip.active {
  background: var(--brand-indigo);
  color: #FFFFFF;
  border-color: var(--brand-indigo);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

/* Legacy Stepper Fallback (Zero Overflow) */
.stepper-nav {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 24px;
}

.step-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: #FFFFFF;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.step-btn.active {
  border-color: var(--brand-indigo);
  background: #F5F3FF;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
}

.step-num {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--brand-indigo);
  display: block;
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-main);
  display: block;
  margin-top: 2px;
}

/* FAQ Accordion - Apple Liquid Glass Cards */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  position: relative;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow:
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 24px -4px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--text-main);
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 12px;
  display: none;
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: inset 0 1px 1.5px 0 #FFFFFF, 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  color: #2563EB;
}

.faq-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: transform 0.25s ease, color 0.25s ease;
}

/* ==========================================================================
   INTERACTIVE COMPARISON MODULE (SaaS Pasaran vs Custom 444 Network)
   ========================================================================== */
.comparison-toggle-container {
  display: flex;
  background: #EDE9FE;
  padding: 4px;
  border-radius: 14px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto 24px auto;
  gap: 4px;
  box-sizing: border-box;
}

.comparison-toggle-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.comparison-toggle-btn.active {
  background: #FFFFFF;
  color: var(--brand-indigo);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

@media (max-width: 540px) {
  .comparison-toggle-container {
    max-width: 320px;
  }

  .comparison-toggle-btn.btn-desktop-both {
    display: none !important;
  }

  .comparison-toggle-btn {
    font-size: 0.82rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .container-mobile {
    padding: 12px 14px;
  }

  .spotlight-card {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.comparison-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comparison-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.comparison-card.solution-card {
  border: 2px solid var(--brand-indigo);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%);
}

.comparison-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.comparison-point:last-child {
  margin-bottom: 0;
}

/* Stepper Progress Bar */
.stepper-progress-track {
  width: 100%;
  height: 6px;
  background: #EDE9FE;
  border-radius: 999px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.stepper-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4F46E5 0%, #06B6D4 100%);
  border-radius: 999px;
  width: 25%;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estimator Add-ons */
.estimator-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.estimator-addon-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.estimator-addon-card:hover {
  border-color: var(--brand-indigo);
  background: #F8FAFC;
}

.estimator-addon-card.active {
  border-color: var(--brand-indigo);
  background: #F5F3FF;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

.estimator-addon-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-indigo);
}

/* Tech Filter Pills */
.tech-filter-group {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.tech-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-card);
  background: #FFFFFF;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tech-filter-btn.active {
  background: var(--brand-indigo);
  color: #FFFFFF;
  border-color: var(--brand-indigo);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

/* Live Latency Status Tag */
.latency-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   CONNECTED ECOSYSTEM ARCHITECTURE HUB (JagoBisnis Style Ecosystem Reference)
   ========================================================================== */
.ecosystem-hub-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  overflow: hidden;
}

.dot-grid-decor {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(#CBD5E1 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

/* Circuit Flow Animations (60 FPS GPU-accelerated) */
@keyframes dashflow {
  from {
    stroke-dashoffset: 20;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.animate-flow-line {
  stroke-dasharray: 6 4;
  animation: dashflow 1.5s linear infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.15;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 0.28;
  }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* --- 1. DESKTOP HUB LAYOUT (Screen >= 992px) --- */
.jago-hub-desktop {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 400px;
  margin: 10px auto;
  display: block;
}

.jago-hub-desktop-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.jago-hub-desktop-grid {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.jago-hub-col-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-end;
  padding-right: 20px;
}

.jago-hub-col-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  padding-left: 20px;
}

/* Jago Card Shared Styling - Apple Liquid Glass */
.jago-satellite-card {
  width: 290px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), 0 12px 30px -6px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.jago-satellite-card:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 1.5px 0 #FFFFFF, 0 18px 40px -8px rgba(15, 23, 42, 0.12);
}

.jago-card-pos {
  border-color: rgba(59, 130, 246, 0.25);
}

.jago-card-pos:hover {
  border-color: #3B82F6;
  box-shadow: 0 14px 36px rgba(59, 130, 246, 0.15);
}

.jago-card-stock {
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateX(-12px);
}

.jago-card-stock:hover {
  transform: translateX(-12px) translateY(-3px) scale(1.02);
  border-color: #10B981;
  box-shadow: 0 14px 36px rgba(16, 185, 129, 0.15);
}

.jago-card-recipe {
  border-color: rgba(139, 92, 246, 0.25);
}

.jago-card-recipe:hover {
  border-color: #8B5CF6;
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.15);
}

.jago-card-payment {
  border-color: rgba(245, 158, 11, 0.25);
  transform: translateX(12px);
}

.jago-card-payment:hover {
  transform: translateX(12px) translateY(-3px) scale(1.02);
  border-color: #F59E0B;
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.15);
}

.jago-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.icon-bg-blue {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #DBEAFE;
}

.icon-bg-emerald {
  background: #ECFDF5;
  color: #059669;
  border-color: #D1FAE5;
}

.icon-bg-purple {
  background: #F5F3FF;
  color: #7C3AED;
  border-color: #EDE9FE;
}

.icon-bg-amber {
  background: #FFFBEB;
  color: #D97706;
  border-color: #FEF3C7;
}

.jago-card-body h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.jago-card-body p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 8px 0;
  line-height: 1.45;
}

.jago-card-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
}

.pill-style-blue {
  color: #2563EB;
  background: #DBEAFE;
}

.pill-style-emerald {
  color: #059669;
  background: #D1FAE5;
}

.pill-style-purple {
  color: #7C3AED;
  background: #EDE9FE;
}

.pill-style-amber {
  color: #D97706;
  background: #FEF3C7;
}

.jago-card-category {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Live Interactive Architecture Telemetry Console */
.hub-telemetry-console {
  background: #0F172A;
  color: #F8FAFC;
  border-radius: 14px;
  padding: 12px 18px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.hub-telemetry-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.telemetry-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: pulseLiveDot 1.8s infinite ease-in-out;
}

.telemetry-label {
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.5px;
  font-size: 0.72rem;
}

.hub-telemetry-text {
  color: #CBD5E1;
  line-height: 1.4;
  word-break: break-word;
}

@media (max-width: 640px) {
  .hub-telemetry-console {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 14px;
    font-size: 0.74rem;
  }
}

/* Center Hub Core */
.jago-hub-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 160px;
}

.jago-hub-pulse-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.16);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.jago-hub-box {
  width: 120px;
  height: 120px;
  border-radius: 36px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 50px -10px rgba(79, 70, 229, 0.22), 0 0 0 1px #EDE9FE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.jago-hub-box:hover {
  transform: scale(1.05);
}

.jago-hub-box-brand {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1E1B4B 0%, #4F46E5 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1.5px;
  line-height: 1;
}

.jago-hub-box-sub {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* --- 2. MOBILE & TABLET HUB LAYOUT (Screen < 992px) - Unified Apple Bento Architecture --- */
.ecosystem-unified-bento {
  display: none;
  width: 100%;
  max-width: 540px;
  margin: 10px auto;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .jago-hub-desktop {
    display: none !important;
  }
  .ecosystem-unified-bento {
    display: block !important;
  }
}

.ecosystem-bento-header {
  text-align: center;
  margin-bottom: 16px;
}

.ecosystem-core-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.core-pill-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #1E1B4B 0%, #4F46E5 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.core-pill-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.5px;
  padding: 0 6px;
  border-left: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
}

.core-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #10B981;
}

.core-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.ecosystem-bento-caption {
  font-size: 0.76rem;
  color: #64748B;
  margin-top: 8px;
  font-weight: 500;
}

.ecosystem-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.ecosystem-bento-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  box-sizing: border-box;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.ecosystem-bento-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.bento-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bento-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.tag-blue { color: #2563EB; }
.tag-purple { color: #8B5CF6; }
.tag-emerald { color: #059669; }
.tag-amber { color: #D97706; }

.ecosystem-bento-item h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.ecosystem-bento-item p {
  font-size: 0.72rem;
  color: #64748B;
  margin: 0 0 10px 0;
  line-height: 1.38;
}

.bento-footer {
  margin-top: auto;
}

.bento-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
}

.pill-blue { background: #EFF6FF; color: #1D4ED8; border: 1px solid #DBEAFE; }
.pill-purple { background: #F5F3FF; color: #6D28D9; border: 1px solid #EDE9FE; }
.pill-emerald { background: #ECFDF5; color: #047857; border: 1px solid #D1FAE5; }
.pill-amber { background: #FFFBEB; color: #B45309; border: 1px solid #FEF3C7; }

@media (max-width: 480px) {
  .ecosystem-unified-bento {
    padding: 16px 12px;
    border-radius: 18px;
  }
  .ecosystem-bento-grid {
    gap: 8px;
  }
  .ecosystem-bento-item {
    padding: 12px 10px;
    border-radius: 14px;
  }
  .ecosystem-bento-item h4 {
    font-size: 0.82rem;
  }
  .ecosystem-bento-item p {
    font-size: 0.68rem;
    line-height: 1.35;
  }
}

@media (max-width: 991px) {
  .jago-hub-desktop {
    display: none !important;
  }

  .jago-hub-mobile {
    display: block !important;
  }
}

/* ==========================================================================
   REALISTIC SOFTWARE UI MICRO-MOCKUPS & 3-STEP WORKFLOW (JagoBisnis Style)
   No AI Slop • Real Interfaces • Tangible Business Logic • 60 FPS
   ========================================================================== */

/* 1. Interactive 3-Step Guided Stepper */
.guided-stepper-container {
  max-width: 820px;
  margin: 0 auto 28px auto;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.guided-progress-bar {
  width: 100%;
  height: 4px;
  background: #EDE9FE;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.guided-progress-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, #4F46E5 0%, #06B6D4 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.guided-stepper-cards-nav {
  display: flex;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.guided-step-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--border-card);
  background: #FFFFFF;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-sizing: border-box;
}

.guided-step-btn:hover {
  border-color: rgba(79, 70, 229, 0.4);
  background: #FDFEFE;
}

.guided-step-btn.active {
  border-color: var(--brand-indigo);
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
}

.guided-step-btn .step-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--brand-indigo);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
}

.guided-step-btn .step-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  white-space: normal;
  display: block;
  word-break: break-word;
}

@media (max-width: 540px) {
  .guided-stepper-cards-nav {
    gap: 6px;
  }

  .guided-step-btn {
    padding: 8px 6px;
    border-radius: 10px;
  }

  .guided-step-btn .step-badge {
    font-size: 0.6rem;
  }

  .guided-step-btn .step-title {
    font-size: 0.72rem;
  }
}

/* Guided Step Card Container */
.guided-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 768px) {
  .guided-step-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }
}

/* 2. Concrete UI Micro-Mockup Components */
.ui-mockup-wrapper {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 18px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E2E8F0;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red {
  background: #EF4444;
}

.dot-yellow {
  background: #F59E0B;
}

.dot-green {
  background: #10B981;
}

.mockup-status-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.tag-active-green {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.tag-active-blue {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.tag-active-amber {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

/* Itemized Order Line */
.mockup-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.mockup-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #EFF6FF;
  border-radius: 10px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--brand-indigo);
  margin-top: 10px;
  font-size: 0.95rem;
}

/* Ledger Log Row */
.mockup-ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Chat Bubble Mockup */
.mockup-chat-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble-user {
  align-self: flex-end;
  background: var(--brand-indigo);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 14px 14px 2px 14px;
  font-size: 0.8rem;
  max-width: 82%;
}

.chat-bubble-agent {
  align-self: flex-start;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 14px 14px 14px 2px;
  font-size: 0.8rem;
  max-width: 82%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* 3. Three-Year TCO Comparison Grid */
.tco-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.tco-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.tco-card.highlight {
  border: 2px solid var(--brand-indigo);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%);
  box-shadow: 0 16px 36px -10px rgba(79, 70, 229, 0.2);
}

.tco-price-display {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 900;
  margin: 12px 0 18px 0;
}

.tco-item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.tco-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}


/* ==========================================================================
   CORPORATE ENTERPRISE FOOTER SYSTEM (Triple Four Network Indonesia • 444)
   Unilever-Inspired Minimalist Architecture
   ========================================================================== */
/* ==========================================================================
   APPLE LIQUID GLASS ENTERPRISE FOOTER SYSTEM (444 NETWORK INDONESIA)
   Frosted Translucent Glass Card • Specular Highlights • Zero FAB Collision
   ========================================================================== */
/* ==========================================================================
   APPLE LIQUID GLASS ENTERPRISE FOOTER SYSTEM (444 NETWORK INDONESIA)
   Unified Liquid Glass Card • iOS Disclosure Accordions • SF Pro Typography
   Mobile-First 60 FPS GPU Compositing • Zero FAB Collision Clearance
   ========================================================================== */
.uol-site-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.uol-footer-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px 28px 20px;
  box-sizing: border-box;
}

/* Master Unified Liquid Glass Panel */
.apple-footer-unified-card {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(40px) saturate(200%) contrast(100%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 24px 60px -15px rgba(15, 23, 42, 0.08),
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  padding: 40px 36px 30px 36px;
  position: relative;
}

/* 1. Top Island: Brand & Quick Action Consultation */
.apple-footer-top-island {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.apple-footer-brand-meta {
  display: flex;
  flex-direction: column;
}

.apple-brand-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.apple-footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-footer-logo-link:hover {
  transform: scale(1.03);
}

.apple-footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.apple-live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.25);
  color: #15803D;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
}

@keyframes iosPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

.apple-live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.25);
  animation: iosPulse 2.4s infinite;
  flex-shrink: 0;
}

.apple-footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 4px 0;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.apple-footer-brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 800;
  color: #2563EB;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.apple-footer-brand-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 18px 0;
  max-width: 540px;
}

/* Social Strip */
.apple-social-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.apple-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.85);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-social-pill:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

/* Genius Consultation Card */
.apple-footer-consult-card {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 16px rgba(15, 23, 42, 0.02);
}

.apple-consult-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.apple-consult-sparkle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563EB;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.7);
}

.apple-consult-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  letter-spacing: -0.015em;
}

.apple-consult-desc {
  font-size: 0.84rem;
  color: #64748B;
  line-height: 1.55;
  margin: 0 0 18px 0;
}

.apple-consult-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apple-btn-ios-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0071E3 0%, #0077ED 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.32);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-btn-ios-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.42);
}
.apple-btn-ios-primary:active {
  transform: scale(0.98);
}
.apple-btn-ios-primary .icon-chevron-right {
  margin-left: auto;
  opacity: 0.8;
}

.apple-btn-ios-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #E2E8F0;
  color: #1E293B !important;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.apple-btn-ios-secondary:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A !important;
}

/* Hairline Divider */
.apple-footer-hairline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.85) 15%, rgba(226, 232, 240, 0.85) 85%, transparent);
  margin: 32px 0 28px 0;
}

/* 2. Apple Navigation Grid */
.apple-footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.apple-nav-group {
  display: flex;
  flex-direction: column;
}

.apple-nav-header-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0 0 16px 0;
  cursor: default;
  text-align: left;
}

.apple-nav-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.apple-squircle-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.apple-squircle-icon.icon-blue { background: rgba(0, 113, 227, 0.1); color: #0071E3; }
.apple-squircle-icon.icon-indigo { background: rgba(88, 86, 214, 0.1); color: #5856D6; }
.apple-squircle-icon.icon-emerald { background: rgba(52, 199, 89, 0.12); color: #34C759; }
.apple-squircle-icon.icon-amber { background: rgba(255, 149, 0, 0.12); color: #FF9500; }

.apple-nav-heading {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Plus Jakarta Sans", sans-serif;
}

.apple-count-chip {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(0, 113, 227, 0.1);
  color: #0071E3;
}

.apple-accordion-chevron {
  display: none;
}

.apple-nav-collapsible {
  display: block;
}

.apple-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apple-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 4px 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Plus Jakarta Sans", sans-serif;
}
.apple-nav-item:hover {
  color: #0071E3 !important;
  transform: translateX(3px);
}

.apple-item-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #CBD5E1;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.apple-nav-item:hover .apple-item-dot {
  background: #0071E3;
}

.apple-item-text {
  flex: 1;
}

.apple-item-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(241, 245, 249, 0.9);
  color: #64748B;
  margin-left: auto;
  white-space: nowrap;
}
.apple-item-tag.tag-intel {
  background: rgba(0, 113, 227, 0.08);
  color: #0071E3;
}

/* Apple iOS Grouped Box for Operational */
.apple-ios-grouped-card {
  display: flex;
  flex-direction: column;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0.5px 0.5px rgba(255, 255, 255, 0.8);
}

.apple-grouped-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: background 0.15s ease;
}
.apple-grouped-row:last-child {
  border-bottom: none;
}
.apple-grouped-row:hover {
  background: rgba(255, 255, 255, 0.6);
}

.apple-grouped-key {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86868B;
  font-family: var(--font-mono);
}

.apple-grouped-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
}

.apple-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0071E3;
  text-decoration: none !important;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 113, 227, 0.08);
  width: fit-content;
  transition: all 0.15s ease;
}
.apple-map-link:hover {
  background: #0071E3;
  color: #FFFFFF !important;
}

.apple-grouped-val-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
}

/* 3. Apple Trust Strip */
.apple-footer-trust-capsules {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.apple-feature-capsule {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1E293B;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-feature-capsule:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.apple-capsule-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.25);
  animation: iosPulse 2.4s infinite;
  flex-shrink: 0;
}

/* 4. Apple Bottom Bar */
.apple-footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.apple-bottom-brand-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 620px;
}

.apple-bottom-copy {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
}
.apple-bottom-copy strong {
  color: #0F172A;
}

.apple-bottom-subtext {
  font-size: 0.74rem;
  color: #94A3B8;
}

.apple-bottom-actions-col {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.apple-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.apple-sublink {
  font-size: 0.8rem;
  color: #64748B;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.15s ease;
}
.apple-sublink:hover {
  color: #0071E3 !important;
}

.apple-sep-dot {
  color: #CBD5E1;
  font-size: 0.75rem;
}

.apple-back-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-back-top-btn:hover {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
  transform: translateY(-1px);
}
.apple-back-top-btn:active {
  transform: scale(0.95);
}

/* Tablet Transition */
@media (max-width: 1024px) {
  .apple-footer-top-island {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .apple-footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
}

/* Mobile Responsive Footer: Native iOS Accordion & Touch Spring Controls */
@media (max-width: 768px) {
  .mobile-top-bar {
    padding: 10px 16px;
  }

  .brand-logo-img {
    height: 32px;
    max-width: 145px;
  }

  .apple-footer-logo-img {
    height: 30px;
    max-width: 130px;
  }

  .uol-footer-container {
    padding: 20px 12px calc(var(--nav-height) + var(--safe-bottom) + 68px) 12px;
  }

  .apple-footer-unified-card {
    padding: 24px 16px 20px 16px;
    border-radius: 24px;
  }

  .apple-footer-top-island {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .apple-footer-brand-title {
    font-size: 1.35rem;
  }

  .apple-footer-brand-desc {
    font-size: 0.84rem;
    margin-bottom: 14px;
  }

  .apple-social-strip {
    gap: 6px;
  }

  .apple-social-pill {
    padding: 5px 11px;
    font-size: 0.72rem;
  }

  .apple-footer-consult-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .apple-consult-title {
    font-size: 1.05rem;
  }

  .apple-footer-hairline {
    margin: 22px 0 16px 0;
  }

  /* Mobile Stacked Accordion List */
  .apple-footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .apple-nav-group {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    overflow: hidden;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }
  .apple-nav-group.is-open {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  }

  .apple-nav-header-btn {
    padding: 13px 14px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .apple-nav-header-btn:active {
    background: rgba(0, 0, 0, 0.03);
  }

  .apple-accordion-chevron {
    display: block;
    width: 16px;
    height: 16px;
    color: #94A3B8;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    flex-shrink: 0;
  }
  .apple-nav-group.is-open .apple-accordion-chevron {
    transform: rotate(180deg);
    color: #0071E3;
  }

  /* GPU Composited Native Slide Collapse */
  .apple-nav-collapsible {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
    overflow: hidden;
  }
  .apple-nav-group.is-open .apple-nav-collapsible {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .apple-nav-inner {
    overflow: hidden;
    padding: 0 14px 14px 14px;
  }

  .apple-nav-item {
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 0.85rem;
  }
  .apple-nav-item:active {
    background: rgba(0, 113, 227, 0.06);
  }

  .apple-ios-grouped-card {
    border-radius: 14px;
  }

  .apple-footer-trust-capsules {
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .apple-feature-capsule {
    width: 100%;
    justify-content: center;
    font-size: 0.74rem;
    padding: 7px 12px;
  }

  .apple-footer-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
  }

  .apple-bottom-actions-col {
    width: 100%;
    justify-content: space-between;
  }
}

/* Accessibility Utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}



/* ==========================================================================
   SERVICES CATALOG SECTION (Apple-Style Responsive Grid & Mobile Carousel)
   ========================================================================== */
.services-section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.services-subtitle-desktop {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 4px 0 0 0;
  line-height: 1.5;
}

.services-subtitle-mobile {
  display: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 4px 0 0 0;
}

.carousel-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.carousel-nav-arrows {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.carousel-arrow-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 1px 1.5px #FFFFFF, 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 !important;
}

.carousel-arrow-btn:hover {
  background: #FFFFFF !important;
  border-color: #3B82F6;
  color: #1D4ED8;
  transform: scale(1.06);
  box-shadow: inset 0 1px 1.5px #FFFFFF, 0 6px 18px rgba(37, 99, 235, 0.2);
}

.carousel-arrow-btn:active {
  transform: scale(0.92);
}

.carousel-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.services-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2563EB;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.services-all-link:hover {
  transform: translateX(2px);
}

/* Service Snap Card Structure */
.service-snap-card {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.35),
    0 20px 48px -12px rgba(15, 23, 42, 0.08),
    0 4px 14px -2px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.service-snap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events: none;
}

.service-snap-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow:
    inset 0 1.5px 1px 0 #FFFFFF,
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.5),
    0 28px 56px -12px rgba(15, 23, 42, 0.13),
    0 8px 22px -4px rgba(15, 23, 42, 0.05);
}

.service-snap-card-custom {
  background: linear-gradient(135deg, rgba(245, 247, 255, 0.85) 0%, rgba(238, 242, 255, 0.7) 100%);
  border: 1.5px solid rgba(199, 210, 254, 0.8);
}

/* Service Card Internal Head */
.service-card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.service-icon-squircle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.icon-theme-blue { background: #EFF6FF; color: #2563EB; }
.icon-theme-purple { background: #F5F3FF; color: #7C3AED; }
.icon-theme-emerald { background: #ECFDF5; color: #059669; }
.icon-theme-amber { background: #FFFBEB; color: #D97706; }
.icon-theme-rose { background: #FEF2F2; color: #DC2626; }
.icon-theme-indigo { background: #EEF2FF; color: #4F46E5; }

.service-badge-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.service-cat-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cat-chip-blue { background: #EEF2FF; color: #3730A3; }
.cat-chip-purple { background: #F3E8FF; color: #6B21A8; }
.cat-chip-emerald { background: #D1FAE5; color: #065F46; }
.cat-chip-amber { background: #FEF3C7; color: #92400E; }
.cat-chip-rose { background: #FFE4E6; color: #9F1239; }
.cat-chip-indigo { background: #E0E7FF; color: #3730A3; }

.service-tag-invest {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
}

.service-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: var(--text-main);
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 16px 0;
  min-height: 48px;
}

/* Service Card Feature Checklist */
.service-card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px 0;
  padding: 12px 14px;
  background: rgba(248, 250, 252, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: 12px;
}

.service-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

.feat-check-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.text-blue { color: #2563EB; }
.text-purple { color: #7C3AED; }
.text-emerald { color: #059669; }
.text-amber { color: #D97706; }
.text-rose { color: #DC2626; }
.text-indigo { color: #4F46E5; }

/* Service Card Meta & Pricing */
.service-card-bottom-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed rgba(203, 213, 225, 0.7);
}

.service-price-block {
  display: flex;
  flex-direction: column;
}

.price-lbl {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94A3B8;
  font-family: var(--font-mono);
  letter-spacing: 0.4px;
}

.price-num {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.2px;
}

.service-sla-chip {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.chip-blue { background: #EFF6FF; color: #1D4ED8; border-color: #DBEAFE; }
.chip-purple { background: #FAF5FF; color: #6B21A8; border-color: #F3E8FF; }
.chip-emerald { background: #ECFDF5; color: #047857; border-color: #D1FAE5; }
.chip-amber { background: #FFFBEB; color: #B45309; border-color: #FEF3C7; }
.chip-rose { background: #FFF1F2; color: #BE123C; border-color: #FFE4E6; }
.chip-indigo { background: #EEF2FF; color: #4338CA; border-color: #E0E7FF; }

.service-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-footer .btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  color: #0F172A;
  font-weight: 700;
  box-shadow: inset 0 1px 1.5px #FFFFFF, 0 4px 12px rgba(15, 23, 42, 0.06);
}

.service-card-footer .btn-secondary:hover {
  background: #FFFFFF;
  border-color: #3B82F6;
  color: #1D4ED8;
  box-shadow: inset 0 1px 1.5px #FFFFFF, 0 6px 18px rgba(37, 99, 235, 0.15);
}

/* Pagination Dots Indicator */
.carousel-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 8px !important;
  height: 8px !important;
  min-height: 8px !important;
  max-height: 8px !important;
  min-width: 8px !important;
  max-width: 8px !important;
  border-radius: 9999px !important;
  background: rgba(148, 163, 184, 0.45) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  line-height: 0 !important;
}

.carousel-dot.active {
  width: 24px !important;
  max-width: 24px !important;
  min-width: 24px !important;
  height: 8px !important;
  min-height: 8px !important;
  max-height: 8px !important;
  border-radius: 9999px !important;
  background: linear-gradient(90deg, #3B82F6, #2563EB) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4) !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop Grid vs Tablet vs Mobile Carousel)
   ========================================================================== */

/* 1. Desktop (Screens >= 1024px, e.g. Windows Full Screen 1920x1080) */
@media (min-width: 1024px) {
  .services-section-top {
    margin-bottom: 28px;
  }
  .carousel-nav-arrows {
    display: none !important;
  }
  .carousel-dots-row {
    display: none !important;
  }
  .services-subtitle-mobile {
    display: none !important;
  }
  .services-subtitle-desktop {
    display: block !important;
  }
  .services-carousel-scroll {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
    padding: 6px 0 16px 0 !important;
    margin: 0 !important;
    cursor: default !important;
  }
  .service-snap-card {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* 2. Tablet (Screens 768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-section-top {
    margin-bottom: 24px;
  }
  .carousel-nav-arrows {
    display: none !important;
  }
  .carousel-dots-row {
    display: none !important;
  }
  .services-subtitle-mobile {
    display: none !important;
  }
  .services-subtitle-desktop {
    display: block !important;
  }
  .services-carousel-scroll {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
    padding: 6px 0 16px 0 !important;
    margin: 0 !important;
    cursor: default !important;
  }
  .service-snap-card {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* 3. Mobile (< 768px, e.g. iPhone / Android Touch View) */
@media (max-width: 767px) {
  .services-subtitle-desktop {
    display: none !important;
  }
  .services-subtitle-mobile {
    display: block !important;
  }
  .carousel-nav-arrows {
    display: inline-flex !important;
  }
  .carousel-dots-row {
    display: flex !important;
  }
  .services-carousel-scroll {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    gap: 16px !important;
    padding: 8px 4px 18px 4px !important;
    margin: 0 -4px !important;
    scrollbar-width: none;
  }
  .services-carousel-scroll::-webkit-scrollbar {
    display: none;
  }
  .services-carousel-scroll.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .service-snap-card {
    flex: 0 0 86% !important;
    max-width: 330px !important;
    scroll-snap-align: center;
  }
}

/* ==========================================================================
   TECH SPECS COMPACT GRID (Apple-Style High-Density Engineering Grid)
   ========================================================================== */
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  .tech-spec-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .tech-spec-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.tech-spec-card {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow:
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 28px -4px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.tech-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events: none;
}

.tech-spec-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow:
    inset 0 1.5px 1px 0 #FFFFFF,
    0 16px 36px -6px rgba(15, 23, 42, 0.09);
}

.tech-spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-node { background: #DCFCE7; color: #16A34A; }
.icon-pg { background: #DBEAFE; color: #2563EB; }
.icon-prisma { background: #E0F2FE; color: #0284C7; }
.icon-socket { background: #EDE9FE; color: #7C3AED; }
.icon-gpu { background: #FFEDD5; color: #EA580C; }
.icon-asset { background: #FEF3C7; color: #D97706; }

.tech-spec-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tech-spec-body h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.tech-spec-body p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 6px 0;
}

.spec-metric {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #4338CA;
  background: #EEF2FF;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
}

/* Admin Desktop Navigation Links */
.desktop-nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .desktop-nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  .desktop-nav-link:hover {
    color: var(--brand-indigo);
    background: rgba(79, 70, 229, 0.06);
  }
  .desktop-nav-link.active {
    color: var(--brand-indigo);
    background: rgba(79, 70, 229, 0.12);
  }
}

/* ==========================================================================
   APPLE AMBIENT MOTION GRAPHICS (Fluid Aurora Refraction Mesh)
   60 FPS GPU-Composited • translate3d • Zero CPU Reflow
   ========================================================================== */
.apple-aurora-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  -webkit-filter: blur(80px);
  opacity: 0.52;
  will-change: transform;
  pointer-events: none;
}

/* 1. Electric Royal Blue Orb - Near Ecosystem Hub */
.aurora-orb-blue {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #2563EB 0%, rgba(37, 99, 235, 0.4) 45%, transparent 70%);
  top: 18%;
  left: -80px;
  animation: float-aurora-1 16s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

/* 2. Vibrant Indigo / Purple Orb - Near Services Carousel */
.aurora-orb-indigo {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #6366F1 0%, rgba(99, 102, 241, 0.35) 45%, transparent 70%);
  top: 42%;
  right: -100px;
  animation: float-aurora-2 20s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

/* 3. Electric Cyan / Aquamarine Orb - Behind Tech Specs */
.aurora-orb-cyan {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #0EA5E9 0%, rgba(14, 165, 233, 0.35) 45%, transparent 70%);
  top: 65%;
  left: -40px;
  animation: float-aurora-3 18s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

/* 4. Soft Rose / Amber Orb - Behind FAQ */
.aurora-orb-amber {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, #EC4899 0%, rgba(245, 158, 11, 0.3) 45%, transparent 70%);
  top: 86%;
  right: -50px;
  animation: float-aurora-4 22s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes float-aurora-1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(90px, 60px, 0) scale(1.15); }
  100% { transform: translate3d(30px, 120px, 0) scale(0.92); }
}

@keyframes float-aurora-2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-80px, -70px, 0) scale(1.12); }
  100% { transform: translate3d(-40px, 50px, 0) scale(0.95); }
}

@keyframes float-aurora-3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(70px, -80px, 0) scale(1.18); }
  100% { transform: translate3d(110px, -30px, 0) scale(0.9); }
}

@keyframes float-aurora-4 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 60px, 0) scale(1.1); }
  100% { transform: translate3d(40px, 90px, 0) scale(0.94); }
}

/* Enhanced 60 FPS Flow Circuit Pulse */
@keyframes glowTrace {
  0% { stroke-dashoffset: 40; filter: drop-shadow(0 0 2px currentColor); }
  50% { filter: drop-shadow(0 0 6px currentColor); }
  100% { stroke-dashoffset: 0; filter: drop-shadow(0 0 2px currentColor); }
}
.animate-flow-line {
  stroke-dasharray: 8 6;
  animation: glowTrace 2s linear infinite;
}


/* ==========================================================================
   ENTERPRISE ADMIN SIDEBAR & DOCKED DESKTOP LAYOUT (1:1 OSBORN REPLICA)
   Pure Crisp White / Liquid Glass Accent • Red Notification Badges • Accordions
   ========================================================================== */

/* Mobile Backdrop */
.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-sidebar-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar Container */
.admin-sidebar-container {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  border-right: 1px solid #E2E8F0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  user-select: none;
  -webkit-user-select: none;
}
.admin-sidebar-container.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .admin-sidebar-container {
    transform: translateX(0) !important;
    box-shadow: none;
    z-index: 990;
  }
}

/* 1. Sidebar Brand Header */
.admin-sidebar-header {
  padding: 18px 18px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
  flex-shrink: 0;
}
.admin-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.admin-brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}
.admin-brand-meta {
  display: flex;
  flex-direction: column;
}
.admin-brand-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}
.admin-brand-tag {
  font-size: 0.64rem;
  font-weight: 800;
  color: #2563EB;
  letter-spacing: 0.6px;
  font-family: var(--font-mono);
}
.admin-sidebar-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-sidebar-close-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}
@media (min-width: 1024px) {
  .admin-sidebar-close-btn {
    display: none;
  }
}

/* 2. Quick Search Bar */
.admin-search-wrapper {
  padding: 14px 14px 8px 14px;
  flex-shrink: 0;
}
.admin-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 12px;
  gap: 8px;
  transition: all 0.2s ease;
}
.admin-search-box:focus-within {
  background: #FFFFFF;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.admin-search-icon {
  color: #94A3B8;
  flex-shrink: 0;
}
.admin-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: #0F172A;
  outline: none;
  font-family: inherit;
}
.admin-search-input::placeholder {
  color: #94A3B8;
}
.admin-search-keybadge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  padding: 2px 5px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* 3. Navigation List (Scrollable) */
.admin-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px 18px 10px;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}
.admin-sidebar-nav::-webkit-scrollbar {
  width: 5px;
}
.admin-sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.admin-sidebar-nav::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

/* Groups */
.admin-nav-group {
  margin-bottom: 20px;
}
.admin-group-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #2563EB;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 12px 6px 12px;
  font-family: var(--font-heading);
}

.admin-nav-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.admin-nav-item {
  position: relative;
}

/* Links */
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #334155;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.18s ease;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.admin-nav-link:hover {
  background: #F1F5F9;
  color: #0F172A;
}
.admin-nav-link.active {
  background: #EFF6FF;
  color: #1D4ED8;
  font-weight: 700;
}
.admin-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  flex-shrink: 0;
  transition: color 0.18s ease;
}
.admin-nav-link:hover .admin-item-icon {
  color: #0F172A;
}
.admin-nav-link.active .admin-item-icon {
  color: #2563EB;
}
.admin-item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Active Dot */
.admin-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563EB;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.7);
  margin-left: auto;
  flex-shrink: 0;
}

/* Red Notification Badges (1:1 with Screenshot) */
.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 9999px;
  line-height: 1.4;
  margin-left: auto;
  flex-shrink: 0;
  min-width: 18px;
}
.admin-badge-red {
  background: #EF4444;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.35);
}

/* Chevrons */
.admin-chevron,
.admin-chevron-right {
  color: #94A3B8;
  transition: transform 0.22s ease;
  margin-left: auto;
  flex-shrink: 0;
}
.has-submenu.open .admin-chevron {
  transform: rotate(180deg);
}

/* Submenu Accordions */
.admin-submenu {
  list-style: none;
  padding: 4px 0 4px 18px;
  margin: 0;
  display: none;
  border-left: 2px solid #E2E8F0;
  margin-left: 20px;
}
.has-submenu.open .admin-submenu {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.admin-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-radius: 7px;
  color: #475569;
  text-decoration: none;
  font-size: 0.81rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.admin-sublink:hover {
  background: #F1F5F9;
  color: #0F172A;
  font-weight: 600;
}
.admin-sublink.active {
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 700;
}

/* 4. Bottom User Profile Card */
.admin-sidebar-footer {
  padding: 12px 14px 16px 14px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  position: relative;
  flex-shrink: 0;
}
.admin-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.18s ease;
}
.admin-user-card:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}
.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #2563EB;
  flex-shrink: 0;
  background: #EEF2FF;
}
.admin-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-user-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-user-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-email {
  font-size: 0.72rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-toggle {
  color: #94A3B8;
  flex-shrink: 0;
}

/* Popover Menu from Profile Card */
.admin-user-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 14px;
  right: 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1060;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-user-popover.active {
  display: flex;
}
@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-popover-header {
  padding: 8px 10px;
}
.admin-popover-role {
  font-size: 0.68rem;
  font-weight: 800;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}
.admin-popover-full {
  font-size: 0.85rem;
  color: #0F172A;
  display: block;
}
.admin-popover-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 4px 0;
}
.admin-popover-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.admin-popover-item:hover {
  background: #F1F5F9;
  color: #0F172A;
}
.admin-popover-item.item-danger {
  color: #EF4444;
}
.admin-popover-item.item-danger:hover {
  background: #FEF2F2;
  color: #DC2626;
}
.admin-popover-item .ml-auto {
  margin-left: auto;
  color: #94A3B8;
}

/* ==========================================================================
   TOP BAR FOR ADMIN CONSOLE (Integrated Links to Landing Page & Client Portal)
   ========================================================================== */
.admin-top-navbar {
  position: sticky;
  top: 0;
  z-index: 980;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  transition: padding-left 0.3s ease;
}

@media (min-width: 1024px) {
  .admin-top-navbar {
    padding-left: 296px; /* Offset for pinned sidebar (280px + 16px) */
    padding-right: 32px;
  }
}

.admin-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-menu-toggle-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}
@media (min-width: 1024px) {
  .admin-menu-toggle-btn {
    display: none;
  }
}

.admin-page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #64748B;
  font-weight: 600;
}
.admin-page-breadcrumbs strong {
  color: #0F172A;
  font-weight: 800;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.desktop-only-inline {
  display: none;
}
.desktop-only-flex {
  display: none !important;
}
@media (min-width: 1024px) {
  .desktop-only-inline {
    display: inline;
  }
  .desktop-only-flex {
    display: flex !important;
  }
}

.admin-top-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.admin-top-link-landing {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid rgba(67, 56, 202, 0.2);
}
.admin-top-link-landing:hover {
  background: #E0E7FF;
  color: #3730A3;
}
.admin-top-link-client {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid rgba(21, 128, 61, 0.2);
}
.admin-top-link-client:hover {
  background: #DCFCE7;
  color: #166534;
}

/* Admin Main Content Container Offset on Desktop */
@media (min-width: 1024px) {
  .app-wrapper.admin-layout-wrapper {
    margin-left: 290px;
    width: calc(100% - 290px);
    max-width: calc(100% - 290px);
    padding: 24px 32px 80px 32px;
  }
}

/* ==========================================================================
   MOBILE VIEWPORT & RESPONSIVE REFINEMENT SYSTEM (360px - 768px)
   Apple Liquid Glass • Zero Horizontal Scroll • Ergonomic Touch Optimization
   ========================================================================== */

/* 1. Public Mobile Header Actions & Drawer */
.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1024px) {
  .mobile-header-actions {
    display: none !important;
  }
}

.mobile-quick-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-quick-demo-pill:hover {
  background: #D1FAE5;
  transform: translateY(-1px);
}

.mobile-drawer-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.mobile-drawer-toggle-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.public-mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.public-mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.public-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 330px;
  max-width: 88vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  z-index: 1050;
  border-left: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.12);
}

.public-mobile-drawer.open {
  transform: translateX(0);
}

.public-drawer-header {
  padding: 18px 20px 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
  flex-shrink: 0;
}

.public-drawer-header .brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.public-drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.public-drawer-close-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.public-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-group {
  display: flex;
  flex-direction: column;
}

.drawer-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #2563EB;
  margin-bottom: 8px;
  padding-left: 6px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #1E293B;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  transition: all 0.18s ease;
}

.drawer-link:hover,
.drawer-link.active {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

.drawer-link-text {
  flex: 1;
  min-width: 0;
}

.drawer-link-text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-link-text span {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.drawer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-icon.icon-emerald { background: #ECFDF5; color: #10B981; }
.drawer-icon.icon-indigo  { background: #EEF2FF; color: #4F46E5; }
.drawer-icon.icon-violet  { background: #F5F3FF; color: #7C3AED; }
.drawer-icon.icon-cyan    { background: #ECFEFF; color: #06B6D4; }
.drawer-icon.icon-amber   { background: #FFFBEB; color: #D97706; }
.drawer-icon.icon-blue    { background: #EFF6FF; color: #2563EB; }

.public-drawer-footer {
  padding: 16px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  flex-shrink: 0;
}

/* 2. Hero Spec Benchmarks Mobile Refinement */
@media (max-width: 540px) {
  .hero-benchmarks-strip {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
  }
  .hero-bench-col {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    text-align: left !important;
  }
  .hero-bench-divider {
    width: 100% !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  .bench-val {
    font-size: 0.95rem !important;
  }
  .bench-lbl {
    font-size: 0.76rem !important;
  }
}

/* 3. Responsive Card Grids Across Landing, Live Demo & Developers */
.responsive-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 640px) {
  .responsive-card-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .spotlight-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .hero-stage-content {
    padding: 36px 14px 28px 14px !important;
  }
  .hero-title-headline {
    font-size: 1.85rem !important;
    line-height: 1.22 !important;
  }
  .hero-subtitle-desc {
    font-size: 0.9rem !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-btn-primary,
  .hero-btn-ghost {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* 5. Order Page Mobile Clean-Up */
@media (max-width: 640px) {
  .order-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .order-price-block {
    text-align: left !important;
    width: 100% !important;
    margin-top: 4px !important;
  }
  .order-action-buttons a {
    flex: 1 1 100% !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

/* 6. Auth Card Responsive Padding */
.auth-card-responsive {
  padding: 38px 30px;
}
@media (max-width: 480px) {
  .auth-card-responsive {
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }
  .btn-google-auth {
    font-size: 0.84rem !important;
    padding: 10px 14px !important;
  }
}

/* 7. Admin Top Bar & Breadcrumbs Mobile Optimization */
@media (max-width: 640px) {
  .admin-page-breadcrumbs {
    max-width: 130px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .admin-page-breadcrumbs strong {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block !important;
    max-width: 85px !important;
  }
  .admin-top-link-btn {
    padding: 6px 8px !important;
  }
  .admin-top-navbar {
    padding: 0 10px !important;
  }
  .app-wrapper.admin-layout-wrapper {
    padding: 16px 10px 90px 10px !important;
  }
}

@media (max-width: 380px) {
  .admin-page-breadcrumbs {
    max-width: 75px !important;
  }
  .admin-page-breadcrumbs strong {
    max-width: 45px !important;
  }
}

/* 8. Admin Modal Responsive System */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .admin-modal-overlay {
    padding: 12px !important;
  }
  .admin-modal-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .modal-two-col {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .admin-modules-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   9. RESPONSIVE HORIZONTAL SCROLL TABLES (SAFE & CLEAN MOBILE SWIPE)
   Ref: Osborn Enterprise Mobile Table & Smooth Sideways Gesture
   ========================================================================== */

/* Outer Viewport Isolation (Never shifts horizontally) */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.app-wrapper,
.admin-layout-wrapper {
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 1024px) {
  .app-wrapper.admin-layout-wrapper {
    margin-left: 290px !important;
    width: calc(100% - 290px) !important;
    max-width: calc(100% - 290px) !important;
  }
}

.container-fluid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.container-mobile {
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .container-mobile {
    max-width: 100% !important;
  }
}

/* Mobile Table Hint Banner (Visual indicator for swiping) */
.mobile-table-hint {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 700;
  user-select: none;
  -webkit-user-select: none;
}
.mobile-table-hint svg {
  color: #2563EB;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .mobile-table-hint {
    display: flex;
  }
}

/* Responsive Table Scroll Container */
.table-responsive {
  width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-x: contain;
  border-radius: 14px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
  margin-bottom: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive::-webkit-scrollbar-track {
  background: #F8FAFC;
  border-radius: 99px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 99px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Core Table Component (Never squishes columns) */
.admin-table,
.table-responsive > table {
  width: 100%;
  min-width: 680px; /* Base min-width guarantees proper tabular structure */
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
  background: #FFFFFF;
}

.admin-table-dense {
  min-width: 580px;
}

.admin-table-wide {
  min-width: 860px; /* For dense multi-column CRM & tokens */
}

.admin-table th,
.table-responsive > table th {
  background: #F8FAFC;
  color: #475569;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 13px 16px;
  border-bottom: 1.5px solid #E2E8F0;
  white-space: nowrap;
}

.admin-table td,
.table-responsive > table td {
  padding: 13px 16px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
  color: #1E293B;
  line-height: 1.45;
}

.admin-table tr:hover td,
.table-responsive > table tr:hover td {
  background: rgba(248, 250, 252, 0.85);
}

.admin-table tr:last-child td,
.table-responsive > table tr:last-child td {
  border-bottom: none;
}

/* Subtle edge shadow cue for right overflowing scroll */
.table-responsive.can-scroll-right::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(15,23,42,0.06));
  pointer-events: none;
}

/* ==========================================================================
   INTERACTIVE MOTION & SENSORY ENGAGEMENT (Apple/Stripe 60 FPS Grade)
   Fluid Touch Springs • Liquid Glass Shimmer • Ripple Wave • Sparkle Particles
   ========================================================================== */

/* 1. Fluid Spring Touch Feedback */
.btn-primary,
.btn-secondary,
.touch-btn,
.hero-btn-primary,
.hero-btn-secondary,
.hero-btn-ghost,
.service-snap-card,
.spotlight-card,
.nav-item,
.preset-chip,
.client-room-btn,
.jago-satellite-card,
.tech-spec-card {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, background 0.2s ease, border-color 0.2s ease !important;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.btn-primary:active,
.btn-secondary:active,
.touch-btn:active,
.hero-btn-primary:active,
.hero-btn-secondary:active,
.hero-btn-ghost:active,
.preset-chip:active,
.client-room-btn:active {
  transform: scale(0.95) !important;
}

/* 2. Liquid Glass Moving Glare Shimmer */
.spotlight-card,
.service-snap-card,
.glass-panel {
  position: relative;
  overflow: hidden;
}

.spotlight-card::after,
.service-snap-card::after {
  content: '';
  position: absolute;
  top: -80%;
  left: -80%;
  width: 260%;
  height: 260%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 60%
  );
  transform: rotate(25deg) translateY(-100%);
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 0;
  z-index: 1;
}

.spotlight-card:hover::after,
.service-snap-card:hover::after,
.spotlight-card.touch-active::after,
.service-snap-card.touch-active::after {
  transform: rotate(25deg) translateY(100%);
  opacity: 1;
}

/* 3. Radial Touch Ripple Wave */
.has-ripple {
  position: relative;
  overflow: hidden;
}

.touch-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(59, 130, 246, 0.25) 50%, transparent 80%);
  pointer-events: none;
  transform: scale(0);
  animation: touchRippleAnim 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 99;
}

@keyframes touchRippleAnim {
  0% {
    transform: scale(0);
    opacity: 0.85;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* 4. Sparkle Constellation Micro-Particles */
.sparkle-particle {
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8), 0 0 18px rgba(139, 92, 246, 0.6);
  animation: sparkleFly 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sparkleFly {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0) rotate(220deg);
    opacity: 0;
  }
}

/* 5. Scroll-Driven Staggered Entrance Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 6. Mobile Bottom Nav Active Icon Bounce & Glow Pill */
.mobile-bottom-nav .nav-item {
  position: relative;
  overflow: hidden;
}

.mobile-bottom-nav .nav-item.active .nav-icon {
  animation: navIconPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes navIconPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.24); }
  100% { transform: scale(1); }
}

.mobile-bottom-nav .nav-item.active::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #3B82F6, #2563EB);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.6);
}

/* 7. Chat Bubble Authentic Spring Entrance */
.chat-bubble {
  animation: chatBubblePop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transform-origin: bottom left;
}

.chat-bubble-self {
  transform-origin: bottom right;
}

@keyframes chatBubblePop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 8. Live Heartbeat Pulse Ring */
.live-pulse-ring {
  position: relative;
  display: inline-flex;
}

.live-pulse-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: inherit;
  border: 1.5px solid #10B981;
  animation: pulseRingAnim 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  opacity: 0.8;
}

@keyframes pulseRingAnim {
  0% { transform: scale(0.95); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* 9. Floating FAB Breathing Halo */
.chat-popup-fab {
  animation: fabHaloBreath 3.5s infinite ease-in-out;
}

@keyframes fabHaloBreath {
  0%, 100% {
    box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.75), 0 10px 24px -2px rgba(37, 99, 235, 0.45);
  }
  50% {
    box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), 0 16px 36px 0 rgba(37, 99, 235, 0.65), 0 0 0 6px rgba(59, 130, 246, 0.18);
  }
}

