/* ==========================================================================
   Prakaz Technologies — Animated Corporate Executive Edition
   Typography: Bricolage Grotesque
   Aesthetic: High-End Fortune 500 / Executive B2B Digital Consultancy
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-canvas: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-subtle-2: #f1f5f9;
  
  --border-subtle: rgba(226, 232, 240, 0.9);
  --border-strong: #cbd5e1;
  --border-focus: #1a73e8;
  
  --exec-navy: #061a36;
  --exec-navy-dark: #030f21;
  --exec-blue: #1a73e8;
  --exec-blue-dark: #1557b0;
  --exec-crimson: #e30b15;
  --exec-emerald: #059669;
  --exec-amber: #d97706;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --font-sans: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-secondary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-canvas);
  min-height: 100vh;
  position: relative;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Custom Executive Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* =========================================================================
   Executive Restyled Preloader
   ========================================================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  will-change: opacity, transform;
}
#preloader.dismissing {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}
#preloader.hidden {
  display: none !important;
}

.preloader-bg-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(#e2e8f0 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(26, 115, 232, 0.05) 0%, transparent 60%);
  background-size: 32px 32px, 100% 100%;
  pointer-events: none;
}

.preloader-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-halo {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.15) 0%, rgba(227, 11, 21, 0.08) 45%, transparent 70%);
  filter: blur(20px);
  animation: preloaderPulse 2.4s ease-in-out infinite alternate;
}
@keyframes preloaderPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

.preloader-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1a73e8 0%, #061a36 60%, #e30b15 100%);
  border-radius: 99px;
  transition: width 0.15s ease;
  position: relative;
}
.preloader-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 12px;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 5px #e30b15;
  border-radius: 99px;
  opacity: 0.8;
}

/* Ambient Illuminated Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  -webkit-filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}
.glow-blue { background: radial-gradient(circle, #1a73e8 0%, rgba(26, 115, 232, 0) 70%); }
.glow-crimson { background: radial-gradient(circle, #e30b15 0%, rgba(227, 11, 21, 0) 70%); }
.glow-cyan { background: radial-gradient(circle, #0891b2 0%, rgba(8, 145, 178, 0) 70%); }

/* =========================================================================
   Executive Corporate Header & Navigation Bar
   ========================================================================= */
.executive-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* Primary Navigation Glass Container */
.corp-main-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -4px rgba(6, 26, 54, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.executive-header-wrapper.scrolled .corp-main-bar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(203, 213, 225, 0.95);
  box-shadow: 0 12px 36px -10px rgba(6, 26, 54, 0.12);
}

/* Executive Navigation Links */
.nav-link-exec {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link-exec:hover {
  color: var(--exec-blue);
}
.nav-link-exec::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--exec-blue), var(--exec-crimson));
  border-radius: 99px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}
.nav-link-exec:hover::after {
  width: 100%;
}

/* Executive Phone Button Pill */
.exec-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.exec-phone-pill:hover {
  background: #ffffff;
  border-color: #bfdbfe;
  color: var(--exec-blue);
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.15);
  transform: translateY(-1px);
}
.exec-phone-pill .phone-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--exec-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.exec-phone-pill:hover .phone-icon-box {
  background: var(--exec-blue);
  color: #ffffff;
  transform: scale(1.05);
}

/* Executive Typography */
.text-gradient-executive {
  background: linear-gradient(135deg, #061a36 0%, #1a73e8 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #1a73e8 0%, #061a36 45%, #e30b15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Magnetic & Liquid Hover Buttons */
.btn-magnetic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 99px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  will-change: transform;
}

.btn-primary-exec {
  background: var(--exec-navy);
  border: 1px solid var(--exec-navy);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 14px -2px rgba(6, 26, 54, 0.3);
}

.btn-primary-exec::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a73e8 0%, #061a36 70%, #e30b15 100%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.92);
  z-index: -1;
  border-radius: inherit;
}

.btn-primary-exec:hover::before {
  opacity: 1;
  transform: scale(1);
}

.btn-primary-exec:hover {
  box-shadow: 0 8px 25px -4px rgba(26, 115, 232, 0.4), 0 4px 12px -2px rgba(227, 11, 21, 0.2);
  color: #ffffff;
}

.btn-outline-exec {
  background: #ffffff;
  color: var(--exec-navy);
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.btn-outline-exec:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #061a36;
  box-shadow: 0 6px 18px rgba(6, 26, 54, 0.08);
}

/* Executive Brand Showcase Card with 3D Perspective Tilt */
.hero-showcase-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(6, 26, 54, 0.12), 0 0 0 1px rgba(6, 26, 54, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
}

.hero-showcase-card:hover {
  box-shadow: 0 35px 70px -15px rgba(6, 26, 54, 0.18), 0 0 30px -4px rgba(26, 115, 232, 0.15);
}

/* Animated Pulse Rings & Beacons */
.beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  position: relative;
}

.beacon-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.3);
  animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* =========================================================================
   2. SERVICES SECTION: CORPORATE EXECUTIVE CARDS & MOUSE-TRACKING SPOTLIGHT
   ========================================================================= */
.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 16px -4px rgba(6, 26, 54, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 1;
}

/* =========================================================================
   200% Interactive Mouse-Tracking Spotlight & 3D Tilt Dynamics
   ========================================================================= */
.service-card,
.product-card,
.step-card,
.about-pillar-card,
.about-hero-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --hover-y: 0px;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--hover-y));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  will-change: transform;
}

.service-card:hover,
.product-card:hover,
.step-card:hover,
.about-pillar-card:hover,
.about-hero-card:hover {
  --hover-y: -6px;
  border-color: rgba(26, 115, 232, 0.38);
  box-shadow: 0 24px 50px -12px rgba(6, 26, 54, 0.12), 0 0 25px -4px rgba(26, 115, 232, 0.09);
}

.service-card::after,
.product-card::after,
.step-card::after,
.about-pillar-card::after,
.about-hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(26, 115, 232, 0.1) 0%,
    rgba(227, 11, 21, 0.035) 35%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-card:hover::after,
.product-card:hover::after,
.step-card:hover::after,
.about-pillar-card:hover::after,
.about-hero-card:hover::after {
  opacity: 1;
}

/* Ensure inner elements render above the dynamic spotlight */
.service-card > *,
.product-card > *,
.step-card > *,
.about-pillar-card > *,
.about-hero-card > * {
  position: relative;
  z-index: 2;
}

/* =========================================================================
   Executive Global Mouse Spotlight Follower
   ========================================================================= */
.ambient-cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 580px;
  height: 580px;
  margin-top: -290px;
  margin-left: -290px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 115, 232, 0.055) 0%,
    rgba(227, 11, 21, 0.018) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform;
}

@media (max-width: 1024px) {
  .ambient-cursor-spotlight {
    display: none !important;
  }
}

/* Executive Icon Pod */
.service-icon-pod {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.service-card:hover .service-icon-pod {
  transform: scale(1.12) rotate(4deg);
}

/* Staggered Accent Icon Pods */
.pod-blue { background: #eff6ff; color: #1a73e8; border: 1px solid #dbeafe; }
.pod-crimson { background: #fef2f2; color: #e30b15; border: 1px solid #fee2e2; }
.pod-emerald { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.pod-amber { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.pod-indigo { background: #eef2ff; color: #4f46e5; border: 1px solid #e0e7ff; }
.pod-cyan { background: #ecfeff; color: #0891b2; border: 1px solid #cffafe; }
.pod-purple { background: #faf5ff; color: #9333ea; border: 1px solid #f3e8ff; }
.pod-slate { background: #f8fafc; color: #0f172a; border: 1px solid #e2e8f0; }

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #475569;
}

/* =========================================================================
   3. PRODUCTS SECTION: ARCHITECTURAL ERP BENTO CARDS & BORDER BEAMS
   ========================================================================= */
.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: 0 6px 20px -4px rgba(6, 26, 54, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--exec-blue) 0%, var(--exec-navy) 50%, var(--exec-crimson) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  border-color: rgba(26, 115, 232, 0.38);
  box-shadow: 0 24px 50px -12px rgba(6, 26, 54, 0.12), 0 0 25px -4px rgba(26, 115, 232, 0.08);
}

.product-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: #f1f5f9;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #334155;
  border: 1px solid #e2e8f0;
}

/* =========================================================================
   PROCESS SECTION: SEQUENTIAL WORKFLOW BENTO CARDS
   ========================================================================= */
.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 16px -4px rgba(6, 26, 54, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.step-card:hover {
  border-color: rgba(26, 115, 232, 0.4);
  box-shadow: 0 16px 36px -8px rgba(6, 26, 54, 0.1);
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--exec-blue);
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.step-card:hover .step-number {
  transform: scale(1.1) rotate(-4deg);
  background: var(--exec-blue);
  color: #ffffff;
  border-color: var(--exec-blue);
}

/* =========================================================================
   4. ABOUT SECTION: 200% CORPORATE EXECUTIVE LOOK & ANIMATIONS
   ========================================================================= */
.about-hero-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px -8px rgba(6, 26, 54, 0.06);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.about-hero-card:hover {
  box-shadow: 0 22px 48px -12px rgba(6, 26, 54, 0.12);
  border-color: rgba(26, 115, 232, 0.3);
}

.about-counter-num {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--exec-navy) 0%, var(--exec-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2rem;
  line-height: 1;
  font-family: var(--font-sans);
}

/* Radar Beacon Ripple Animation */
.radar-beacon {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #059669;
  display: inline-block;
}
.radar-beacon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: radarWave 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes radarWave {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Progress Laser Track & Fill */
.progress-laser-track {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.progress-laser-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1a73e8 0%, #061a36 60%, #e30b15 100%);
  border-radius: 99px;
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.progress-laser-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 10px;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff, 0 0 4px #e30b15;
  border-radius: 99px;
}

/* Strategic Pillar Bento Cards */
.about-pillar-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 1.85rem;
  box-shadow: 0 3px 10px -2px rgba(6, 26, 54, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.about-pillar-card:hover {
  box-shadow: 0 16px 36px -8px rgba(6, 26, 54, 0.1);
  border-color: rgba(26, 115, 232, 0.4);
}
.about-pillar-card .pillar-icon-box {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.about-pillar-card:hover .pillar-icon-box {
  transform: scale(1.15) rotate(4deg);
}

.about-pillar-card:nth-child(1) { border-left: 4px solid var(--exec-blue); }
.about-pillar-card:nth-child(1) .pillar-icon-box { background: #eff6ff; color: var(--exec-blue); border: 1px solid #dbeafe; }
.about-pillar-card:nth-child(2) { border-left: 4px solid var(--exec-emerald); }
.about-pillar-card:nth-child(2) .pillar-icon-box { background: #ecfdf5; color: var(--exec-emerald); border: 1px solid #d1fae5; }
.about-pillar-card:nth-child(3) { border-left: 4px solid var(--exec-crimson); }
.about-pillar-card:nth-child(3) .pillar-icon-box { background: #fef2f2; color: var(--exec-crimson); border: 1px solid #fee2e2; }
.about-pillar-card:nth-child(4) { border-left: 4px solid var(--exec-amber); }
.about-pillar-card:nth-child(4) .pillar-icon-box { background: #fffbeb; color: var(--exec-amber); border: 1px solid #fef3c7; }

.pillar-benchmark-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #475569;
}

/* Institutional Governance Covenant Bar */
.governance-covenant-bar {
  background: linear-gradient(135deg, #061a36 0%, #0c234b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 16px 36px -8px rgba(6, 26, 54, 0.25);
  position: relative;
  overflow: hidden;
}

/* Quote Form Card */
.quote-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: 0 20px 45px -12px rgba(6, 26, 54, 0.08);
}

.form-group-input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.9rem 1.15rem;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.form-group-input:focus {
  border-color: var(--exec-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* Legal Modal Dialogs */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(6, 26, 54, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.legal-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(6, 26, 54, 0.25);
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.legal-modal-backdrop.open .legal-modal-card {
  transform: scale(1) translateY(0);
}

.legal-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.legal-modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.legal-modal-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}
.legal-modal-body h4:first-child {
  margin-top: 0;
}

/* Interactive Floating Executive Chat Concierge */
#chatWidget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  font-family: var(--font-sans);
}

.chat-trigger {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--exec-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(6, 26, 54, 0.35);
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: execPulse 3s infinite ease-in-out;
}
.chat-trigger:hover {
  transform: scale(1.08);
  background: var(--exec-blue);
}

@keyframes execPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 24px rgba(6, 26, 54, 0.35); }
  50% { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(26, 115, 232, 0.35); }
}

.chat-box {
  position: absolute;
  bottom: 78px;
  right: 0;
  width: 360px;
  height: 480px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(6, 26, 54, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.chat-box.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background: linear-gradient(135deg, var(--exec-navy), #103366);
  color: #ffffff;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.chat-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.8;
}
.chat-close:hover {
  opacity: 1;
}

.chat-content {
  flex: 1;
  padding: 1rem 1.15rem;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  max-width: 82%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-wrap: break-word;
}
.chat-bubble.bot {
  background: #ffffff;
  color: #0f172a;
  align-self: flex-start;
  border: 1px solid #e2e8f0;
  border-top-left-radius: 2px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.chat-bubble.user {
  background: var(--exec-blue);
  color: #ffffff;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.chat-footer {
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 0.5rem;
}
.chat-footer input {
  flex: 1;
  border: 1px solid #cbd5e1;
  padding: 0.65rem 1rem;
  border-radius: 99px;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
}
.chat-footer input:focus {
  border-color: var(--exec-blue);
}
.chat-send {
  background: var(--exec-blue);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-send:hover {
  background: #1557b0;
}

/* Scroll-Driven Reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Infinite Tech Ticker */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Red Precision Indicator Mark */
.red-marker {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--exec-crimson);
  box-shadow: 0 0 8px rgba(227, 11, 21, 0.5);
  margin-left: 6px;
  vertical-align: middle;
}

/* =========================================================================
   Executive Footer & Social Links
   ========================================================================= */
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--exec-blue);
  transform: translateX(3px);
}
.footer-link::before {
  content: "›";
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s;
}
.footer-link:hover::before {
  color: var(--exec-crimson);
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.social-icon-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  fill: currentColor;
}
.social-icon-btn:hover {
  transform: translateY(-4px);
  color: #ffffff;
}
.social-icon-btn:hover svg {
  transform: scale(1.15);
}
.social-icon-btn.social-linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  box-shadow: 0 10px 22px rgba(10, 102, 194, 0.45);
}
.social-icon-btn.social-x:hover {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
}
.social-icon-btn.social-github:hover {
  background: #24292e;
  border-color: #3b424a;
  box-shadow: 0 10px 22px rgba(36, 41, 46, 0.5);
}
.social-icon-btn.social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(220, 39, 67, 0.45);
}
.social-icon-btn.social-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.45);
}
.social-icon-btn.social-youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 10px 22px rgba(255, 0, 0, 0.45);
}

/* =========================================================================
   Legal Dialogs & Modals (Privacy, Terms, SLA)
   ========================================================================= */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 26, 54, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.legal-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.legal-modal-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(6, 26, 54, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.legal-modal-backdrop.active .legal-modal-card {
  transform: translateY(0) scale(1);
}
.legal-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.legal-modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #334155;
}
.legal-modal-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--exec-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.legal-modal-body h4:first-child {
  margin-top: 0;
}
.legal-modal-body p {
  margin-bottom: 0.85rem;
}
.legal-modal-body ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.legal-modal-body li {
  margin-bottom: 0.4rem;
}
.legal-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

/* =========================================================================
   Floating Executive Back to Top Button
   ========================================================================= */
.floating-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  color: #061a36;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 24px -4px rgba(6, 26, 54, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-back-to-top:hover {
  background: #061a36;
  color: #ffffff;
  border-color: #061a36;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -4px rgba(6, 26, 54, 0.25);
}
@media (max-width: 640px) {
  .floating-back-to-top {
    right: 24px;
    bottom: 96px;
    width: 44px;
    height: 44px;
  }
}

