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

* {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Fade-in animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.app-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.app-card:nth-child(1) {
  animation-delay: 0.1s;
}

.app-card:nth-child(2) {
  animation-delay: 0.2s;
}

.app-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
}

.app-card::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;
}

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

.icon-placeholder {
  background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.app-card:hover .icon-placeholder {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.app-card:hover .icon-placeholder svg {
  animation: iconPulse 2s ease-in-out infinite;
  transform: scale(1.1);
}

.icon-placeholder svg {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.app-card 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;
}

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

.app-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.link-hover {
  transition: opacity 0.2s ease;
}

.link-hover:hover {
  opacity: 0.6;
}

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

/* Section fade-in */
section {
  animation: fadeIn 0.8s ease-out;
}

.hero-gradient {
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 0%, rgba(15, 23, 42, 1) 45%, rgba(2, 6, 23, 1) 100%);
}

.hero-pattern {
  background-image: linear-gradient(
      130deg,
      rgba(148, 163, 184, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(circle at top right, rgba(226, 232, 240, 0.2), transparent 40%),
    radial-gradient(circle at bottom left, rgba(30, 64, 175, 0.3), transparent 45%);
  filter: saturate(120%);
}

.feature-card {
  transition: all 0.35s ease;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -24px rgba(15, 23, 42, 0.25),
    0 12px 24px -16px rgba(15, 23, 42, 0.15);
}

.shadow-soft {
  box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.25),
    0 18px 36px -20px rgba(15, 23, 42, 0.18);
}

