/**
 * ZerOnes Technologies - Premium International Software Development Agency
 * Design Direction: Linear.app, Vercel, Stripe, Framer Inspired Dark Navy & Deep Black Edition
 * Features: Frosted Glassmorphism, Electric Blue & Subtle Violet Blooms, Spotlight Glows, Responsive Typography
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Surfaces & Backgrounds (Premium Linear/Vercel Dark Navy & Deep Black) */
  --bg-deep: #05070a;
  --bg-dark: #07090e;
  --bg-dark-secondary: #0c101a;
  --bg-card: rgba(13, 18, 28, 0.72);
  --bg-card-hover: rgba(17, 24, 39, 0.92);
  --bg-glass: rgba(11, 15, 25, 0.82);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(56, 189, 248, 0.45);

  /* Brand Accents (Electric Blue, Cyan & Subtle Violet) */
  --primary: #0066ff;
  --primary-light: #38bdf8;
  --primary-glow: rgba(0, 102, 255, 0.35);
  --secondary: #0284c7;
  --secondary-glow: rgba(2, 132, 199, 0.3);
  --accent-purple: #8b5cf6;
  --accent-violet: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Vivid Gradients */
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-cyan: linear-gradient(135deg, #38bdf8 0%, #0066ff 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(180deg, #07090e 0%, #0c101a 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 20%, #cbd5e1 55%, #38bdf8 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);

  /* High-Contrast Readable Text (WCAG AAA / AA Conformant) */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Elevation Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(0, 102, 255, 0.3);
  --shadow-cyan-glow: 0 0 35px rgba(56, 189, 248, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings with high contrast & natural Poppins letter spacing */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0;
}

p {
  color: var(--text-muted);
  font-weight: 400;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: #ffffff;
}

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

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.4);
}

/* Selection Color */
::selection {
  background: rgba(0, 102, 255, 0.35);
  color: #ffffff;
}

/* ========================================================
   ANIMATED AURORA GRADIENT MESH BACKGROUND
======================================================== */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: 0.35;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.ambient-glow-1 {
  width: 650px;
  height: 650px;
  top: -120px;
  left: -150px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.32) 0%, rgba(56, 189, 248, 0.12) 50%, transparent 70%);
}

.ambient-glow-2 {
  width: 600px;
  height: 600px;
  top: 38%;
  right: -160px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -6s;
}

.ambient-glow-3 {
  width: 550px;
  height: 550px;
  bottom: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(0, 102, 255, 0.1) 50%, transparent 70%);
  animation-duration: 28s;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 45px) scale(1.12); }
  100% { transform: translate(-50px, 80px) scale(0.94); }
}

/* Subtle Cyber Grid Pattern Overlay */
.bg-grid-pattern {
  background-size: 44px 44px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Solid Crisp Gradient Text Helper (High-Contrast & Antialiased) */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, #60a5fa 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: inherit;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: inherit;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #0066ff 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: inherit;
}

/* ========================================================
   GLASSMORPHISM CARDS (DARK MODE WITH SPOTLIGHT & SHIMMER)
======================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

/* Shimmer Sweep Animation on Card Hover */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.glass-card:hover::after {
  left: 200%;
  transition: all 0.85s ease;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 102, 255, 0.2);
}

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

/* ========================================================
   TRENDY PILL BADGES & RADAR WAVE
======================================================== */
.badge-pill-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.15);
  position: relative;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  position: relative;
}

.badge-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  animation: radarWave 1.8s infinite;
}

@keyframes radarWave {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ========================================================
   MODERN BUTTONS WITH HOVER GLOW
======================================================== */
.btn-modern-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.45);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}

.btn-modern-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-modern-primary:hover::after {
  left: 200%;
  transition: 0.75s ease;
}

.btn-modern-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.65), 0 0 20px rgba(139, 92, 246, 0.4);
  color: #ffffff !important;
}

.btn-modern-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
}

.btn-modern-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.2);
  color: #38bdf8 !important;
}

.btn-modern-sm,
.btn-sm-modern {
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
  border-radius: 10px !important;
}

/* ========================================================
   HEADER & NAVBAR (LINEAR/VERCEL INSPIRED GLASS NAV)
======================================================== */
.modern-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal);
}

.modern-navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 9, 14, 0.94);
  border-bottom-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.6);
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.navbar-brand-logo img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.nav-link-modern {
  color: #94a3b8 !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 18px !important;
  border-radius: 9999px;
  transition: all var(--transition-fast);
  text-decoration: none !important;
}

.nav-link-modern:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-modern.active {
  color: #ffffff !important;
  background: rgba(0, 102, 255, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.35);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Mobile Navigation Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: #090d16;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1050;
  padding: 30px 24px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 40px rgba(0,0,0,0.7);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #cbd5e1 !important;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all var(--transition-fast);
  text-decoration: none !important;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(0, 102, 255, 0.25);
  color: #ffffff !important;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ========================================================
   HERO SECTION & CANVAS (DEEP FUTURISTIC SPACE AESTHETIC)
======================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 90px 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(0, 102, 255, 0.12) 0%, rgba(7, 9, 14, 0) 75%);
}

.hero-media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-video-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%) scale(1.18);
  pointer-events: none;
  opacity: 0.16;
  filter: saturate(140%) contrast(120%);
  transition: opacity 1.2s ease;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: none;
}

.hero-media-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(7, 9, 14, 0.75) 0%, 
    rgba(7, 9, 14, 0.88) 50%, 
    rgba(7, 9, 14, 0.98) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

#binaryCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 2;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

/* Hero 3D Render Floating Wrapper */
.hero-visual-frame {
  position: relative;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.4), rgba(139, 92, 246, 0.3));
  box-shadow: 0 25px 60px -15px rgba(0, 102, 255, 0.4), 0 0 40px rgba(56, 189, 248, 0.2);
  animation: heroFloat 7s ease-in-out infinite alternate;
}

.hero-visual-frame img {
  border-radius: 22px;
  display: block;
  width: 100%;
}

@keyframes heroFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(1deg); }
}

/* Metrics Strip */
.metrics-strip {
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

.metric-item {
  text-align: center;
  padding: 10px 15px;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: normal;
}

.metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ========================================================
   KINETIC INFINITE TECH MARQUEE TICKER
======================================================== */
.tech-marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  z-index: 2;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.tech-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #07090e, transparent);
}

.tech-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #07090e, transparent);
}

.tech-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  animation: marqueeLoop 38s linear infinite;
  will-change: transform;
}

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

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

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all 0.25s ease;
  user-select: none;
  flex-shrink: 0;
}

.marquee-pill:hover {
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.25);
}

/* ========================================================
   SERVICES SECTION (PREMIUM 8-CARD ARCHITECTURE)
======================================================== */
.services-section {
  padding: 100px 0;
  position: relative;
  background: transparent;
}

.service-card {
  padding: 34px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.service-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 22px;
  background: rgba(0, 102, 255, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.5);
  border-color: transparent;
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 4px 12px;
  border-radius: 8px;
}

/* ========================================================
   PROCESS TIMELINE (4-STEP METHODOLOGY)
======================================================== */
.process-step-card {
  position: relative;
  padding: 34px 28px;
  border-radius: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.process-step-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 102, 255, 0.25);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: inline-block;
}

/* ========================================================
   PORTFOLIO & WORK SHOWCASE
======================================================== */
.portfolio-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 22px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 102, 255, 0.25);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #0f172a;
}

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

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.9) 0%, transparent 75%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-content h5,
.portfolio-content h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* ========================================================
   TESTIMONIALS SECTION
======================================================== */
.testimonial-card {
  padding: 34px 28px;
  border-radius: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  position: relative;
  height: 100%;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 102, 255, 0.15);
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.client-name {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  font-size: 0.98rem;
}

.client-role {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* ========================================================
   FAQ ACCORDION (DARK GLASS)
======================================================== */
.faq-accordion-item {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.faq-accordion-item.active {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.15);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon-chevron {
  transition: transform var(--transition-normal);
  color: #38bdf8;
  font-size: 1.1rem;
}

.faq-accordion-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 26px;
}

.faq-accordion-item.active .faq-answer-body {
  max-height: 500px;
  padding-bottom: 22px;
  transition: max-height 0.45s cubic-bezier(1, 0, 1, 0);
  color: #94a3b8;
}

/* ========================================================
   MODERN FORM CONTROLS (DEEP NAVY INPUTS)
======================================================== */
.modern-form-group {
  margin-bottom: 20px;
  position: relative;
}

.modern-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.modern-form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 13px 18px;
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modern-form-control:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
  color: #ffffff;
}

.modern-form-control::placeholder {
  color: #64748b;
}

select.modern-form-control option {
  background: #0f172a;
  color: #ffffff;
}

/* ========================================================
   FOOTER SECTION (INTERNATIONAL STUDIO SPEC)
======================================================== */
.modern-footer {
  background: #05070a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 85px 0 35px 0;
  position: relative;
  overflow: hidden;
  color: #94a3b8;
}

.footer-brand-desc {
  font-size: 0.94rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 1rem;
  transition: all var(--transition-fast);
  margin-right: 8px;
  margin-bottom: 8px;
}

.social-icon-btn:hover {
  background: var(--gradient-primary);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.footer-bottom-bar {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #64748b;
}

/* ========================================================
   FLOATING ACTION BUTTONS
======================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}

.back-to-top-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.whatsapp-float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.65);
}

/* ========================================================
   GLOBAL TOAST ALERT
======================================================== */
.modern-toast {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 1100;
  min-width: 320px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #ffffff;
  animation: slideToastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-toast.toast-success {
  border-left: 4px solid #10b981;
}

.modern-toast.toast-error {
  border-left: 4px solid #ef4444;
}

@keyframes slideToastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ========================================================
   MODERN INTERACTIVE MODAL (DARK THEME)
======================================================== */
.modern-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modern-modal-container {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 102, 255, 0.2);
  transform: translateY(25px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px 32px;
  position: relative;
}

.modern-modal-overlay.open .modern-modal-container {
  transform: translateY(0) scale(1);
}

.modern-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.1rem;
}

.modern-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg);
}

/* Radiant Animated Conic Border */
.radiant-border-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.3), rgba(139, 92, 246, 0.3));
  padding: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 102, 255, 0.2);
}

.radiant-border-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, #0066ff 90deg, #8b5cf6 180deg, #38bdf8 270deg, transparent 360deg);
  animation: rotateBorder 9s linear infinite;
  z-index: 0;
}

.radiant-border-content {
  position: relative;
  background: #090d16;
  border-radius: 22px;
  z-index: 1;
  height: 100%;
  padding: 36px 32px;
}

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

/* Tech Stack Interactive Tabs (Dark Mode) */
.tech-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.tech-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.tech-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
}

.tech-tab-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.tech-grid-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-normal);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.tech-grid-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 102, 255, 0.2);
}

.tech-grid-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  flex-shrink: 0;
}

/* Interactive Estimator Component (Dark Theme) */
.estimator-step-pill {
  padding: 11px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.estimator-step-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
}

.estimator-step-pill.selected {
  background: rgba(0, 102, 255, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.35);
}

/* ========================================================
   COMPREHENSIVE RESPONSIVENESS (320px - 1440px)
======================================================== */
@media (min-width: 1200px) {
  .container {
    max-width: 1180px;
  }
}

@media (max-width: 991px) {
  .nav-menu-wrapper {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
  }
  .hero-section {
    padding: 120px 0 60px 0;
  }
  .radiant-border-card {
    max-width: 480px;
    margin: 30px auto 0 auto;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 15px;
  }
  .modern-navbar {
    padding: 12px 0;
  }
  .hero-section {
    padding: 100px 0 45px 0;
    text-align: center;
  }
  .hero-title {
    text-align: center !important;
  }
  .hero-description {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-cta-group {
    justify-content: center !important;
  }
  .portfolio-filter-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .portfolio-filter-nav::-webkit-scrollbar {
    display: none;
  }
  .floating-actions-container {
    bottom: 16px;
    right: 16px;
  }
  input, select, textarea, .modern-form-control {
    font-size: 16px !important;
  }
  .modern-modal-container {
    padding: 24px 18px;
  }
}

@media (max-width: 575px) {
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-cta-group .btn-modern-primary,
  .hero-cta-group .btn-modern-secondary {
    width: 100% !important;
    justify-content: center !important;
  }
  .mobile-nav-drawer {
    width: 100%;
    max-width: 100%;
  }
}

/* ========================================================
   UI/UX PRO MAX ANIMATION & MOTION SYSTEM
   ======================================================== */

/* 1. Desktop Interactive Cursor Glow Follower */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.09) 0%, rgba(0, 102, 255, 0.03) 45%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.4s ease;
  will-change: transform;
  opacity: 0;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

/* 2. Interactive Card Specular Glare */
.service-card,
.process-step-card,
.portfolio-card,
.glass-card {
  position: relative;
}

.service-card::after,
.process-step-card::after,
.portfolio-card::after,
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover::after,
.process-step-card:hover::after,
.portfolio-card:hover::after,
.glass-card:hover::after {
  opacity: 1;
}

/* 3. Hero 3D Device Centerpiece & Floating Physics */
.hero-centerpiece-wrapper {
  perspective: 1200px;
}

.hero-device-centerpiece {
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.hero-showcase-img {
  transform: translateZ(10px);
  transition: transform 0.3s ease;
}

.hero-floating-badge {
  transform-style: preserve-3d;
  transform: translateZ(35px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  will-change: transform;
}

.hero-floating-badge:hover {
  transform: translateZ(48px) scale(1.06);
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.45) !important;
}

/* 4. Kinetic Hero Typography Reveal */
.hero-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* 5. Process Timeline Connecting Laser Beam */
.process-timeline-container {
  position: relative;
}

.process-connecting-beam {
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
  overflow: hidden;
  border-radius: 9999px;
}

.process-beam-pulse {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #38bdf8, #0066ff, transparent);
  box-shadow: 0 0 16px #38bdf8, 0 0 8px #0066ff;
  border-radius: 9999px;
  animation: beamLaserSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes beamLaserSweep {
  0% { left: -40%; }
  100% { left: 110%; }
}

/* 6. Accessibility & Reduced Motion Support (UI/UX Pro Max) */
@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;
  }
  .cursor-glow,
  .process-beam-pulse,
  .radiant-border-card::before {
    animation: none !important;
    display: none !important;
  }
  .hero-word,
  .hero-floating-badge,
  .hero-device-centerpiece {
    transform: none !important;
    opacity: 1 !important;
  }
}
