@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --primary: #6366f1;
  --primary-light: #a5b4fc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.tail-container {
  font-family: "Inter", system-ui, sans-serif;
  max-width: 100vw;
  overflow-x: clip;
}

.logo-font {
  font-family: "Space Grotesk", sans-serif;
}

.hero-bg {
  background: linear-gradient(160deg, #0a0f1a 0%, #111827 45%, #0f172a 100%);
  overflow: hidden;
}

.hero-grid {
  background-image: radial-gradient(
    rgba(99, 102, 241, 0.08) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gradient-text {
  background: linear-gradient(90deg, #6366f1, #a5b4fc, #818cf8, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 5s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 9999px;
}

.nav-link {
  position: relative;
  color: rgb(212 212 216);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #a5b4fc;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a5b4fc);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgb(99 102 241 / 0.25);
  border-color: rgba(99, 102, 241, 0.3) !important;
}

.sector-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

.sector-card .sector-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sector-card:hover .sector-arrow {
  opacity: 1;
  transform: translateX(0);
}

.about-card {
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.contact-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

img {
  max-width: 100%;
  height: auto;
}

.hero-glow {
  pointer-events: none;
}

#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobileMenu.is-open {
  max-height: 20rem;
}

.input-field {
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

@media (max-width: 767px) {
  .feature-card:hover {
    transform: translateY(-4px);
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}
