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

:root {
  /* Green Theme Palette */
  --primary-green: #2E7D32;
  --main-green: #4CAF50;
  --light-white: #FFFFFF;
  --tint-green: #C8E6C9;
  --bg-green: #F1F8E9;

  --danger: #D32F2F;
  --text-primary: #1B1B1B;
  --text-secondary: #4E4E4E;

  /* Aliases for compatibility with existing code structure if needed, or straight replacement */
  --primary-blue: var(--primary-green); /* Mapping old main color to new primary */
  --deep-blue: #1b5e20; /* Darker version of primary */
  --darker-blue: #003300;
  --cyan-accent: var(--main-green);
  --cyan-light: var(--tint-green);
  --cyan-bright: #A5D6A7;
  --white: var(--light-white);
  --gray-light: #F9FBE7; /* Slightly tinted off-white */
  --gray-dark: #263238;

  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(46, 125, 50, 0.2);
  --shadow-cyan: rgba(76, 175, 80, 0.3);

  /* Background Colors */
  --bg-primary: var(--bg-green);
  --bg-secondary: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.95);
  --text-muted: #757575;
}

/* Light theme CSS variables removed */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, sans-serif;
  background: var(--bg-green);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.5s ease, color 0.5s ease;
}

/* Light theme body styles removed */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
    max-width: 50px;
    border-radius: 50%;
}
/* Custom Cursor Removed */

/* Particles Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(76, 175, 80, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(46, 125, 50, 0.06) 0%,
      transparent 50%
    );
  transition: opacity 0.5s ease;
}

/* Light theme particles styles removed */

/* Animated Grid Background */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.1;
  background-image: linear-gradient(
      rgba(76, 175, 80, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(76, 175, 80, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: transform;
  transition: opacity 0.5s ease;
}

/* Light theme grid background styles removed */

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

/* Holographic Overlay */
.holographic-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(76, 175, 80, 0.03) 50%,
    transparent 70%
  );
  animation: holographic 12s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: transform, opacity;
  opacity: 0.5;
}

/* Light theme holographic overlay styles removed */

@keyframes holographic {
  0% {
    transform: translateX(-100%) translateY(-100%);
    opacity: 0.3;
  }
  50% {
    transform: translateX(100%) translateY(100%);
    opacity: 0.6;
  }
  100% {
    transform: translateX(-100%) translateY(-100%);
    opacity: 0.3;
  }
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 25s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform, opacity;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
    transform: translateY(90vh) translateX(10px) scale(1);
  }
  90% {
    opacity: 0.6;
    transform: translateY(10vh) translateX(40px) scale(1);
  }
  100% {
    transform: translateY(-10vh) translateX(50px) scale(0.8);
    opacity: 0;
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-8px) rotate(0.5deg) scale(1.01);
  }
  50% {
    transform: translateY(-15px) rotate(1deg) scale(1.02);
  }
  75% {
    transform: translateY(-8px) rotate(0.5deg) scale(1.01);
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px 0;
}

/* Light theme header styles removed */

.header.shrink {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Light theme header shrink styles removed */

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-switcher {
  display: flex;
  gap: 5px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 4px;
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 45px;
}

.lang-btn:hover {
  color: #0f172a;
  background: rgba(99, 102, 241, 0.1);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

/* Light theme lang button styles removed */

/* Theme toggle and theme icon styles removed */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .header {
    padding: 12px 0;
  }

  .header.shrink {
    padding: 8px 0;
  }

  .header .container {
    padding: 0 20px;
    justify-content: space-between; /* Ensure logo and burger are apart */
  }

  /* Professional Side Drawer Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Slide from right */
    left: auto;
    width: 280px; /* Drawer width */
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center; /* Center items vertically */
    align-items: center;
    padding: 80px 20px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border-top: none;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
    left: auto;
  }

  .nav-link {
    margin: 0 0 20px 0;
    font-size: 18px;
    padding: 0;
    color: var(--text-primary);
  }

  .header-actions {
    display: none; /* Hide header actions clearly on mobile/tablet */
  }

  /* Ensure hamburger is above menu and pushed to right */
  .mobile-nav-toggle {
    z-index: 1002;
    margin-left: auto; /* Push to the right end */
  }
}

/* Testimonials Slider Adjustments - Robust Responsive Design */
.testimonials {
  overflow-x: clip; /* Prevent horizontal scroll from buttons */
}

.testimonials-swiper {
  padding: 20px 0 60px !important; /* Add bottom padding for pagination/buttons on mobile */
  position: relative;
}

/* Buttons Styling */
.swiper-button-next,
.swiper-button-prev {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary-blue);
  z-index: 100;
  transition: all 0.3s ease;
  margin-top: -22px; /* True center alignment correction */
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-blue);
  color: white;
  transform: scale(1.1);
}

/* Tablet/Mobile - Buttons below or overlay */
@media (max-width: 1024px) {
  .testimonials-swiper {
    padding-bottom: 70px !important; /* increased space for buttons */
    overflow: hidden !important;
  }

  /* Move controls to bottom center */
  .swiper-button-next,
  .swiper-button-prev {
    top: auto;
    bottom: 10px;
    margin: 0;
  }

  .swiper-button-prev {
    left: calc(50% - 60px);
    right: auto;
  }

  .swiper-button-next {
    right: calc(50% - 60px);
    left: auto;
  }
}

.nav-link {
  color: #0f172a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

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

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

.header-cta {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Light theme header CTA styles removed */

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 110px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #f8fafc 0%,
    #ffffff 25%,
    #f1f5f9 50%,
    #ffffff 75%,
    #f8fafc 100%
  );
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #faf7f4 0%, #fdf8f4 50%, #faf5f0 100%);
  z-index: -1;
  transform: translateY(0) !important;
  will-change: auto;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(139, 92, 246, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(
      135deg,
      transparent 0%,
      rgba(99, 102, 241, 0.03) 50%,
      transparent 100%
    );
  animation: backgroundPulse 10s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: opacity, transform;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  filter: blur(60px);
  animation: floatShape 15s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: transform;
}

.hero-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation-delay: 5s;
  background: #fec996;
  filter: blur(50px);
  opacity: 0.5;
}

.hero-shape.shape-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: 20%;
  animation-delay: 10s;
  background: #fec996;
  filter: blur(45px);
  opacity: 0.4;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(15px, -15px) scale(1.05) rotate(2deg);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1) rotate(3deg);
  }
  75% {
    transform: translate(15px, -15px) scale(1.05) rotate(2deg);
  }
}

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
}

.hero-content {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
  transform: translateY(0) !important;
  will-change: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-blue);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  will-change: transform, opacity;
}

.badge-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.badge-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 28px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.title-highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: 20px;
  color: #475569;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 580px;
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 40px;
  margin-bottom: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  justify-content: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  will-change: transform, opacity;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
  will-change: transform, opacity;
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 600;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  padding-left: 20px;
}

.stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-blue), var(--cyan-accent));
  border-radius: 2px;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 968px) {
  .hero-stats {
    gap: 40px;
    margin-top: 35px;
    margin-bottom: 40px;
    padding-top: 30px;
  }

  .stat-value {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 35px;
    padding-top: 25px;
  }

  /* Footer - Stack Vertically */
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .stat-item {
    flex: 1;
    min-width: 100px;
    padding-left: 15px;
  }

  .stat-value {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    margin-top: 30px;
  }

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

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .stat-item {
    width: 100%;
  }
}

.btn {
  padding: 16px 32px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

/* Light theme button primary styles removed */

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--cyan-accent);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 600px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 968px) {
  .hero-visual {
    height: 450px;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    height: 350px;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    height: 280px;
    min-height: 250px;
  }
}

/* Lottie Animation Containers */
.lottie-animation {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.hero-lottie-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 600px;
  margin: 0 auto;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-lottie-container {
  position: absolute;
  top: 10%;
  right: 2%;
  width: 280px;
  height: 280px;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

.dashboard-lottie-container {
  position: absolute;
  top: 5%;
  left: 2%;
  width: 240px;
  height: 240px;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

/* Removed .about-lottie-container - using advanced .about-lottie-animation instead */

.projects-lottie-container {
  position: absolute;
  top: 10%;
  right: 2%;
  width: 260px;
  height: 260px;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

.pricing-lottie-container {
  position: absolute;
  top: 15%;
  left: 2%;
  width: 280px;
  height: 280px;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

.testimonials-lottie-container {
  position: absolute;
  top: 5%;
  right: 2%;
  width: 240px;
  height: 240px;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

.lottie-icon {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Responsive Lottie Animations */
@media (max-width: 1200px) {
  .hero-lottie-container {
    max-width: 500px;
    height: 500px;
  }

  .features-lottie-container,
  .dashboard-lottie-container,
  .projects-lottie-container,
  .pricing-lottie-container {
    width: 200px;
    height: 200px;
  }

  /* Removed .about-lottie-container responsive styles */

  .testimonials-lottie-container {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 968px) {
  .hero-lottie-container {
    max-width: 400px;
    height: 400px;
  }

  .features-lottie-container,
  .dashboard-lottie-container,
  .projects-lottie-container,
  .pricing-lottie-container,
  .testimonials-lottie-container {
    width: 180px;
    height: 180px;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .hero-lottie-container {
    max-width: 100%;
    height: 300px;
    margin-top: 20px;
  }

  .features-lottie-container,
  .dashboard-lottie-container,
  .projects-lottie-container,
  .pricing-lottie-container,
  .testimonials-lottie-container {
    display: none;
  }

  /* Removed .about-lottie-container mobile styles - using advanced setup */
}

@media (max-width: 480px) {
  .hero-lottie-container {
    height: 250px;
  }

  /* Removed .about-lottie-container small mobile styles */
}

/* Ensure Lottie containers are visible by default */
.hero-lottie-container,
.features-lottie-container,
.dashboard-lottie-container,
.projects-lottie-container,
.pricing-lottie-container,
.testimonials-lottie-container {
  display: block !important;
  opacity: 1;
}

@media (max-width: 968px) {
  .hero-visual {
    height: 450px;
    margin-top: 40px;
  }
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder {
  display: none;
}

.dashboard-preview-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 40px rgba(99, 102, 241, 0.06);
  z-index: 2;
  animation: floatCard 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: transform;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-blue);
  opacity: 0.6;
}

.preview-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.preview-content {
  position: relative;
}

.preview-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 200px;
  padding: 20px 0;
}

.preview-chart .chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-blue), var(--cyan-accent));
  border-radius: 8px 8px 0 0;
  min-width: 30px;
  animation: growBar 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: height, opacity;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 20px rgba(99, 102, 241, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  animation: floatCard 10s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: transform;
}

.floating-card.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 15%;
  left: -15%;
  animation-delay: 2s;
}

.floating-card.card-3 {
  top: 50%;
  right: -5%;
  animation-delay: 4s;
}

.floating-icon {
  font-size: 28px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon svg {
  width: 28px;
  height: 28px;
}

.floating-text {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-10px) rotate(1deg) scale(1.01);
  }
  50% {
    transform: translateY(-20px) rotate(2deg) scale(1.02);
  }
  75% {
    transform: translateY(-10px) rotate(1deg) scale(1.01);
  }
}

@media (max-width: 768px) {
  .floating-card {
    display: none;
  }

  .dashboard-preview-card {
    max-width: 100%;
  }
}

.dashboard-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--primary-blue),
    transparent,
    var(--cyan-accent),
    transparent
  );
  opacity: 0;
  animation: rotate 10s linear infinite;
  transition: opacity 0.3s ease;
}

.dashboard-card:hover::before {
  opacity: 0.1;
}

/* Removed holographic glow - smoother animations */

.dashboard-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 10s linear infinite;
}

.card-glow {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.4),
    rgba(139, 92, 246, 0.3),
    rgba(99, 102, 241, 0.4)
  );
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  animation: advancedGlow 4s ease-in-out infinite;
  filter: blur(12px);
}

.mockup-card:hover .card-glow {
  opacity: 0.8;
  animation: advancedGlow 2s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: 10%;
  width: 200px;
  height: 150px;
  animation-delay: 0s;
}

.card-2 {
  top: 30%;
  right: 15%;
  width: 180px;
  height: 140px;
  animation-delay: 1.5s;
}

.card-3 {
  bottom: 20%;
  left: 20%;
  width: 160px;
  height: 130px;
  animation-delay: 3s;
}

@media (max-width: 968px) {
  .card-1,
  .card-2,
  .card-3 {
    width: 150px;
    height: 120px;
    font-size: 12px;
  }
}

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

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

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.card-content {
  position: relative;
  z-index: 1;
}

.card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-blue);
  opacity: 0.6;
}

.card-icon {
  font-size: 24px;
}

.card-body {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 80px;
  justify-content: center;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-blue), var(--cyan-accent));
  border-radius: 4px 4px 0 0;
  animation: growBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: height, opacity;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
  min-width: 20px;
}

@keyframes growBar {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 5px;
  text-align: center;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.stat-label {
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* Section Styles */
section {
  padding: 50px 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border),
    transparent
  );
  opacity: 0.3;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(99, 102, 241, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(139, 92, 246, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
}

/* Sticky Section Layout removed */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Feature cards animation handled by scroll observer */

/* Regular feature cards (if any outside sticky sections) */
.features-grid .feature-card {
  opacity: 0;
  transform: translateY(30px);
}

.features-grid .feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.15),
    transparent
  );
  transition: left 0.6s ease;
}

.feature-card:hover::after {
  left: 100%;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.08),
    transparent
  );
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover,
.feature-card.card-hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-blue);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.18),
    0 0 25px rgba(99, 102, 241, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.12),
    rgba(139, 92, 246, 0.08)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(99, 102, 241, 0.12);
  position: relative;
  overflow: hidden;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(5deg);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(139, 92, 246, 0.12)
  );
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  color: var(--primary-blue);
  stroke-width: 2;
}

.feature-icon .lottie-icon {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0f172a;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Dashboard Preview Section */
.dashboard-preview {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.dashboard-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 50% 30%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 60%
    ),
    linear-gradient(
      135deg,
      transparent 0%,
      rgba(139, 92, 246, 0.03) 50%,
      transparent 100%
    );
  pointer-events: none;
}

.dashboard-mockup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mockup-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(250, 247, 244, 0.9) 100%
  );
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: 24px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.mockup-card.slide-in-left {
  animation-delay: 0.1s;
  animation: slideInFromLeft 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mockup-card.slide-in-right {
  animation-delay: 0.2s;
  animation: slideInFromRight 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mockup-card.slide-in-up {
  animation-delay: 0.3s;
  animation: slideInFromBottom 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mockup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.08),
    transparent
  );
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.mockup-card:hover::before {
  left: 100%;
}

.mockup-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(99, 102, 241, 0.08),
    transparent,
    rgba(139, 92, 246, 0.06),
    transparent
  );
  opacity: 0;
  animation: rotateBorder 10s linear infinite;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.mockup-card:hover::after {
  opacity: 0.6;
}

.mockup-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.18),
    0 0 0 1px rgba(99, 102, 241, 0.12) inset,
    0 15px 50px rgba(139, 92, 246, 0.1), 0 0 40px rgba(99, 102, 241, 0.08);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(250, 247, 244, 0.98) 100%
  );
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
  20% {
    transform: translate(-2px, 2px);
    filter: hue-rotate(90deg);
  }
  40% {
    transform: translate(-2px, -2px);
    filter: hue-rotate(180deg);
  }
  60% {
    transform: translate(2px, 2px);
    filter: hue-rotate(270deg);
  }
  80% {
    transform: translate(2px, -2px);
    filter: hue-rotate(360deg);
  }
}

/* Removed duplicate hover style - using the enhanced one above */

/* Removed conflicting slide classes - using animation delays instead */

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes smoothCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px) translateY(20px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(60px) translateY(20px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

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

@keyframes advancedGlow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
    filter: blur(12px);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
    filter: blur(15px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textSlide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes valueItemEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.02) rotate(2deg);
  }
  50% {
    transform: scale(1.05) rotate(0deg);
  }
  75% {
    transform: scale(1.02) rotate(-2deg);
  }
}

@keyframes imageFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-7px) scale(1.01);
  }
  50% {
    transform: translateY(-15px) scale(1.02);
  }
  75% {
    transform: translateY(-7px) scale(1.01);
  }
}

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

@keyframes imageWrapperFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-10px) rotate(0.5deg) scale(1.01);
  }
  50% {
    transform: translateY(-20px) rotate(1deg) scale(1.02);
  }
  75% {
    transform: translateY(-10px) rotate(0.5deg) scale(1.01);
  }
}

@keyframes decorationPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  25% {
    opacity: 0.75;
    transform: scale(1.05);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.1);
  }
  75% {
    opacity: 0.75;
    transform: scale(1.05);
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-2px) scale(1.01);
  }
  50% {
    transform: translateY(-5px) scale(1.02);
  }
  75% {
    transform: translateY(-2px) scale(1.01);
  }
}

@keyframes aboutHeaderFade {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes statsEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes headerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

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

@keyframes growBar {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

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

@keyframes metricSlide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes buttonEntrance {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  animation: headerFadeIn 0.7s ease-out 0.4s both;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.8),
    rgba(139, 92, 246, 0.6)
  );
  opacity: 0.8;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  animation: dotPulse 2s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-dots span:nth-child(1) {
  animation-delay: 0s;
}

.mockup-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.mockup-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.mockup-card:hover .mockup-dots span {
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
}

.mockup-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(139, 92, 246, 0.1)
  );
  border-radius: 12px;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: iconFloat 3s ease-in-out infinite;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.mockup-card:hover .mockup-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.25),
    rgba(139, 92, 246, 0.2)
  );
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mockup-icon svg {
  width: 18px;
  height: 18px;
}

.mockup-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.mockup-content {
  position: relative;
  z-index: 1;
  animation: contentFadeIn 0.8s ease-out 0.5s both;
}

@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.analytics-bar {
  height: 10px;
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.8) 0%,
    rgba(139, 92, 246, 0.7) 50%,
    rgba(99, 102, 241, 0.8) 100%
  );
  border-radius: 8px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
  animation: growBar 1.2s ease-out, shimmerBar 3s ease-in-out infinite;
}

.analytics-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s ease-in-out infinite;
}

.mockup-card:hover .analytics-bar {
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  transform: scaleY(1.1);
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  animation: metricSlide 0.6s ease-out both;
}

.metric-item:nth-child(1) {
  animation-delay: 0.1s;
}
.metric-item:nth-child(2) {
  animation-delay: 0.2s;
}
.metric-item:nth-child(3) {
  animation-delay: 0.3s;
}

.metric-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.6),
    rgba(139, 92, 246, 0.4)
  );
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.metric-item:hover::before {
  transform: scaleY(1);
}

.metric-item:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.05), transparent);
  border-radius: 8px;
}

.metric-item:last-child {
  border-bottom: none;
}

.metric-label {
  color: #64748b;
  font-size: 14px;
}

.metric-value {
  color: var(--primary-blue);
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 1),
    rgba(139, 92, 246, 0.8)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: valuePulse 2s ease-in-out infinite;
}

.action-button {
  padding: 14px 24px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.08)
  );
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  margin-bottom: 12px;
  text-align: center;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  animation: buttonEntrance 0.5s ease-out both;
}

.action-button:nth-child(1) {
  animation-delay: 0.1s;
}
.action-button:nth-child(2) {
  animation-delay: 0.2s;
}
.action-button:nth-child(3) {
  animation-delay: 0.3s;
}

.action-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.action-button:hover::before {
  width: 300px;
  height: 300px;
}

.action-button:hover {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(139, 92, 246, 0.15)
  );
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
  color: rgba(99, 102, 241, 1);
}

/* About Section - Complete Modern Redesign */
.about {
  background: transparent;
  position: relative;
  padding: 40px 0 40px 0;
  overflow: hidden;
}

/* Mission Section - HubSpot Style */
.about-mission {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.about-mission-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0f172a 0%, rgba(99, 102, 241, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-mission-text {
  font-size: 20px;
  line-height: 1.8;
  color: #475569;
  max-width: 800px;
  margin: 0 auto;
}

/* Story Section - HubSpot Style */
.about-story {
  margin-bottom: 100px;
  padding: 0 20px;
}

.about-story-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 40px;
  text-align: center;
}

.about-story-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-story-text {
  font-size: 18px;
  line-height: 1.8;
  color: #334155;
  padding-right: 20px;
}

.about-story-text p {
  margin-bottom: 24px;
}

.about-story-text p:last-child {
  margin-bottom: 0;
}

/* Stats Section - HubSpot Style */
.about-stats-section {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  margin: 0 auto;
  max-width: 1200px;
}

.about-stats-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 60px;
  text-align: center;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-stat-card {
  text-align: center;
}

.about-stat-card .stat-number {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 1),
    rgba(139, 92, 246, 0.8)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.2;
}

.about-stat-card .stat-label {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.about-stat-card .stat-link {
  font-size: 14px;
  color: rgba(99, 102, 241, 1);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.about-stat-card .stat-link:hover {
  color: rgba(99, 102, 241, 0.8);
  text-decoration: underline;
}

/* Responsive styles moved to new About section styles above */

.about-image-wrapper {
  position: relative;
}

.about-image {
  position: relative;
  height: 500px;
  width: 100%;
  display: flex;
  align-items: stretch;
  transform: none !important;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.about-image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(139, 92, 246, 0.15)
  );
  border-radius: 30px;
  z-index: -1;
  filter: blur(20px);
  animation: decorationPulse 4s ease-in-out infinite;
}

/* Duplicate removed - using the one above */

.about-image-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 1;
  display: block;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@keyframes imageFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 968px) {
  .about-image-content {
    max-width: 100%;
    max-height: 100%;
  }
}

@media (max-width: 768px) {
  .about-image-content {
    max-width: 100%;
    max-height: 100%;
  }
}

@media (max-width: 480px) {
  .about-image-content {
    max-width: 100%;
    max-height: 100%;
  }
}

.lottie-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(250, 247, 244, 0.2) 100%
  );
  z-index: 3;
  pointer-events: none;
  border-radius: 30px;
  mix-blend-mode: overlay;
}

@keyframes lottieFadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
}

@keyframes lottieFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% {
    transform: translateY(-15px) rotate(0deg);
  }
  75% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

.image-placeholder:hover {
  transform: scale(1.02);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.15),
    0 0 0 1px rgba(99, 102, 241, 0.2) inset;
}

.image-glow {
  display: none;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  25% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.65;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
  75% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.65;
  }
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  animation: float-shape 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: transform;
}

.floating-shape.orange {
  background: #fec996;
  opacity: 0.6;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
  background: #fec996;
  opacity: 0.7;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 60%;
  left: 60%;
  animation-delay: 4s;
  background: #fec996;
  opacity: 0.6;
}

@keyframes float-shape {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(10px, -10px) scale(1.05);
  }
  50% {
    transform: translate(20px, -20px) scale(1.1);
  }
  75% {
    transform: translate(10px, -10px) scale(1.05);
  }
}

.about-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(250, 247, 244, 0.85)
  );
  border-radius: 24px;
  border: 2px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.08);
  backdrop-filter: blur(20px);
  animation: statsEntrance 1s ease-out 0.6s both;
}

.about-stat {
  flex: 1;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: 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);
}

.about-stat.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(99, 102, 241, 0.2),
    transparent
  );
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 1),
    rgba(139, 92, 246, 0.8)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-text {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  padding: 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(250, 247, 244, 0.9) 100%
  );
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(20px);
  animation: valueItemEntrance 0.8s ease-out both;
}

.value-item:nth-child(1) {
  animation-delay: 0.2s;
}
.value-item:nth-child(2) {
  animation-delay: 0.4s;
}
.value-item:nth-child(3) {
  animation-delay: 0.6s;
}
.value-item:nth-child(4) {
  animation-delay: 0.8s;
}

.value-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--cyan-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-item:hover::before {
  transform: scaleX(1);
}

.value-item:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2),
    0 0 0 1px rgba(99, 102, 241, 0.2) inset,
    0 12px 40px rgba(139, 92, 246, 0.15);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(250, 247, 244, 0.98) 100%
  );
}

.value-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(139, 92, 246, 0.1)
  );
  border-radius: 18px;
  color: var(--primary-blue);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid rgba(99, 102, 241, 0.2);
  position: relative;
  animation: iconPulse 3s ease-in-out infinite;
}

.value-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(139, 92, 246, 0.2)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  filter: blur(8px);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.value-item:hover .value-icon {
  transform: scale(1.15) rotate(8deg);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.25),
    rgba(139, 92, 246, 0.2)
  );
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.value-item:hover .value-icon::after {
  opacity: 1;
}

.value-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f172a;
  font-weight: 700;
}

.value-item p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Projects Section */
.projects {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(139, 92, 246, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(99, 102, 241, 0.08) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }
  100% {
    transform: translateX(100%) translateY(100%);
  }
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover,
.project-card.card-hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary-blue);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.22),
    0 0 30px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.project-thumbnail {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08),
    rgba(139, 92, 246, 0.15)
  );
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumbnail {
  transform: scale(1.05);
}

.thumbnail-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.2), transparent);
  animation: rotate 8s linear infinite;
}

.project-image {
  font-size: 64px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1) rotate(5deg);
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #0f172a;
  position: relative;
  z-index: 1;
}

.project-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.project-button {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 2px solid var(--cyan-accent);
  border-radius: 8px;
  color: var(--primary-blue);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.project-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-blue);
  transition: left 0.3s ease;
  z-index: -1;
}

.project-button:hover {
  color: #ffffff;
}

.project-button:hover::before {
  left: 0;
}

/* Pricing Section */
.pricing {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 50% 20%,
      rgba(99, 102, 241, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(139, 92, 246, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(30px);
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--cyan-accent),
    transparent
  );
  opacity: 0;
  animation: rotate 8s linear infinite;
  transition: opacity 0.3s ease;
}

.pricing-card:hover::after {
  opacity: 0.1;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-accent), var(--cyan-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.pricing-card:hover,
.pricing-card.card-hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary-blue);
  box-shadow: 0 18px 60px rgba(99, 102, 241, 0.22),
    0 0 35px rgba(99, 102, 241, 0.18);
  background: rgba(255, 255, 255, 0.95);
}

.pricing-card.featured {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.28),
    0 0 30px rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.95);
}

/* Light theme pricing card featured styles removed */

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.1), transparent);
  animation: rotate 15s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pricing-card:hover .pricing-glow {
  opacity: 1;
}

.pricing-header {
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.currency {
  font-size: 24px;
  color: var(--primary-blue);
  font-weight: 600;
}

.amount {
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.period {
  font-size: 16px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 12px 0;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  animation: checkPop 0.5s ease;
}

.check-icon svg {
  width: 12px;
  height: 12px;
}

@keyframes checkPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.pricing-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-accent));
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pricing-button::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;
}

.pricing-button:hover::before {
  width: 300px;
  height: 300px;
}

.pricing-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Testimonials Section */
.testimonials {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 70% 30%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 30% 70%,
      rgba(139, 92, 246, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
}

/* Testimonials Carousel - HubSpot Style */
/* Swiper Testimonials Styles */
.testimonials-swiper {
  max-width: 900px;
  margin: 60px auto 40px;
  padding: 0 80px 60px;
  position: relative;
}

.testimonial-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  height: auto;
}

/* Swiper Navigation Buttons */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--primary-blue);
  transition: all 0.3s ease;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}

.testimonials-swiper .swiper-button-next {
  right: 10px;
}

.testimonials-swiper .swiper-button-prev {
  left: 10px;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.testimonials-swiper .swiper-button-next:after,
.testimonials-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: 700;
}

/* Swiper Pagination */
.testimonials-swiper .swiper-pagination {
  bottom: 0;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(99, 102, 241, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: rgba(99, 102, 241, 1);
  width: 24px;
  border-radius: 4px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* Old carousel styles removed - using Swiper now */

/* Footer */
.footer {
  background: transparent;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.3),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #0f172a;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-blue);
  transform: translateX(5px);
}

.footer-links a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

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

.social-icon:hover {
  color: #ffffff;
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  transform: translateY(-3px) rotate(5deg);
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

/* Light theme social icon hover styles removed */

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyan-accent),
    transparent
  );
  margin: 40px 0 30px;
  opacity: 0.3;
}

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

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

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

/* Sparkle Effect */
.sparkle {
  position: absolute;
  font-size: 20px;
  pointer-events: none;
  animation: sparkle-animation 0.5s ease-out;
  z-index: 10;
}

@keyframes sparkle-animation {
  0% {
    transform: translate(0, 0) scale(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(30px, -30px) scale(1) rotate(180deg);
    opacity: 0;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Removed scan line - too distracting */

/* Removed glitch animation - too jarring */

/* Morphing Animation */
@keyframes morphCard {
  0% {
    transform: translateX(50px) scale(0.9) rotateY(-10deg);
    opacity: 0;
  }
  50% {
    transform: translateX(0) scale(1.02) rotateY(5deg);
  }
  100% {
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
  }
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }

  .about-story-content {
    gap: 50px;
  }

  .testimonials-swiper {
    max-width: 100%;
    padding: 0 50px 50px;
  }

  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    height: 400px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .dashboard-mockup {
    grid-template-columns: 1fr;
  }

  .about-story-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

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

  .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .features-grid,
  .projects-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Sticky Sections Mobile - removed */

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .social-icons {
    justify-content: center;
  }

  /* About Section Mobile */
  .about {
    padding: 80px 0;
  }

  .about-mission-title {
    font-size: 32px;
  }

  .about-mission-text {
    font-size: 16px;
  }

  .about-story-title {
    font-size: 28px;
  }

  .about-story-text {
    font-size: 16px;
  }

  .about-image {
    height: 400px;
  }

  .about-stats-section {
    padding: 60px 20px;
  }

  .about-stats-title {
    font-size: 28px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stat-card .stat-number {
    font-size: 48px;
  }

  /* Testimonials Mobile */
  .testimonials-swiper {
    padding: 0 50px 50px;
    margin: 40px auto 30px;
  }

  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .testimonials-swiper .swiper-button-next {
    right: 5px;
  }

  .testimonials-swiper .swiper-button-prev {
    left: 5px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-text {
    font-size: 16px;
    line-height: 1.7;
  }

  /* Feature Cards Mobile */
  .feature-card {
    padding: 24px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .feature-card p {
    font-size: 14px;
  }

  /* Project Cards Mobile */
  .project-card {
    padding: 24px;
  }

  /* Pricing Cards Mobile */
  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-price .amount {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* Mobile Navigation Toggle Styles */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001; /* Above nav-menu */
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-primary);
  border-radius: 3px;
}

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

/* Hamburger Animation */
.mobile-nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.no-scroll {
  overflow: hidden;
}

/* ============================================
   MOBILE OPTIMIZATIONS (≤480px)
   ============================================ */

@media (max-width: 480px) {
  /* Hero Section - Stack vertically */
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content {
    text-align: center;
  }

  /* Scale hero title for small screens */
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-badge {
    justify-content: center;
    margin-bottom: 20px;
    font-size: 13px;
    padding: 8px 16px;
  }

  /* Reduce hero subtitle font size */
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 100%;
  }

  /* Stack stats vertically */
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
    margin-bottom: 30px;
    padding-top: 20px;
    justify-content: center;
  }

  .stat-item {
    width: 100%;
    padding-left: 0;
    text-align: center;
  }

  .stat-item::before {
    display: none;
  }

  /* Scale stat values for mobile */
  .stat-value {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  /* Full-width buttons with touch targets */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    min-height: 44px;
    justify-content: center;
  }

  .btn {
    font-size: 15px;
    padding: 14px 20px;
    min-height: 44px;
    border-radius: 8px;
  }

  /* Features Section - Single column grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  /* Hide secondary decorative Lottie animations */
  .features-lottie-container,
  .dashboard-lottie-container,
  .projects-lottie-container,
  .pricing-lottie-container,
  .testimonials-lottie-container {
    display: none !important;
  }

  /* Dashboard Section - Single column */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dashboard-mockup {
    padding: 20px;
  }

  .dashboard-mockup h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .dashboard-mockup p {
    font-size: 13px;
  }

  /* About Section - Stack vertically */
  .about .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .about-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .about-image {
    max-width: 100%;
    height: auto;
  }

  /* Projects Section - Single column */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card {
    padding: 20px;
  }

  .project-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  /* Pricing - Single column cards */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .price-value {
    font-size: 28px;
  }

  .price-label {
    font-size: 13px;
  }

  .pricing-features li {
    font-size: 13px;
    margin-bottom: 10px;
  }

  /* Testimonials - Single column */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .testimonial-author {
    font-size: 12px;
  }

  /* Section titles - Responsive scaling */
  .section-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* Contact Form */
  .contact-form {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 12px;
    width: 100%;
  }

  .form-group textarea {
    min-height: 120px;
  }

  /* Remove animations for reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* ============================================
   TABLET OPTIMIZATIONS (481px - 1024px)
   ============================================ */

@media (max-width: 1024px) and (min-width: 481px) {
  /* Hero Section - Adjusted spacing */
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero .container {
    gap: 40px;
  }

  /* Scale hero title for tablets */
  .hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
  }

  /* Adjust stats layout for tablets */
  .hero-stats {
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .stat-value {
    font-size: 32px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* Tablet button layout */
  .hero-buttons {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    padding: 16px 28px;
    font-size: 15px;
    min-height: 44px;
  }

  /* Features - 2-3 columns on tablet */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 13px;
  }

  /* Hide decorative animations on tablet */
  .features-lottie-container,
  .dashboard-lottie-container,
  .projects-lottie-container,
  .pricing-lottie-container,
  .testimonials-lottie-container {
    display: none !important;
  }

  /* Dashboard - 2 columns on tablet */
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .dashboard-mockup {
    padding: 24px;
  }

  .dashboard-mockup h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* About Section - Side by side with adjusted gap */
  .about .container {
    gap: 40px;
  }

  .about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .about-content p {
    font-size: 15px;
  }

  /* Projects - 2 columns on tablet */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .project-card {
    padding: 22px;
  }

  /* Pricing - 2-3 columns on tablet */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-card {
    padding: 28px;
  }

  .price-value {
    font-size: 32px;
  }

  /* Testimonials - 2 columns on tablet */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  /* Section titles */
  .section-title {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 40px;
  }

  /* Reduced padding for containers */
  .container {
    padding: 0 20px;
  }
}

/* ============================================
   EXTRA SMALL DEVICES (≤360px)
   ============================================ */

@media (max-width: 360px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .feature-card,
  .pricing-card,
  .testimonial-card {
    padding: 16px;
  }

  .hero-buttons .btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

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

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn,
  a,
  button {
    min-height: 44px;
    min-width: 44px;
  }

  .nav-link {
    padding: 12px 0;
    min-height: 44px;
  }

  /* Disable hover effects on touch devices */
  .btn:hover {
    transform: none;
  }
}

/* ============================================
   FINAL OVERRIDES - Testimonials Desktop Fix
   ============================================ */
@media (min-width: 1024px) {
  .testimonials .container {
    max-width: 1400px;
    padding: 0 40px;
  }

  .testimonials-swiper {
    width: 100%;
    overflow: visible !important;
    padding-bottom: 50px;
  }

  /* Ensure buttons are usable and visible */
  .swiper-button-prev,
  .swiper-button-next {
    display: flex;
  }
}

/* ============================================
   MOBILE OPTIMIZATIONS (≤480px)
   ============================================ */

@media (max-width: 480px) {
  /* Hero Section - Stack vertically */
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content {
    text-align: center;
  }

  /* Scale hero title for small screens */
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-badge {
    justify-content: center;
    margin-bottom: 20px;
    font-size: 13px;
    padding: 8px 16px;
  }

  /* Reduce hero subtitle font size */
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 100%;
  }

  /* Stack stats vertically */
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
    margin-bottom: 30px;
    padding-top: 20px;
    justify-content: center;
  }

  .stat-item {
    width: 100%;
    padding-left: 0;
    text-align: center;
  }

  .stat-item::before {
    display: none;
  }

  /* Scale stat values for mobile */
  .stat-value {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  /* Full-width buttons with touch targets */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    min-height: 44px;
    justify-content: center;
  }

  .btn {
    font-size: 15px;
    padding: 14px 20px;
    min-height: 44px;
    border-radius: 8px;
  }

  /* Features Section - Single column grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  /* Hide secondary decorative Lottie animations */
  .features-lottie-container,
  .dashboard-lottie-container,
  .projects-lottie-container,
  .pricing-lottie-container,
  .testimonials-lottie-container {
    display: none !important;
  }

  /* Dashboard Section - Single column */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dashboard-mockup {
    padding: 20px;
  }

  .dashboard-mockup h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .dashboard-mockup p {
    font-size: 13px;
  }

  /* About Section - Stack vertically */
  .about .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .about-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .about-image {
    max-width: 100%;
    height: auto;
  }

  /* Projects Section - Single column */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card {
    padding: 20px;
  }

  .project-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  /* Pricing - Single column cards */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .price-value {
    font-size: 28px;
  }

  .price-label {
    font-size: 13px;
  }

  .pricing-features li {
    font-size: 13px;
    margin-bottom: 10px;
  }

  /* Testimonials - Single column */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .testimonial-author {
    font-size: 12px;
  }

  /* Section titles - Responsive scaling */
  .section-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* Contact Form */
  .contact-form {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 12px;
    width: 100%;
  }

  .form-group textarea {
    min-height: 120px;
  }

  /* Remove animations for reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* ============================================
   TABLET OPTIMIZATIONS (481px - 1024px)
   ============================================ */

@media (max-width: 1024px) and (min-width: 481px) {
  /* Hero Section - Adjusted spacing */
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero .container {
    gap: 40px;
  }

  /* Scale hero title for tablets */
  .hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
  }

  /* Adjust stats layout for tablets */
  .hero-stats {
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .stat-value {
    font-size: 32px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* Tablet button layout */
  .hero-buttons {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    padding: 16px 28px;
    font-size: 15px;
    min-height: 44px;
  }

  /* Features - 2-3 columns on tablet */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 13px;
  }

  /* Hide decorative animations on tablet */
  .features-lottie-container,
  .dashboard-lottie-container,
  .projects-lottie-container,
  .pricing-lottie-container,
  .testimonials-lottie-container {
    display: none !important;
  }

  /* Dashboard - 2 columns on tablet */
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .dashboard-mockup {
    padding: 24px;
  }

  .dashboard-mockup h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* About Section - Side by side with adjusted gap */
  .about .container {
    gap: 40px;
  }

  .about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .about-content p {
    font-size: 15px;
  }

  /* Projects - 2 columns on tablet */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .project-card {
    padding: 22px;
  }

  /* Pricing - 2-3 columns on tablet */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-card {
    padding: 28px;
  }

  .price-value {
    font-size: 32px;
  }

  /* Testimonials - 2 columns on tablet */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  /* Section titles */
  .section-title {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 40px;
  }

  /* Reduced padding for containers */
  .container {
    padding: 0 20px;
  }
}

/* ============================================
   EXTRA SMALL DEVICES (≤360px)
   ============================================ */

@media (max-width: 360px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .feature-card,
  .pricing-card,
  .testimonial-card {
    padding: 16px;
  }

  .hero-buttons .btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

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

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn,
  a,
  button {
    min-height: 44px;
    min-width: 44px;
  }

  .nav-link {
    padding: 12px 0;
    min-height: 44px;
  }

  /* Disable hover effects on touch devices */
  .btn:hover {
    transform: none;
  }
}
