@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --primary: #06b6d4;
  --accent: #3b82f6;
  --dark: #0a0a0a;
  --card: rgba(15, 23, 42, 0.7);
}

/* ===================== BASE ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0a0a;
  color: #e2e8f0;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 15, 0.42);
  backdrop-filter: blur(48px) saturate(240%) brightness(1.15);
  -webkit-backdrop-filter: blur(48px) saturate(240%) brightness(1.15);
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 
    0 10px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(34, 211, 238, 0.12),
    0 0 100px rgba(34, 211, 238, 0.1);
  overflow: visible;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
}
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Hover */
.nav-link:hover {
  color: #67e8f9; /* cyan-300 */
}

/* ===== ACTIVE STATE (works on both desktop & mobile) ===== */
.nav-link.active {
  color: #22d3ee; /* cyan-400 */
  font-weight: 600;
}

/* Desktop underline + glow */
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
}

/* Mobile version – background instead of underline */
.nav-link.active {
  background: rgba(34, 211, 238, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.nav-link.active::after {
  display: none; /* remove underline on mobile */
}

/* Optional: smooth scale on active */
.nav-link.active {
  transform: translateY(-1px);
}
/* Stronger when scrolled */
.navbar.scrolled {
  background: rgba(2, 5, 12, 0.78);
  backdrop-filter: blur(64px) saturate(280%) brightness(1.2);
  -webkit-backdrop-filter: blur(64px) saturate(280%) brightness(1.2);
  border-bottom-color: rgba(34, 211, 238, 0.5);
  box-shadow: 
    0 15px 60px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(34, 211, 238, 0.2),
    0 0 120px rgba(34, 211, 238, 0.18);
}

/* Floating liquid capsule on large screens */
@media (min-width: 1024px) {
  .navbar {
    margin: 14px 24px 0;
    width: calc(100% - 48px);
    border-radius: 28px;
    border: 1px solid rgba(34, 211, 238, 0.28);
  }
  .navbar.scrolled {
    margin-top: 10px;
    border-color: rgba(34, 211, 238, 0.48);
  }
}

/* ========== ANIMATED LIQUID LAYERS ========== */
.liquid-layer {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  filter: blur(40px);
  mix-blend-mode: screen;
}

.liquid-1 {
  background: radial-gradient(
    circle at 30% 40%,
    rgba(34, 211, 238, 0.35) 0%,
    transparent 50%
  );
  animation: liquidMove1 12s ease-in-out infinite;
}

.liquid-2 {
  background: radial-gradient(
    circle at 70% 60%,
    rgba(6, 182, 212, 0.3) 0%,
    transparent 55%
  );
  animation: liquidMove2 15s ease-in-out infinite;
}

.liquid-3 {
  background: radial-gradient(
    circle at 50% 20%,
    rgba(165, 243, 252, 0.22) 0%,
    transparent 45%
  );
  animation: liquidMove3 18s ease-in-out infinite;
}

/* Liquid movement keyframes */
@keyframes liquidMove1 {
  0%, 100% { transform: translate(-10%, -15%) scale(1); }
  33%      { transform: translate(15%, 10%) scale(1.15); }
  66%      { transform: translate(-5%, 20%) scale(0.95); }
}

@keyframes liquidMove2 {
  0%, 100% { transform: translate(10%, 5%) scale(1.1); }
  40%      { transform: translate(-20%, -10%) scale(0.9); }
  70%      { transform: translate(8%, 15%) scale(1.2); }
}

@keyframes liquidMove3 {
  0%, 100% { transform: translate(0%, 10%) scale(1); }
  50%      { transform: translate(-15%, -20%) scale(1.25); }
}

/* ========== NAV LINKS ========== */
.nav-link {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-link:hover {
  color: #22d3ee;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.7);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px #22d3ee;
}

.nav-link:hover::after {
  width: 110%;
}

/* Mobile hover */
#mobile-menu .nav-link:hover {
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  color: #0f172a;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 9999px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.5);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(6, 182, 212, 0.7);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.4s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: #0f172a;
}

/* ===================== HERO ===================== */
.hero-bg {
  background: linear-gradient(rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.9)), 
              url('https://source.unsplash.com/random/1920x1080/?cybersecurity,kenya') center/cover no-repeat fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #22d3ee10 1px, transparent 1px),
              linear-gradient(to bottom, #22d3ee10 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.4;
}

/* ===================== PRICING CARDS ===================== */
.pricing-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-16px);
  border-color: var(--primary);
  box-shadow: 0 30px 70px rgba(6, 182, 212, 0.35);
}

.pricing-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: #94a3b8;
}

/* Popular Card */
.pricing-card.popular {
  border: 2px solid var(--primary);
  position: relative;
  transform: scale(1.05);
  z-index: 10;
}

.pricing-card.popular::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #0a0a0a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 28px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

/* Feature List */
.pricing-card ul {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-card ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Card Buttons */
.pricing-card a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  border-radius: 16px;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.3s ease;
}

.pricing-card a:hover {
  transform: scale(1.05);
}

/* Footer / General */
p, li {
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .price {
    font-size: 2.4rem;
  }
}



