/* ========================================
   Quantique Minds - Main Stylesheet
   Premium AI Consultancy Website
   ======================================== */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Sora:wght@600;700&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap");

/* ========================================
   CSS Variables - Sapphire Professional Design System
   ======================================== */
:root {
  /* Primary Brand Colors - Sapphire Professional */
  --color-primary: #0f172a; /* Deep Sapphire Blue */
  --color-secondary: #6b21a8; /* Royal Purple */
  --color-accent: #0891b2; /* Electric Teal */
  --color-energy: #d97706; /* Sunrise Amber */

  /* Extended Palette */
  --color-primary-light: #1e293b;
  --color-secondary-light: #8b5cf6;
  --color-accent-light: #0ea5e9;

  /* Legacy Color Aliases for Backward Compatibility */
  --color-sapphire: var(--color-primary);
  --color-purple: var(--color-secondary);
  --color-teal: var(--color-accent);
  --color-coral: #f97316;
  --color-emerald: #065f46;
  --color-amber: var(--color-energy);

  /* Professional Gradients */
  --gradient-hero: linear-gradient(
    135deg,
    #0f172a 0%,
    #6b21a8 50%,
    #0891b2 100%
  );
  --gradient-premium: linear-gradient(
    120deg,
    #6b21a8 0%,
    #8b5cf6 50%,
    #0ea5e9 100%
  );
  --gradient-innovation: linear-gradient(90deg, #0f172a 0%, #6b21a8 100%);
  --gradient-success: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  --gradient-glass: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );

  /* Neutral Palette */
  --neutral-50: #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #71717a;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #18181b;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Sora", sans-serif;
  --font-mono: "DM Mono", "Courier New", monospace;

  /* Responsive Font Sizes - Fluid Typography System */
  --text-xs: clamp(0.625rem, 0.5rem + 0.5vw, 0.75rem);
  --text-sm: clamp(0.75rem, 0.7rem + 0.5vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.8rem + 0.6vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.7vw, 1.125rem);
  --text-xl: clamp(1.125rem, 1rem + 0.8vw, 1.25rem);
  --text-2xl: clamp(1.25rem, 1.1rem + 1vw, 1.5rem);
  --text-3xl: clamp(1.5rem, 1.3rem + 1.2vw, 1.875rem);
  --text-4xl: clamp(1.875rem, 1.6rem + 1.5vw, 2.25rem);
  --text-5xl: clamp(2.25rem, 2rem + 2vw, 3rem);
  --text-6xl: clamp(3rem, 2.5rem + 2.5vw, 3.75rem);
  --text-7xl: clamp(3.75rem, 3rem + 3vw, 4.5rem);
  --text-8xl: clamp(4.5rem, 4rem + 4vw, 6rem);

  /* Responsive Spacing - Fluid Scale */
  --space-xs: clamp(0.25rem, 0.2rem + 0.2vw, 0.375rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.3vw, 0.75rem);
  --space-md: clamp(0.75rem, 0.6rem + 0.5vw, 1.25rem);
  --space-lg: clamp(1rem, 0.8rem + 0.8vw, 1.75rem);
  --space-xl: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);
  --space-2xl: clamp(2rem, 1.5rem + 1.5vw, 3.5rem);
  --space-3xl: clamp(2.5rem, 2rem + 2vw, 4.5rem);
  --space-4xl: clamp(3rem, 2.5rem + 2.5vw, 6rem);
  --space-5xl: clamp(4rem, 3rem + 3vw, 8rem);
  --space-6xl: clamp(6rem, 4rem + 4vw, 12rem);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Enhanced Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-glass: 0 8px 32px rgba(107, 33, 168, 0.1);
  --shadow-glow: 0 0 60px rgba(107, 33, 168, 0.3);

  /* Animation Properties */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Duration System */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-medium: 450ms;
  --duration-slow: 600ms;
  --duration-slower: 800ms;
  
  /* Fixed navbar height used for layout offset */
  --navbar-height: 70px;

  /* Section Spacing System - Ultra-Dense Modern Layout */
  --section-hero-bottom: 1.5rem;
  --section-compact: 1.25rem;
  --section-standard: 2rem;
  --section-flowing: 1.75rem;
  --section-emphasis: 2.5rem;

  /* Section Background System */
  --section-bg-white: #ffffff;
  --section-bg-light: #fafbfc;
  --section-bg-soft: #f8f9fa;
  --section-bg-accent: rgba(107, 33, 168, 0.02);
  --section-bg-neutral: var(--neutral-50);
  --section-border-subtle: rgba(107, 33, 168, 0.05);
  --section-border-strong: rgba(107, 33, 168, 0.08);
  --section-separator: rgba(15, 23, 42, 0.06);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--neutral-50);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-sapphire);
}

h1 {
  font-size: clamp(1.875rem, 1.5rem + 2.5vw, 4rem);
  font-weight: 900;
  line-height: clamp(1.1, 1.05 + 0.1vw, 1.2);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 2vw, 3rem);
  line-height: clamp(1.15, 1.1 + 0.1vw, 1.25);
}

h3 {
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  line-height: clamp(1.2, 1.15 + 0.1vw, 1.3);
}

h4 {
  font-size: clamp(1.125rem, 0.9rem + 1.2vw, 1.875rem);
  line-height: clamp(1.25, 1.2 + 0.1vw, 1.35);
}

h5 {
  font-size: var(--text-lg);
  line-height: 1.4;
}

h6 {
  font-size: var(--text-base);
  line-height: 1.4;
}

p {
  margin-bottom: var(--space-md);
  color: var(--neutral-600);
  line-height: clamp(1.6, 1.5 + 0.2vw, 1.8);
  font-size: var(--text-base);
}

a {
  color: var(--color-purple);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-smooth);
}

a:hover {
  color: var(--color-teal);
}

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

/* ========================================
   Container & Layout
   ======================================== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Increase container width for very large screens */
@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

.section {
  padding: var(--section-standard) 0;
  transition: background-color var(--duration-slow) var(--ease-smooth);
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-compact) 0;
  }
}

/* ========================================
   Section Spacing Hierarchy
   ======================================== */
.section-compact {
  padding: var(--section-compact) 0;
}

.section-flowing {
  padding: var(--section-flowing) 0;
}

.section-standard {
  padding: var(--section-standard) 0;
}

.section-emphasis {
  padding: var(--section-emphasis) 0;
}

/* Expertise section - clean white after hero */
.expertise-section {
  padding: var(--section-compact) 0;
  background: var(--section-bg-white);
}

/* Products section - clean contrast from services */
.products {
  padding: var(--section-flowing) 0 var(--section-standard) 0;
  position: relative;
  border-top: 1px solid var(--section-separator);
}

/* Commitments - flows from testimonials */
.commitments {
  padding: var(--section-compact) 0 var(--section-standard) 0;
  border-top: 1px solid var(--section-separator);
}


/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(252, 253, 254, 0.94);
  backdrop-filter: blur(12px) saturate(180%) brightness(110%);
  -webkit-backdrop-filter: blur(12px) saturate(180%) brightness(110%);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
  background: rgba(252, 253, 254, 0.96);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--duration-fast) var(--ease-smooth);
}

/* Logomark styling - colorful, bold symbol */
.nav-logomark {
  height: 48px;
  width: 48px;
  transition: all var(--duration-fast) var(--ease-smooth);
  filter: drop-shadow(0 2px 4px rgba(107, 33, 168, 0.15));
  /* Make logomark bold and prominent */
}

/* Text logo styling - clean, readable text */
.nav-logo-text {
  height: 36px;
  width: auto;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.nav-logo:hover .nav-logomark {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(107, 33, 168, 0.25));
}

.nav-logo:hover .nav-logo-text {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  font-weight: 500;
  color: var(--neutral-700);
  position: relative;
  padding: var(--space-sm) 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-innovation);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-hero);
  color: white !important;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  color: var(--color-primary);
}

.hamburger {
  display: inline-block;
  width: 24px;
  height: 3px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

.mobile-menu-toggle:hover .hamburger,
.mobile-menu-toggle:hover .hamburger::before,
.mobile-menu-toggle:hover .hamburger::after {
  background: var(--color-energy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* ========================================
   Unified Navigation Responsive System
   Mobile/Tablet: 0-1023px (hamburger menu)
   Desktop: 1024px+ (full horizontal nav)
   ======================================== */

/* Mobile and Tablet Navigation */
@media (max-width: 1023px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    gap: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    display: block;
    padding: 1rem;
    width: 100%;
    border-bottom: 1px solid var(--neutral-100);
    font-size: 1rem;
  }
  
  .nav-link::after {
    display: none; /* Hide hover underline on mobile */
  }
  
  .nav-cta {
    margin: 1rem;
    display: inline-block;
    width: auto;
  }
  
  /* Responsive logo sizing */
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-logomark {
    height: 40px;
    width: 40px;
  }
  
  .nav-logo-text {
    height: 30px;
  }
}

/* Very small devices */
@media (max-width: 374px) {
  .nav-logomark {
    height: 36px;
    width: 36px;
  }
  
  .nav-logo-text {
    display: none;
  }
}


/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: clamp(500px, 100vh - 80px, 900px);
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--navbar-height) + clamp(16px, 2vw, 24px));
  padding-bottom: var(--section-hero-bottom);
}

@media (max-width: 767px) {
  .hero {
    min-height: clamp(400px, 80vh, 600px);
    padding-top: clamp(40px, 10vw, 60px);
  }
}

/* Laptop Screen Optimizations */
@media (min-width: 1280px) and (max-height: 800px) {
  .hero {
    min-height: calc(100vh - 80px);
    padding-top: calc(var(--navbar-height) + 12px);
    padding-bottom: 20px;
  }
  
  .hero-title {
    margin-bottom: 1rem;
  }
  
  .hero-description {
    margin-bottom: 1.5rem;
  }
  
  .credibility-enhanced {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1.25rem;
  }
}

/* MacBook Pro 16" specific optimizations */
@media (min-width: 1728px) and (max-height: 1200px) {
  .hero {
    min-height: calc(100vh - 80px);
    padding-top: calc(var(--navbar-height) + 16px);
    padding-bottom: 30px;
  }
  
  .hero-content {
    /* margin-left: 10%; */
    margin-left:auto;
    max-width: clamp(600px, 57vw, 900px);
  }

  .hero-content-home {
    margin-left: 10%;
    max-width: clamp(600px, 57vw, 900px);
  }
  
  .credibility-enhanced {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1440px) {
  .hero {
    min-height: clamp(600px, 90vh, 1000px);
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(
      circle at 20% 80%,
      var(--color-purple) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, var(--color-teal) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, var(--color-coral) 0%, transparent 50%);
  animation: floatBackground 20s ease infinite;
}

@keyframes floatBackground {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, -20px) scale(1.05);
  }
  66% {
    transform: translate(20px, -10px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: clamp(300px, 90vw, 900px);
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    text-align: left;
  }
}

/* Desktop Hero Content Positioning - Left aligned with 10% margin */
@media (min-width: 1024px) {
  .hero-content {
    /* margin-left: 10%; */
    margin-left: auto;
    max-width: clamp(500px, 60vw, 800px);
    text-align: left;
  }
  .hero-content-home {
    margin-left: 10%;
    max-width: clamp(500px, 60vw, 800px);
    text-align: left;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: clamp(0.25rem, 1vw, 0.5rem) clamp(0.75rem, 3vw, 1.25rem);
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  font-weight: 600;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-badge {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Desktop Hero Badge - Align with left content */
@media (min-width: 1024px) {
  .hero-badge {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }
}

.hero-title {
  color: white;
  margin-bottom: var(--space-md);
  font-size: clamp(1.75rem, 1.2rem + 3vw, 4rem);
  font-weight: 900;
  line-height: clamp(1.05, 1 + 0.1vw, 1.15);
  letter-spacing: clamp(-0.02em, -0.01em + -0.02vw, -0.03em);
}

.hero-title.word-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s var(--ease-smooth) forwards;
}

.hero-title.word-reveal span:nth-child(1) {
  animation-delay: 0.2s;
}
.hero-title.word-reveal span:nth-child(2) {
  animation-delay: 0.3s;
}
.hero-title.word-reveal span:nth-child(3) {
  animation-delay: 0.4s;
}
.hero-title.word-reveal span:nth-child(4) {
  animation-delay: 0.5s;
}
.hero-title.word-reveal span:nth-child(5) {
  animation-delay: 0.6s;
}
.hero-title.word-reveal span:nth-child(6) {
  animation-delay: 0.7s;
}

/* Hero Question Styling - High Contrast Design */
.hero-title .hero-question {
  display: block;
  margin-top: var(--space-sm);
}

.hero-title .question-line-1 {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(15, 23, 42, 0.6);
  display: block;
}

.hero-title .question-highlight {
  color: var(--color-energy);
  font-weight: 900;
  display: block;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(217, 119, 6, 0.4),
    0 0 40px rgba(217, 119, 6, 0.2);
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(10px);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 119, 6, 0.3);
  margin-top: var(--space-xs);
  position: relative;
}

.hero-description {
  font-size: clamp(1rem, 0.9rem + 0.8vw, 1.375rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  line-height: clamp(1.5, 1.4 + 0.2vw, 1.7);
  max-width: clamp(280px, 90vw, 700px);
}

.hero-description.animate-fadeInUp {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-smooth) 1s both;
}

.hero-cta-group {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-cta-group {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

.hero-cta-group.animate-fadeInUp {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-smooth) 1.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Hero Background Video
   ======================================== */
.hero-video-container {
  position: absolute;
  top: -10%;
  left: -35%;
  width: 145%;
  height: 140%;
  z-index: 1;
  overflow: hidden;
  display: none; /* Hidden by default, shown on large screens */
  mask: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0.8) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0.8) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-video {
  position: absolute;
  top: 64%;
  left: 51%;
  min-width: 90%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.5);
  object-fit: cover;
  opacity: 0.8;
  z-index: 1;
  mix-blend-mode: soft-light;
}

/* Ensure hero content stays above video */
.hero-content {
  position: relative;
  z-index: 3;
}

.credibility-enhanced {
  position: relative;
  z-index: 2;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: white;
  color: var(--color-sapphire);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-sapphire);
}

/* ========================================
   Service Cards
   ======================================== */
.services {
  background: linear-gradient(
    135deg,
    rgba(107, 33, 168, 0.03) 0%,
    rgba(8, 145, 178, 0.02) 50%,
    rgba(255, 255, 255, 0.95) 100%
  );
  position: relative;
  border-bottom: 1px solid var(--section-border-subtle);
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(15, 23, 42, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(107, 33, 168, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.service-card {
  /* Using glassmorphism from components.css - remove conflicting styles */
  position: relative;
  overflow: hidden;
}

/* Service card background effects handled by components.css */

.service-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: var(--space-lg);
  transition: transform var(--duration-slow) var(--ease-spring);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.service-title {
  margin-bottom: var(--space-md);
  color: var(--color-sapphire);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.3;
}

.service-description {
  color: var(--neutral-700);
  margin-bottom: var(--space-lg);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 400;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-purple);
  font-weight: 600;
  transition: gap var(--duration-fast) var(--ease-smooth);
}

.service-link:hover {
  gap: var(--space-md);
}

/* Homepage Service Card CTA Button Styling */
.services-core .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, 
    rgba(107, 33, 168, 0.1) 0%, 
    rgba(8, 145, 178, 0.1) 100%);
  border-radius: 12px;
  border: 1px solid rgba(107, 33, 168, 0.2);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
}

.services-core .service-link:hover {
  background: linear-gradient(135deg, 
    rgba(107, 33, 168, 0.15) 0%, 
    rgba(8, 145, 178, 0.15) 100%);
  border-color: rgba(107, 33, 168, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 33, 168, 0.1);
  color: var(--color-primary);
}

/* ========================================
   Statistics Section
   ======================================== */
.stats {
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3xl);
  text-align: center;
}

.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-slow) var(--ease-smooth);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: 900;
  font-family: var(--font-display);
  margin-bottom: var(--space-sm);
  color: var(--color-teal);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: var(--text-lg);
  opacity: 0.9;
}

/* ========================================
   Floating Elements
   ======================================== */
.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite;
}

.shape-circle {
  width: 100px;
  height: 100px;
  background: var(--color-purple);
  border-radius: 50%;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 87px solid var(--color-teal);
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.shape-square {
  width: 80px;
  height: 80px;
  background: var(--color-coral);
  transform: rotate(45deg);
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* ========================================
   Insights Section
   ======================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.insight-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-smooth);
  border: 1px solid var(--neutral-200);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-purple);
}

.insight-date {
  color: var(--color-purple);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.insight-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-sapphire);
}

.insight-excerpt {
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.insight-link {
  color: var(--color-purple);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.insight-link:hover {
  color: var(--color-teal);
  transform: translateX(5px);
  display: inline-block;
}

/* ========================================
   Careers Section
   ======================================== */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.career-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.career-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--gradient-innovation);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-smooth);
  z-index: -1;
}

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

.career-card:hover {
  transform: translateY(-8px);
}

.career-badge {
  display: inline-block;
  background: var(--gradient-innovation);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.career-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-sapphire);
}

.career-description {
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.career-requirements {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.career-requirements li {
  padding: var(--space-sm) 0;
  color: var(--neutral-700);
  font-size: var(--text-sm);
}

.career-cta {
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--neutral-200);
}

.career-cta p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

/* ========================================
   Loading States
   ======================================== */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--neutral-100) 25%,
    var(--neutral-200) 50%,
    var(--neutral-100) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ========================================
   Credibility Bar
   ======================================== */
.credibility-bar {
  background: white;
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  padding: var(--space-2xl) 0;
}

.credibility-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2xl);
}

.credibility-stat {
  text-align: center;
  min-width: 160px;
  flex: 1;
}

.credibility-stat .stat-number {
  display: block;
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-purple);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
}

.credibility-stat .stat-label {
  font-size: var(--text-sm);
  color: var(--neutral-600);
  line-height: 1.4;
  max-width: 160px;
  margin: 0 auto;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--neutral-600);
  line-height: 1.8;
}

/* ========================================
   Products Section
   ======================================== */
.products {
  background: var(--section-bg-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
  max-width: 100%;
}

.product-title {
  color: white;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.product-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-base);
}


/* ========================================
   Why Us Section
   ======================================== */
.why-us {
  background: var(--neutral-50);
  padding: var(--section-flowing) 0;
  border-top: 1px solid var(--section-separator);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
  padding: var(--section-emphasis) 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: white;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

.cta-description {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

.cta-note {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-sapphire);
  color: white;
  padding: var(--space-4xl) 0 var(--space-2xl);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-title {
  color: white;
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--duration-fast) var(--ease-smooth);
}

.footer-social a:hover {
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--duration-fast) var(--ease-smooth);
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact p {
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
}

/* ========================================
   Service Features
   ======================================== */
.service-features {
  list-style: none;
  margin: var(--space-lg) 0;
  font-size: var(--text-sm);
  color: var(--neutral-600);
}

.service-features li {
  margin-bottom: var(--space-sm);
}

/* ========================================
   Utilities
   ======================================== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: var(--space-sm);
}
.mt-2 {
  margin-top: var(--space-md);
}
.mt-3 {
  margin-top: var(--space-lg);
}
.mt-4 {
  margin-top: var(--space-xl);
}
.mt-5 {
  margin-top: var(--space-2xl);
}

.mb-1 {
  margin-bottom: var(--space-sm);
}
.mb-2 {
  margin-bottom: var(--space-md);
}
.mb-3 {
  margin-bottom: var(--space-lg);
}
.mb-4 {
  margin-bottom: var(--space-xl);
}
.mb-5 {
  margin-bottom: var(--space-2xl);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-slow) var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   DM Mono Typography Utilities
   ======================================== */

/* General monospace utility */
.font-mono {
  font-family: var(--font-mono);
}

/* Code snippet styling */
.code-snippet {
  font-family: var(--font-mono);
  font-weight: 400;
  background: rgba(107, 33, 168, 0.05);
  color: var(--color-secondary);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}

/* Data metrics and statistics */
.data-metric {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Technical specifications */
.tech-spec {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--neutral-600);
}

/* Price display enhancement */
.price-display {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Contact information */
.contact-mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ========================================
   Image Styling Classes - Professional
   ======================================== */

/* Hero background image */
.hero-background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Hero visual container */
.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Duplicate definition removed - using main definition at line 660 */

/* Product screenshots */
.product-screenshot {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
  transition: transform 0.3s var(--ease-smooth);
}

.product-screenshot:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   Expertise Section Styles
   ======================================== */

/* Expertise Section Container */
.expertise-section {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(248, 250, 252, 0.9) 100%);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
}

.expertise-companies,
.expertise-tech {
  margin-bottom: 0;
}

.expertise-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.expertise-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-premium);
  border-radius: 2px;
}

/* Company Logos Grid */
.company-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin: var(--space-2xl) 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


/* Technology Logos Horizontal Rows */
.tech-logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}


/* Simplified Logo Containers */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 120px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Logo Image Styling */
.logo-container .logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  opacity: 1;
  margin: auto;
  padding: 0;
}

/* Different sizes for different sections */
.company-logos .logo-container {
  height: 85px;
  width: 130px;
}

.company-logos .logo-container .logo-img {
  width: 80px;
  height: 65px;
}

.tech-logos-row .logo-container {
  height: 80px;
  width: 110px;
}

.tech-logos-row .logo-container .logo-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  display: block;
}

/* Simplified logo styling - no animations or error states */

/* Typewriter Effect Styles */
.typewriter-container {
  text-align: center;
  margin: var(--space-xl) 0;
  font-size: var(--text-xl);
  font-family: var(--font-display);
}

.typewriter-prefix {
  color: var(--color-primary);
  font-weight: 600;
}

.typewriter-text {
  color: var(--color-accent);
  font-weight: 700;
  min-width: 120px;
  display: inline-block;
  text-align: left;
}

.typewriter-cursor {
  color: var(--color-accent);
  font-weight: 700;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Responsive Design - Tech logos now use same styling as company logos */
@media (max-width: 767px) {
  .tech-logos-row {
    gap: var(--space-sm);
    justify-content: center;
  }
  
  .company-logos {
    gap: var(--space-md);
  }
  
  .company-logos .logo-container {
    height: 70px;
    width: 100px;
  }
  
  .company-logos .logo-container .logo-img {
    width: 60px;
    height: 50px;
  }
}

/* Legacy Responsive Design */
@media (min-width: 1200px) {
  .tech-logos-grid {
    grid-template-columns: repeat(8, 1fr);
    max-width: 1400px;
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .logo-placeholder {
    height: 70px;
    width: 110px;
    font-size: var(--text-sm);
  }
}

@media (max-width: 767px) {
  .company-logos {
    gap: var(--space-md);
  }
  
  .logo-placeholder {
    height: 60px;
    width: 95px;
    font-size: var(--text-xs);
  }
  
  .typewriter-container {
    font-size: var(--text-lg);
  }
  
  .expertise-title {
    font-size: var(--text-xl);
  }
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.team-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-smooth);
}

.team-grid img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}


/* Hero credibility enhancement */
.hero-with-credibility {
  background: var(--gradient-hero);
  position: relative;
}

/* Ensure hero content is above background */
.hero .container {
  position: relative;
  z-index: 2;
}

.credibility-enhanced {
  position: relative;
  margin: clamp(1rem, 3vw, 2rem) auto;
  background: rgba(248, 249, 250, 0.72);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: clamp(12px, 3vw, 18px);
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 2;
  display: flex;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  flex-wrap: wrap;
  justify-content: center;
  width: clamp(280px, 95vw, 900px);
  max-width: 100%;
  transition: all 0.3s ease;
}

/* Desktop Stats Positioning - Align with left-positioned content */
@media (min-width: 1024px) {
  .credibility-enhanced {
    margin-left: 10%;
    margin-right: auto;
    justify-content: flex-start;
    width: clamp(400px, 65vw, 850px);
  }
}

@media (max-width: 767px) {
  .credibility-enhanced {
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
    border-radius: 12px;
  }

  .credibility-enhanced .credibility-stat {
    min-width: 0;
    flex: 1 1 calc(50% - 0.5rem);
    padding: 0.375rem 0.5rem;
    text-align: center;
  }

  .credibility-enhanced .stat-number {
    font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  }

  .credibility-enhanced .stat-label {
    font-size: clamp(0.8125rem, 2.75vw, 0.9375rem);
  }
}

.credibility-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 32px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.credibility-enhanced .credibility-stat {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.credibility-enhanced .credibility-stat:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.02);
}

.credibility-enhanced .stat-number {
  color: var(--color-teal);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.credibility-enhanced .stat-label {
  color: var(--neutral-700);
  font-weight: 500;
}

.credibility-enhanced.fade-in {
  animation: glassmorphSlideIn 0.8s ease-out;
}

@keyframes glassmorphSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    backdrop-filter: blur(12px) saturate(180%);
  }
}

@media (max-width: 768px) {
  .credibility-enhanced {
    margin: var(--space-xl) auto;
    min-width: auto;
    padding: var(--space-lg);
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* Enhanced CTA Styling */
.btn-primary-enhanced {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.cta-benefit {
  font-size: var(--text-sm);
  opacity: 0.9;
  font-weight: 400;
}

.risk-mitigation {
  margin: var(--space-lg) 0 var(--space-md);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.international-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

@media (max-width: 768px) {
  .risk-mitigation {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* Hero Visual Anchor Element */
.hero-visual-anchor {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: var(--gradient-glass);
  border-radius: 50%;
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
  animation: floatProfessional 6s ease-in-out infinite;
  opacity: 0.6;
}

.hero-visual-anchor::before {
  content: "";
  position: absolute;
  inset: 20px;
  background: linear-gradient(
    135deg,
    rgba(107, 33, 168, 0.1),
    rgba(8, 145, 178, 0.1)
  );
  border-radius: 50%;
  animation: rotateGlow 12s linear infinite;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive anchor */
@media (max-width: 1200px) {
  .hero-visual-anchor {
    width: 300px;
    height: 300px;
    right: 5%;
  }
}

@media (max-width: 768px) {
  .hero-visual-anchor {
    display: none;
  }
}

/* ========================================
   Transparency & Trust Building Elements
   ======================================== */

/* Transparency Badge */
.transparency-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(107, 33, 168, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-2xl);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.transparency-badge p {
  margin: 0;
  color: var(--neutral-700);
  font-weight: 500;
  font-size: var(--text-sm);
}

/* Insight Badges */
.insight-badge {
  background: rgba(15, 23, 42, 0.9);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 
    0 2px 8px rgba(15, 23, 42, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(107, 33, 168, 0.2);
  transition: all 0.3s ease;
}

/* Refined badge hover effect */
.testimonial-card:hover .insight-badge {
  background: rgba(15, 23, 42, 1);
  box-shadow: 
    0 4px 12px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

/* Commitments Section */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.commitment-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid rgba(107, 33, 168, 0.1);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.commitment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(107, 33, 168, 0.2);
}

.commitment-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

.commitment-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-sapphire);
  margin-bottom: var(--space-sm);
}

.commitment-description {
  color: var(--neutral-700);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.commitment-guarantee {
  background: var(--gradient-success);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  display: inline-block;
}

.commitments-cta {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: rgba(107, 33, 168, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(107, 33, 168, 0.1);
}

.commitment-note {
  margin-bottom: var(--space-lg);
  color: var(--neutral-700);
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .commitments-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .transparency-badge {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .transparency-badge p {
    font-size: var(--text-xs);
  }
}

/* ========================================
   Section Background Alternation System
   ======================================== */

/* Testimonials - light blue-gray for social proof emphasis */
.testimonials {
  background: var(--section-bg-light) !important;
  border-top: 1px solid var(--section-border-subtle);
  border-bottom: 1px solid var(--section-border-subtle);
}

/* Commitments - white for clean promises */
.commitments {
  background: var(--section-bg-white);
}

/* Insights - soft neutral for content focus */
.insights {
  background: var(--section-bg-soft);
  border-top: 1px solid var(--section-border-subtle);
}

/* Careers - subtle purple tint for brand connection */
.careers {
  background: var(--section-bg-accent);
}

/* Why Us - clean white for differentiation */
.why-us {
  background: var(--section-bg-white) !important;
}

/* Add smooth transitions for all sections */
.section,
.expertise-section,
.testimonials,
.commitments,
.insights,
.careers {
  transition: all var(--duration-medium) var(--ease-smooth);
}

/* Subtle gradient overlays for enhanced depth */
.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--section-border-subtle) 50%, 
    transparent 100%);
  pointer-events: none;
}

.insights::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--section-border-subtle) 50%, 
    transparent 100%);
  pointer-events: none;
}

/* Ensure relative positioning for pseudo-elements */
.testimonials,
.insights,
.products {
  position: relative;
}

/* Products section separator - subtle visual break from services */
.products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-accent) 50%, 
    transparent 100%);
  opacity: 0.3;
}
.gradient-text-v2 {
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,      /* Pure white start */
    #E0E7FF 20%,     /* Light lavender */
    #C7D2FE 40%,     /* Soft blue-white */
    #06B6D4 70%,     /* Bright cyan */
    #10B981 100%     /* Bright green */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  /* Add subtle text shadow for better legibility */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  /* Ensure high contrast */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
