/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* Base Colors & Variables */
:root {
  --primary: #0066FF;
  --primary-hover: #0052cc;
  --secondary: #0A2342;
  --accent: #C89B2C;
  --gold: #C89B2C;
  --background: #FFFFFF;
  --foreground: #0F172A;
  
  /* Fonts */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

html, body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background: #FFFFFF;
  color: var(--foreground);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Fluid Typography using CSS clamp() */
h1, .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2, .section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3, .card-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 700;
}

p, .body-text {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
}

.caption {
  font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
  font-weight: 500;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 102, 255, 0.45);
}

/* Tech dot grid pattern */
.tech-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(0, 102, 255, 0.85) 2.2px, transparent 0),
    linear-gradient(to right, rgba(0, 102, 255, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 102, 255, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.002;
}

/* Ambient Glow Meshes */
.mesh-glow {
  display: none !important;
}

@keyframes floatMesh {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(10px, -8px, 0) scale(1.02); }
  100% { transform: translate3d(-6px, 5px, 0) scale(0.98); }
}

/* Levitating Antigravity Logo & Shadows */
@keyframes floatLogo {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes shadowScale {
  0% { transform: scale(1); opacity: 0.15; filter: blur(4px); }
  50% { transform: scale(0.8); opacity: 0.06; filter: blur(5px); }
  100% { transform: scale(1); opacity: 0.15; filter: blur(4px); }
}

.floating-logo-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 9999px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-logo-container:hover {
  transform: scale(1.05);
}

.floating-logo-container::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(168, 85, 247, 0.12), rgba(200, 155, 44, 0.1));
  padding: 1.5px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: ringGlow 3.5s ease-in-out infinite;
}

@keyframes ringGlow {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 8px rgba(0, 102, 255, 0.08); }
  50% { opacity: 0.9; box-shadow: 0 0 22px rgba(0, 102, 255, 0.25), 0 0 10px rgba(168, 85, 247, 0.15); }
}

.floating-logo-img {
  animation: floatLogo 3.8s ease-in-out infinite;
  transform-origin: center;
}

.floating-logo-shadow {
  width: 55%;
  height: 4px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  margin-top: 2px;
  animation: shadowScale 3.8s ease-in-out infinite;
  pointer-events: none;
}

/* Pulsing Launching Soon Badge */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(200, 155, 44, 0.35); }
  70% { box-shadow: 0 0 0 8px rgba(200, 155, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 155, 44, 0); }
}

.pulse-badge {
  animation: pulseGlow 2.5s infinite;
  border-radius: 9999px;
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 
    0 10px 30px rgba(15, 23, 42, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

/* Service Grid Cards (legacy styles) */
.service-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1.5rem;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 16px 32px rgba(0, 102, 255, 0.1);
}

/* Buttons (Glow/Pulse & Scale click feedback) */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #004ecc 100%);
  color: #FFFFFF;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.45);
  transform: translateY(-1px) scale(1.02);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.2);
}

/* Scroll-triggered reveal animation classes */
.reveal-element {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* Modals Overlay Styles with Drawers */
.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  transform: scale(0.95) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Text Gradient Effect */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, #0066FF 70%, #C89B2C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.shine-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.shine-effect:hover::after {
  left: 120%;
}

/* Hide other icons (like chevron) on submit button when loading/disabled */
#btn-submit[disabled] svg:not(#submit-spinner) {
  display: none !important;
}

/* Particles canvas overlay */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* Layout Grid and Structures */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 480px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Mobile Responsive Adjustments (iPhone SE, Tablets, standard devices) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  /* Toggle navbar elements */
  .nav-desktop-links {
    display: none;
  }
  
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    max-width: 320px;
  }
  
  .services-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
  }
  
  /* Touch target sizes */
  input, button, a {
    min-height: 44px;
  }
}

/* ==========================================
   Rotating Seconds Wheel Dial
   ========================================== */
.seconds-holder {
  position: absolute;
  right: 80px; /* Aligns the active digit box near the SEC label overlay */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  height: 1470px;
  width: 1470px;
  border-radius: 50%;
  z-index: 10;
}

@media (max-width: 1280px) {
  .seconds-holder {
    width: 1188px;
    height: 1188px;
    right: 80px;
  }
}

@media (max-width: 1023px) {
  .seconds-holder {
    width: 800px;
    height: 800px;
    right: 80px;
  }
}

@media (max-width: 767px) {
  .seconds-holder {
    width: 600px;
    height: 600px;
    right: 50px;
  }
}

.circle-holder {
  position: relative;
  width: inherit;
  height: inherit;
  clip-path: inset(0 0 0 35%);
  -webkit-clip-path: inset(0 0 0 35%);
  overflow: hidden;
}

.dark_digit {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 111;
  width: inherit;
  height: inherit;
  clip-path: inset(47.2% 4px 47.8% 93.6%);
  -webkit-clip-path: inset(47.2% 4px 47.8% 93.6%);
  overflow: hidden;
}

@media (max-width: 1023px) {
  .dark_digit {
    display: none;
  }
}

.down_opacity_circle {
  position: absolute;
  left: 0;
  top: 0;
  width: inherit;
  height: inherit;
  opacity: 0.15;
}

.seconds-holder .round {
  width: inherit;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center;
}

/* ==========================================
   Staggered Load Fade-in
   ========================================== */
@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-stagger {
  opacity: 0;
  animation: staggerFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 220ms; }
.delay-3 { animation-delay: 360ms; }
.delay-4 { animation-delay: 500ms; }
.delay-5 { animation-delay: 640ms; }
.delay-6 { animation-delay: 780ms; }

/* ==========================================
   Countdown Digit Transition Effects
   ========================================== */
.digit-transition {
  display: inline-block;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.15s ease-out;
}
.digit-out {
  transform: translateY(-8px);
  opacity: 0;
}

/* ==========================================
   Soft Glow for Countdown Digits
   ========================================== */
.shadow-neon-blue {
  text-shadow: 
    0 0 8px rgba(0, 102, 255, 0.4),
    0 0 20px rgba(0, 102, 255, 0.15);
}

/* ==========================================
   Email Shake Error Validation Feedback
   ========================================== */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%, 45%, 75% { transform: translateX(-6px); }
  30%, 60%, 90% { transform: translateX(6px); }
}

.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3) !important;
  animation: shake 0.4s ease-in-out;
}

/* ==========================================
   SVG Success Checkmark Drawing Animations
   ========================================== */
.success-checkmark {
  width: 52px;
  height: 52px;
  margin: 0 auto;
}

.checkmark-svg {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  stroke-width: 2.5;
  stroke: #0066FF;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px rgba(0, 102, 255, 0.05);
  animation: fillCheckmark .4s ease-in-out .4s forwards, scaleCheckmark .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke: #0066FF;
  fill: none;
  animation: strokeCheckoffset 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #0066FF;
  animation: strokeCheckoffset 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeCheckoffset {
  100% { stroke-dashoffset: 0; }
}

@keyframes scaleCheckmark {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fillCheckmark {
  100% { box-shadow: inset 0px 0px 0px 30px rgba(0, 102, 255, 0.05); }
}

/* ==========================================
   Social Icons Hover Bounce/Glow & active feedback
   ========================================== */
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-link:not(.colored-social) {
  color: rgba(15, 23, 42, 0.45);
}

.social-icon-link:hover {
  transform: translateY(-4px) scale(1.12);
  filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.45));
}

.social-icon-link:not(.colored-social):hover {
  color: var(--primary);
}

.social-icon-link:active {
  transform: scale(0.92);
}

/* ==========================================
   Interactive Glow & Particle & Cursor
   ========================================== */
.mesh-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.countdown-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}
.countdown-card:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: rgba(0, 102, 255, 0.25) !important;
  box-shadow: 
    0 20px 40px rgba(0, 102, 255, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

/* Custom Cursor Elements */
.custom-cursor-dot,
.custom-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}
.custom-cursor-outline {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(0, 102, 255, 0.35);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.3s ease, 
              border-color 0.3s ease, 
              opacity 0.3s ease;
}

/* Hide default cursor on desktops when custom cursor is active */
html.custom-cursor-active,
html.custom-cursor-active * {
  cursor: none !important;
}

/* ==========================================
   Premium Background Blobs & Dotted Overlay
   ========================================== */
.bg-dots {
  display: none !important;
}

.dot-grid-decor {
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}

.bg-blob-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  animation: floatBlob 22s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.bg-blob-1 {
  display: none !important;
}

.bg-blob-2 {
  display: none !important;
}

@keyframes floatBlob {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(15px, -20px, 0) scale(1.03); }
  100% { transform: translate3d(-8px, 10px, 0) scale(0.97); }
}

/* ==========================================
   Circular Social Buttons with Brand Hovers
   ========================================== */
.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569; /* Slate-600 */
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.social-icon-link svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), fill 0.3s ease;
  z-index: 2;
}

.social-icon-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.social-icon-link:hover {
  color: #FFFFFF !important;
  border-color: transparent;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.15);
}

.social-icon-link:hover ::before {
  transform: scale(1);
}

/* Default SVG brand colors inside social links */
.social-linkedin svg { color: #0A66C2; }
.social-instagram svg { stroke: url(#ig); }
.social-justdial svg { fill: #03A900; }
.social-facebook svg { color: #1877F2; }
.social-x svg { color: #000000; }
.social-github svg { color: #24292F; }

.social-icon-link:hover svg {
  transform: scale(1.1);
  stroke: #FFFFFF !important;
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* Individual Brand color behaviors */
.social-linkedin:hover::before { background: #0077B5; }
.social-linkedin:hover { box-shadow: 0 10px 20px rgba(0, 119, 181, 0.25); }

.social-instagram:hover::before { 
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
}
.social-instagram:hover { box-shadow: 0 10px 20px rgba(220, 39, 67, 0.25); }

.social-whatsapp:hover::before { background: #25D366; }
.social-whatsapp:hover { box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25); }

.social-justdial:hover::before { background: #03A900; }
.social-justdial:hover { box-shadow: 0 10px 20px rgba(3, 169, 0, 0.25); }

.social-facebook:hover::before { background: #1877F2; }
.social-facebook:hover { box-shadow: 0 10px 20px rgba(24, 119, 242, 0.25); }

.social-x:hover::before { background: #000000; }
.social-x:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); }

.social-github:hover::before { background: #24292F; }
.social-github:hover { box-shadow: 0 10px 20px rgba(36, 41, 47, 0.25); }

/* ==========================================
   Continuous Horizontal Service Tickers
   ========================================== */
/* ==========================================
   Continuous Horizontal Service Tickers (Full-Width Premium Ribbons)
   ========================================== */
.tickers-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  margin-top: 12px;
  margin-bottom: 4px;
  z-index: 20;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85); /* Slightly solid white glass pane */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1.5px solid rgba(0, 102, 255, 0.15); /* Sleek brand borders */
  border-bottom: 1.5px solid rgba(0, 102, 255, 0.15);
  box-shadow: 
    0 4px 20px rgba(0, 102, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tickers-container:hover .ticker-line {
  animation-play-state: paused;
}

.ticker-line {
  display: flex;
  width: max-content;
  animation: ticker-slide 80s linear infinite;
}

.ticker-line-reverse {
  animation-direction: reverse;
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 14px;
}

.ticker-item {
  font-family: var(--font-sans);
  font-size: 11.6px; /* Reduced by 20% from 14.5px */
  font-weight: 700;
  color: #1E293B; /* Slate-800 for strong visibility and contrast */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.ticker-item span {
  color: var(--primary); /* Brand blue diamond */
  font-size: 9px;
  display: inline-flex;
  align-items: center;
}

.ticker-item:hover {
  color: var(--primary); /* Brand blue glow */
  transform: scale(1.03);
}

.ticker-control:hover {
  color: #475569;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================
   Reduced Motion Accessibility Preference
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Floating Mascot Animations */
@keyframes robotWalk {
  0% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-2.5deg); }
  50% { transform: translateY(0px) rotate(0deg); }
  75% { transform: translateY(-4px) rotate(2.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes robotRun {
  0% { transform: translateY(0px) rotate(-4deg); }
  25% { transform: translateY(-6px) rotate(-7deg); }
  50% { transform: translateY(0px) rotate(-4deg); }
  75% { transform: translateY(-6px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(-4deg); }
}

@keyframes robotSit {
  0% { transform: translateY(0px) scaleY(1); }
  50% { transform: translateY(2.5px) scaleY(0.95) rotate(0.5deg); }
  100% { transform: translateY(0px) scaleY(1); }
}

#robot-3d-viewport {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
#robot-3d-viewport canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
  pointer-events: auto;
}

