@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Logo-inspired Color Palette: Electric Violet/Indigo to Vivid Cyan/Blue */
  --color-primary: #6366F1;
  --color-primary-hover: #4F46E5;
  --color-secondary: #00C6FF;
  --color-gradient-brand: linear-gradient(135deg, #7C3AED 0%, #4F46E5 50%, #00C6FF 100%);
  --color-gradient-accent: linear-gradient(135deg, #6366F1 0%, #0284C7 100%);
  --color-primary-glow: rgba(99, 102, 241, 0.28);
  --color-secondary-glow: rgba(0, 198, 255, 0.25);
  --color-primary-subtle: rgba(99, 102, 241, 0.08);

  --color-dark: #0B0F19;
  --color-dark-surface: #111827;
  --color-dark-card: #151D30;
  --color-dark-border: #1E293B;
  --color-light-bg: #F8FAFC;
  --color-border: #E2E8F0;
  --color-border-subtle: #F1F5F9;
  --color-text-main: #0F172A;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 20px 40px -15px rgba(99, 102, 241, 0.18), 0 10px 20px -5px rgba(0, 198, 255, 0.1);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Custom Typography Utilities & Balanced Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  font-weight: 700;
  color: inherit;
}

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Brand Text Gradient (Logo match) */
.text-gradient-brand {
  background: var(--color-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #6366F1 0%, #00C6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle tech grid background - Dual Light & Dark */
.bg-tech-grid {
  background-size: 32px 32px;
  background-image:
    linear-gradient(to right, rgba(226, 232, 240, 0.65) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.65) 1px, transparent 1px);
}

.bg-dark-grid {
  background-size: 36px 36px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.bg-dots {
  background-image: radial-gradient(rgba(99, 102, 241, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Glow Elements - Futuristic Neon */
.glow-spot-brand {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(0, 198, 255, 0.15) 40%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.glow-spot-cyan {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.22) 0%, rgba(99, 102, 241, 0.1) 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}

.header-glass {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
  padding-top: 0.9rem !important;
  padding-bottom: 0.9rem !important;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  border-bottom-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 14.5px;
  color: #334155;
  transition: color 0.2s ease;
  padding: 0.25rem 0.6rem;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  color: #4F46E5;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: var(--color-gradient-brand);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Mega Menu Dropdown */
.mega-menu-container {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.group-dropdown:hover .mega-menu-container,
.group-dropdown:focus-within .mega-menu-container {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile Navigation Drawer & Backdrop */
.mobile-nav-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 9998 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  display: none;
}

.mobile-nav-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: block !important;
}

.mobile-nav-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 360px !important;
  background-color: #ffffff !important;
  z-index: 9999 !important;
  transform: translateX(100%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15) !important;
  overflow-y: auto !important;
  display: none;
}

.mobile-nav-drawer.active {
  transform: translateX(0) !important;
  display: flex !important;
}

@media (min-width: 1024px) {
  .mobile-nav-drawer,
  .mobile-nav-backdrop,
  #mobile-drawer,
  #mobile-backdrop {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(100%) !important;
  }
}

/* Premium Button Styles (Indigo & Cyan Logo Theme) - Clean Medium Proportions */
.btn-primary-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--color-gradient-brand);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.35;
}

.btn-primary-brand:hover {
  background: linear-gradient(135deg, #6D28D9 0%, #4338CA 50%, #0284C7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.38), 0 2px 8px rgba(0, 198, 255, 0.22);
  color: #ffffff;
}

.btn-secondary-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.35;
}

.btn-secondary-white:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  color: #4F46E5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background-color: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.35;
}

.btn-outline-dark:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Card Hover Effects */
.tech-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Floating Badges & Tooltips */
.floating-pulse {
  animation: floatPulse 4s ease-in-out infinite;
}

@keyframes floatPulse {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Infinite Marquee */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Process Timeline Connector */
.process-line {
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #E2E8F0, #6366F1, #00C6FF, #E2E8F0);
  z-index: 0;
}

/* Floating Social & Contact Sidebar */
.floating-contact-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.phone-btn {
  background: linear-gradient(135deg, #7C3AED, #0284C7);
}

/* Dashboard UI Mockup Styles */
.dashboard-window {
  background: #0D1322;
  border: 1px solid #1E293B;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 40px -10px rgba(99, 102, 241, 0.25);
  overflow: hidden;
}

.dashboard-header {
  background: #111827;
  border-bottom: 1px solid #1F2937;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Form Styles */
.form-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  color: #1e293b;
  font-size: 15px;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle);
}

.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  color: #1e293b;
  font-size: 15px;
  transition: all 0.2s ease;
  outline: none;
  resize: vertical;
}

.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle);
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background-color: #ffffff;
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

/* Tab Active states */
.tab-btn.active {
  background: var(--color-gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

/* Futuristic Animations & Visual Effects */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatFast {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3), 0 0 60px rgba(0, 198, 255, 0.15);
  }

  50% {
    box-shadow: 0 0 55px rgba(99, 102, 241, 0.55), 0 0 95px rgba(0, 198, 255, 0.35);
  }
}

@keyframes auroraFlow {
  0% {
    transform: translate(0px, 0px) scale(1) rotate(0deg);
    opacity: 0.45;
  }

  33% {
    transform: translate(30px, -40px) scale(1.15) rotate(45deg);
    opacity: 0.65;
  }

  66% {
    transform: translate(-25px, 25px) scale(0.9) rotate(-30deg);
    opacity: 0.5;
  }

  100% {
    transform: translate(0px, 0px) scale(1) rotate(0deg);
    opacity: 0.45;
  }
}

@keyframes scanLine {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  30% {
    opacity: 0.7;
  }

  70% {
    opacity: 0.7;
  }

  100% {
    transform: translateY(800%);
    opacity: 0;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-fast {
  animation: floatFast 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.animate-aurora {
  animation: auroraFlow 14s ease-in-out infinite;
}

.animate-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00C6FF, #6366F1, transparent);
  animation: scanLine 7s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

/* Futuristic Card Spotlight Glow */
.card-spotlight {
  position: relative;
  overflow: hidden;
}

.card-spotlight::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -1000px);
  left: var(--mouse-x, -1000px);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(0, 198, 255, 0.06) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

/* Futuristic Glowing Border Frame */
.cyber-frame {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(99, 102, 241, 0.3), rgba(0, 198, 255, 0.5));
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.35), 0 0 25px rgba(0, 198, 255, 0.18);
  padding: 1px;
}

.cyber-frame-inner {
  border-radius: inherit;
  background: #0B0F19;
  overflow: hidden;
}

/* Futuristic Badge */
.cyber-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(0, 198, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.18);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #00C6FF;
}

/* Scroll Reveal States & Section Entrance Animations */
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.32s;
}

.reveal-delay-4 {
  transition-delay: 0.42s;
}

.reveal-delay-5 {
  transition-delay: 0.52s;
}

/* Section Entrance Base */
.section-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Brand Logo Image Styling - Sleek, Small & Balanced */
.brand-logo-img {
  height: 24px;
  max-height: 25px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .brand-logo-img {
    height: 20px;
    max-height: 21px;
  }
}

/* Testimonials Carousel & Cards */
.testimonial-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   HERO SLIDER STYLES
   ========================================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  background-color: #0B0F19;
}

@media (min-width: 1024px) {
  .hero-slider-container {
    min-height: 780px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  z-index: 2;
  pointer-events: auto;
}

.hero-slide.slide-prev {
  transform: translateX(-50px) scale(0.98);
  opacity: 0;
  visibility: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(0.1, 0.8, 0.2, 1);
  filter: brightness(0.65) contrast(1.1);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 25, 0.94) 0%, rgba(11, 15, 25, 0.82) 45%, rgba(11, 15, 25, 0.45) 100%);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.88) 100%);
  }
}

/* Slide Content Entrance Animations */
.hero-slide .slide-badge {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.hero-slide .slide-title {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.hero-slide .slide-desc {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.hero-slide .slide-ctas {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

.hero-slide .slide-visual {
  opacity: 0;
  transform: scale(0.92) translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-slide.active .slide-badge,
.hero-slide.active .slide-title,
.hero-slide.active .slide-desc,
.hero-slide.active .slide-ctas {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.active .slide-visual {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ==========================================================================
   3D HERO ANIMATED SCENE (RIGHT SIDE BANNER)
   ========================================================================== */
.hero-scene-wrapper {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.scene {
  position: relative;
  width: 100%;
  height: 460px;
  max-width: 520px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Perspective Cyber Grid Floor */
.scene .grid {
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 198, 255, 0.18) 1px, transparent 1px);
  transform: rotateX(68deg) translateZ(-80px);
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.85) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.85) 0%, transparent 75%);
  pointer-events: none;
  animation: sceneGridDrift 20s linear infinite;
}

@keyframes sceneGridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 32px 64px; }
}

/* Ambient Neon Glow Orbs */
.scene .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 1;
}

.scene .glow-a {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(124, 58, 237, 0.2) 60%, transparent 80%);
  top: 5%;
  right: 5%;
  animation: sceneGlowA 7s ease-in-out infinite alternate;
}

.scene .glow-b {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.38) 0%, rgba(14, 165, 233, 0.15) 60%, transparent 80%);
  bottom: 5%;
  left: 5%;
  animation: sceneGlowB 9s ease-in-out infinite alternate;
}

.scene .glow-c {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.32) 0%, transparent 70%);
  top: 35%;
  left: 30%;
  animation: sceneGlowC 6s ease-in-out infinite alternate;
}

@keyframes sceneGlowA {
  0% { transform: translate(0, 0) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-25px, 20px) scale(1.15); opacity: 0.9; }
}

@keyframes sceneGlowB {
  0% { transform: translate(0, 0) scale(1.1); opacity: 0.8; }
  100% { transform: translate(25px, -20px) scale(0.9); opacity: 0.5; }
}

@keyframes sceneGlowC {
  0% { transform: scale(0.85); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0.75; }
}

/* 3D Shapes Base */
.scene .shape {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Twisting 3D Ribbons */
.scene .shape.ribbon {
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(0, 198, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 0 25px rgba(99, 102, 241, 0.25);
  pointer-events: none;
}

.scene .shape.ribbon-a {
  width: 320px;
  height: 110px;
  transform: rotate(-25deg) skewX(-16deg) translateZ(40px);
  animation: ribbonFloatA 8s ease-in-out infinite;
}

.scene .shape.ribbon-b {
  width: 270px;
  height: 90px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(0, 198, 255, 0.12));
  border-color: rgba(0, 198, 255, 0.25);
  transform: rotate(32deg) skewX(14deg) translateZ(-25px);
  animation: ribbonFloatB 10s ease-in-out infinite;
}

@keyframes ribbonFloatA {
  0%, 100% {
    transform: rotate(-25deg) skewX(-16deg) translateZ(40px) translateY(0);
  }
  50% {
    transform: rotate(-22deg) skewX(-12deg) translateZ(55px) translateY(-18px);
  }
}

@keyframes ribbonFloatB {
  0%, 100% {
    transform: rotate(32deg) skewX(14deg) translateZ(-25px) translateY(0);
  }
  50% {
    transform: rotate(36deg) skewX(18deg) translateZ(-10px) translateY(16px);
  }
}

/* Neon Rotating Rings */
.scene .shape.ring {
  border-radius: 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene .shape.ring-a {
  width: 330px;
  height: 330px;
  border: 1.5px dashed rgba(0, 198, 255, 0.45);
  box-shadow: 0 0 35px rgba(0, 198, 255, 0.18), inset 0 0 25px rgba(0, 198, 255, 0.1);
  animation: ringRotateA 24s linear infinite;
  transform: rotateX(62deg) rotateY(20deg) translateZ(10px);
}

.scene .shape.ring-a span {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00C6FF;
  box-shadow: 0 0 16px #00C6FF, 0 0 30px #00C6FF, 0 0 45px #6366F1;
  animation: ringPulseDot 2s ease-in-out infinite alternate;
}

.scene .shape.ring-b {
  width: 240px;
  height: 240px;
  border: 2px solid rgba(99, 102, 241, 0.4);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: ringRotateB 18s linear infinite reverse;
  transform: rotateX(45deg) rotateY(-35deg) translateZ(20px);
}

.scene .shape.ring-b span {
  position: absolute;
  bottom: -6px;
  right: 40%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 16px #A855F7, 0 0 28px #7C3AED;
}

@keyframes ringRotateA {
  0% { transform: rotateX(62deg) rotateY(20deg) rotateZ(0deg) translateZ(10px); }
  100% { transform: rotateX(62deg) rotateY(20deg) rotateZ(360deg) translateZ(10px); }
}

@keyframes ringRotateB {
  0% { transform: rotateX(45deg) rotateY(-35deg) rotateZ(0deg) translateZ(20px); }
  100% { transform: rotateX(45deg) rotateY(-35deg) rotateZ(360deg) translateZ(20px); }
}

@keyframes ringPulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 1; }
}

/* Luminous Glowing Orbs */
.scene .shape.orb {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #00C6FF 28%, #4F46E5 65%, #0B0F19 100%);
  box-shadow: 
    0 0 45px rgba(0, 198, 255, 0.7),
    0 0 90px rgba(99, 102, 241, 0.45),
    inset -12px -12px 30px rgba(0, 0, 0, 0.8),
    inset 8px 8px 24px rgba(255, 255, 255, 0.65);
  animation: orbFloat 6s ease-in-out infinite;
  transform: translateZ(60px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.scene .shape.orb span {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 198, 255, 0.45), transparent);
  animation: orbSpin 8s linear infinite;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translateZ(60px) translateY(0) scale(1);
  }
  50% {
    transform: translateZ(75px) translateY(-14px) scale(1.04);
  }
}

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

.scene .shape.mini-orb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #A855F7 50%, #4F46E5 100%);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.9), 0 0 40px rgba(99, 102, 241, 0.5);
  top: 20%;
  right: 16%;
  animation: miniOrbOrbit 8s ease-in-out infinite;
  z-index: 6;
}

@keyframes miniOrbOrbit {
  0%, 100% {
    transform: translateZ(80px) translate(0, 0) scale(1);
  }
  50% {
    transform: translateZ(110px) translate(-20px, 24px) scale(1.15);
  }
}

/* Floating Glass Cyber Slabs */
.scene .shape.slab {
  position: absolute;
  z-index: 12;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(11, 15, 25, 0.88);
  border: 1px solid rgba(99, 102, 241, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.scene .shape.slab:hover {
  border-color: rgba(0, 198, 255, 0.8);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 198, 255, 0.4);
  transform: translateZ(120px) scale(1.04) !important;
}

.scene .shape.slab-a {
  top: 12%;
  left: 2%;
  transform: translateZ(75px) rotate(-3deg);
  animation: slabFloatA 7s ease-in-out infinite;
}

.scene .shape.slab-b {
  bottom: 10%;
  right: 2%;
  transform: translateZ(95px) rotate(3deg);
  border-color: rgba(0, 198, 255, 0.38);
  animation: slabFloatB 8s ease-in-out infinite;
}

@keyframes slabFloatA {
  0%, 100% {
    transform: translateZ(75px) rotate(-3deg) translateY(0);
  }
  50% {
    transform: translateZ(90px) rotate(-1deg) translateY(-14px);
  }
}

@keyframes slabFloatB {
  0%, 100% {
    transform: translateZ(95px) rotate(3deg) translateY(0);
  }
  50% {
    transform: translateZ(110px) rotate(5deg) translateY(12px);
  }
}

/* Slab Internal Cyber UI */
.slab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
}

.slab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  font-weight: 600;
}

.slab-status {
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.slab-status.live {
  background: rgba(0, 198, 255, 0.15);
  color: #00C6FF;
  border-color: rgba(0, 198, 255, 0.4);
  animation: slabPulseStatus 2s ease-in-out infinite alternate;
}

@keyframes slabPulseStatus {
  0% { opacity: 0.7; }
  100% { opacity: 1; box-shadow: 0 0 10px rgba(0, 198, 255, 0.5); }
}

.slab-metrics {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.slab-val {
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.slab-lbl {
  font-size: 11px;
  color: #94A3B8;
}

.slab-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}

.slab-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6366F1, #00C6FF);
  border-radius: 4px;
  animation: slabProgressAnim 3s ease-in-out infinite alternate;
}

@keyframes slabProgressAnim {
  0% { width: 70%; }
  100% { width: 95%; }
}

/* Floating Interactive Particle Sparks */
.scene .particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.particle-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat infinite linear;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  25% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120px) scale(1.2);
    opacity: 0;
  }
}

/* Slider Controls & Tabs */
.slider-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.slider-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}

.slider-tab-btn.active {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(0, 198, 255, 0.6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.slider-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #6366F1, #00C6FF);
  animation: tabProgress 5.5s linear forwards;
}

@keyframes tabProgress {
  0% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.slider-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #94A3B8;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.slider-counter strong {
  font-size: 18px;
  font-weight: 800;
  color: #00C6FF;
}

.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 10;
}

.slider-arrow-btn:hover {
  background: var(--color-gradient-brand);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
  transform: scale(1.08);
}

.slider-dot {
  position: relative;
  height: 4px;
  width: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.35s ease;
  cursor: pointer;
  overflow: hidden;
}

.slider-dot.active {
  width: 52px;
  background: rgba(255, 255, 255, 0.4);
}

.slider-dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--color-gradient-brand);
  border-radius: inherit;
  animation: dotProgress 5.5s linear forwards;
}

@keyframes dotProgress {
  0% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ==========================================================================
   FLOATING SERVICE CARDS (Overlapping Hero)
   ========================================================================== */
.floating-cards-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -60px;
}

@media (min-width: 1024px) {
  .floating-cards-wrapper {
    margin-top: -80px;
  }
}

.floating-service-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.floating-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 25px 45px -10px rgba(99, 102, 241, 0.2), 0 10px 20px -5px rgba(0, 198, 255, 0.12);
}

.floating-service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gradient-brand);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.floating-service-card:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   PORTFOLIO EDITORIAL GRID
   ========================================================================== */
.portfolio-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #0B0F19;
  border: 1px solid rgba(30, 41, 59, 0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.25);
}

.portfolio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.6) 40%, rgba(11, 15, 25, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 2;
}

/* ==========================================================================
   TESTIMONIAL SLIDER
   ========================================================================== */
.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 32px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 35px -10px rgba(99, 102, 241, 0.15), 0 0 20px rgba(0, 198, 255, 0.08);
}

.star-rating {
  display: inline-flex;
  gap: 3px;
  color: #F59E0B;
}

/* Modern FAQ Accordion */
.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #ffffff;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.06);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  color: var(--color-text-main);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--color-primary);
}

.faq-content {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .process-line {
    display: none;
  }
}