/* ============================================
   PREMIUM DESIGN SYSTEM UPGRADES
   Atlan Digital - Premium Enhancement Layer
   ============================================ */

/* ============================================
   1. ENHANCED CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Premium Font Stack */
  --font-display: 'Space Grotesk', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Enhanced Color Palette */
  --accent-primary: #2D7BFF;
  --accent-secondary: #00F6FF;
  --accent-warm: #FF6B35;
  --accent-glow: rgba(45, 123, 255, 0.4);
  --accent-glow-strong: rgba(45, 123, 255, 0.6);

  /* Refined Grays */
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  /* Premium Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4), 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5), 0 8px 10px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(45, 123, 255, 0.3);
  --shadow-glow-strong: 0 0 60px rgba(45, 123, 255, 0.5);

  /* Animation Timings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Transition Durations */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;
}

/* ============================================
   2. NOISE TEXTURE & MESH GRADIENTS
   ============================================ */

/* Noise Texture Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Mesh Gradient Background */
.mesh-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% -20%, rgba(45, 123, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(0, 246, 255, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 10% 60%, rgba(45, 123, 255, 0.05), transparent),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(255, 107, 53, 0.05), transparent);
  animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-2%, 1%) scale(1.02); }
  50% { transform: translate(1%, -1%) scale(0.98); }
  75% { transform: translate(2%, 2%) scale(1.01); }
}

/* Aurora Effect for Hero */
.aurora-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background:
    radial-gradient(ellipse at 40% 20%, rgba(45, 123, 255, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 246, 255, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 50%, rgba(45, 123, 255, 0.15) 0%, transparent 50%);
  filter: blur(60px);
  animation: auroraMove 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes auroraMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(3%, -3%) rotate(5deg); }
  66% { transform: translate(-3%, 3%) rotate(-5deg); }
}

/* ============================================
   3. ENHANCED TYPOGRAPHY
   ============================================ */

/* Typography Size Adjustments for Space Grotesk */
h1 {
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 600;
}

h2 {
  font-size: 2.2rem;
  line-height: 1.15;
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.page-title {
  font-size: 3rem;
}

.home-hero h1 {
  font-size: 3.2rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .home-hero h1 {
    font-size: 2rem;
  }
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #2D7BFF 50%, #00F6FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
  background: linear-gradient(135deg, #2D7BFF 0%, #00F6FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Text Reveal Animation */
.text-reveal {
  overflow: hidden;
}

.text-reveal .word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s var(--ease-out-expo), opacity 0.8s var(--ease-out-expo);
}

.text-reveal.is-visible .word {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger delays for words */
.text-reveal .word:nth-child(1) { transition-delay: 0ms; }
.text-reveal .word:nth-child(2) { transition-delay: 50ms; }
.text-reveal .word:nth-child(3) { transition-delay: 100ms; }
.text-reveal .word:nth-child(4) { transition-delay: 150ms; }
.text-reveal .word:nth-child(5) { transition-delay: 200ms; }
.text-reveal .word:nth-child(6) { transition-delay: 250ms; }
.text-reveal .word:nth-child(7) { transition-delay: 300ms; }
.text-reveal .word:nth-child(8) { transition-delay: 350ms; }
.text-reveal .word:nth-child(9) { transition-delay: 400ms; }
.text-reveal .word:nth-child(10) { transition-delay: 450ms; }

/* Character animation for hero */
.char-animate .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-40deg);
  transition: all 0.6s var(--ease-out-expo);
}

.char-animate.is-visible .char {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* ============================================
   4. SCROLL-BASED ANIMATIONS
   ============================================ */

/* Fade In Up */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Down */
[data-animate="fade-down"] {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="fade-down"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Left */
[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="fade-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade In Right */
[data-animate="fade-right"] {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="fade-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale Up */
[data-animate="scale-up"] {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="scale-up"].is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Blur In */
[data-animate="blur-in"] {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo);
}

[data-animate="blur-in"].is-visible {
  opacity: 1;
  filter: blur(0);
}

/* Stagger Delays for Children */
[data-stagger] > *:nth-child(1) { transition-delay: 0ms !important; }
[data-stagger] > *:nth-child(2) { transition-delay: 100ms !important; }
[data-stagger] > *:nth-child(3) { transition-delay: 200ms !important; }
[data-stagger] > *:nth-child(4) { transition-delay: 300ms !important; }
[data-stagger] > *:nth-child(5) { transition-delay: 400ms !important; }
[data-stagger] > *:nth-child(6) { transition-delay: 500ms !important; }
[data-stagger] > *:nth-child(7) { transition-delay: 600ms !important; }
[data-stagger] > *:nth-child(8) { transition-delay: 700ms !important; }
[data-stagger] > *:nth-child(9) { transition-delay: 800ms !important; }
[data-stagger] > *:nth-child(10) { transition-delay: 900ms !important; }

/* ============================================
   5. PREMIUM CARD EFFECTS
   ============================================ */

/* 3D Tilt Card */
.premium-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s var(--ease-out-quart);
}

.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-quart);
  pointer-events: none;
}

.premium-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(45, 123, 255, 0.1);
}

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

/* Gradient Border Card */
.gradient-border-card {
  position: relative;
  background: rgba(10, 10, 10, 0.8);
  border-radius: 16px;
  padding: 2px;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(45, 123, 255, 0.5), rgba(0, 246, 255, 0.3), rgba(45, 123, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.gradient-border-card:hover::before {
  opacity: 1;
}

.gradient-border-card__inner {
  background: rgba(10, 10, 10, 0.95);
  border-radius: 14px;
  padding: 2rem;
}

/* Shine Effect */
.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 60%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: none;
  pointer-events: none;
}

.shine-effect:hover::after {
  animation: shine 0.8s ease forwards;
}

@keyframes shine {
  to {
    transform: translateX(100%) rotate(45deg);
  }
}

/* Glass Card Enhanced */
.glass-card-premium {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s var(--ease-out-quart);
}

.glass-card-premium:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(45, 123, 255, 0.1);
  transform: translateY(-4px);
}

/* Apply to existing cards */
.home-service-card,
.blog-card,
.glass-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-quart);
}

/* Ensure anchor-based service cards display correctly */
a.home-service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.home-service-card h3 {
  color: var(--text-primary);
}

a.home-service-card p {
  color: var(--text-secondary);
}

.home-service-card::after,
.blog-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.02) 45%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 55%,
    transparent 60%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: none;
  pointer-events: none;
}

.home-service-card:hover::after,
.blog-card:hover::after {
  animation: shine 0.8s ease forwards;
}

.home-service-card:hover,
.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 123, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(45, 123, 255, 0.1);
}

/* ============================================
   6. ENHANCED BUTTONS
   ============================================ */

/* Premium Button Base */
.cta-button {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-quart);
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cta-button:hover::before {
  opacity: 1;
}

/* Ripple Effect */
.cta-button .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Magnetic Button Effect (Applied via JS) */
.magnetic-button {
  transition: transform 0.3s var(--ease-out-quart);
}

/* Animated Arrow */
.cta-button .arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s var(--ease-out-quart);
}

.cta-button:hover .arrow {
  transform: translateX(4px);
}

/* Glow Pulse on Primary */
.cta-button.primary {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(45, 123, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(45, 123, 255, 0.5); }
}

.cta-button.primary:hover {
  animation: none;
  box-shadow: 0 0 50px rgba(45, 123, 255, 0.6);
}

/* ============================================
   7. CUSTOM CURSOR
   ============================================ */

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s var(--ease-out-quart), opacity 0.3s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.custom-cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
}

.custom-cursor.hovering {
  transform: translate(-50%, -50%) scale(2);
  background: rgba(45, 123, 255, 0.1);
}

.custom-cursor.clicking {
  transform: translate(-50%, -50%) scale(0.8);
}

/* Hide on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }
}

/* ============================================
   8. NAVIGATION ENHANCEMENTS
   ============================================ */

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(45, 123, 255, 0.5);
}

/* Animated Underline for Nav Links */
.desktop-nav a:not(.cta-button) {
  position: relative;
}

.desktop-nav a:not(.cta-button)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.4s var(--ease-out-expo);
}

.desktop-nav a:not(.cta-button):hover::after,
.desktop-nav a:not(.cta-button).active::after {
  width: 100%;
}

/* Header Scroll State */
.site-header {
  transition: all 0.4s var(--ease-out-quart);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 5, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .logo-image {
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out-quart);
}

/* ============================================
   9. HERO SECTION ENHANCEMENTS
   ============================================ */

/* Parallax Container */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.parallax-layer--slow {
  transform: translateY(calc(var(--scroll) * 0.3));
}

.parallax-layer--medium {
  transform: translateY(calc(var(--scroll) * 0.5));
}

.parallax-layer--fast {
  transform: translateY(calc(var(--scroll) * 0.7));
}

/* Floating Animation */
.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.floating-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

/* Hero Label Enhancement */
.hero-label {
  position: relative;
  display: inline-block;
}

.hero-label::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(45, 123, 255, 0.5);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 10px rgba(45, 123, 255, 0);
  }
}

/* Hero Title Animation */
.home-hero h1 {
  position: relative;
}

.home-hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
  border-radius: 2px;
}

/* Chip/Tag Enhancements */
.home-hero__chips span {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out-quart);
}

.home-hero__chips span::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(45, 123, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.home-hero__chips span:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.home-hero__chips span:hover::before {
  transform: translateX(100%);
}

/* ============================================
   10. IMAGE TREATMENTS
   ============================================ */

/* Blur-up Loading */
.image-blur-up {
  filter: blur(20px);
  transition: filter 0.5s ease;
}

.image-blur-up.loaded {
  filter: blur(0);
}

/* Image Hover Zoom */
.image-zoom-container {
  overflow: hidden;
  border-radius: inherit;
}

.image-zoom-container img {
  transition: transform 0.6s var(--ease-out-quart);
}

.image-zoom-container:hover img {
  transform: scale(1.08);
}

/* Image Reveal */
.image-reveal {
  position: relative;
  overflow: hidden;
}

.image-reveal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-core);
  z-index: 1;
  transform-origin: right;
  transition: transform 1s var(--ease-out-expo);
}

.image-reveal.is-visible::before {
  transform: scaleX(0);
}

/* Color Overlay on Hover */
.image-color-overlay {
  position: relative;
}

.image-color-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 123, 255, 0.3), rgba(0, 246, 255, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: overlay;
}

.image-color-overlay:hover::after {
  opacity: 1;
}

/* ============================================
   11. FOOTER ENHANCEMENTS
   ============================================ */

/* Animated Logo */
.site-footer .logo-image {
  transition: all 0.4s var(--ease-out-quart);
}

.site-footer .logo:hover .logo-image {
  filter: drop-shadow(0 0 20px rgba(45, 123, 255, 0.5));
  transform: scale(1.05);
}

/* Social Icons Animation */
.footer-links-list a {
  position: relative;
  overflow: hidden;
}

.footer-links-list a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-primary);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out-expo);
}

.footer-links-list a:hover::before {
  transform: translateX(0);
}

.footer-links-list .footer-icon {
  transition: all 0.3s var(--ease-out-quart);
}

.footer-links-list a:hover .footer-icon {
  transform: scale(1.2) rotate(-5deg);
  stroke: var(--accent-secondary);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(45, 123, 255, 0.2);
  border: 1px solid rgba(45, 123, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-quart);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(45, 123, 255, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

/* ============================================
   12. PAGE TRANSITIONS
   ============================================ */

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-core);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(45, 123, 255, 0.2);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Page Transition Overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg-core);
  z-index: 99998;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-in-out-quart);
}

.page-transition.active {
  transform: translateY(0);
}

/* ============================================
   13. FORM ENHANCEMENTS
   ============================================ */

/* Enhanced Input Focus */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-primary);
  box-shadow:
    0 0 0 3px rgba(45, 123, 255, 0.1),
    0 0 20px rgba(45, 123, 255, 0.2);
}

/* Floating Labels */
.floating-label-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-label-group input,
.floating-label-group textarea {
  padding-top: 1.5rem;
}

.floating-label-group label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  transition: all 0.3s var(--ease-out-quart);
  pointer-events: none;
  color: var(--text-secondary);
}

.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown) + label,
.floating-label-group textarea:focus + label,
.floating-label-group textarea:not(:placeholder-shown) + label {
  top: 0.5rem;
  transform: translateY(0);
  font-size: 0.7rem;
  color: var(--accent-primary);
}

/* ============================================
   14. CUSTOM SCROLLBAR
   ============================================ */

/* Webkit Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(45, 123, 255, 0.3);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 123, 255, 0.5);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 123, 255, 0.3) rgba(255, 255, 255, 0.02);
}

/* ============================================
   15. COUNTER ANIMATION
   ============================================ */

.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.counter.is-counting {
  animation: countPulse 0.1s ease-in-out;
}

@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================
   16. SECTION DIVIDERS
   ============================================ */

.section-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(45, 123, 255, 0.3),
    rgba(255, 255, 255, 0.2),
    rgba(45, 123, 255, 0.3),
    transparent
  );
  margin: 4rem 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(45, 123, 255, 0.5);
}

/* ============================================
   17. TOOL CARDS ENHANCEMENT
   ============================================ */

.home-tools__item {
  position: relative;
  overflow: hidden;
}

.home-tools__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45, 123, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.home-tools__item:hover::before {
  left: 100%;
}

.home-tools__icon {
  transition: all 0.4s var(--ease-out-quart);
}

.home-tools__item:hover .home-tools__icon {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 0 15px rgba(45, 123, 255, 0.5));
}

/* ============================================
   18. SPLIT SECTION ENHANCEMENTS
   ============================================ */

.home-split__media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.home-split__media img {
  transition: transform 0.8s var(--ease-out-quart);
}

.home-split__media:hover img {
  transform: scale(1.05);
}

.home-split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 123, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.home-split__media:hover::after {
  opacity: 1;
}

/* ============================================
   19. WHITEPAPER SECTION
   ============================================ */

.home-whitepaper {
  position: relative;
}

.home-whitepaper__art {
  transition: transform 0.6s var(--ease-out-quart);
}

.home-whitepaper:hover .home-whitepaper__art {
  transform: translateY(-10px) rotate(2deg);
}

/* ============================================
   20. CLIENT LOGOS SECTION
   ============================================ */

.home-clients {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-clients__intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.home-clients__intro strong {
  color: var(--text-primary);
  font-weight: 500;
}

.home-clients__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.home-clients__logo {
  opacity: 0.5;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-clients__logo:hover {
  opacity: 0.85;
}

.home-clients__logo img {
  max-height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.home-clients__logo--text span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.home-clients__logo--anon span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.home-clients__link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-clients__link:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .home-clients__logos {
    gap: 1.5rem 2rem;
  }

  .home-clients__logo img {
    max-height: 26px;
  }

  .home-clients__logo--text span {
    font-size: 0.95rem;
  }
}

/* ============================================
   21. TESTIMONIALS CAROUSEL
   ============================================ */

.home-testimonials {
  padding: 4rem 0;
  background: rgba(45, 123, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-testimonials .o-title {
  text-align: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.home-testimonials__carousel {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.home-testimonials__slides {
  position: relative;
  min-height: 200px;
}

.home-testimonial {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.home-testimonial.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-testimonial p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.home-testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.home-testimonial footer strong {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.home-testimonial footer span {
  font-size: 0.85rem;
  color: var(--accent-primary);
}

.home-testimonials__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.home-testimonials__dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.home-testimonials__dot::before {
  content: '';
  position: absolute;
  inset: -4px -2px;
  border-radius: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.home-testimonials__dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.home-testimonials__dot.active {
  width: 40px;
  background: var(--accent-primary);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.4), 0 0 4px rgba(0, 255, 136, 0.6);
}

@media (max-width: 768px) {
  .home-testimonial p {
    font-size: 1rem;
  }
}

/* ============================================
   22. FOUNDER STATEMENT SECTION
   ============================================ */

.founder-statement-section {
  margin-top: 2rem;
}

.founder-statement__accordion {
  max-width: 900px;
}

.founder-statement {
  padding: 1.5rem 0;
}

.founder-statement__visual {
  margin-bottom: 2rem;
}

.founder-statement__svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.founder-statement h4 {
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin: 2rem 0 1rem;
}

.founder-statement h4:first-of-type {
  margin-top: 1.5rem;
}

.founder-statement h5 {
  font-size: 1rem;
  color: var(--accent-primary);
  margin: 1.5rem 0 0.75rem;
}

.founder-statement p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.founder-statement ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.founder-statement ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.founder-statement em {
  color: var(--text-muted);
  font-style: italic;
}

.founder-statement__link {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-statement__link a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.founder-statement__link a:hover {
  opacity: 0.8;
}

.founder-statement__inline-svg {
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-statement__inline-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

.founder-statement__acronyms {
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-statement__acronyms summary {
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 0;
}

.founder-statement__acronyms summary:hover {
  color: var(--accent-primary);
}

.founder-statement__acronyms-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}

.founder-statement__acronyms-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.founder-statement__acronyms-table td:first-child {
  width: 80px;
  white-space: nowrap;
  color: var(--accent-primary);
}

.founder-statement__acronyms-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   23. LAB STATEMENT ACCORDION
   ============================================ */

.lab-statement {
  margin-bottom: 2rem;
}

.lab-statement__accordion {
  max-width: 900px;
}

.lab-statement__content {
  padding: 1.5rem 0;
}

.lab-statement__content h4 {
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin: 2rem 0 1rem;
}

.lab-statement__content h4:first-of-type {
  margin-top: 1.5rem;
}

.lab-statement__content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.lab-statement__content em {
  color: var(--text-muted);
  font-style: italic;
}

.lab-statement__content strong {
  color: var(--text-primary);
}

.lab-statement__image {
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lab-statement__image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.lab-statement__caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.lab-statement__link {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lab-statement__link a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.lab-statement__link a:hover {
  opacity: 0.8;
}

.lab-statement__hero-svg,
.lab-statement__inline-svg {
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lab-statement__hero-svg svg,
.lab-statement__inline-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   24. ACCORDION ICON STYLES
   ============================================ */

.faq-container details summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-icon {
  flex-shrink: 0;
  color: var(--accent-primary);
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

details[open] .accordion-icon {
  opacity: 1;
  transform: scale(1.1);
}

.faq-container details summary:hover .accordion-icon {
  opacity: 1;
}

/* ============================================
   25. RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  /* Reduce animation intensity on mobile */
  [data-animate] {
    transform: translateY(20px) !important;
  }

  [data-animate].is-visible {
    transform: translateY(0) !important;
  }

  .premium-card:hover {
    transform: translateY(-4px) !important;
  }

  .home-service-card:hover,
  .blog-card:hover {
    transform: translateY(-4px);
  }

  /* Disable parallax on mobile */
  .parallax-layer {
    transform: none !important;
  }

  /* Simpler floating animation */
  .floating {
    animation: floatMobile 4s ease-in-out infinite;
  }

  @keyframes floatMobile {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
}

/* ============================================
   21. REDUCED MOTION
   ============================================ */

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

  .floating,
  .floating-slow {
    animation: none;
  }

  .parallax-layer {
    transform: none !important;
  }
}

/* ============================================
   26. CONTRACTOR PAGE STYLES
   ============================================ */

.contractor-page .contractor-hero {
  min-height: 60vh;
}

.contractor-why__content {
  max-width: 800px;
}

.contractor-why__content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.contractor-why__content strong {
  color: var(--accent-primary);
}

/* Benefits Grid */
.contractor-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 2rem;
}

.contractor-benefits__card {
  background: rgba(12, 18, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.contractor-benefits__card:hover {
  border-color: rgba(45, 123, 255, 0.3);
  transform: translateY(-4px);
}

.contractor-benefits__icon {
  width: 48px;
  height: 48px;
  background: rgba(45, 123, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.contractor-benefits__icon svg {
  color: var(--accent-primary);
}

.contractor-benefits__card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.contractor-benefits__card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Process Timeline */
.contractor-process__timeline {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contractor-process__step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
}

.contractor-process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, rgba(45, 123, 255, 0.1) 100%);
}

.contractor-process__number {
  width: 42px;
  height: 42px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0a0e17;
  flex-shrink: 0;
}

.contractor-process__content h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contractor-process__content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Qualifications Grid */
.contractor-qualifications__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contractor-qualifications__domain {
  background: rgba(12, 18, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
}

.contractor-qualifications__domain h4 {
  font-size: 1rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.contractor-qualifications__domain p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contractor-qualifications__note {
  background: rgba(45, 123, 255, 0.08);
  border: 1px solid rgba(45, 123, 255, 0.2);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.contractor-qualifications__note p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.contractor-qualifications__note strong {
  color: var(--accent-primary);
}

/* Checkbox Grid for Form */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.05);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 1000px) {
  .contractor-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contractor-qualifications__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contractor-benefits__grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .contractor-qualifications__grid {
    grid-template-columns: 1fr;
  }

  .contractor-process__timeline {
    padding: 0 1rem;
  }

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

  .contractor-benefits__card {
    padding: 1.5rem;
  }
}

/* ============================================
   27. TEAM JOIN SECTION
   ============================================ */

.team-join__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-join__card {
  background: rgba(12, 18, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-join__card:hover {
  border-color: rgba(45, 123, 255, 0.3);
  transform: translateY(-4px);
}

.team-join__icon {
  width: 56px;
  height: 56px;
  background: rgba(45, 123, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.team-join__icon svg {
  color: var(--accent-primary);
}

.team-join__card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.team-join__card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.team-join__card .cta-button {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .team-join__grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .team-join__card {
    padding: 1.5rem;
  }
}

/* ============================================
   28. RESPONSIVE PROCESS FLOW
   ============================================ */

.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.process-flow__step {
  background: rgba(12, 18, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  min-width: 160px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.process-flow__step--accent {
  background: rgba(45, 123, 255, 0.15);
  border-color: rgba(45, 123, 255, 0.4);
}

.process-flow__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.process-flow__sublabel {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
}

.process-flow__arrow {
  width: 30px;
  height: 2px;
  background: var(--accent-primary);
  position: relative;
  flex-shrink: 0;
}

.process-flow__arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left: 8px solid var(--accent-primary);
}

@media (max-width: 900px) {
  .process-flow {
    flex-direction: column;
    gap: 0;
  }

  .process-flow__step {
    width: 100%;
    max-width: 280px;
    min-width: unset;
  }

  .process-flow__arrow {
    width: 2px;
    height: 24px;
    background: var(--accent-primary);
  }

  .process-flow__arrow::after {
    right: 50%;
    top: 100%;
    transform: translateX(50%);
    border: 5px solid transparent;
    border-top: 8px solid var(--accent-primary);
    border-left: 5px solid transparent;
  }
}

@media (max-width: 480px) {
  .process-flow__step {
    padding: 1rem 1.25rem;
    min-height: 60px;
  }

  .process-flow__label {
    font-size: 0.9rem;
  }

  .process-flow__sublabel {
    font-size: 0.85rem;
  }
}

/* ============================================
   28. PRINT STYLES
   ============================================ */

@media print {
  .noise-overlay,
  .mesh-gradient,
  .aurora-bg,
  .custom-cursor,
  .custom-cursor-dot,
  .scroll-progress,
  .back-to-top,
  .page-loader {
    display: none !important;
  }
}
