/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: hsl(230, 25%, 7%);
  --fg: hsl(220, 20%, 95%);
  --card: hsl(230, 25%, 11%);
  --card-fg: hsl(220, 20%, 95%);
  --primary: hsl(260, 70%, 60%);
  --primary-fg: #fff;
  --secondary: hsl(230, 20%, 18%);
  --secondary-fg: hsl(220, 20%, 90%);
  --muted: hsl(230, 20%, 15%);
  --muted-fg: hsl(220, 10%, 55%);
  --accent: hsl(160, 70%, 45%);
  --accent-fg: #fff;
  --destructive: hsl(0, 80%, 55%);
  --destructive-fg: #fff;
  --border: hsl(230, 20%, 18%);
  --radius: 0.75rem;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Performance hints for animated elements */
.hero-bg,
.card-hover,
.card-lift,
.animate-on-scroll,
.rotating-word {
  will-change: transform;
}

/* Body is visible by default - no flash */
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: hsl(230, 20%, 25%); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: hsl(230, 20%, 35%); }

/* ===== UTILITY CLASSES ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 768px; margin: 0 auto; padding: 0 1rem; }
.container-md { max-width: 1024px; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== GRADIENTS ===== */
.text-gradient-purple {
  background: linear-gradient(135deg, #a78bfa, #c084fc, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-orange {
  background: linear-gradient(135deg, #f97316, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-cta { background: linear-gradient(135deg, #f97316, #ef4444); }
.gradient-purple-btn { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.gradient-purple-pink-btn { background: linear-gradient(135deg, #7c3aed, #ec4899); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
.heading-xl { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800; }
.heading-lg { font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 800; }
.heading-md { font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 700; }
.heading-sm { font-size: 1.125rem; font-weight: 700; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-extrabold { font-weight: 800; }
.text-fg { color: var(--fg); }
.text-muted { color: var(--muted-fg); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.leading-relaxed { line-height: 1.625; }

/* ===== LAYOUT ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== COMPONENTS ===== */

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsla(230, 25%, 7%, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(230, 20%, 18%, 0.5);
  transition: all 0.3s ease;
  animation: header-slide-down 0.6s ease-out both;
}
@keyframes header-slide-down {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}
.site-header.scrolled {
  background: hsla(230, 25%, 7%, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.625rem 1rem;
}
.logo { display: flex; align-items: center; gap: 0.625rem; }
.logo-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 0.375rem;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.logo-icon { display: none; /*  display: none; /* replaced with logo.png */
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff; font-weight: 800; font-size: 1.125rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}
.logo:hover .logo-icon { display: none; /*  display: none; /* replaced with logo.png */ transform: scale(1.1) rotate(-3deg); box-shadow: 0 4px 16px rgba(124, 58, 237, 0.5); }
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--fg); letter-spacing: -0.02em; }
.desktop-nav { display: none; align-items: center; gap: 0.25rem; }
.desktop-nav a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); transition: all 0.2s;
  position: relative; padding: 0.5rem 0.75rem; border-radius: 0.5rem;
}
.desktop-nav a:hover { color: var(--fg); background: hsla(230, 20%, 18%, 0.5); }
.desktop-nav a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s ease; border-radius: 1px;
}
.desktop-nav a:hover::after { width: 60%; }
.header-right { display: flex; align-items: center; gap: 0.75rem; }
.btn-enroll-header {
  display: none; background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff; font-size: 0.875rem; font-weight: 600;
  padding: 0.5rem 1.5rem; border-radius: 9999px; border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}
.btn-enroll-header:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5); }
.hamburger {
  background: none; border: none; color: var(--fg); cursor: pointer;
  padding: 4px; display: block; transition: transform 0.2s;
}
.hamburger:hover { transform: scale(1.1); }
.hamburger svg { width: 24px; height: 24px; }
.mobile-nav {
  display: none; flex-direction: column; padding: 1rem 1.5rem;
  background: hsla(230, 25%, 9%, 0.98); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; animation: mobile-nav-slide 0.3s ease-out; }
@keyframes mobile-nav-slide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  color: var(--muted-fg); padding: 0.75rem 0;
  border-bottom: 1px solid hsla(230, 20%, 18%, 0.5);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav a:hover { color: var(--fg); padding-left: 0.5rem; }
.mobile-nav .btn-enroll-mobile {
  margin-top: 0.75rem; background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff; text-align: center; font-weight: 600;
  padding: 0.75rem; border-radius: 9999px; border: none; cursor: pointer;
  display: block; transition: transform 0.2s;
}
.mobile-nav .btn-enroll-mobile:hover { transform: scale(1.02); }

@media (min-width: 640px) {
  .btn-enroll-header { display: inline-flex; }
}
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .hamburger { display: none; }
  .header-inner { padding: 0.75rem 2rem; }
}

/* Card */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: hsla(260, 70%, 60%, 0.3); }
.card-hover:hover { transform: scale(1.02); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-weight: 600; border-radius: 9999px;
  border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-md { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-primary { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-cta { background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; }
.btn-cta:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: hsla(260, 70%, 60%, 0.1); }
.btn-white { background: #fff; color: var(--bg); }
.btn-white:hover { background: hsla(0, 0%, 100%, 0.9); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 1rem; padding: 2rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; margin-top: 1rem;
}
.cta-banner h3 { font-size: 1.25rem; font-weight: 700; color: #fff; }
.cta-banner p { color: hsla(0,0%,100%,0.8); }

/* CTA Banner Color Variants */
.cta-banner.cta-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.cta-banner.cta-teal { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.cta-banner.cta-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.cta-banner.cta-pink { background: linear-gradient(135deg, #db2777, #ec4899); }
.cta-banner.cta-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }
.cta-banner.cta-indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.cta-banner.cta-emerald { background: linear-gradient(135deg, #059669, #34d399); }
@media (min-width: 1024px) {
  .cta-banner {
    flex-direction: row; justify-content: space-between;
    padding: 2rem 2.5rem;
  }
  .cta-banner h3 { font-size: 1.5rem; }
}

/* Icon box */
.icon-box {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box-lg { width: 48px; height: 48px; }
.icon-box-xl { width: 80px; height: 80px; min-width: 80px; min-height: 80px; border-radius: 1rem; }
.icon-box-xl svg { width: 28px; height: 28px; flex-shrink: 0; }
.icon-box-xxl { width: 100px; height: 100px; min-width: 100px; min-height: 100px; border-radius: 1.25rem; display: flex; align-items: center; justify-content: center; }
.icon-box-xxl svg { width: 40px; height: 40px; flex-shrink: 0; }

/* Tag / Badge */
.tag {
  font-size: 0.75rem; padding: 0.25rem 0.75rem;
  border-radius: 9999px; border: 1px solid var(--border);
  color: var(--muted-fg); background: var(--secondary);
}
.badge {
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
}
.badge-accent { background: var(--accent); color: var(--accent-fg); }
.badge-destructive { background: var(--destructive); color: var(--destructive-fg); }
.badge-primary { background: hsla(260, 70%, 60%, 0.15); color: var(--primary); }
.badge-free {
  background: linear-gradient(110deg, #22c55e 0%, #4ade80 45%, #22c55e 55%, #22c55e 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  color: #fff; font-weight: 800; letter-spacing: 0.02em;
}

/* Section spacing */
.section { padding: 3rem 1rem; }
.section-sm { padding: 2rem 1rem; }
.section-hero { padding: 3rem 1rem; }

/* Form inputs */
.form-input {
  width: 100%; border-radius: 0.5rem;
  background: var(--secondary); border: 1px solid var(--border);
  padding: 0.625rem 1rem; font-size: 0.875rem;
  color: var(--fg); outline: none;
  transition: box-shadow 0.2s;
}
.form-input::placeholder { color: var(--muted-fg); }
.form-input:focus { box-shadow: 0 0 0 2px var(--primary); }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--fg); margin-bottom: 0.375rem; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }

/* Footer */
.site-footer {
  background: var(--card); border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.site-footer .footer-inner { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.site-footer.animated .footer-inner { opacity: 1; transform: translateY(0); }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 4rem 1rem 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
.footer-brand-desc { color: var(--muted-fg); line-height: 1.625; font-size: 0.875rem; margin-top: 0.75rem; }
.footer-cta-mini {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.25rem; padding: 0.5rem 1.25rem;
  background: hsla(260, 70%, 60%, 0.1); border: 1px solid hsla(260, 70%, 60%, 0.25);
  border-radius: 9999px; font-size: 0.8125rem; font-weight: 600;
  color: var(--primary); transition: all 0.3s ease;
}
.footer-cta-mini:hover {
  background: hsla(260, 70%, 60%, 0.2); border-color: var(--primary);
  transform: translateX(4px);
}
.footer-cta-mini svg { transition: transform 0.3s; }
.footer-cta-mini:hover svg { transform: translateX(2px); }
.footer-links a {
  color: var(--muted-fg); font-size: 0.875rem;
  transition: color 0.2s, padding-left 0.2s;
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-links a::before {
  content: ''; width: 0; height: 1.5px;
  background: var(--primary); transition: width 0.3s ease;
}
.footer-links a:hover { color: var(--fg); }
.footer-links a:hover::before { width: 12px; }
.footer-contact-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; background: var(--secondary);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.875rem; color: var(--muted-fg);
  transition: border-color 0.3s, background 0.3s;
}
.footer-contact-item:hover { border-color: hsla(260, 70%, 60%, 0.3); background: hsla(260, 70%, 60%, 0.05); }
.footer-contact-icon {
  width: 36px; height: 36px; border-radius: 0.5rem;
  background: hsla(260, 70%, 60%, 0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: 0.8125rem; color: var(--muted-fg);
}
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-bottom-links a { color: var(--muted-fg); transition: color 0.2s; font-size: 0.8125rem; }
.footer-bottom-links a:hover { color: var(--fg); }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px; height: 40px; border-radius: 0.625rem;
  background: var(--secondary); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-fg); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-link:hover {
  color: #fff; border-color: var(--primary);
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}
.social-link svg { width: 18px; height: 18px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1920&q=80') center/cover no-repeat;
}
.hero-overlay-1 { position: absolute; inset: 0; background: hsla(230, 25%, 7%, 0.8); backdrop-filter: blur(2px); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to bottom, hsla(260, 70%, 60%, 0.1), transparent, var(--bg)); }
.hero-content { position: relative; z-index: 10; max-width: 960px; margin: 0 auto; padding: 0 1rem; text-align: center; }

/* CSS-based hero children stagger animation (no JS flash) */
@keyframes hero-child-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  animation: hero-child-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.45s; }
.hero-content > *:nth-child(5) { animation-delay: 0.6s; }
.hero-bottom-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 8rem; background: linear-gradient(to top, var(--bg), transparent); }

/* Rotating words */
.rotating-text-wrapper {
  margin-top: 1rem;
  height: clamp(6rem, 12vw, 7rem);
  display: flex; align-items: center; justify-content: center;
  overflow: visible; position: relative;
}
.rotating-word-container {
  height: 100%; overflow: visible; display: block;
  position: relative; width: 100%;
}
.rotating-word {
  display: block; position: absolute; width: 100%; text-align: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  color: #fff; font-weight: 800;
  font-size: clamp(1.6rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  padding: 0 1rem;
}
@media (max-width: 640px) {
  .rotating-text-wrapper { height: auto; min-height: 4.5rem; }
  .rotating-word { font-size: clamp(1.4rem, 6.5vw, 2rem); padding: 0 0.75rem; }
  .rotating-word-container { min-height: 4.5rem; }
}
.rotating-word.active { opacity: 1; transform: translateY(0); }
.rotating-word.exit { opacity: 0; transform: translateY(-1.5rem); }
.rotating-word.enter { opacity: 0; transform: translateY(1.5rem); }

/* Hero tagline */
.hero-tagline {
  margin-top: 1.75rem;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--muted-fg);
  letter-spacing: -0.02em;
}

/* Pulse glow for CTA button */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.6); }
}
.animate-pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.animate-delay-100 { transition-delay: 0.1s; }
.animate-delay-200 { transition-delay: 0.2s; }
.animate-delay-300 { transition-delay: 0.3s; }
.animate-delay-400 { transition-delay: 0.4s; }

/* Fade in */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fade-in-up 0.6s ease-out forwards; }

/* ===== ENHANCED ANIMATIONS ===== */

/* Scale in from center */
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.animate-scale-in {
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.animate-scale-in.animated { opacity: 1; transform: scale(1); }

/* Slide in from left */
.animate-slide-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-slide-left.animated { opacity: 1; transform: translateX(0); }

/* Slide in from right */
.animate-slide-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-slide-right.animated { opacity: 1; transform: translateX(0); }

/* Stagger children animation */
.stagger-children > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.stagger-children.animated > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.animated > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.animated > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.animated > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.animated > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.animated > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.animated > *:nth-child(7) { transition-delay: 0.6s; }
.stagger-children.animated > *:nth-child(8) { transition-delay: 0.7s; }
.stagger-children.animated > *:nth-child(9) { transition-delay: 0.8s; }
.stagger-children.animated > * { opacity: 1; transform: translateY(0); }

/* Card hover lift */
.card-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* Shimmer effect for badges */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.badge-shimmer {
  background: linear-gradient(110deg, var(--accent) 0%, #34d399 45%, var(--accent) 55%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  color: #fff;
}

/* Glow hover for icon boxes */
.icon-box-glow {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.icon-box-glow:hover {
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
  transform: scale(1.08);
}

/* Underline slide-in for links */
.link-underline {
  position: relative;
}
.link-underline::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s ease;
}
.link-underline:hover::after { width: 100%; }

/* Typing cursor for hero */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* CTA banner hover */
.cta-banner {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Stat counter animation */
.stat-number {
  display: inline-block;
  transition: transform 0.3s ease;
}
.stat-number:hover {
  transform: scale(1.15);
}

/* Section heading reveal */
@keyframes heading-reveal {
  from { opacity: 0; transform: translateY(20px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.animate-heading-reveal {
  opacity: 0; transform: translateY(20px); filter: blur(8px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}
.animate-heading-reveal.animated {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

/* FAQ answer smooth expand */
.faq-answer {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Hero particles background */
@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* Button ripple on hover */
.btn {
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, hsla(0,0%,100%,0.2) 0%, transparent 60%);
  opacity: 0; transform: scale(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.btn:hover::after {
  opacity: 1; transform: scale(2.5);
}

/* Progress bar animation for tags */
.tag {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ===== FAQ ACCORDION ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: hsla(260, 70%, 60%, 0.3); }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem; text-align: left; background: var(--card);
  border: none; cursor: pointer; color: var(--fg); font-weight: 600;
  transition: background 0.3s, padding-left 0.3s;
}
.faq-btn:hover { background: hsla(230, 20%, 18%, 0.5); padding-left: 1.5rem; }
.faq-btn span { flex: 1; }
.faq-chevron { width: 20px; height: 20px; color: var(--muted-fg); flex-shrink: 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-item.open { border-color: hsla(260, 70%, 60%, 0.4); background: hsla(260, 70%, 60%, 0.03); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-answer { max-height: 500px; opacity: 1; }
.faq-answer-inner { line-height: 1.7; }

/* ===== COMPARISON TABLE ===== */
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 1rem; border-bottom: 1px solid var(--border); }
.comparison-table th { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.comparison-table thead th { background: var(--card); }
.comparison-table tbody tr:nth-child(even) { background: hsla(230, 20%, 18%, 0.3); }
.comparison-table tbody tr:nth-child(odd) { background: var(--card); }
.comparison-table td:first-child { text-align: left; color: var(--fg); font-size: 0.875rem; }
.comparison-table td:not(:first-child) { text-align: center; }
.check-icon { color: var(--accent); }
.dash { color: var(--muted-fg); }

/* ===== PRICING TOGGLE ===== */
.pricing-toggle { display: flex; align-items: center; gap: 0.75rem; }
.toggle-switch {
  position: relative; width: 48px; height: 24px;
  background: var(--secondary); border: 1px solid var(--border);
  border-radius: 9999px; cursor: pointer; transition: background 0.3s;
}
.toggle-switch.active { background: var(--primary); border-color: var(--primary); }
.toggle-knob {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; transition: transform 0.3s;
}
.toggle-switch.active .toggle-knob { transform: translateX(24px); }

/* ===== PAGE CONTENT ===== */
.page-hero { padding-top: 6rem; }
.content-section h2 { font-size: 1.25rem; font-weight: 700; color: var(--fg); margin-bottom: 0.75rem; }
.content-section p { color: var(--muted-fg); line-height: 1.625; }
.content-section ul { display: flex; flex-direction: column; gap: 0.75rem; margin-left: 0; padding-left: 0; margin-top: 1rem; }
.content-section li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--muted-fg); line-height: 1.625; }
.content-section li .bullet { color: var(--primary); flex-shrink: 0; font-size: 0.5rem; line-height: 1.625; display: inline-flex; align-items: center; height: 1.625em; }

/* ===== RESPONSIVE GRIDS ===== */
@media (max-width: 639px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 767px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .section { padding: 4rem 1rem; }
  .container { padding: 0 2rem; }
}
@media (min-width: 1024px) {
  .lg-flex-row { flex-direction: row; }
  .lg-flex-row-reverse { flex-direction: row-reverse; }
  .lg-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-grid-5-col { grid-template-columns: 3fr 2fr; }
}

/* Form 2-col grid (stacks on mobile) */
.form-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

/* ===== ENHANCED SUB-PAGE ANIMATIONS ===== */

/* (gradient dividers removed) */

/* Tilt-in for cards on sub-pages */
.animate-tilt-in {
  opacity: 0; transform: perspective(800px) rotateY(-8deg) translateX(-20px);
  transition: opacity 0.7s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.animate-tilt-in.animated { opacity: 1; transform: perspective(800px) rotateY(0) translateX(0); }

/* Bounce in soft */
@keyframes bounce-in {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  60% { opacity: 1; transform: scale(1.03) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-bounce-in {
  opacity: 0;
  transition: none;
}
.animate-bounce-in.animated {
  animation: bounce-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Glow pulse for highlighted cards */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 hsla(260, 70%, 60%, 0); }
  50% { box-shadow: 0 0 25px 0 hsla(260, 70%, 60%, 0.15); }
}
.card-glow-hover:hover {
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Number counter pop */
@keyframes counter-pop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.animate-counter-pop {
  opacity: 0;
}
.animate-counter-pop.animated {
  animation: counter-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Icon float-in */
.animate-icon-float {
  opacity: 0; transform: translateY(15px) scale(0.8);
  transition: opacity 0.5s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.animate-icon-float.animated { opacity: 1; transform: translateY(0) scale(1); }

/* Text blur reveal */
.animate-blur-reveal {
  opacity: 0; filter: blur(10px); transform: translateY(10px);
  transition: opacity 0.8s ease-out, filter 0.8s ease-out, transform 0.8s ease-out;
}
.animate-blur-reveal.animated { opacity: 1; filter: blur(0); transform: translateY(0); }

/* Hover card border gradient */
.card-gradient-border {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card-gradient-border::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity 0.3s ease;
}
.card-gradient-border:hover::after { opacity: 1; }
.card-gradient-border:hover { transform: translateY(-4px); }

/* ===== ENHANCED GLOBAL MICRO-INTERACTIONS ===== */

/* Smooth parallax-scroll feel for sections */
.section, .section-sm, .section-hero {
  will-change: transform;
}

/* Animated underline on any link with .link-hover-slide */
.link-hover-slide {
  position: relative;
  display: inline-block;
}
.link-hover-slide::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.link-hover-slide:hover::after {
  width: 100%;
}

/* Card entrance with subtle rotation */
@keyframes card-entrance {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

/* Magnetic hover effect for CTA buttons */
.btn-primary:hover, .btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}
.btn-primary:active, .btn-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Icon wiggle on card hover */
.card-hover:hover .icon-box,
.card-hover:hover .icon-box-glow {
  animation: icon-wiggle 0.5s ease;
}
@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-4deg); }
  80% { transform: rotate(4deg); }
}

/* Badge pulse on hover */
.badge:hover {
  animation: badge-pulse 0.6s ease;
}
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Stat number count-up glow */
.stat-number {
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.stat-number:hover {
  transform: scale(1.15);
  text-shadow: 0 0 20px currentColor;
}

/* Smooth scroll-linked fade for content blocks */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Tag hover pop */
.tag {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tag:hover {
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Social link ripple */
.social-link {
  position: relative;
  overflow: hidden;
}
.social-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, hsla(0,0%,100%,0.2) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s, transform 0.4s;
}
.social-link:hover::after {
  opacity: 1;
  transform: scale(2);
}

/* Floating particles for visual interest */
@keyframes gentle-float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-8px) translateX(4px); }
  50% { transform: translateY(-4px) translateX(-4px); }
  75% { transform: translateY(-12px) translateX(2px); }
}

/* Gradient text shimmer on hover - OPTIMIZED (slower, less CPU) */
.text-gradient-purple {
  background-size: 200% 200%;
  animation: gradient-text-shimmer 12s ease infinite;
}
@keyframes gradient-text-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* CTA banner entrance */
.cta-banner {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.cta-banner:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

/* Enhanced card hover with glow border */
.card:hover {
  border-color: hsla(260, 70%, 60%, 0.4);
  box-shadow: 0 0 0 1px hsla(260, 70%, 60%, 0.1), 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Scroll indicator arrow bounce */
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== REDESIGNED FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, var(--bg) 0%, hsl(230, 25%, 9%) 100%);
  border-top: none;
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
}
/* footer gradient line removed */
.site-footer::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, hsla(260, 70%, 60%, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  .footer-inner { padding: 4rem 2rem 2rem; }
}
.footer-brand-col .logo {
  margin-bottom: 1rem;
}
.footer-brand-col p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col a {
  color: var(--muted-fg);
  font-size: 0.875rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer-col a:hover {
  color: var(--fg);
  transform: translateX(4px);
}
.footer-col a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  margin-right: 0;
  transition: width 0.3s ease, margin-right 0.3s ease;
}
.footer-col a:hover::before {
  width: 12px;
  margin-right: 8px;
}
.footer-social {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.5rem;
}
.footer-social .social-link {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: hsla(230, 20%, 18%, 0.6);
  border: 1px solid hsla(230, 20%, 25%, 0.5);
}
.footer-social .social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
.footer-divider {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-top: 1.25rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-top: 1px solid hsla(230, 20%, 20%, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (max-width: 767px) {
  .footer-divider {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (min-width: 768px) {
  .footer-divider {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-divider p {
  color: var(--muted-fg);
  font-size: 0.75rem;
}
.footer-divider-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-divider-links a {
  color: var(--muted-fg);
  font-size: 0.75rem;
  transition: color 0.2s;
}
.footer-divider-links a:hover {
  color: var(--fg);
}

/* ===== SUB-PAGE ENHANCED ANIMATIONS ===== */

/* Mouse-follow glow on sub-page cards */
.page-hero .card {
  position: relative;
  overflow: hidden;
}
.page-hero .card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(260, 70%, 60%, 0.08), transparent 70%);
  pointer-events: none;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.page-hero .card:hover::before {
  opacity: 1;
}

/* Sub-page section headings - enhanced reveal */
.page-hero .heading-lg,
.page-hero .heading-md {
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

/* Contact page special animations */
.page-hero .icon-box {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.page-hero .card:hover .icon-box {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

/* FAQ items enhanced animation */
.faq-item {
  transition: border-color 0.3s, transform 0.2s ease, box-shadow 0.3s;
}
.faq-item:hover {
  transform: translateX(4px);
  box-shadow: -4px 0 0 0 var(--primary);
}

/* Curriculum module cards stagger */
.page-hero .card .badge {
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.page-hero .card:hover .badge {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* About page stat cards pop */
.page-hero .card p[style*="font-size:2.25rem"] {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), text-shadow 0.3s;
}
.page-hero .card:hover p[style*="font-size:2.25rem"] {
  transform: scale(1.1);
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

/* Programs pricing cards enhanced hover */
.page-hero .card .btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.page-hero .card:hover .btn {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Comparison table row hover */
.comparison-table tbody tr {
  transition: background 0.3s ease, transform 0.2s ease;
}
.comparison-table tbody tr:hover {
  background: hsla(260, 70%, 60%, 0.08) !important;
}

/* section-hero gradient line removed */

/* Pulse ring on CTA buttons for sub-pages */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 hsla(260, 70%, 60%, 0.4); }
  70% { box-shadow: 0 0 0 12px hsla(260, 70%, 60%, 0); }
  100% { box-shadow: 0 0 0 0 hsla(260, 70%, 60%, 0); }
}
.page-hero .cta-banner .btn {
  animation: pulse-ring 2.5s ease-in-out infinite;
}

/* scroll progress removed */



/* ═══ SAFE ADDITIONS — no layout overrides ═══ */

/* Card pop on hover (no tilt) */
.card-hover:hover { transform: translateY(-8px) scale(1.025) !important; box-shadow: 0 20px 55px rgba(0,0,0,0.45), 0 0 0 1px hsla(260,70%,60%,0.4); border-color: hsla(260,70%,60%,0.55) !important; }
.card-hover { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.25s; }
.card-lift:hover { transform: translateY(-8px) scale(1.025) !important; }

/* Btn pop (only override transition, not layout) */
.btn:hover  { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 28px rgba(0,0,0,0.3); }
.btn:active { transform: scale(0.97); box-shadow: none; }

/* CTA banner hover */
.cta-banner { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s; }
.cta-banner:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 18px 50px rgba(0,0,0,0.35); }

/* FAQ */
.faq-item { transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), border-color 0.25s, box-shadow 0.25s; }
.faq-item:hover { transform: translateX(6px); border-color: hsla(260,70%,60%,0.4); box-shadow: -4px 0 0 0 var(--primary); }
.faq-item.open  { border-color: hsla(260,70%,60%,0.5); box-shadow: 0 8px 28px rgba(124,58,237,0.18); }
.faq-chevron { transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.3s; }
.faq-item.open .faq-answer { max-height: 600px; padding: 1.25rem 1.5rem 1.5rem; }

/* Pricing toggle labels */
.toggle-label { font-size: 0.9rem; font-weight: 600; color: var(--muted-fg); transition: color 0.2s; }
.toggle-label.active { color: var(--fg); }

/* WSA grid — 4-column horizontal cards */
.wsa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }

/* Education fail-rows */
.fail-grid { display: grid; gap: 1rem; }
.fail-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), border-color 0.2s, box-shadow 0.2s; }
.fail-row:hover { transform: translateX(7px); border-color: hsla(0,80%,55%,0.45); box-shadow: -4px 0 0 0 var(--destructive); }
.fail-icon { width: 40px; height: 40px; border-radius: 0.5rem; background: hsla(0,80%,55%,0.12); color: var(--destructive); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

@media (max-width: 768px) {
  .footer-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-divider {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}