: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 ── */
.gradient-text {
  background: linear-gradient(90deg, #0097b1, #726bf4, #c86dd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Primary gradient ── */
.gradient-bg {
  background: linear-gradient(90deg, #0097b1, #726bf4, #c86dd8);
}

/* ── Button gradient ── */
.btn-gradient {
  background: linear-gradient(90deg, #0097b1, #726bf4);
  transition:
    opacity 0.25s,
    transform 0.2s;
}
.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ── Dark gradient ── */
.dark-gradient {
  background: linear-gradient(135deg, #021c3f, #016279);
}

/* ── Glassmorphism card ── */
.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);
}

/* ── Neural network canvas ── */
#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ── 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 links ── */
.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;
}

/* ── CTA nav button ── */
.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 interactive ── */
.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%;
  }
}
@keyframes logo-ripple {
  from {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.5;
  }
  to {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}

/* ── Scroll-in animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Pricing card highlight ── */
.pricing-popular {
  border: 2px solid #726bf4;
  position: relative;
}
.pricing-popular::before {
  content: attr(data-popular-label);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #726bf4, #c86dd8);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 16px;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

/* ── Chat bubble ── */
.chat-bubble-ai {
  background: linear-gradient(
    135deg,
    rgba(0, 151, 177, 0.15),
    rgba(114, 107, 244, 0.15)
  );
  border: 1px solid rgba(114, 107, 244, 0.3);
}
.chat-bubble-user {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Typing indicator ── */
.typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #726bf4;
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}
.typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
}

/* ── Section divider ── */
.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(114, 107, 244, 0.4),
    transparent
  );
}

/* ── Problem cards ── */
.problem-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.problem-card:hover {
  transform: translateY(-6px);
}
.problem-card.red:hover {
  box-shadow:
    0 0 40px rgba(239, 68, 68, 0.18),
    0 0 0 1px rgba(239, 68, 68, 0.35);
}
.problem-card.orange:hover {
  box-shadow:
    0 0 40px rgba(249, 115, 22, 0.18),
    0 0 0 1px rgba(249, 115, 22, 0.35);
}
.problem-card.yellow:hover {
  box-shadow:
    0 0 40px rgba(234, 179, 8, 0.15),
    0 0 0 1px rgba(234, 179, 8, 0.3);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0b1120;
}
::-webkit-scrollbar-thumb {
  background: #726bf4;
  border-radius: 3px;
}

/* ── WhatsApp pulse ── */
@keyframes wa-pulse {
  0% {
    box-shadow:
      0 4px 24px rgba(37, 211, 102, 0.55),
      0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  60% {
    box-shadow:
      0 4px 24px rgba(37, 211, 102, 0.55),
      0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 4px 24px rgba(37, 211, 102, 0.55),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}
