:root {
  --accent-1: #60a5fa;
  --accent-2: #f472b6;
  --grad-1: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

/* Global typography helpers */
.gradient-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: #6b7280; }

/* Header nav underline animation */
.nav-link {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--grad-1);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #0f172a; }

/* Mobile menu link */
.nav-mobile {
  display: block;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(226,232,240,0.6);
  color: #334155;
  transition: color 0.25s ease;
}
.nav-mobile:hover { color: var(--accent-1); }

/* CTA button */
.cta-grad {
  background: var(--grad-1);
  color: white;
  box-shadow: 0 10px 25px rgba(96,165,250,0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}
.cta-grad:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px rgba(96,165,250,0.25); }

/* Card hover pop */
.zy-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(15,23,42,0.06);
  transition: all 0.3s ease;
}
.zy-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 45px rgba(15,23,42,0.1);
}

/* Feature and tutor card helpers used across pages */
.feature-card { padding: 2rem; border-radius: 1.25rem; min-height: 220px; display:flex; flex-direction:column; gap:18px; }
.tutor-card { border-radius: 1rem; padding:1.25rem; background:white; box-shadow: 0 18px 50px rgba(99,102,241,0.05); }

/* Social icon */
.social-icon {
  width: 36px; height: 36px; display: inline-flex; align-items:center; justify-content:center; border-radius:12px; background:white;
  box-shadow: 0 6px 20px rgba(15,23,42,0.06); transition: all 0.25s ease;
}
.social-icon:hover { transform: translateY(-4px) scale(1.1); box-shadow: 0 10px 25px rgba(96,165,250,0.15); }

/* Small helpers */
.muted { color: #6b7280; }
.soft-grad { background: linear-gradient(90deg,#f0f9ff,#fff1f2); }

/* Hero floating chips (responsive positions should be adjusted per design) */
.hero-label { position:absolute; padding:10px 14px; background:white; border-radius:9999px; box-shadow:0 12px 30px rgba(15,23,42,0.06); font-size:13px; display:flex; gap:8px; align-items:center; pointer-events:none; opacity:0.98; }

/* Accessibility */
.visually-hidden { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* Mobile improvements */
@media (max-width: 768px) {
  .zy-card { transform:none !important; }
  .nav-link::after { display:none; }
}

/* === Stage 2 Enhancements — Parent Reviews + CTA Styling === */

.grad-text {
  background: linear-gradient(90deg, #38bdf8, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.grad-bg {
  background: linear-gradient(90deg, #38bdf8, #ec4899);
}

.card-base {
  border-radius: 1rem;
  background: white;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.card-base:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Floating animation utility */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* === End Stage 2 Enhancements === */

/* === Stage 2 — Learn & Discover Enhancements === */
.filter-btn {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  color: #334155;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.filter-btn:hover {
  background: linear-gradient(90deg, #38bdf8, #ec4899);
  color: white;
  transform: translateY(-2px);
}
.filter-btn.active {
  background: linear-gradient(90deg, #38bdf8, #ec4899);
  color: white;
}
.resource-card {
  background: white;
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
/* === End Learn & Discover Enhancements === */

