/* Premium Brighter, Super Modern SaaS Design System for Nature Math Sanctuary Website */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');

:root {
  --bg-light: #f4fbf7;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-emerald: #cbd5e1;
  --border-emerald-glow: #10b981;
  --accent-emerald: #059669;
  --accent-teal: #0d9488;
  --accent-amber: #d97706;
  --text-primary: #022c22;
  --text-dark: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-light);
  background-image: 
    radial-gradient(at 10% 10%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(20, 184, 166, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(245, 158, 11, 0.06) 0px, transparent 50%);
  background-attachment: fixed;
  color: #0f172a;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Typography Specials */
.font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
}

.font-serif-heading {
  font-family: 'Playfair Display', serif;
}

/* Glassmorphism Cards for Bright Modern Theme */
.glass-panel {
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  background: #ffffff;
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

/* Header Navigation - Ultra Clear Contrast */
.glass-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.nav-link {
  color: #0f172a; /* Strong dark slate text */
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #047857;
  background-color: #ecfdf5;
}

.nav-link-active {
  color: #064e3b;
  font-weight: 800;
  background-color: #d1fae5;
  border: 1px solid #6ee7b7;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #047857 0%, #0d9488 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-teal {
  background: linear-gradient(135deg, #0f766e 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* App UI Screenshot Mockup Framework */
.app-ui-frame {
  background: #022c22;
  border: 4px solid #059669;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(2, 44, 34, 0.4);
}

.app-ui-header {
  background: #064e3b;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #047857;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f8f4;
}
::-webkit-scrollbar-thumb {
  background: #a7f3d0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}

/* FAQ Accordion Styling */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Badge Glow */
.badge-emerald {
  background: #d1fae5;
  border: 1px solid #34d399;
  color: #065f46;
  font-weight: 800;
}

.badge-amber {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-weight: 800;
}

