:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;

  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;

  --border-light: #e5e7eb;
  --border-medium: #d1d5db;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;

    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;

    --border-light: #374151;
    --border-medium: #4b5563;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--accent), var(--success));
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--warning), var(--error));
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: slideInLeft 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-tertiary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideInRight 1s ease-out;
}

.image-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: floatCard 3s ease-in-out infinite;
}

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

.card-2 {
  top: 20%;
  right: 10%;
  animation-delay: 0.5s;
}

.card-3 {
  bottom: 30%;
  left: 5%;
  animation-delay: 1s;
}

.card-4 {
  bottom: 10%;
  right: 15%;
  animation-delay: 1.5s;
}

.card-icon {
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

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

@keyframes letterPop {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
  }
  50% {
    transform: translateY(-10px) rotateX(0deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) rotateX(0deg);
  }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 112, 243, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 112, 243, 0);
  }
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .animated-title {
    font-size: 2.5rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .floating-icon img {
    width: 40px;
    height: 40px;
  }

  .shape-1,
  .shape-2,
  .shape-3 {
    width: 80px;
    height: 80px;
  }
}

/* Hover effects for background icons */
.container:hover .floating-icon {
  opacity: 0.3;
}

.floating-icon:hover {
  opacity: 0.8 !important;
  transform: scale(1.2);
}
/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-buttons .btn-outline {
  border-color: white;
  color: white;
}

.cta-buttons .btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

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

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .image-container {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-container {
    padding: 1rem;
  }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(17, 24, 39, 0.95);
  }

  .service-card {
    background: var(--bg-secondary);
  }

  .floating-card {
    background: var(--bg-secondary);
  }
}

/* Smooth scrolling and focus styles */
.nav-link:focus,
.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Loading animation for better UX */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.loading {
  background: linear-gradient(
    90deg,
    var(--bg-tertiary) 25%,
    var(--bg-secondary) 50%,
    var(--bg-tertiary) 75%
  );
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}
/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

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

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.1rem;
}

.testimonial-author strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Enhanced logo styling */
.nav-logo .logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Additional responsive improvements */
@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

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

  .stat-item {
    flex: 1;
    min-width: 120px;
  }
}
/* 3D Icon Styles */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4),
    0 8px 16px rgba(99, 102, 241, 0.3), inset 0 -3px 8px rgba(0, 0, 0, 0.15),
    inset 0 3px 8px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.service-icon::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.service-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.service-card:hover .service-icon {
  transform: translateY(-15px) rotateX(20deg) rotateY(20deg) scale(1.1);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.5),
    0 20px 25px rgba(99, 102, 241, 0.4), inset 0 -4px 12px rgba(0, 0, 0, 0.2),
    inset 0 4px 12px rgba(255, 255, 255, 0.4);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

/* 3D Floating Cards */
.floating-card {
  position: absolute;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: floatCard 3s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.floating-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.floating-card:hover {
  transform: translateY(-15px) rotateX(15deg) rotateY(15deg) scale(1.12);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2), 0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 3px 0 rgba(255, 255, 255, 0.9), 0 0 50px rgba(99, 102, 241, 0.3);
  animation-play-state: paused;
}

.floating-card:hover .card-icon svg {
  transform: scale(1.3) rotateZ(15deg);
  animation-play-state: paused;
}

/* Special hover effect for orders card */
.card-2:hover {
  transform: translateY(-20px) rotateX(20deg) rotateY(-20deg) scale(1.15);
  box-shadow: 0 40px 80px rgba(240, 147, 251, 0.4),
    0 25px 50px rgba(245, 87, 108, 0.3), inset 0 4px 0 rgba(255, 255, 255, 0.95),
    0 0 60px rgba(240, 147, 251, 0.4);
}

.card-2:hover .card-icon svg {
  transform: scale(1.4) rotateZ(-10deg);
}

.card-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

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

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

/* 3D Navigation Logo */
.nav-logo .logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  text-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.nav-logo:hover .logo-text {
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(99, 102, 241, 0.4);
}

/* 3D Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3),
    0 4px 8px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) rotateX(10deg);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4),
    0 8px 16px rgba(99, 102, 241, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(99, 102, 241, 0.1);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

/* 3D Testimonial Cards */
.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform-style: preserve-3d;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  font-family: serif;
  line-height: 1;
  text-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
  transform: rotateX(15deg);
}

.testimonial-card:hover {
  transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 15px 15px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

/* Enhanced gradient orbs with 3D effect */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  animation: float3D 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes float3D {
  0%,
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-20px) rotateX(10deg) rotateY(10deg);
  }
  50% {
    transform: translateY(-10px) rotateX(-5deg) rotateY(-5deg);
  }
  75% {
    transform: translateY(-30px) rotateX(5deg) rotateY(-10deg);
  }
}

/* 3D Hero Badge */
.hero-badge {
  display: inline-block;
  background: var(--bg-tertiary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.hero-badge:hover {
  transform: translateY(-2px) rotateX(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

/* Responsive 3D adjustments */
@media (max-width: 768px) {
  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon svg {
    width: 30px;
    height: 30px;
  }

  .floating-card {
    padding: 0.75rem 1rem;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* Disable 3D effects on mobile for performance */
@media (max-width: 480px) {
  .service-card:hover .service-icon,
  .floating-card:hover,
  .testimonial-card:hover,
  .btn:hover {
    transform: translateY(-5px);
  }
}
/* Enhanced 3D Floating Card Icons */
.floating-card .card-icon svg {
  transition: all 0.3s ease;
}

.floating-card:hover .card-icon svg {
  transform: scale(1.15) rotateZ(5deg);
}

/* Service Icon SVG Enhancements */
.service-icon svg {
  width: 48px;
  height: 48px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon svg {
  transform: scale(1.2) rotateZ(-5deg);
}

/* Gradient Definitions for Icons */
.service-icon svg defs linearGradient stop:first-child {
  stop-color: rgba(255, 255, 255, 0.9);
}

.service-icon svg defs linearGradient stop:last-child {
  stop-color: rgba(255, 255, 255, 0.6);
}

/* Enhanced floating card animations */
@keyframes floatCardAdvanced {
  0% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1);
  }
  25% {
    transform: translateY(-15px) rotateX(5deg) rotateY(-3deg) scale(1.02);
  }
  50% {
    transform: translateY(-8px) rotateX(-2deg) rotateY(5deg) scale(1.05);
  }
  75% {
    transform: translateY(-20px) rotateX(3deg) rotateY(-2deg) scale(1.03);
  }
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1);
  }
}

@keyframes cardGlow {
  0%,
  100% {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
  50% {
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25),
      0 15px 30px rgba(99, 102, 241, 0.2),
      inset 0 2px 0 rgba(255, 255, 255, 0.9), 0 0 30px rgba(99, 102, 241, 0.15);
  }
}

@keyframes iconBounce {
  0%,
  100% {
    transform: scale(1) rotateZ(0deg);
  }
  25% {
    transform: scale(1.1) rotateZ(-5deg);
  }
  50% {
    transform: scale(1.15) rotateZ(3deg);
  }
  75% {
    transform: scale(1.05) rotateZ(-2deg);
  }
}

@keyframes ordersPulse {
  0%,
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1);
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.15),
      0 5px 15px rgba(245, 87, 108, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
  50% {
    transform: translateY(-12px) rotateX(8deg) rotateY(-8deg) scale(1.08);
    box-shadow: 0 30px 60px rgba(240, 147, 251, 0.3),
      0 20px 40px rgba(245, 87, 108, 0.25),
      inset 0 3px 0 rgba(255, 255, 255, 0.9), 0 0 40px rgba(240, 147, 251, 0.2);
  }
}

.floating-card {
  animation: floatCardAdvanced 4s ease-in-out infinite,
    cardGlow 5s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Specific animations for each card */
.card-1 {
  animation: floatCardAdvanced 4.2s ease-in-out infinite,
    cardGlow 5.5s ease-in-out infinite;
  animation-delay: 0s, 0.5s;
}

.card-2 {
  animation: ordersPulse 3.8s ease-in-out infinite,
    cardGlow 4.8s ease-in-out infinite;
  animation-delay: 0.8s, 1.2s;
}

.card-3 {
  animation: floatCardAdvanced 4.5s ease-in-out infinite,
    cardGlow 5.2s ease-in-out infinite;
  animation-delay: 1.5s, 2s;
}

.card-4 {
  animation: floatCardAdvanced 4.1s ease-in-out infinite,
    cardGlow 5.8s ease-in-out infinite;
  animation-delay: 2.2s, 2.8s;
}

/* Enhanced card icon animations */
.floating-card .card-icon svg {
  animation: iconBounce 3s ease-in-out infinite;
}

.card-1 .card-icon svg {
  animation-delay: 0.3s;
}

.card-2 .card-icon svg {
  animation-delay: 0.6s;
}

.card-3 .card-icon svg {
  animation-delay: 0.9s;
}

.card-4 .card-icon svg {
  animation-delay: 1.2s;
}

/* Enhanced service card hover effects */
.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

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

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

.service-card:hover {
  transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 15px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Icon glow effect */
@keyframes iconGlow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.service-card:hover .service-icon svg {
  animation: iconGlow 2s ease-in-out infinite;
}
/* Floating card text animations */
.floating-card span {
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
}

.floating-card:hover span {
  color: var(--primary);
  transform: translateX(5px);
  text-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

/* Card entrance animations */
@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(-30deg) scale(0.8);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-10px) rotateX(10deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) rotateX(0deg) scale(1);
  }
}

.floating-card {
  animation: cardSlideIn 1s ease-out,
    floatCardAdvanced 4s ease-in-out infinite 1s,
    cardGlow 5s ease-in-out infinite 1.5s;
}

/* Staggered entrance for cards */
.card-1 {
  animation: cardSlideIn 1s ease-out,
    floatCardAdvanced 4.2s ease-in-out infinite 1.2s,
    cardGlow 5.5s ease-in-out infinite 1.7s;
}

.card-2 {
  animation: cardSlideIn 1s ease-out 0.2s both,
    ordersPulse 3.8s ease-in-out infinite 1.4s,
    cardGlow 4.8s ease-in-out infinite 1.9s;
}

.card-3 {
  animation: cardSlideIn 1s ease-out 0.4s both,
    floatCardAdvanced 4.5s ease-in-out infinite 1.6s,
    cardGlow 5.2s ease-in-out infinite 2.1s;
}

.card-4 {
  animation: cardSlideIn 1s ease-out 0.6s both,
    floatCardAdvanced 4.1s ease-in-out infinite 1.8s,
    cardGlow 5.8s ease-in-out infinite 2.3s;
}

/* Enhanced card background effects */
.floating-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 70%
  );
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.floating-card:hover::after {
  opacity: 1;
}

/* Micro-interactions for card icons */
@keyframes iconPulse {
  0%,
  100% {
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4),
      inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.15),
      0 0 20px rgba(99, 102, 241, 0.2);
  }
}

.card-icon {
  animation: iconPulse 2s ease-in-out infinite;
}

.card-1 .card-icon {
  animation-delay: 0.5s;
}

.card-2 .card-icon {
  animation-delay: 1s;
}

.card-3 .card-icon {
  animation-delay: 1.5s;
}

.card-4 .card-icon {
  animation-delay: 2s;
}

/* Enhanced gradient effects for specific cards */
.card-1:hover {
  background: linear-gradient(
      135deg,
      rgba(102, 126, 234, 0.05) 0%,
      rgba(118, 75, 162, 0.05) 100%
    ),
    var(--bg-primary);
}

.card-3:hover {
  background: linear-gradient(
      135deg,
      rgba(79, 172, 254, 0.05) 0%,
      rgba(0, 242, 254, 0.05) 100%
    ),
    var(--bg-primary);
}

.card-4:hover {
  background: linear-gradient(
      135deg,
      rgba(250, 112, 154, 0.05) 0%,
      rgba(254, 225, 64, 0.05) 100%
    ),
    var(--bg-primary);
}

/* Responsive enhancements for card animations */
@media (max-width: 768px) {
  .floating-card {
    animation: floatCardAdvanced 5s ease-in-out infinite,
      cardGlow 6s ease-in-out infinite;
  }

  .floating-card:hover {
    transform: translateY(-10px) rotateX(8deg) rotateY(8deg) scale(1.08);
  }

  .card-2:hover {
    transform: translateY(-12px) rotateX(10deg) rotateY(-10deg) scale(1.1);
  }
}

@media (max-width: 480px) {
  .floating-card {
    animation: floatCardAdvanced 6s ease-in-out infinite;
  }

  .floating-card:hover {
    transform: translateY(-8px) scale(1.05);
  }

  .card-2:hover {
    transform: translateY(-10px) scale(1.08);
  }
}

/* Performance optimization for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .floating-card,
  .card-icon,
  .floating-card .card-icon svg {
    animation: none;
  }

  .floating-card:hover {
    transform: translateY(-5px) scale(1.02);
  }
}
