/* Premium Professional Styles for PressureWeb Studios */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CRITICAL: Fixed Navigation Header - APPLE LIQUID GLASS STYLE */
.fixed-nav-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 2147483647 !important;
  
  /* Apple Liquid Glass Effect - Like the LIVE METRICS card */
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(40px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
  
  /* Glassmorphism shadow and border */
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.5) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
  
  /* Smooth transitions */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  
  /* GPU acceleration */
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  will-change: box-shadow, background !important;
  
  /* Prevent any margin/padding interference */
  margin: 0 !important;
  padding: 0 !important;
  
  /* Font smoothing */
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  
  /* CRITICAL: Ensure this is ABOVE all content */
  isolation: isolate !important;
}

/* CRITICAL: Prevent sections from overlapping header */
#header-placeholder {
  position: relative !important;
  z-index: 2147483647 !important;
  isolation: isolate !important;
}

/* CRITICAL: Ensure all sections below header don't overlap */
section {
  position: relative !important;
  z-index: 1 !important;
}

/* Background layers should be BELOW everything */
.fixed.inset-0 {
  z-index: -1 !important;
}

/* Logo styling - ensure proper display */
nav img[alt="Chupps Online"] {
  height: 65px !important;
  width: auto !important;
  max-width: 405px !important;
  object-fit: contain !important;
  display: block !important;
}

footer img[alt="Chupps Online"] {
  height: 65px !important;
  width: auto !important;
  max-width: 405px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Hover effect for liquid glass feel */
.fixed-nav-header:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.6) !important;
}

/* Force positioning even if Tailwind interferes */
@supports (position: fixed) {
  .fixed-nav-header {
    position: fixed !important;
  }
}

/* CRITICAL: ALL header elements MUST be clickable */
.fixed-nav-header * {
  position: relative !important;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}

.fixed-nav-header a {
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  position: relative !important;
}

.fixed-nav-header img {
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  position: relative !important;
}

.fixed-nav-header button {
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  position: relative !important;
}

#hamburger-btn {
  position: relative !important;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Ensure mobile menu is also above everything */
#mobileMenu {
  position: relative !important;
  z-index: 9999998 !important;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body {
  overscroll-behavior-y: none;
}

/* Ultra-smooth scroll with custom implementation */
@media (prefers-reduced-motion: no-preference) {
  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2563eb 0%, #4f46e5 100%);
  border-radius: 6px;
  border: 2px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1d4ed8 0%, #4338ca 100%);
}

/* Grid Background Pattern */
.bg-grid-pattern {
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Premium Text Selection */
::selection {
  background-color: #2563eb;
  color: white;
}

::-moz-selection {
  background-color: #2563eb;
  color: white;
}

/* Enhanced Button Animations */
button, a {
  position: relative;
  overflow: hidden;
}

button::before, a.bg-gradient-to-r::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

button:hover::before, a.bg-gradient-to-r:hover::before {
  width: 400px;
  height: 400px;
}

/* Gradient Animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Pulse Glow for CTAs */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
  }
  50% {
    box-shadow: 0 15px 60px rgba(37, 99, 235, 0.5);
  }
}

a[href="#contact"], button[type="submit"] {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Enhanced Focus States */
input:focus, textarea:focus, button:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Loading Spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Slide Up Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale In Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Mobile Menu - BULLETPROOF visibility control */
#mobileMenu {
  /* When NOT hidden - VISIBLE */
  display: block !important;
  max-height: 1000px !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  visibility: visible !important;
}

#mobileMenu.hidden {
  /* When hidden - INVISIBLE */
  display: none !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Card Hover Effects - GPU Accelerated */
/* Disabled per user request - no hover effects on mockup displays
.group:hover {
  transform: translate3d(0, -8px, 0) scale(1.02);
  will-change: transform;
}
*/

/* Shadow Elevation System */
.shadow-3xl {
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

/* Backdrop Blur Support */
@supports (backdrop-filter: blur(10px)) {
  .backdrop-blur-sm {
    backdrop-filter: blur(10px);
  }
  .backdrop-blur-md {
    backdrop-filter: blur(15px);
  }
}

/* Premium Gradient Borders */
.gradient-border {
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
  z-index: -1;
}

/* Smooth Transitions */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

a, button, input, textarea, select {
  transition: all 0.3s ease;
}

/* Icon Animations */
i {
  transition: all 0.3s ease;
}

a:hover i, button:hover i {
  transform: scale(1.15) rotate(5deg);
}

/* Number Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.count-animation {
  animation: countUp 0.6s ease-out;
}

/* Progress Bar Animation */
@keyframes progressBar {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

/* Message Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-enter {
  animation: slideDown 0.4s ease-out;
}

/* Parallax Effect */
.parallax {
  transform-style: preserve-3d;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button Ripple Effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.6s ease-out;
}

/* Tooltip Enhancement */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Performance Optimizations */
.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* Accessibility - Focus Visible */
*:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
  border-radius: 0.5rem;
}

/* Print Styles */
@media print {
  nav, footer, #contact, #pricing {
    display: none;
  }
  
  * {
    background: white !important;
    color: black !important;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  * {
    border-width: 2px;
  }
  
  button, a {
    font-weight: 700;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
  /* Dark mode variables can be added here */
}

/* Typography Enhancement */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  font-weight: 900;
}

p {
  letter-spacing: -0.01em;
}

/* Form Enhancement */
input:autofill,
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset;
  box-shadow: 0 0 0 1000px white inset;
}

/* List Style Enhancement */
ul li {
  list-style: none;
}

/* Image Optimization */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Safe Area Insets */
@supports (padding: env(safe-area-inset-top)) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
  }
}

/* Responsive Font Scaling */
@media (max-width: 640px) {
  html {
    font-size: 14px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 18px;
  }
}

/* Card 3D Effect */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card-3d:hover {
  transform: rotateY(5deg) rotateX(5deg);
}

/* Gradient Text Animation */
@keyframes gradientText {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animate-gradient-text {
  background-size: 200% auto;
  animation: gradientText 3s ease infinite;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Divider with Fade */
.divider-fade {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.1) 20%,
    rgba(0, 0, 0, 0.1) 80%,
    transparent
  );
}

/* Premium Shadow System */
.shadow-premium {
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 25px rgba(0, 0, 0, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Bounce Animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce-slow {
  animation: bounce 3s ease-in-out infinite;
}

/* Blob Animation for Hero Background - GPU Accelerated */
@keyframes blob {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(20px, -50px, 0) scale(1.1);
  }
  50% {
    transform: translate3d(-20px, 20px, 0) scale(0.9);
  }
  75% {
    transform: translate3d(50px, 50px, 0) scale(1.05);
  }
}

.animate-blob {
  animation: blob 20s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Pulse Slow Animation */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

/* Border 3px utility */
.border-3 {
  border-width: 3px;
}

/* ===== APPLE LIQUID GLASS EFFECTS - GLOBAL ===== */

/* Glass Navigation - Enhanced Sticky Effect */
.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px 0 rgba(31, 38, 135, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: box-shadow, background;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.glass-nav:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

/* Glass Badge */
.glass-badge {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Glass Button */
.glass-button {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Glass Card Subtle */
.glass-card-subtle {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.1);
}

/* Glass Card Main (Metrics Card) */
.glass-card-main {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.2);
}

/* Glass Header */
.glass-header {
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Glass Icon */
.glass-icon {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.9), rgba(16, 185, 129, 0.9));
  box-shadow: 0 4px 16px 0 rgba(16, 185, 129, 0.4);
}

/* Glass Metric Card */
.glass-metric-card {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.glass-metric-card:hover {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px 0 rgba(31, 38, 135, 0.15);
}

/* Glass Progress Background */
.glass-progress-bg {
  background: rgba(226, 232, 240, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Glass Footer */
.glass-footer {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Glass Float Elements */
.glass-float {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3));
}

.glass-float-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
}

/* Enhanced Backdrop Blur Support */
@supports (backdrop-filter: blur(20px)) {
  .backdrop-blur-xl {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
  
  .backdrop-blur-2xl {
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
  }
}

/* Glass Service Card */
.glass-service-card {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
}

.glass-service-card:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.2);
}

/* Glass Portfolio Card */
.glass-portfolio-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-portfolio-card:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.25);
}

/* Glass Process Card */
.glass-process-card {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
}

.glass-process-card:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

/* Glass Pricing Card */
.glass-pricing-card {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.glass-pricing-card:hover {
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.25);
}

/* Glass Testimonial Card */
.glass-testimonial-card {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
}

.glass-testimonial-card:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
  .glass-badge,
  .glass-button,
  .glass-card,
  .glass-card-main,
  .glass-service-card,
  .glass-portfolio-card,
  .glass-process-card,
  .glass-pricing-card,
  .glass-testimonial-card {
    background: rgba(255, 255, 255, 0.95);
  }
}

/* Glow Effect */
.glow {
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.glow:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.7);
}

/* Text Shadow Enhancement */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Container Max Width System */
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1920px;
  margin: 0 auto;
}

/* Z-Index System */
.z-dropdown { z-index: 1000; }
.z-sticky { z-index: 1020; }
.z-fixed { z-index: 1030; }
.z-modal-backdrop { z-index: 1040; }
.z-modal { z-index: 1050; }
.z-popover { z-index: 1060; }
.z-tooltip { z-index: 1070; }

/* Utility Classes */
.bg-blur {
  backdrop-filter: blur(8px);
}

.text-balance {
  text-wrap: balance;
}

.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== ADDITIONAL GLASS EFFECTS ===== */

/* Glass Contact Section */
.glass-contact-bg {
  background: rgba(37, 99, 235, 0.95);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}

/* Glass Form Container */
.glass-form {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 20px 60px 0 rgba(31, 38, 135, 0.3);
}

/* Glass Footer */
.glass-footer-bg {
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Glass Trust Bar */
.glass-trust-bar {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Glass Input Fields */
.glass-input {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 2px solid rgba(203, 213, 225, 0.6);
  transition: all 0.3s ease;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Enhanced Mobile Menu Glass */
#mobileMenu.glass-mobile {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* ===== ULTRA-SMOOTH SCROLLING OPTIMIZATIONS ===== */

/* Force GPU acceleration on all animated elements */
.glass-nav,
.glass-badge,
.glass-button,
.glass-card,
.glass-card-main,
.glass-service-card,
.glass-portfolio-card,
.glass-process-card,
.glass-pricing-card,
.glass-testimonial-card {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Optimize transitions for 60fps */
* {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* Remove transition jank */
.transition-all {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth section rendering */
section {
  contain: layout style;
  will-change: auto;
}

/* Force transparent background on benefit CTA links */
a[href="#contact"].inline-flex {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

a[href="#contact"].inline-flex:hover {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Force transparent background on benefit CTA links - no hover effects */
a[href="#contact"].inline-flex {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

a[href="#contact"].inline-flex:hover {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
