@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --primary-color: #fbbf24;
  --primary-dark: #f59e0b;
  --primary-light: #fcd34d;
  --secondary-color: #fbbf24;
  --accent-color: #fbbf24;
  --dark-bg: #ffffff;
  --dark-surface: #f9fafb;
  --dark-card: #ffffff;
  --text-primary: #000000;
  --text-secondary: #1f2937;
  --text-light: #4b5563;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --black: #000000;
  --yellow: #fbbf24;
  --gradient-primary: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fcd34d 100%);
  --gradient-secondary: linear-gradient(135deg, #fbbf24 0%, #fcd34d 50%, #fef3c7 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(251, 191, 36, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.02) 1px, transparent 1px),
    radial-gradient(at 0% 0%, rgba(251, 191, 36, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(251, 191, 36, 0.05) 0px, transparent 50%);
  background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(251, 191, 36, 0.02) 2px,
      rgba(251, 191, 36, 0.02) 4px
    );
  pointer-events: none;
  z-index: 0;
  /* Removed animation for better performance */
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.8);
  animation: scanline 6s linear infinite; /* Slower for better performance */
  pointer-events: none;
  z-index: 9999;
  will-change: transform, opacity;
}

@keyframes scanline {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0.3;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--black);
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--yellow) 20%, 
    var(--yellow) 80%, 
    transparent);
  animation: navLine 6s ease-in-out infinite;
  will-change: opacity;
}

@keyframes navLine {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.logo-icon {
  width: auto;
  height: 80px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-icon::before,
.logo-icon::after {
  display: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
  margin-right: 8rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--primary-light);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
  /* Removed navGlow animation */
  will-change: width;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  width: 100%;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 20px rgba(251, 191, 36, 0.4),
    0 0 40px rgba(251, 191, 36, 0.2);
  border: 2px solid var(--black);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 8px 30px rgba(251, 191, 36, 0.6),
    0 0 60px rgba(251, 191, 36, 0.3);
  background: var(--primary-light);
  /* Removed buttonPulse animation for better performance */
  will-change: transform, box-shadow;
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  padding: 0.875rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--black);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--black);
  background: var(--yellow);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 8px 30px rgba(251, 191, 36, 0.4),
    0 0 40px rgba(251, 191, 36, 0.2);
  border-color: var(--black);
}

.btn-secondary:hover::before {
  left: 0;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  z-index: 1;
}

.hero-grid {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  animation: gridMove 40s linear infinite; /* Slower for better performance */
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 30px);
  }
}

.hero .tech-orb-1 {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 30s ease-in-out infinite; /* Removed pulse, slower float */
  filter: blur(40px);
  z-index: 0;
  will-change: transform;
}

.hero .tech-orb-2 {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse; /* Removed pulse, slower float */
  filter: blur(40px);
  z-index: 0;
  will-change: transform;
}

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

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  max-width: 900px;
  width: 100%;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  text-shadow: 0 0 80px rgba(251, 191, 36, 0.3);
  position: relative;
}

.hero-text h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
  /* Removed titleLine animation - static is better for performance */
  will-change: width;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-card {
  background: var(--white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: 
    0 20px 60px 0 rgba(0, 0, 0, 0.1),
    0 0 80px rgba(251, 191, 36, 0.1);
  transform: perspective(1000px) rotateY(-3deg) rotateX(3deg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid var(--black);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
  animation: rotate 40s linear infinite; /* Slower rotation */
  will-change: transform;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(45deg, 
    var(--yellow), 
    var(--primary-light), 
    var(--yellow),
    var(--primary-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  /* Removed borderRotate animation - only show on hover */
}

.hero-card:hover::before {
  opacity: 1;
  animation: borderRotate 6s linear infinite; /* Only animate on hover */
}

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

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

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 
    0 30px 80px 0 rgba(251, 191, 36, 0.2),
    0 0 120px rgba(251, 191, 36, 0.25);
}

/* Section Styles */
.section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: block;
  padding: 0.625rem 1.5rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 auto 1rem auto;
  border: 2px solid var(--black);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  width: fit-content;
  text-align: center;
}

.section-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: badgeScan 6s ease-in-out infinite; /* Slower animation */
  will-change: transform;
}

@keyframes badgeScan {
  0% {
    transform: translateX(-100%);
  }
  50%, 100% {
    transform: translateX(100%);
  }
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  position: relative;
  display: block;
  text-align: center;
  width: 100%;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
  /* Removed sectionLine animation - static is better for performance */
}

.section-title h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  position: relative;
  display: block;
  text-align: center;
  width: 100%;
}

.section-title h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Card Styles */
.card {
  background: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--black);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}

.card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(251, 191, 36, 0.1) 50%, 
    transparent 70%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  /* Removed borderGlow animation */
}

.card:hover::after {
  opacity: 0.3; /* Static opacity on hover */
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 40px 0 rgba(251, 191, 36, 0.2),
    0 0 60px rgba(251, 191, 36, 0.15);
  border-color: var(--yellow);
  background: var(--white);
  /* Removed cardPulse animation */
  will-change: transform, box-shadow;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Footer */
.footer {
  background: var(--white);
  color: var(--text-primary);
  padding: 5rem 2rem 2rem;
  margin-top: 5rem;
  border-top: 3px solid var(--black);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  opacity: 1;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--black);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--yellow);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 2px solid var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--black);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--yellow);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: -1;
}

.social-link:hover::before {
  width: 100px;
  height: 100px;
}

.social-link:hover {
  color: var(--black);
  background: var(--yellow);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 
    0 8px 25px rgba(251, 191, 36, 0.4),
    0 0 40px rgba(251, 191, 36, 0.2);
  border-color: var(--black);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Body effects optimization */
  body::before {
    background-size: 100px 100px;
  }

  body::after {
    display: none; /* Disable scanline on mobile for performance */
  }

  /* Navigation */
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1400px;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-top: 2px solid var(--black);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 0;
  }
  
  .btn-primary {
    font-size: 0.95rem;
    padding: 0.875rem 2rem;
    width: 100%;
    justify-content: center;
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
    padding: 2rem 1rem !important;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero h1.text-gradient {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .hero-text h1::after {
    width: 50px;
    height: 3px;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero p {
    font-size: 1rem !important;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-card {
    transform: none; /* Remove 3D transform on mobile */
    padding: 1.5rem;
    border-radius: 20px;
  }

  .hero-card::after {
    display: none; /* Disable rotating gradient on mobile */
  }

  /* Grid pattern optimization */
  .hero-grid {
    background-size: 50px 50px;
    opacity: 0.2;
  }

  /* Sections */
  .section {
    padding: 3rem 1rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .section-title h2::after {
    width: 40px;
    height: 2px;
  }

  .section-title p {
    font-size: 1rem;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  /* Cards */
  .card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .apps-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  #trust-features-grid {
    grid-template-columns: 1fr !important;
  }

  #process-grid {
    grid-template-columns: 1fr !important;
  }

  /* Buttons */
  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    width: 100%;
    justify-content: center;
  }

  /* Quote buttons container - mobile optimization */
  .quote-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .quote-buttons .btn-primary,
  .quote-buttons .btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }

  .quote-buttons .btn-primary:first-child {
    margin-top: 0;
  }

  /* Footer */
  .footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* Tech effects optimization for mobile */
  .tech-particles {
    display: none; /* Disable particles on mobile for performance */
  }

  .data-stream {
    display: none; /* Disable data streams on mobile */
  }

  .hero .tech-orb-1,
  .hero .tech-orb-2 {
    display: none; /* Disable large orbs on mobile */
  }

  /* Touch-friendly interactions */
  .card:active {
    transform: scale(0.98);
  }

  .btn-primary:active,
  .btn-secondary:active {
    transform: scale(0.95);
  }

  /* Optimize animations for mobile */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* Reduce animation intensity on mobile */
  .card:hover {
    transform: translateY(-5px) scale(1.01);
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
  }

  /* Navigation line animation */
  .navbar::after {
    animation-duration: 5s; /* Slower on mobile */
  }

  /* Hero card content optimization */
  .hero-card h2 {
    font-size: 1.5rem !important;
  }

  .hero-card h3 {
    font-size: 1rem !important;
  }

  /* Inline style overrides for mobile */
  [style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }

  [style*="font-size: 1.5rem"] {
    font-size: 1.25rem !important;
  }

  /* CTA Section mobile optimization */
  .section[style*="padding: 4rem 2rem"] {
    padding: 2rem 1rem !important;
  }

  .section h2[style*="font-size: 2.5rem"] {
    font-size: 1.75rem !important;
  }

  .section p[style*="font-size: 1.25rem"] {
    font-size: 1rem !important;
  }

  /* Contact form mobile optimization */
  .contact-form {
    padding: 2rem 1.5rem !important;
  }

  .contact-info-card {
    padding: 1.5rem !important;
  }

  /* Services pricing cards mobile */
  .pricing-card {
    padding: 2rem 1.5rem !important;
  }

  .price {
    font-size: 2rem !important;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.75rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .nav-container {
    padding: 1rem 1.5rem;
    max-width: 1400px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .hero-card {
    padding: 1.25rem;
  }

  .hero-text h1::after {
    width: 40px;
  }

  .section-title h2::after {
    width: 30px;
  }

  .section-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-container {
    padding: 1rem 1.5rem;
    max-width: 1400px;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .btn-primary {
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
  }

  .lang-switcher {
    margin-left: 1rem;
  }

  .hero-content {
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #trust-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #process-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Medium screens */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-container {
    padding: 1.25rem 2rem;
    max-width: 1400px;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .btn-primary {
    padding: 0.7rem 1.4rem;
    font-size: 0.82rem;
  }

  #process-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Removed textShimmer animation for better performance */
  background-size: 100% 100%;
}

.gradient-bg {
  background: var(--gradient-primary);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Tech Particle Effects */
.tech-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.tech-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
  animation: particleFloat 25s linear infinite; /* Slower for better performance */
  will-change: transform, opacity;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* Data Stream Effect */
.data-stream {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(251, 191, 36, 0.5),
    transparent
  );
  animation: dataStream 6s linear infinite; /* Slower for better performance */
  opacity: 0.6;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
  will-change: transform, opacity;
}

.data-stream::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 4px;
  height: 20px;
  background: rgba(251, 191, 36, 0.8);
  box-shadow: 0 0 15px rgba(251, 191, 36, 1);
  animation: dataStreamDot 6s linear infinite; /* Slower for better performance */
  will-change: transform, opacity;
}

@keyframes dataStreamDot {
  0% {
    top: -20px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes dataStream {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Glitch Effect */
@keyframes glitch {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 rgba(251, 191, 36, 0.8);
  clip: rect(0, 900px, 0, 0);
  animation: glitch 2s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: 2px 0 rgba(251, 191, 36, 0.8);
  clip: rect(0, 900px, 0, 0);
  animation: glitch 3s infinite linear alternate-reverse;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1.5rem;
  flex-shrink: 0;
}

.lang-switcher-btn {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  min-width: 45px;
  text-align: center;
}

.lang-switcher-btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.lang-switcher-btn.active {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: 1rem;
    justify-content: center;
  }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--black);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  padding: 2rem;
  animation: slideUp 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

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

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

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cookie-consent-header i {
  font-size: 2rem;
  color: var(--primary-color);
}

.cookie-consent-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.cookie-consent-message {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cookie-consent-settings {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--black);
}

.cookie-setting-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-setting-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-setting-item label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.cookie-setting-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.cookie-setting-item input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-setting-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  margin-left: 2rem;
  line-height: 1.6;
}

.cookie-consent-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cookie-accept,
.btn-cookie-save,
.btn-cookie-decline {
  padding: 0.875rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--black);
  white-space: nowrap;
}

.btn-cookie-accept {
  background: var(--yellow);
  color: var(--black);
}

.btn-cookie-accept:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.btn-cookie-save {
  background: var(--white);
  color: var(--black);
}

.btn-cookie-save:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-cookie-decline {
  background: transparent;
  color: var(--text-primary);
}

.btn-cookie-decline:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 1.5rem;
  }

  .cookie-consent-header h3 {
    font-size: 1.25rem;
  }

  .cookie-consent-message {
    font-size: 0.9rem;
  }

  .cookie-consent-settings {
    padding: 1rem;
  }

  .cookie-consent-buttons {
    flex-direction: column;
  }

  .btn-cookie-accept,
  .btn-cookie-save,
  .btn-cookie-decline {
    width: 100%;
    justify-content: center;
  }
}

