:root {
  --primary-dark: #021c3f;
  --teal: #0097b1;
  --teal-dark: #016279;
  --purple: #726bf4;
  --pink: #c86dd8;
  --gold: #dd9c43;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #0b1120;
  color: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
}

.gradient-text {
  background: linear-gradient(90deg, #0097b1, #726bf4, #c86dd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Nav ── */
.nav-blur {
  background: rgba(11, 17, 32, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.nav-blur.scrolled {
  background: rgba(11, 17, 32, 0.96);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}
.nav-blur::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0097b1, #726bf4, #c86dd8, #0097b1);
  background-size: 200% 100%;
  animation: gradient-slide 4s linear infinite;
}
@keyframes gradient-slide {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(0, 151, 177, 0.15),
    rgba(114, 107, 244, 0.15)
  );
  border-color: rgba(0, 151, 177, 0.35);
  box-shadow: 0 3px 16px rgba(0, 151, 177, 0.18);
  transform: translateY(-1px);
}
.nav-link::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0097b1, #726bf4);
  margin-right: 0;
  opacity: 0;
  transform: scale(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    margin-right 0.2s ease;
}
.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
  margin-right: 6px;
}

.nav-cta {
  background: linear-gradient(90deg, #0097b1, #726bf4);
  color: #fff;
  padding: 10px 24px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  box-shadow: 0 4px 20px rgba(0, 151, 177, 0.45);
  letter-spacing: 0.02em;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 32px rgba(114, 107, 244, 0.55);
}

.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 2px 6px;
  line-height: 0;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.3s ease;
}
.logo-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 151, 177, 0.18),
    transparent
  );
  transform: skewX(-18deg);
  pointer-events: none;
}
.logo-wrap::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  background: linear-gradient(90deg, #0097b1, #726bf4, #c86dd8, #0097b1);
  background-size: 300% 100%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  animation: logo-ring-spin 3s linear infinite;
}
.logo-wrap:hover::after {
  opacity: 1;
}
.logo-wrap:hover::before {
  left: 160%;
  transition: left 0.65s ease;
}
.logo-wrap:hover {
  transform: scale(1.06) translateY(-1px);
  filter: drop-shadow(0 6px 18px rgba(0, 151, 177, 0.25));
}
.logo-wrap:active {
  transform: scale(0.96);
}
@keyframes logo-ring-spin {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card hover */
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(114, 107, 244, 0.15);
}
