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

:root {
  --background: #ffffff;
  --foreground: #001047;
  --primary: #135BE2;
  --muted-foreground: #6b7280;
  --text-gradient: linear-gradient(93.6deg, #ffffff 33.3%, #135BE2 92.05%);
  --badge-gradient: linear-gradient(270deg, #011149 25.08%, #135BE2 100%);
  --shadow-card: 0 4px 6px -1px rgba(12, 33, 71, 0.05), 0 2px 4px -2px rgba(12, 33, 71, 0.05);
  --shadow-card-hover: 0 20px 25px -5px rgba(12, 33, 71, 0.08), 0 8px 10px -6px rgba(12, 33, 71, 0.08);
  --shadow-button: 0 4px 14px 0 rgba(19, 91, 226, 0.35);
  --shadow-ring: 0 0 60px 20px rgba(19, 91, 226, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--foreground);
  background: var(--background);
}

html {
  scroll-behavior: smooth;
}

.font-display {
  font-family: "Albert Sans", system-ui, sans-serif;
}

.text-gradient-hero {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-gradient {
  background: var(--badge-gradient);
}

.card-feature {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e6e9f0;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(19, 91, 226, 0.1);
  color: var(--primary);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop nav links */
.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

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

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

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

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

/* Mobile nav card dropdown */
.mobile-menu-card {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e6e9f0;
  box-shadow:
    0 20px 50px -12px rgba(0, 16, 71, 0.18),
    0 8px 20px -8px rgba(0, 16, 71, 0.08);
  padding: 8px;
  z-index: 100;
  animation: menuSlideIn 0.25s ease-out forwards;
}

.mobile-menu-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.mobile-menu-link:hover {
  background: rgba(19, 91, 226, 0.08);
  color: var(--primary);
  transform: translateX(4px);
}

.mobile-menu-link.active {
  background: rgba(19, 91, 226, 0.1);
  color: var(--primary);
}

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .card-feature {
    padding: 20px;
  }

  body {
    overflow-x: hidden;
  }

  section .absolute {
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  section {
    overflow-x: hidden;
  }
}
