@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* ============================================
   CSS Variables — Professional "Corporate Indigo" Theme
   WCAG AA compliant · High contrast · Premium aesthetics
   ============================================ */
:root {
  /* ── Primary Brand – Corporate Blue ── */
  --brand-blue: #29b6f6;           /* Primary Default */
  --brand-blue-dark: #03a9f4;      /* Primary Hover */
  --brand-blue-active: #0288d1;    /* Primary Active/Pressed */
  --brand-blue-light: #81d4fa;     /* Secondary Badges / Chips / Icons */
  --brand-blue-lighter: #e1f5fe;   /* Subtle Highlights / Hover States */
  --brand-indigo: #0288d1;         /* Deepest press state / Outline borders */
  --brand-indigo-light: #81d4fa;   
  --brand-blue-super-dark: #01579b; /* Headings / Important Text */

  /* ── Blue Scale ── */
  --blue-50: #f5faff;
  --blue-100: #e1f5fe;
  --blue-200: #b3e5fc;
  --blue-300: #81d4fa;
  --blue-400: #29b6f6;
  --blue-500: #03a9f4;
  --blue-600: #0288d1;
  --blue-700: #01579b;
  --blue-800: #1e293b;
  --blue-900: #0a1922;

  /* ── Semantic Status Colors ── */
  --color-success: #059669;        /* Success (Green) */
  --color-error:   #dc2626;        /* Error (Red) */
  --color-warning: #D97706;        /* Amber */
  --color-info:    #29b6f6;        /* Teal Blue */

  /* ══════════════════════════════════════════
     LIGHT MODE TOKENS
     ══════════════════════════════════════════ */
  --bg-primary:   #f5faff;         /* Page Background (Light) */
  --bg-secondary: #ffffff;         /* Cards / Modals / Header (Light) */
  --bg-tertiary:  #e1f5fe;         /* Subtle Highlights */
  --bg-elevated:  #ffffff;         /* Elevated surfaces */

  --white: #ffffff;
  --off-white: #f5faff;

  /* ── Text ── */
  --text-dark:    #01579b;         /* Headings / Important Text */
  --text-primary: #1e293b;         /* Body Text (Paragraphs/Labels) */
  --text-gray:    #1e293b;         /* Using primary text color to maintain slate-blue pairs */
  --text-light:   #01579b;         /* Important Text */
  --text-muted:   #81d4fa;         /* Mid-tone for supporting */

  /* ── Borders ── */
  --border-color: #b3e5fc;         /* Borders / Dividers / Table Stripes */
  --border-strong: #b3e5fc;        
  --border-focus:  #29b6f6;        

  /* ── Header (Light Mode) ── */
  --header-bg: #ffffff;            
  --header-border: #b3e5fc;

  /* ── Cards & Glass ── */
  --card-bg:     #ffffff;          
  --card-border: #b3e5fc;   
  --card-shadow: none;             

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(1, 87, 155, 0.06);
  --shadow-md:  0 4px 12px rgba(1, 87, 155, 0.08);
  --shadow-lg:  0 12px 28px rgba(1, 87, 155, 0.10);
  --shadow-xl:  0 24px 48px rgba(1, 87, 155, 0.12);
  --shadow-glow: rgba(41, 182, 246, 0.12);
  --shadow-blue: 0 8px 24px rgba(41, 182, 246, 0.18);

  /* ── Misc ── */
  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max-width: 1280px;

  /* ── Border Radius ── */
  --radius-sm:   8px;   
  --radius-md:   12px;  
  --radius-lg:   16px;  
  --radius-xl:   24px;  
  --radius-2xl:  32px;  
}

/* ══════════════════════════════════════════
   DARK MODE TOKENS
   ══════════════════════════════════════════ */
[data-theme="dark"] {
  /* ── Brand ── */
  --brand-blue: #29b6f6;           
  --brand-blue-dark: #03a9f4;
  --brand-blue-light: #81d4fa;
  --brand-blue-lighter: #1e4a63;   
  --brand-indigo: #0288d1;
  --brand-indigo-light: #81d4fa;
  --brand-blue-super-dark: #e1f5fe; 

  /* ── Blue Scale (dark mode inverted) ── */
  --blue-50: #0b1a26;
  --blue-100: #132d40;
  --blue-200: #1e4a63;
  --blue-300: #0288d1;
  --blue-400: #03a9f4;
  --blue-500: #29b6f6;
  --blue-600: #81d4fa;
  --blue-700: #b3e5fc;
  --blue-800: #e1f5fe;
  --blue-900: #f5faff;

  /* ═══════════════════════════════════════
     DARK MODE BACKGROUNDS
     ═══════════════════════════════════════ */
  --bg-primary:   #0b1a26;         /* Mix of black + #01579b */
  --bg-secondary: #132d40;         /* Cards become #132d40 */
  --bg-tertiary:  #1e4a63;         
  --bg-elevated:  #132d40;         

  --white: #132d40;                
  --off-white: #0b1a26;            

  /* ── Text ── */
  --text-dark:    #ffffff;         
  --text-primary: #e1f5fe;         
  --text-gray:    #b3e5fc;         
  --text-light:   #81d4fa;         
  --text-muted:   #1e4a63;         

  /* ── Borders ── */
  --border-color:  #1e4a63;        
  --border-strong: #1e4a63;
  --border-focus:  #29b6f6;

  /* ── Header (Dark Mode) ── */
  --header-bg: #132d40;  
  --header-border: #1e4a63;

  /* ── Cards & Glass ── */
  --card-bg:     #132d40;                        
  --card-border: #1e4a63;
  --card-shadow: none;

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.30);
  --shadow-lg:  0 12px 32px rgba(0, 0, 0, 0.40);
  --shadow-xl:  0 24px 56px rgba(0, 0, 0, 0.50);
  --shadow-glow: rgba(41, 182, 246, 0.15);
  --shadow-blue: 0 8px 24px rgba(41, 182, 246, 0.20);

  /* ── Status Colors ── */
  --color-success: #059669;
  --color-error:   #dc2626;
  --color-warning: #F59E0B;
  --color-info:    #29b6f6;
}


/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  /* Dimmed Glass background — easier on eyes than pure white */
  background: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Extremely subtle ambient gradient — almost invisible, just adds depth */
  background:
    radial-gradient(
      ellipse at 15% 25%,
      rgba(37, 99, 235, 0.04) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 85% 75%,
      rgba(79, 70, 229, 0.03) 0%,
      transparent 55%
    );
  pointer-events: none;
  z-index: 0;
  animation: backgroundPulse 25s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Clean glassmorphism — white base with subtle transparency */
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  /* Sharp, clean border-bottom — defines space without heavy shadows */
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 1px 0 var(--header-border), 0 2px 8px rgba(26, 29, 35, 0.04);
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.header:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--border-color), 0 4px 16px rgba(26, 29, 35, 0.06);
}

[data-theme="dark"] .header:hover {
  background: rgba(26, 29, 36, 0.98);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: scale(1.05);
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  display: inline-block;
  overflow: visible;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 102, 204, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  z-index: -1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--brand-blue) 0%,
    var(--brand-blue-light) 100%
  );
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--brand-blue);
  background: transparent;
  position: relative;
}

.nav-link.active::before {
  opacity: 0;
  display: none;
}

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  width: 80%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-blue) 0%,
    var(--brand-blue-light) 50%,
    var(--brand-blue) 100%
  );
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.4);
  animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }

  50% {
    opacity: 0.7;
    transform: translateX(-50%) scaleX(0.9);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
}

.hamburger:hover {
  background: rgba(0, 102, 204, 0.05);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--brand-blue);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--brand-blue-lighter) 0%,
    var(--white) 50%,
    var(--brand-blue-lighter) 100%
  );
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-home .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.8) 0%,
    rgba(0, 102, 204, 0.7) 25%,
    rgba(51, 133, 214, 0.65) 50%,
    rgba(0, 102, 204, 0.7) 75%,
    rgba(0, 51, 102, 0.8) 100%
  );

  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.wave-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 50px,
    rgba(0, 102, 204, 0.05) 50px,
    rgba(0, 102, 204, 0.05) 52px
  );
  animation: waveMove 20s linear infinite;
  z-index: 2;
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.container-visual {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

.floating-container {
  width: 80px;
  height: 80px;
  background-color: var(--brand-blue);
  border-radius: 4px;
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.floating-container::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--brand-blue);
}

.floating-container:nth-child(2) {
  animation-delay: -2s;
  width: 100px;
  height: 100px;
}

.floating-container:nth-child(3) {
  animation-delay: -4s;
  width: 60px;
  height: 60px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-home .hero-content {
  max-width: 1000px;
  padding: 3rem 2rem;
  background: rgba(14, 14, 14, 0.7);

  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.hero-home .hero-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.hero-home .hero-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(0, 102, 204, 0.05) 100%
  );
  pointer-events: none;
  border-radius: 32px;
}

@keyframes contentFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
  margin-top: 1rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-home .hero-headline {
  font-size: 1rem;
  font-weight: 10;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow:
    2px 4px 12px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-subheadline-1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-home .hero-subheadline-1 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.hero-subheadline-2 {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-home .hero-subheadline-2 {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-home .btn-primary {
  background-color: var(--white);
  color: var(--brand-blue);
  box-shadow:
    0 4px 20px rgba(50, 10, 96, 0.3),
    0 8px 32px rgba(9, 113, 217, 0.4);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1.25rem 2.5rem;
  border: 2px solid transparent;
}

.hero-home .btn-primary:hover {
  background-color: var(--brand-blue-lighter);
  color: var(--brand-blue-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 6px 30px rgba(0, 0, 0, 0.3),
    0 12px 40px rgba(0, 102, 204, 0.4);
}

/* ============================================
   Products & Solutions Section
   ============================================ */
.products {
  padding: 6rem 0;
  /* Use bg-primary — the clean #F8F9FC base (theme-aware) */
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}


.products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Ultra-subtle ambient light — barely perceptible, just adds warmth */
  background:
    radial-gradient(
      ellipse at 20% 30%,
      rgba(37, 99, 235, 0.04) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 70%,
      rgba(79, 70, 229, 0.03) 0%,
      transparent 55%
    );
  pointer-events: none;
  animation: backgroundMove 30s ease-in-out infinite;
}

.products::after {
  display: none; /* Remove the grid pattern — reduces visual noise */
}

.products::after {
  display: none;
}

@keyframes backgroundMove {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -20px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  /* Warm near-black — readable on both bg-primary backgrounds */
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.products-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 4rem;
  padding: 3rem 0 5rem;
  overflow: hidden;
}

.products-carousel {
  display: flex;
  gap: 2.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 2rem 0;
  cursor: grab;
}

.products-carousel:active {
  cursor: grabbing;
}

.products-carousel .product-card {
  flex: 0 0 calc(33.333% - 1.67rem);
  min-width: calc(33.333% - 1.67rem);
  margin: 0;
  animation: none;
  height: auto;
  min-height: 500px;
}

.products-carousel .product-card-featured {
  flex: 0 0 calc(33.333% - 1.67rem);
  min-width: calc(33.333% - 1.67rem);
  min-height: 550px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  position: relative;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot:hover {
  transform: scale(1.2);
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.carousel-dot.active {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

.carousel-dot.active::before {
  transform: translate(-50%, -50%) scale(1);
  background: var(--white);
}

.product-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(230, 242, 255, 0.3) 100%
  );
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow:
    0 8px 30px rgba(0, 102, 204, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation:
    fadeInUp 0.8s ease-out,
    cardPulse 4s ease-in-out infinite;
  border: 1px solid rgba(0, 102, 204, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes cardPulse {
  0%,
  100% {
    box-shadow:
      0 8px 30px rgba(0, 102, 204, 0.1),
      0 2px 8px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  50% {
    box-shadow:
      0 12px 40px rgba(0, 102, 204, 0.15),
      0 4px 12px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--brand-blue) 0%,
    var(--brand-blue-light) 50%,
    var(--blue-400) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.4);
}

.product-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 204, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

.product-card:nth-child(5) {
  animation-delay: 0.5s;
}

.product-card:hover {
  transform: translateY(-15px) scale(1.03) rotateY(2deg);
  box-shadow:
    0 20px 60px rgba(0, 102, 204, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: var(--brand-blue);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    var(--brand-blue-lighter) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  animation: cardHover 0.6s ease-out;
}

.product-card-featured:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 16px 50px rgba(0, 102, 204, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    135deg,
    var(--brand-blue-lighter) 0%,
    rgba(255, 255, 255, 0.98) 50%,
    var(--brand-blue-lighter) 100%
  );
  animation: none;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card-featured:hover::after {
  opacity: 0;
}

@keyframes cardHover {
  0% {
    transform: translateY(-12px) scale(1.02);
  }

  50% {
    transform: translateY(-18px) scale(1.04);
  }

  100% {
    transform: translateY(-15px) scale(1.03) rotateY(2deg);
  }
}

.product-card-featured {
  grid-column: span 2;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    var(--brand-blue-lighter) 30%,
    rgba(255, 255, 255, 0.95) 70%,
    var(--brand-blue-lighter) 100%
  );
  border: 2px solid var(--brand-blue-light);
  box-shadow:
    0 8px 30px rgba(0, 102, 204, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
}

.product-card-featured::after {
  content: "Featured";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-blue-dark) 100%
  );
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.product-card-featured:hover {
  background: linear-gradient(
    135deg,
    var(--brand-blue-lighter) 0%,
    var(--white) 50%,
    var(--brand-blue-lighter) 100%
  );
  box-shadow:
    0 16px 50px rgba(0, 102, 204, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  position: relative;
}

.product-icon:has(img) {
  animation: none;
}

.product-icon::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(0, 102, 204, 0.2) 0%,
    rgba(51, 133, 214, 0.15) 30%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  animation: iconGlow 3s ease-in-out infinite;
}

.product-card:hover .product-icon::after {
  opacity: 0.8;
  transform: scale(1.2);
}

@keyframes iconGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.product-icon-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 102, 204, 0.25));
  animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.product-card:hover .product-icon-img {
  transform: scale(1.2) rotate(8deg) translateY(-5px);
  filter: drop-shadow(0 8px 20px rgba(0, 102, 204, 0.4));
  animation: iconBounce 0.6s ease-out;
}

@keyframes iconBounce {
  0% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.3) rotate(12deg);
  }

  100% {
    transform: scale(1.2) rotate(8deg) translateY(-5px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.product-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-blue-super-dark);
  margin-bottom: 1.25rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.product-link {
  color: var(--brand-blue-super-dark);
  text-decoration: none;
  transition: var(--transition);
}

.product-link:hover {
  color: var(--brand-blue-dark);
  text-decoration: underline;
}

.product-description {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.product-tagline {
  color: var(--brand-blue);
  font-weight: 600;
  font-style: italic;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--brand-blue-lighter);
  border-radius: 8px;
  border-left: 3px solid var(--brand-blue);
  display: inline-block;
}

.product-features {
  list-style: none;
  margin-top: 1rem;
  padding-left: 0;
}

.product-features li {
  padding: 0.5rem 0;
  color: var(--text-gray);
  position: relative;
  padding-left: 1.5rem;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: bold;
}

.product-feature {
  color: var(--text-gray);
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 3px solid var(--brand-blue-light);
  display: inline-block;
  line-height: 1.6;
  font-weight: 500;
}

.btn-know-more {
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--blue-600) 50%,
    var(--brand-blue-dark) 100%
  );
  background-size: 200% 200%;
  color: var(--white);
  border: 2px solid var(--brand-blue);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin-top: 1.5rem;
  box-shadow:
    0 6px 20px rgba(0, 102, 204, 0.3),
    0 2px 8px rgba(0, 102, 204, 0.2);
  position: relative;
  overflow: hidden;
  animation: buttonGradient 3s ease infinite;
}

@keyframes buttonGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-know-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-know-more::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

.btn-know-more:hover::before {
  left: 100%;
}

.btn-know-more:hover::after {
  width: 300px;
  height: 300px;
}

.btn-know-more:hover {
  background: linear-gradient(
    135deg,
    var(--brand-blue-dark) 0%,
    var(--brand-blue) 50%,
    var(--blue-600) 100%
  );
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 12px 30px rgba(0, 102, 204, 0.4),
    0 4px 12px rgba(0, 102, 204, 0.3);
  border-color: var(--brand-blue-light);
}

.analytics-content {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.analytics-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.analytics-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.analytics-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.analytics-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.product-card-featured:hover .analytics-subtitle {
  color: var(--brand-blue-dark);
}

.btn-know-more-inline {
  margin-top: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.analytics-tagline {
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.analytics-description {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.product-card-featured:hover .analytics-description,
.product-card-featured:hover .analytics-tagline {
  color: inherit;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
  padding: 6rem 0;
  /* Alternate section — bg-tertiary creates subtle rhythm */
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 30% 40%,
      rgba(37, 99, 235, 0.04) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 70% 60%,
      rgba(79, 70, 229, 0.03) 0%,
      transparent 55%
    );
  pointer-events: none;
}

@keyframes testimonialBg {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow:
    0 10px 40px rgba(0, 102, 204, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  animation:
    fadeInUp 0.8s ease-out,
    testimonialFloat 6s ease-in-out infinite;
  border: 1px solid rgba(0, 102, 204, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes testimonialFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--brand-blue-lighter);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.3;
  z-index: 0;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 102, 204, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--brand-blue);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    var(--brand-blue-lighter) 100%
  );
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  flex: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-gray);
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
  border-top: 2px solid var(--brand-blue-lighter);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brand-blue-lighter);
  background-color: var(--brand-blue-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonial-card:hover .testimonial-avatar {
  border-color: var(--brand-blue);
  transform: scale(1.1);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.testimonial-role {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   Customers & Partners Section
   ============================================ */
.customers {
  padding: 5rem 0;
  /* Back to bg-primary — creates alternating rhythm */
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.customers::before {
  display: none; /* Remove the diagonal pattern — reduces visual noise */
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.customer-logo {
  padding: 1.75rem;
  border-radius: 16px;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

@keyframes logoPulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.08);
  }

  50% {
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.12);
  }
}

.customer-logo::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
}

.customer-logo:nth-child(1) {
  animation-delay: 0.1s;
}

.customer-logo:nth-child(2) {
  animation-delay: 0.2s;
}

.customer-logo:nth-child(3) {
  animation-delay: 0.3s;
}

.customer-logo:nth-child(4) {
  animation-delay: 0.4s;
}

.customer-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

.customer-logo:hover::before {
  opacity: 1;
}

.customer-logo-img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;

  transition: var(--transition);
}

.customer-logo:hover .customer-logo-img {
  transform: scale(1.05);
}

.logo-placeholder {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-align: center;
}

/* ============================================
   Call to Action Section
   ============================================ */
.cta-section {
  padding: 5rem 0;
  /* Sophisticated Corporate Indigo gradient — deep, rich, professional */
  background: linear-gradient(
    135deg,
    #1e3a8a 0%,
    #1d4ed8 35%,
    #2563eb 65%,
    #4f46e5 100%
  );
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.cta-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-cta {
  background-color: var(--white);
  color: var(--brand-blue);
  font-size: 1.2rem;
  padding: 1.2rem 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  font-size: 1.5rem;
}

/* ============================================
   Footer Section
   ============================================ */
.footer {
  /* Near-black footer — anchors the page structurally */
  /* Light Mode: muted slate base — distinctly darker than content */
background-color: #0c3757 !important;
  
  padding: 3.5rem 0 1rem;
  /* Subtle top border to separate from CTA without harsh line */
  
}

/* Light mode footer — uses a dark-anchored base always (brand decision) */
/* Footer always stays dark for strong visual grounding */

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section {
  animation: fadeInUp 0.8s ease-out;
}

.footer-title {
  font-size: 1.35rem;
  font-weight: 700;
  /* Corporate Indigo accent — professional, not neon */
  color: #60A5FA !important;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.footer-description {
  line-height: 1.7;
  color: #6B7280 !important;
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  /* Warm off-white — readable but not harsh */
  color: #D1D5DB !important;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #6B7280 !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: #93C5FD !important;
  transform: translateX(3px);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.75rem;
}

.contact-link {
  color: #6B7280 !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-link:hover {
  color: #93C5FD !important;
}

.contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-address {
  color: #6B7280 !important;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #1F2A3A !important;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #4B5563 !important;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.footer-legal a {
  color: #4B5563 !important;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: #93C5FD !important;
}

.separator {
  color: #374151 !important;
}

/* ============================================
   About Us Page Styles
   ============================================ */
.about-story {
  padding: 4rem 0;
  /* Crisp white — pops against the light hero gradient above */
  background: var(--bg-secondary);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  animation: fadeInUp 0.8s ease-out;
}

.story-text {
  max-width: 100%;
}

.story-title {
  font-size: 2.25rem;
  font-weight: 700;
  /* Warm near-black — strong contrast on bg-primary */
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.story-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.story-paragraph strong {
  color: var(--brand-blue);
  font-weight: 600;
}

.story-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.port-icon {
  font-size: 8rem;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

/* CEO Message Section — clean tinted slate background, NOT brand-blue-lighter (#EFF4FF) */
.ceo-message {
  padding: 5rem 0;
  /* Warm muted slate — distinct from pure white sections, not blue-tinted */
  background: var(--bg-tertiary);
}

.ceo-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.ceo-header {
  text-align: center;
  margin-bottom: 3rem;
}

.ceo-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.ceo-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--brand-blue);
  border-radius: 2px;
}

.ceo-info {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.ceo-image-container {
  flex-shrink: 0;
}

.ceo-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--brand-blue-lighter);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.ceo-image:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.ceo-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.ceo-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 0;
}

.ceo-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.ceo-linkedin:hover {
  color: var(--brand-blue-dark);
  background-color: var(--brand-blue-lighter);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.linkedin-icon {
  font-size: 1.1rem;
}

.ceo-text {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--brand-blue);
}

.ceo-paragraph {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.ceo-paragraph:last-child {
  margin-bottom: 0;
}

.ceo-paragraph strong {
  color: var(--brand-blue);
  font-weight: 600;
}

/* Achievements Section */
.achievements {
  padding: 5rem 0;
  /* Alternate rhythm: bg-tertiary (#F1F4F9) between CEO (bg-tertiary) and CTA */
  background-color: var(--bg-primary);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.achievement-card {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--card-border);
  animation: fadeInUp 0.8s ease-out;
}

.achievement-card:nth-child(1) {
  animation-delay: 0.1s;
}

.achievement-card:nth-child(2) {
  animation-delay: 0.2s;
}

.achievement-card:nth-child(3) {
  animation-delay: 0.3s;
}

.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.20);
}

.achievement-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.achievement-logo {
  max-width: 180px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  transition: var(--transition);
}

.achievement-card:hover .achievement-logo {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.achievement-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
}

.achievement-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
}

.achievement-description em {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================
   Careers Page Styles
   ============================================ */
.careers-section {
  padding: 5rem 0;
  background-color: var(--off-white);
}

.job-postings {
  max-width: 1000px;
  margin: 0 auto;
}

.job-posting {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out;
}

.job-posting:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.job-header {
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-blue-dark) 100%
  );
  color: var(--white);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.job-title-section {
  flex: 1;
}

.job-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.job-experience {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.job-meta {
  text-align: right;
}

.job-date {
  font-size: 0.9rem;
  opacity: 0.9;
  display: block;
}

.job-content {
  padding: 2.5rem;
}

.job-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
}

.job-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.job-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon {
  font-size: 1.5rem;
}

.job-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.job-list {
  list-style: none;
  padding-left: 0;
}

.job-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-gray);
}

.job-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.job-list li strong {
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.job-apply {
  background: linear-gradient(
    135deg,
    var(--brand-blue-lighter) 0%,
    var(--white) 100%
  );
  padding: 2.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  border: 2px solid var(--brand-blue-light);
}

.apply-content {
  text-align: center;
}

.apply-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
}

.apply-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.apply-email {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.apply-email:hover {
  color: var(--brand-blue-dark);
  text-decoration: underline;
}

/* ============================================
   Blog Page Styles
   ============================================ */
.blog-section {
  padding: 5rem 0;
  background-color: var(--off-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.8s ease-out;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-blue-dark) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.3;
}

.blog-icon {
  font-size: 4rem;
  z-index: 1;
  animation: pulse 2s ease-in-out infinite;
}

.blog-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: inline-block;
  background-color: var(--brand-blue-lighter);
  color: var(--brand-blue);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.blog-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.blog-highlight {
  display: inline-block;
  background-color: var(--off-white);
  color: var(--brand-blue-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.blog-card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.blog-read-more {
  background: none;
  border: none;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: var(--transition);
  width: fit-content;
}

.blog-read-more:hover {
  color: var(--brand-blue-dark);
  transform: translateX(5px);
}

.blog-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-blue);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.blog-watch-video:hover {
  background-color: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.video-icon {
  font-size: 0.9rem;
  display: inline-block;
}

/* Blog Modal Styles */
.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  overflow-y: auto;
}

.blog-modal.active {
  opacity: 1;
  visibility: visible;
}

.blog-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.blog-modal-container {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.blog-modal.active .blog-modal-container {
  transform: scale(1) translateY(0);
}

.blog-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--border-color);
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.blog-modal-close:hover {
  background-color: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
  transform: rotate(90deg);
}

.blog-modal-content {
  padding: 3rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

/* Blog Article Content Styles */
.blog-article-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.blog-article-category {
  display: inline-block;
  background-color: var(--brand-blue-lighter);
  color: var(--brand-blue);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.blog-article-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-article-subtitle {
  font-size: 1.3rem;
  color: var(--brand-blue);
  font-weight: 600;
  font-style: italic;
}

.blog-article-intro {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--brand-blue-lighter);
  border-radius: 12px;
  border-left: 4px solid var(--brand-blue);
}

.blog-section-content {
  margin-bottom: 3rem;
}

.blog-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.blog-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--brand-blue);
  border-radius: 2px;
}

.blog-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.blog-feature-item {
  background-color: var(--off-white);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: var(--transition);
}

.blog-feature-item:hover {
  border-color: var(--brand-blue-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.blog-feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
}

.blog-feature-item p {
  color: var(--text-gray);
  line-height: 1.7;
}

.blog-results-section {
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(
    135deg,
    var(--brand-blue-lighter) 0%,
    var(--white) 100%
  );
  border-radius: 16px;
}

.blog-results-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 2rem;
  text-align: center;
}

.blog-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-result-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.blog-result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.blog-result-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1rem;
  line-height: 1;
}

.blog-result-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 1rem;
}

.blog-result-card p {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

.blog-how-it-works {
  margin: 4rem 0;
}

.blog-how-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

.blog-steps {
  display: grid;
  gap: 2rem;
}

.blog-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background-color: var(--off-white);
  border-radius: 12px;
  border-left: 4px solid var(--brand-blue);
  transition: var(--transition);
}

.blog-step:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.blog-step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-blue-dark) 100%
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.blog-step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 0.75rem;
}

.blog-step p {
  color: var(--text-gray);
  line-height: 1.7;
}

.blog-cta-section {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(
    135deg,
    var(--brand-blue) 50%,
    var(--blue-900) 50%
  );
  border-radius: 16px;
  text-align: center;
  color: var(--white);
}

.blog-cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.blog-cta-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.blog-cta-section .btn {
  background-color: var(--white);
  color: var(--brand-blue);
}

.blog-cta-section .btn:hover {
  background-color: var(--off-white);
  transform: translateY(-2px);
}

.blog-loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-gray);
  font-size: 1.1rem;
}

.blog-error {
  text-align: center;
  padding: 3rem;
  color: var(--text-gray);
}

.blog-error p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.video-modal-container {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-modal.active .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.video-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.video-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .logo-img {
    height: 35px;
    max-width: 150px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
      0 10px 40px rgba(0, 102, 204, 0.15),
      0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem;
    gap: 0.5rem;
    border-radius: 0 0 24px 24px;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    padding: 0;
  }

  .nav-menu .nav-link {
    width: 100%;
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    margin: 0.25rem 0;
    border-radius: 12px;
  }

  .nav-menu .nav-link.active {
    margin: 0.5rem 0;
  }

  .hero-home .hero-content {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-home .hero-headline {
    font-size: 2.5rem;
  }

  .hero-subheadline-1 {
    font-size: 1.2rem;
  }

  .hero-home .hero-subheadline-1 {
    font-size: 1.3rem;
  }

  .hero-subheadline-2 {
    font-size: 1rem;
  }

  .hero-home .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .products-carousel-wrapper {
    padding: 1rem 0 3rem;
  }

  .products-carousel {
    gap: 1.5rem;
  }

  .products-carousel .product-card {
    flex: 0 0 calc(100% - 1rem);
    min-width: calc(100% - 1rem);
  }

  .products-carousel .product-card-featured {
    flex: 0 0 calc(100% - 1rem);
    min-width: calc(100% - 1rem);
  }

  .product-card {
    padding: 2rem;
  }

  .product-card-featured {
    grid-column: span 1;
  }

  .product-card-featured::after {
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }

  .carousel-dots {
    margin-top: 2rem;
    gap: 0.5rem;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-dot::before {
    width: 6px;
    height: 6px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .port-icon {
    font-size: 5rem;
  }

  .ceo-title {
    font-size: 2rem;
  }

  .ceo-text {
    padding: 2rem;
  }

  .ceo-paragraph {
    font-size: 1rem;
  }

  .ceo-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .ceo-image {
    width: 120px;
    height: 120px;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-meta {
    text-align: left;
    width: 100%;
  }

  .job-title {
    font-size: 1.5rem;
  }

  .job-content {
    padding: 1.5rem;
  }

  .job-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .job-section-title {
    font-size: 1.3rem;
  }

  .job-apply {
    padding: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-modal-container {
    margin: 1rem;
    border-radius: 12px;
  }

  .blog-modal-content {
    padding: 2rem 1.5rem;
  }

  .blog-article-title {
    font-size: 2rem;
  }

  .blog-features-grid {
    grid-template-columns: 1fr;
  }

  .blog-results-grid {
    grid-template-columns: 1fr;
  }

  .blog-step {
    flex-direction: column;
    gap: 1rem;
  }

  .blog-step:hover {
    transform: translateY(-5px);
  }

  .blog-card-actions {
    flex-direction: column;
  }

  .blog-watch-video {
    width: 100%;
    justify-content: center;
  }

  .video-modal-container {
    max-width: 95%;
    max-height: 85vh;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 30px;
    max-width: 120px;
  }

  .hero-home .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-home .hero-headline {
    font-size: 2rem;
  }

  .hero-subheadline-1 {
    font-size: 1.1rem;
  }

  .hero-subheadline-2 {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }

  .customers-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 1rem 2rem;
  }
}

/* ============================================
   Scroll Animations
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .product-card,
  .footer-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
  }
}

/* Additional smooth scroll behavior */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   What You Get Page Styles
   ============================================ */

/* Value Hero Section */
.value-hero {
  background: linear-gradient(
    135deg,
    var(--brand-blue-dark) 0%,
    var(--brand-blue) 50%,
    var(--brand-blue-light) 100%
  );
  padding: 6rem 0 4rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.value-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.value-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.value-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.value-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.value-hero-subtitle {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  /* Must be visible on the blue gradient background — use semi-transparent white */
  color: rgba(255, 255, 255, 0.90);
  opacity: 1;
}

.value-hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.value-hero-description strong {
  color: var(--white);
  font-weight: 700;
}

.value-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.value-stat {
  text-align: center;
}

.value-stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.value-stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* What You Get Section */
.value-proposition {
  padding: 5rem 0;
  /* Clean light background — section between hero and categories */
  background: var(--bg-tertiary);
}

.value-category {
  margin-bottom: 5rem;
  animation: fadeInUp 0.8s ease-out;
}

.value-category:last-child {
  margin-bottom: 0;
}

.value-category-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem 2.5rem;
  /* Use card-bg (white) to pop against the section background */
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  /* Left accent stripe in corporate indigo */
  border-left: 4px solid var(--brand-blue);
}

.value-category-icon {
  font-size: 4rem;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.value-category-content {
  flex: 1;
}

.value-category-title {
  font-size: 2rem;
  font-weight: 700;
  /* Deep navy — strong contrast on white card */
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.value-category-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  /* Brand blue — readable on white card */
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  font-style: normal;
}

.value-category-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-gray);
  max-width: 800px;
}

/* Value Pillars Grid */
.value-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-pillar-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.value-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-blue);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.value-pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.value-pillar-card:hover::before {
  transform: scaleY(1);
}

.value-pillar-card-featured {
  background: linear-gradient(
    135deg,
    var(--brand-blue-lighter) 0%,
    var(--white) 100%
  );
  border-color: var(--brand-blue-light);
}

.value-pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.value-pillar-title {
  font-size: 1.3rem;
  font-weight: 700;
  /* Warm near-black — maximum readability on white card */
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.value-pillar-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.value-pillar-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--brand-blue-lighter);
  color: var(--brand-blue-dark);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Value CTA Section — matches cta-section Corporate Indigo gradient */
.value-cta {
  background: linear-gradient(
    135deg,
    #1e3a8a 0%,
    #1d4ed8 35%,
    #2563eb 65%,
    #4f46e5 100%
  );
  padding: 5rem 0;
  text-align: center;
  color: #FFFFFF;
}

.value-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.value-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.value-cta-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

/* Responsive Design for Value Page */
@media (max-width: 768px) {
  .value-hero {
    padding: 4rem 0 3rem;
  }

  .value-hero-title {
    font-size: 2.5rem;
  }

  .value-hero-subtitle {
    font-size: 1.5rem;
  }

  .value-hero-description {
    font-size: 1.1rem;
  }

  .value-hero-stats {
    gap: 2rem;
  }

  .value-stat-number {
    font-size: 2.5rem;
  }

  .value-category-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .value-category-icon {
    font-size: 3rem;
  }

  .value-category-title {
    font-size: 1.75rem;
  }

  .value-category-subtitle {
    font-size: 1.25rem;
  }

  .value-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-pillar-card {
    padding: 1.5rem;
  }

  .value-cta-title {
    font-size: 2rem;
  }

  .value-cta-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .value-hero-title {
    font-size: 2rem;
  }

  .value-hero-subtitle {
    font-size: 1.25rem;
  }

  .value-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .value-category-title {
    font-size: 1.5rem;
  }

  .value-pillar-title {
    font-size: 1.25rem;
  }
}

/* ============================================
   2026 Modern SaaS Redesign Overrides
   ============================================ */

/* Global Premium Typography Override */
body,
button,
input,
select,
textarea {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
}

body {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

/* Floating Glass Header — Clean, lightweight */
.header {
  background: var(--header-bg) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  /* Sharp, thin defining border — no heavy box shadows */
  border-bottom: 1px solid var(--header-border) !important;
  box-shadow: 0 1px 0 var(--header-border), 0 2px 8px rgba(26, 29, 35, 0.04) !important;
  transition:
    background 0.35s ease,
    border-color 0.35s ease;
}

/* Card — Crisp White on Dimmed Glass background (creates depth) */
.product-card,
.testimonial-card,
.achievement-card,
.value-pillar-card,
.job-posting,
.blog-card {
  background: var(--card-bg) !important;
  /* Extremely thin 1px border — just slightly darker than bg */
  border: 1px solid var(--card-border) !important;
  border-radius: var(--radius-xl) !important;    /* 24px — Soft Neo-Morphism */
  box-shadow: var(--card-shadow) !important;
  transition: var(--transition) !important;
  color: var(--text-primary) !important;
}

.product-card:hover,
.testimonial-card:hover,
.achievement-card:hover,
.value-pillar-card:hover,
.job-posting:hover,
.blog-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  /* Refined glow — not neon, just a subtle halo */
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(26, 29, 35, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

/* Color updates for text headers inside cards */
.product-title,
.testimonial-name,
.achievement-title,
.value-pillar-title,
.job-title,
.blog-card-title {
  color: var(--text-dark) !important;
}

.product-card:hover .product-title,
.blog-card:hover .blog-card-title {
  color: var(--brand-blue) !important;
}

/* Body text inside cards — use warm slate for readability, NOT bright blue */
.product-description,
.testimonial-text,
.testimonial-role,
.achievement-description,
.value-pillar-description,
.job-text,
.blog-card-excerpt {
  color: var(--text-gray) !important;
}

/* Section titles — strong contrast */
.section-title,
.story-title,
.ceo-title,
.achievement-title {
  color: var(--text-dark) !important;
}

/* Section subtitles — warm slate */
.section-subtitle,
.story-paragraph,
.ceo-paragraph {
  color: var(--text-gray) !important;
}

/* Dark mode accent boost for section titles */
[data-theme="dark"] .section-title {
  color: var(--text-dark) !important;
}

/* Background alternation — theme-aware section rhythm */
.about-story,
.achievements,
.blog-section,
.careers-section {
  background-color: var(--bg-primary) !important;
}

.ceo-message,
.value-categories {
  background-color: var(--bg-tertiary) !important;
}

/* Dark mode: Boost card and section backgrounds */
[data-theme="dark"] .products,
[data-theme="dark"] .customers {
  background: var(--bg-primary) !important;
}

[data-theme="dark"] .testimonials {
  background: var(--bg-secondary) !important;
}

[data-theme="dark"] .cta-section {
  /* Slightly richer gradient in dark mode */
  background: linear-gradient(
    135deg,
    #0f1f4a 0%,
    #1d4ed8 40%,
    #2563eb 70%,
    #4338ca 100%
  ) !important;
}

/* Grayscale Logos for Premium Look */
.customer-logo-img {
  transition: var(--transition) !important;
}

/* Theme Toggle Button Styling */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-left: 1rem;
  position: relative;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-blue);
  transform: scale(1.05);
}

.theme-toggle .sun-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Browser Mockup styling */
.browser-mockup {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-top: 3.5rem;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  animation: contentFloat 8s ease-in-out infinite;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.browser-header {
  height: 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  position: relative;
}

.browser-buttons {
  display: flex;
  gap: 6px;
}

.browser-buttons .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.browser-buttons .dot.red {
  background: #ff5f56;
}

.browser-buttons .dot.yellow {
  background: #ffbd2e;
}

.browser-buttons .dot.green {
  background: #27c93f;
}

.browser-address-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-gray);
  padding: 2px 24px;
  width: 250px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-body {
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #0f172a;
  display: flex;
}

.browser-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.browser-mockup:hover .browser-img {
  transform: scale(1.01);
}

/* Dark Mode Logo invert adjustment if needed */
[data-theme="dark"] .logo-img {
  filter: brightness(0) invert(1) !important;
}

/* Animations */
@keyframes contentFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Twilight Harbor Hero Backdrop Visuals */
.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 0.5s ease;
}

/* Products section sits cleanly under the visual image backdrop */
@media (min-width: 992px) {
  .products {
    margin-top: 0 !important;
    /* Sit cleanly completely under the hero twilight harbor backdrop */
    position: relative;
    z-index: 100;
    padding-top: 6rem !important;
  }

  .products::before,
  .products::after {
    display: none !important;
  }

  .products-grid {
    position: relative;
    z-index: 102;
  }
}

/* ============================================
   Privacy Policy & Terms of Service Modal Styles
   ============================================ */
.privacy-modal,
.terms-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  background: rgba(8, 11, 17, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.privacy-modal.active,
.terms-modal.active {
  opacity: 1;
  pointer-events: all;
}

.privacy-modal-card,
.terms-modal-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  box-shadow:
    var(--shadow-xl),
    0 0 40px rgba(37, 99, 235, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.privacy-modal.active .privacy-modal-card,
.terms-modal.active .terms-modal-card {
  transform: translateY(0);
}

.privacy-modal-header,
.terms-modal-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.privacy-modal-title,
.terms-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0;
}

.privacy-modal-close,
.terms-modal-close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-modal-close:hover,
.terms-modal-close:hover {
  color: var(--brand-blue);
  transform: scale(1.1);
}

.privacy-modal-body,
.terms-modal-body {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-gray);
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

/* Custom Scrollbar for Modal Body */
.privacy-modal-body::-webkit-scrollbar,
.terms-modal-body::-webkit-scrollbar {
  width: 6px;
}

.privacy-modal-body::-webkit-scrollbar-track,
.terms-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.privacy-modal-body::-webkit-scrollbar-thumb,
.terms-modal-body::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 20px;
}

.privacy-modal-body h2,
.terms-modal-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.4rem;
}

.privacy-modal-body h3,
.terms-modal-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.privacy-modal-body p,
.terms-modal-body p {
  margin-bottom: 1rem;
}

.privacy-modal-body ul,
.terms-modal-body ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.privacy-modal-body li,
.terms-modal-body li {
  margin-bottom: 0.4rem;
}

.privacy-modal-body strong,
.terms-modal-body strong {
  color: var(--text-dark);
}

/* ============================================
   Demo Request Modal Styles
   ============================================ */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  background: rgba(8, 11, 17, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.demo-modal.active {
  opacity: 1;
  pointer-events: all;
}

.demo-modal-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  box-shadow:
    var(--shadow-xl),
    0 0 40px rgba(37, 99, 235, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.demo-modal.active .demo-modal-card {
  transform: translateY(0);
}

.demo-modal-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.demo-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0;
}

.demo-modal-close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-modal-close:hover {
  color: var(--brand-blue);
  transform: scale(1.1);
}

.demo-modal-body {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

/* Custom Scrollbar for Demo Modal Body */
.demo-modal-body::-webkit-scrollbar {
  width: 6px;
}
.demo-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.demo-modal-body::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 20px;
}

/* Form Styles */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1.25rem;
}

.form-row .form-group {
  flex: 1;
}

@media (max-width: 580px) {
  .form-row {
    flex-direction: column;
    gap: 1.25rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-label span {
  color: #ef4444; /* red asterisk */
  margin-left: 2px;
}

.form-input,
.form-textarea {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  background: var(--bg-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
  opacity: 0.8;
}

/* Submit Button */
.btn-submit {
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-blue-dark) 100%
  );
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  filter: brightness(1.1);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Result / Status Container */
.form-status {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
  text-align: center;
  font-weight: 600;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Success View */
.demo-success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  animation: fadeInUp 0.5s ease-out;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(16, 185, 129, 0.2);
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.success-message {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 400px;
}

.btn-success-close {
  background: var(--bg-secondary);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-success-close:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Landing Page Revamp - Premium Glassmorphic UI/UX Redesign (v2)
   ========================================================================== */

/* 1. Global Full-Length Glassmorphic Header */
.header {
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0, 102, 204, 0.08) !important;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03) !important;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0;
}

[data-theme="dark"] .header {
  background: rgba(8, 11, 17, 0.65) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.8) !important;
  border-bottom-color: rgba(0, 102, 204, 0.12) !important;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="dark"] .header.scrolled {
  background: rgba(8, 11, 17, 0.85) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.navbar {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0.85rem 20px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.navbar .container {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100%;
}

/* 2. Concentric Background Ripple Rings & Floating Bubbles */
.hero-home {
  min-height: 100vh !important;
  padding: 95px 0 45px !important;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(110, 112, 224, 0.419) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(100, 229, 197, 0.277) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #f5f7fb 0%, #e4ecf7 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: background 0.3s ease;
}

[data-theme="dark"] .hero-home {
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(129, 140, 248, 0.45) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(45, 212, 191, 0.35) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #16162a 0%, #222244 100%) !important;
}

.hero-bg-ripples {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5 !important;
  pointer-events: none;
  z-index: 0;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.1));
}

.ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(99, 102, 241, 0.12);
  background: transparent;
  animation: ripplePulse 12s linear infinite;
}

[data-theme="dark"] .ripple {
  border-color: rgba(99, 102, 241, 0.15);
}

.ripple-1 {
  width: 500px;
  height: 500px;
  animation-duration: 16s;
}

.ripple-2 {
  width: 800px;
  height: 800px;
  animation-duration: 24s;
  animation-delay: -4s;
}

.ripple-3 {
  width: 1100px;
  height: 1100px;
  animation-duration: 32s;
  animation-delay: -8s;
}

@keyframes ripplePulse {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.03);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Floating Glass Bubbles (inspired by abstract design) */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.03) 70%,
    transparent 100%
  );
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.25),
    inset 0 -3px 6px rgba(0, 0, 0, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
  animation: floatBubble 12s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bubble-icon {
  max-width: 45%;
  max-height: 45%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.25;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1.1);
  transition: opacity 0.3s ease;
}

.bubble-1 {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: 10%;
  animation-duration: 14s;
  animation-delay: -2s;
}

.bubble-2 {
  width: 140px;
  height: 140px;
  left: 97px;
  top: 22%;
  animation-duration: 10s;
  animation-delay: -5s;
}

.bubble-3 {
  width: 90px;
  height: 90px;
  left: 89%;
  bottom: 48%;
  animation-duration: 8s;
  animation-delay: -1s;
}

.bubble-4 {
  width: 110px;
  height: 110px;
  right: 5%;
  bottom: 8%;
  animation-duration: 11s;
  animation-delay: -3s;
}

.bubble-5 {
  width: 160px;
  height: 160px;
  right: 12%;
  top: -50px;
  animation-duration: 15s;
  animation-delay: -7s;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) scale(1.02) rotate(3deg);
  }
  100% {
    transform: translateY(10px) scale(0.98) rotate(-3deg);
  }
}

/* 3. Beveled Glass Card */
.hero-card-border-wrap {
  position: relative;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(138, 118, 237, 0.25) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(92, 92, 97, 0.15) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 100%, 80px 100%, 0 calc(100% - 80px));
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(9, 9, 21, 0.4);
  transition: all 0.4s ease;
  z-index: 10;
}

[data-theme="dark"] .hero-card-border-wrap {
  background: linear-gradient(
    135deg,
    rgba(234, 161, 161, 0.15) 0%,
    rgba(101, 77, 77, 0.02) 50%,
    rgba(99, 102, 241, 0.1) 100%
  );
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.hero-card {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 35, 0.65) 0%,
    rgba(10, 10, 20, 0.45) 100%
  );
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 79px 100%, 0 calc(100% - 79px));
  border-radius: 31px;
  padding: 2.25rem 3rem 1.75rem;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hero-card {
  background: linear-gradient(
    135deg,
    rgba(12, 12, 24, 0.75) 0%,
    rgba(6, 6, 12, 0.5) 100%
  );
}

/* 4. Card Main Layout */
.hero-card-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-card-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-headline-modern {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subheadline-modern {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(241, 245, 249, 0.75);
  margin-bottom: 1.5rem;
  max-width: 620px;
}

.hero-cta-modern {
  display: flex;
  gap: 1rem;
}

.btn-cta-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: #0f172a;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.btn-cta-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.btn-cta-modern .arrow-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-cta-modern:hover .arrow-icon {
  transform: translateX(4px);
}

/* 5. 3D Visual Asset Styling */
.hero-card-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-3d-art {
  opacity: 0.95;
  max-width: 100%;
  max-height: 360px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(27, 28, 74, 0.25));
}

@keyframes floatArt {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.2deg);
  }
}

/* 6. Value Grid Columns */
.hero-card-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
}

.value-col {
  position: relative;
  display: flex;
  gap: 1rem;
}

.value-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.value-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  font-family: monospace;
  margin-top: 0.15rem;
}

.value-content {
  display: flex;
  flex-direction: column;
}

.value-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.value-desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(241, 245, 249, 0.62);
}

/* 7. Media Responsiveness overrides */
@media (max-width: 1024px) {
  .hero-headline-modern {
    font-size: 2.5rem;
  }
  .hero-card {
    padding: 2rem 2.25rem 1.5rem;
  }
  .hero-card-main {
    gap: 1.5rem;
  }
  .hero-3d-art {
    max-height: 220px;
  }
}

@media (max-width: 992px) {
  .hero-home {
    padding: 90px 10px 40px !important;
  }
  .hero-card-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  .hero-card-left {
    align-items: center;
  }
  .hero-subheadline-modern {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-card-bottom {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }
  .value-col {
    gap: 0.75rem;
  }
  .value-col:not(:last-child)::after {
    display: none;
  }
  .value-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
  }
  .value-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hero-card-border-wrap {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 60px 100%, 0 calc(100% - 60px));
    border-radius: 24px;
    margin: 0 1rem;
  }
  .hero-card {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 59px 100%, 0 calc(100% - 59px));
    border-radius: 23px;
    padding: 2.25rem 1.5rem 1.5rem;
  }
  .hero-3d-art {
    max-width: 60%;
    max-height: 200px;
  }
}

@media (max-width: 580px) {
  .hero-headline-modern {
    font-size: 2.1rem;
  }
  .hero-subheadline-modern {
    font-size: 0.95rem;
  }
  .btn-cta-modern {
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
  }
  .hero-3d-art {
    max-width: 80%;
  }
}

/* ============================================
   ERP Featured Product Carousel Styles
   ============================================ */
.erp-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 2rem auto 4.5rem;
  padding: 0 40px;
  box-sizing: border-box;
  z-index: 10;
}

.erp-carousel-container {
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
}

.erp-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  touch-action: pan-y;
}

.erp-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0 5px;
}

.erp-carousel-slide .erp-featured-card {
  margin: 0 auto;
}

/* Carousel Controls */
.erp-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--brand-blue-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .erp-carousel-control {
  background: rgba(15, 21, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.erp-carousel-control:hover {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .erp-carousel-control:hover {
  background: var(--brand-blue-light);
  color: #000000;
  border-color: var(--brand-blue-light);
  box-shadow: 0 6px 16px rgba(96, 165, 250, 0.4);
}

.carousel-nav-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.erp-carousel-prev:hover .carousel-nav-icon {
  transform: translateX(-2px);
}

.erp-carousel-next:hover .carousel-nav-icon {
  transform: translateX(2px);
}

.erp-carousel-prev {
  left: -15px;
}

.erp-carousel-next {
  right: -15px;
}

/* Dots Indicators */
.erp-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  z-index: 10;
}

.erp-carousel-dot {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  border: 2px solid var(--brand-blue);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.erp-carousel-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.erp-carousel-dot:hover {
  transform: scale(1.2);
  border-color: var(--brand-blue-light);
}

.erp-carousel-dot.active {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.erp-carousel-dot.active::before {
  transform: translate(-50%, -50%) scale(1);
  background: var(--white);
}

.erp-carousel-track.grabbing {
  cursor: grabbing;
}

/* Assistify Custom Colors & Glowing */
.erp-badge-assistify {
  background: rgba(37, 211, 102, 0.08) !important;
  color: #128c7e !important;
}

[data-theme="dark"] .erp-badge-assistify {
  background: rgba(37, 211, 102, 0.15) !important;
  color: #4ade80 !important;
}

.erp-visual-glow-assistify {
  background: radial-gradient(circle, rgba(37, 211, 102, 0.18) 0%, transparent 70%) !important;
}

[data-theme="dark"] .erp-visual-glow-assistify {
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%) !important;
}

/* Portal Custom Colors & Glowing */
.erp-badge-portal {
  background: rgba(99, 102, 241, 0.08) !important;
  color: #4f46e5 !important;
}

[data-theme="dark"] .erp-badge-portal {
  background: rgba(99, 102, 241, 0.15) !important;
  color: #818cf8 !important;
}

.erp-visual-glow-portal {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%) !important;
}

[data-theme="dark"] .erp-visual-glow-portal {
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 70%) !important;
}

/* Singularity Custom Colors & Glowing */
.erp-badge-singularity {
  background: rgba(168, 85, 247, 0.08) !important;
  color: #8b5cf6 !important;
}

[data-theme="dark"] .erp-badge-singularity {
  background: rgba(168, 85, 247, 0.15) !important;
  color: #c084fc !important;
}

.erp-visual-glow-singularity {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, transparent 70%) !important;
}

[data-theme="dark"] .erp-visual-glow-singularity {
  background: radial-gradient(circle, rgba(192, 132, 252, 0.15) 0%, transparent 70%) !important;
}

/* Custom IT Solutions Custom Colors & Glowing */
.erp-badge-custom {
  background: rgba(0, 180, 216, 0.08) !important;
  color: #0096c7 !important;
}

[data-theme="dark"] .erp-badge-custom {
  background: rgba(0, 180, 216, 0.15) !important;
  color: #90e0ef !important;
}

.erp-visual-glow-custom {
  background: radial-gradient(circle, rgba(0, 180, 216, 0.18) 0%, transparent 70%) !important;
}

[data-theme="dark"] .erp-visual-glow-custom {
  background: radial-gradient(circle, rgba(144, 224, 239, 0.15) 0%, transparent 70%) !important;
}

.highlight-icon-custom {
  background: rgba(0, 180, 216, 0.08) !important;
  color: #0096c7 !important;
}

[data-theme="dark"] .highlight-icon-custom {
  background: rgba(0, 180, 216, 0.15) !important;
  color: #90e0ef !important;
}



/* Emojis highlights formatting */
.highlight-icon.highlight-emoji {
  font-size: 0.95rem;
  background: transparent;
}

.emoji-money {
  background: rgba(251, 191, 36, 0.1) !important;
}

.emoji-vessel {
  background: rgba(59, 130, 246, 0.1) !important;
}

.emoji-speed {
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Responsive adjustment for controls */
@media (max-width: 1320px) {
  .erp-carousel-wrapper {
    padding: 0 20px;
  }
  .erp-carousel-prev {
    left: 10px;
  }
  .erp-carousel-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .erp-carousel-control {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    font-size: 1rem;
  }
  .erp-carousel-prev {
    left: 5px;
  }
  .erp-carousel-next {
    right: 5px;
  }
}

.erp-featured-card {
  background: linear-gradient(
    135deg,
    rgba(239, 246, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 32px;
  padding: 3rem 4rem;
  box-shadow:
    0 20px 40px rgba(0, 102, 204, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .erp-featured-card {
  background: linear-gradient(
    135deg,
    rgba(15, 21, 36, 0.65) 0%,
    rgba(30, 41, 59, 0.45) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.45);
}

.erp-featured-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-blue-light);
  box-shadow:
    0 30px 60px rgba(0, 102, 204, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(239, 246, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

[data-theme="dark"] .erp-featured-card:hover {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(59, 130, 246, 0.15);
  background: linear-gradient(
    135deg,
    rgba(15, 21, 36, 0.75) 0%,
    rgba(30, 41, 59, 0.55) 100%
  );
}

/* Featured Card Inner Grid */
.erp-featured-card-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

/* Left side: Visual components */
.erp-featured-card-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.erp-featured-image {
  max-width: 100%;
  max-height: 350px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 15px 30px rgba(0, 102, 204, 0.15));
  animation: floatERPArt 6s ease-in-out infinite;
  transition: transform 0.5s ease;
}

.erp-featured-card:hover .erp-featured-image {
  transform: scale(1.02);
}

.erp-visual-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
  animation: glowPulse 4s ease-in-out infinite;
}

[data-theme="dark"] .erp-visual-glow {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
}

/* Right side: Content components */
.erp-featured-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.erp-featured-badge {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  padding: 0.45rem 1.1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .erp-featured-badge {
  background: rgba(96, 165, 250, 0.15);
  color: var(--brand-blue-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.erp-featured-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.erp-featured-title-link {
  color: var(--brand-blue-super-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

[data-theme="dark"] .erp-featured-title-link {
  color: var(--text-dark);
}

.erp-featured-title-link:hover {
  color: var(--brand-blue);
  text-decoration: none;
}

[data-theme="dark"] .erp-featured-title-link:hover {
  color: var(--brand-blue-light);
}

.erp-featured-tagline {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

[data-theme="dark"] .erp-featured-tagline {
  color: var(--brand-blue-light);
}

.erp-featured-description {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Checklist highlights */
.erp-featured-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.erp-featured-highlights li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

[data-theme="dark"] .highlight-icon {
  background: rgba(96, 165, 250, 0.15);
  color: var(--brand-blue-light);
}

.highlight-text {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.98rem;
}

/* Call to action */
.erp-featured-cta {
  display: flex;
  align-items: center;
  width: 100%;
}

.erp-know-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-blue-dark) 100%
  );
  color: #ffffff;
  padding: 0.9rem 2.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .erp-know-more-link {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.erp-know-more-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
  background: linear-gradient(
    135deg,
    var(--brand-blue-dark) 0%,
    var(--brand-blue) 100%
  );
}

[data-theme="dark"] .erp-know-more-link:hover {
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.erp-know-more-link .arrow-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.erp-know-more-link:hover .arrow-icon {
  transform: translateX(6px);
}

/* Animations */
@keyframes floatERPArt {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .erp-featured-card {
    padding: 2.5rem 2rem;
    border-radius: 24px;
  }
  .erp-featured-card-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .erp-featured-card-visual {
    order: 1; /* Keep visual on top in stack */
  }
  .erp-featured-card-content {
    order: 2;
    align-items: center;
    text-align: center;
  }
  .erp-featured-highlights {
    align-items: flex-start;
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  }
  .erp-featured-image {
    max-height: 280px;
  }
}

@media (max-width: 580px) {
  .erp-featured-card {
    padding: 2rem 1.5rem;
  }
  .erp-featured-title {
    font-size: 1.9rem;
  }
  .erp-featured-image {
    max-height: 220px;
  }
  .erp-carousel-wrapper {
    margin: 1.5rem auto 3.5rem;
  }
  .erp-know-more-link {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.75rem;
  }
}

/* ============================================
   Footer Social Icons Styles
   ============================================ */
.footer-social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.85;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.08);
  opacity: 1;
}

.social-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .social-icon-img {
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1)) brightness(1.1);
}

/* ============================================
   Dropdown Navigation Menu Styles
   ============================================ */
.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle .chevron {
  display: inline-block;
  font-size: 0.65rem;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.dropdown-menu {
  list-style: none !important;
  list-style-type: none !important;
}

.dropdown-menu li {
  list-style: none !important;
  list-style-type: none !important;
}

/* Show dropdown menu on hover on Desktop */
@media (min-width: 769px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    z-index: 1100;
    display: block;
    opacity: 0;
    visibility: hidden;
    min-width: 180px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-item.dropdown:hover .dropdown-toggle .chevron {
    transform: rotate(180deg);
  }
}

/* Dropdown Item Styling */
.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.65rem 1.25rem;
  clear: both;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-gray);
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  transition: all 0.25s ease;
}

.dropdown-item:hover {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  padding-left: 1.5rem;
}

[data-theme="dark"] .dropdown-item:hover {
  background-color: rgba(59, 130, 246, 0.15);
  color: var(--brand-blue);
}

/* Responsive Dropdown Menu for Mobile Drawer */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    display: none;
    float: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: rgba(0, 102, 204, 0.03);
    padding: 0.5rem 0;
    margin: 0.5rem 0;
    border-radius: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-item.dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-item.dropdown.open .dropdown-toggle .chevron {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
    text-align: center;
    color: var(--text-gray);
  }

  .dropdown-item:hover {
    padding-left: 1.5rem; /* Turn off indentation animation on mobile hover */
    background-color: rgba(37, 99, 235, 0.05);
  }

  /* Dark mode mobile menu overrides */
  [data-theme="dark"] .nav-menu {
    background: rgba(15, 23, 42, 0.98) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  }

  [data-theme="dark"] .nav-menu .nav-link {
    color: var(--text-dark) !important;
  }

  [data-theme="dark"] .nav-menu .nav-link.active {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
  }

  [data-theme="dark"] .nav-menu .nav-link:hover {
    background: rgba(56, 189, 248, 0.08) !important;
    color: #38bdf8 !important;
  }

  [data-theme="dark"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.03) !important;
  }

  [data-theme="dark"] .dropdown-item {
    color: var(--text-gray) !important;
  }

  [data-theme="dark"] .dropdown-item:hover {
    background-color: rgba(96, 165, 250, 0.12) !important;
    color: var(--brand-blue) !important;
  }
}

/* ============================================
   Professional Theme Polish & Responsive Fixes
   Corporate Indigo — Eye-Comfort Edition
   ============================================ */

/* ── Nav link contrast improvements ── */
.nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--brand-blue) !important;
  background: rgba(37, 99, 235, 0.06) !important;
}

.nav-link.active {
  color: var(--brand-blue) !important;
}

[data-theme="dark"] .nav-link {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .nav-link:hover {
  color: var(--brand-blue) !important;
  background: rgba(96, 165, 250, 0.08) !important;
}

[data-theme="dark"] .nav-link.active {
  color: var(--brand-blue) !important;
}

/* ── Dark mode mobile nav — updated palette ── */
@media (max-width: 768px) {
  [data-theme="dark"] .nav-menu {
    background: rgba(15, 17, 23, 0.98) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
  }

  [data-theme="dark"] .nav-menu .nav-link {
    color: var(--text-dark) !important;
  }

  [data-theme="dark"] .nav-menu .nav-link.active {
    background: rgba(96, 165, 250, 0.12) !important;
    color: var(--brand-blue) !important;
  }

  [data-theme="dark"] .nav-menu .nav-link:hover {
    background: rgba(96, 165, 250, 0.08) !important;
    color: var(--brand-blue) !important;
  }
}

/* ── Product card — lighter, eye-friendly ── */
.product-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--card-shadow) !important;
  animation: fadeInUp 0.6s ease-out !important;
}

/* Remove over-the-top card pulse animation (reduces visual fatigue) */
.product-card {
  animation: fadeInUp 0.6s ease-out !important;
}

/* ── Product title and description text ── */
.product-title {
  color: var(--text-dark) !important;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-description {
  color: var(--text-gray) !important;
  line-height: 1.75;
}

.product-tagline {
  background: var(--bg-tertiary) !important;
  border-left: 3px solid var(--brand-blue) !important;
  color: var(--brand-blue) !important;
}

/* ── CTA section refinement ── */
.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-description {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.7;
}

.btn-cta {
  background: #FFFFFF !important;
  color: #1d4ed8 !important;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.20);
  transition: var(--transition);
}

.btn-cta:hover {
  background: #EFF4FF !important;
  color: #1e3a8a !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ── Value section backgrounds ── */
/* NOTE: .value-hero is no longer used in value.html — hero now uses .hero.value-page-hero */
/* .value-hero { background: var(--bg-tertiary); } — REMOVED: was causing white-on-white contrast failure */

.value-category {
  background: var(--bg-primary);
}

.value-category:nth-child(even) {
  background: var(--bg-tertiary);
}

.value-pillar-card {
  background: var(--card-bg) !important;
}

/* ── Testimonial card clean up ── */
.testimonial-card {
  background: var(--card-bg) !important;
  animation: fadeInUp 0.6s ease-out !important;
}

.testimonial-text {
  color: var(--text-gray) !important;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-name {
  color: var(--text-dark) !important;
  font-weight: 700;
}

/* ── Customer logo dark mode ── */
[data-theme="dark"] .customer-logo {
  background: #ffffff !important;
  border-color: transparent !important;
}

[data-theme="dark"] .customer-logo:hover {
  border-color: var(--brand-blue-light) !important;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15) !important;
}

/* ── Know More button refinement ── */
.btn-know-more {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25) !important;
  border: none !important;
  animation: none !important; /* Remove the gradient animation — less distracting */
}

.btn-know-more:hover {
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, #1e3a8a 100%) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-3px) !important;
}

/* ── ERP page: Featured card dark mode ── */
[data-theme="dark"] .erp-featured-badge {
  background: rgba(96, 165, 250, 0.12) !important;
  color: var(--brand-blue) !important;
}

/* ── Focus ring accessibility ── */
*:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   Responsive Design Improvements
   ============================================ */

/* Tablet (768px – 1024px) */
@media (max-width: 1024px) {
  .products,
  .testimonials,
  .customers {
    padding: 4.5rem 0;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .hero {
    min-height: 80vh;
  }

  .section-title {
    font-size: 1.65rem;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  /* Tighter section padding on mobile */
  .products,
  .testimonials,
  .customers,
  .about-story,
  .achievements,
  .ceo-message {
    padding: 3.5rem 0;
  }

  .cta-section {
    padding: 3rem 0;
  }

  /* Section headers */
  .section-title {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* CTA section mobile */
  .cta-title {
    font-size: 1.75rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 0.9rem 1.75rem;
  }

  /* Footer mobile */
  .footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Product cards on mobile */
  .products-carousel .product-card {
    flex: 0 0 calc(85% - 1rem);
    min-width: calc(85% - 1rem);
    min-height: auto;
  }

  /* Customer logos mobile */
  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.35rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .customer-logo {
    padding: 1.25rem;
    min-height: 90px;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .hero-home .hero-content {
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
  }
}

/* ── Smooth transitions when theme changes ── */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}

/* Override: Keep animation-based transitions unaffected */
.product-card,
.testimonial-card,
.customer-logo,
.btn,
.nav-link,
.footer-links a,
.theme-toggle {
  transition: var(--transition) !important;
}

/* ============================================
   Light Theme Audit Corrections
   Applied after visual review of 5 screens
   ============================================ */

/* ── Non-home hero pages (About, Contact inner hero) ── */
/* The generic .hero uses brand-blue-lighter (#EFF4FF) which is near-white — OK */
/* But the headline needs sharp contrast against it */
.hero-headline {
  color: var(--text-dark) !important;  /* #1A1D23 — strong warm near-black */
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Home hero headline overrides (white on dark overlay) */
.hero-home .hero-headline {
  color: #FFFFFF !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 700 !important;
}

/* ── Contact page hero badge ── */
.contact-hero-badge,
.hero-badge {
  background: var(--brand-blue-lighter);
  color: var(--brand-blue);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* ── Contact page title ── */
.contact-title,
.hero-title {
  color: var(--text-dark) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── Value page pillar number badge ── */
.value-pillar-number {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

/* ── "Our Story" paragraph strong text ── */
.story-paragraph strong {
  color: var(--brand-blue) !important;
  font-weight: 600;
}

/* ── CEO section title ── */
.ceo-title {
  color: var(--text-dark) !important;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Achievement cards text ── */
.achievement-title {
  color: var(--text-dark) !important;
  font-size: 1.25rem;
  font-weight: 700;
}

.achievement-description {
  color: var(--text-gray) !important;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Value hero badge ── */
.value-hero-badge {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ── Value hero title — crisp white on blue gradient ── */
.value-hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* ── Value hero description — near white, high legibility ── */
.value-hero-description {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ── Value stat numbers — bright white, bold on blue ── */
.value-stat-number {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.value-stat-label {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.85rem;
}

/* ── Value pillar card tag pill ── */
.value-pillar-tag {
  background: var(--brand-blue-lighter) !important;
  color: var(--brand-blue) !important;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ── Value category description body text ── */
.value-category-description {
  color: var(--text-gray) !important;
  line-height: 1.75;
  font-size: 1rem;
}

/* ── Non-home inner page hero: less tall ── */
.hero:not(.hero-home) {
  min-height: 45vh;
}

/* ── Section page hero title contrast boost ── */
.section-page-title,
.page-title {
  color: var(--text-dark) !important;
  font-weight: 800;
}

/* ── Dark mode value hero adjustments ── */
[data-theme="dark"] .value-hero {
  background: linear-gradient(
    135deg,
    #0b1a3d 0%,
    #1d4ed8 50%,
    #3b4fd0 100%
  );
}

[data-theme="dark"] .value-category-header {
  background: var(--card-bg) !important;
  border-color: var(--card-border);
  border-left-color: var(--brand-blue);
}

[data-theme="dark"] .ceo-text {
  background: var(--card-bg) !important;
  border-left-color: var(--brand-blue);
}

[data-theme="dark"] .value-cta,
[data-theme="dark"] .cta-section {
  background: linear-gradient(
    135deg,
    #0f1f4a 0%,
    #1d4ed8 40%,
    #2563eb 70%,
    #4338ca 100%
  ) !important;
}

/* ============================================
   Value Page — Redesigned Hero (About-style)
   ============================================ */

/* Inherit the same .hero light gradient + wave — no overrides needed */
.value-page-hero {
  /* text-align for inner hero pages */
  text-align: center;
}

.value-page-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

/* ── Badge pill — corporate blue on pale blue tint ── */
.value-page-badge {
  display: inline-block;
  background: var(--brand-blue-lighter);       /* #EFF4FF — pale indigo */
  color: var(--brand-blue);                    /* #2563EB — readable */
  border: 1px solid rgba(37, 99, 235, 0.20);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease-out both;
}

/* ── Hero headline on value page ── */
.value-page-hero .hero-headline {
  color: var(--text-dark) !important;          /* #1A1D23 — strong near-black */
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

/* ── Subtitle "13 Pillars of Profitability" ── */
.value-page-hero .hero-subheadline-1 {
  color: var(--brand-blue) !important;         /* Brand blue accent */
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  animation: fadeInUp 0.8s ease-out 0.25s both;
}

/* ── Description paragraph ── */
.value-page-hero .hero-subheadline-2 {
  color: var(--text-gray) !important;          /* Warm slate — readable */
  font-size: 1.05rem;
  line-height: 1.75;
  animation: fadeInUp 0.8s ease-out 0.35s both;
}

/* ── Stats row ── */
.value-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.45s both;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 1.5rem 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Individual stat chip ── */
.value-stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 2rem;
}

.value-stat-chip-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-blue);                    /* Corporate Indigo */
  line-height: 1;
  letter-spacing: -0.02em;
}

.value-stat-chip-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── Divider between chips ── */
.value-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--card-border);
  flex-shrink: 0;
}

/* ── Dark mode: value page hero tweaks ── */
[data-theme="dark"] .value-page-badge {
  background: rgba(96, 165, 250, 0.10);
  color: var(--brand-blue);
  border-color: rgba(96, 165, 250, 0.20);
}

[data-theme="dark"] .value-page-hero .hero-headline {
  color: var(--text-dark) !important;
}

[data-theme="dark"] .value-page-hero .hero-subheadline-1 {
  color: var(--brand-blue) !important;
}

[data-theme="dark"] .value-page-hero .hero-subheadline-2 {
  color: var(--text-gray) !important;
}

[data-theme="dark"] .value-stats-row {
  background: var(--card-bg);
  border-color: var(--card-border);
}

[data-theme="dark"] .value-stat-chip-num {
  color: var(--brand-blue);
}

/* ── Responsive: stats row on mobile ── */
@media (max-width: 600px) {
  .value-stats-row {
    padding: 1.25rem 1rem;
    max-width: 100%;
  }

  .value-stat-chip {
    padding: 0 1.25rem;
  }

  .value-stat-chip-num {
    font-size: 1.85rem;
  }

  .value-stat-divider {
    height: 40px;
  }
}



/* ============================================
   Page-by-Page Customizations & Overrides
   ============================================ */

/* --- General Button Overrides --- */
.btn-primary {
  background-color: var(--brand-blue) !important;
  color: #ffffff !important;
}
.btn-primary:hover {
  background-color: var(--brand-blue-dark) !important;
}
.btn-primary:active {
  background-color: var(--brand-blue-active) !important;
}
.btn-outline, .btn-secondary {
  border: 1px solid var(--brand-indigo) !important;
  background-color: transparent !important;
  color: var(--brand-indigo) !important;
}

/* --- Header Overrides --- */
.header {
  background-color: var(--bg-secondary) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: none !important;
}
.nav-link.active, .nav-link:hover {
  background-color: var(--bg-tertiary) !important;
}

/* --- Footer Overrides --- */
.footer {
  background-color: #0c3757 !important;
  color: #ffffff !important;
}
.footer .footer-title, .footer .footer-heading {
  color: #81d4fa !important; /* Differentiate headings with secondary mid-tone */
}
.footer p, .footer .copyright, .footer .separator, .footer .footer-description, .footer .footer-address {
  color: #ffffff !important; /* Regular text */
}
.footer a, .footer .contact-link {
  color: #e1f5fe !important; /* Soft highlight color for links */
}
.footer a:hover, .footer .contact-link:hover {
  color: #ffffff !important;
}
[data-theme="dark"] .footer {
  background-color: #0a1922 !important;
}

/* --- Login/Sign-up Page --- */
body.login-page {
  background: linear-gradient(135deg, #e1f5fe 0%, #f5faff 100%) !important;
}
.login-card {
  background-color: #ffffff !important;
  border: 1px solid #b3e5fc !important;
}
.btn-login {
  background-color: #29b6f6 !important;
}

/* --- Dashboard/Home --- */
.kpi-tile, .metrics-card, .metric-card {
  border-left: 4px solid #0288d1 !important;
}
.data-table tbody tr:nth-child(even), .table tbody tr:nth-child(even) {
  background-color: #e1f5fe !important;
}

/* ============================================
   Responsiveness Requirements
   ============================================ */
/* Desktop (>1024px) */
@media (min-width: 1025px) {
  .container {
    max-width: 1280px !important;
  }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .card, .product-card, .login-card, .metrics-card, .kpi-tile, .metric-card {
    padding: calc(var(--card-padding, 2.5rem) * 0.5) !important;
  }
  /* Fallback if var not set */
  .product-card { padding: 1.25rem !important; }
  
  .data-table-container, .table-responsive, .table-wrapper {
    overflow-x: auto !important;
    display: block;
    width: 100%;
  }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
  .row, .grid, .products-grid, .features-grid, .footer-content, .story-content {
    display: flex !important;
    flex-direction: column !important;
  }
  .btn, button, .btn-primary, .btn-secondary, .btn-know-more, .btn-cta {
    width: 100% !important;
  }
  .header {
    padding: 12px !important;
  }
  body {
    font-size: max(14px, 1em) !important;
  }
  p, span, a, div, li {
    font-size: max(14px, inherit) !important;
  }
}
