/* AFRICONI Incubator Platform - Premium Custom Styles & Animations */

:root {
  --brand-orange: #de6528;
  --brand-orange-dark: #c24b12;
  --brand-coral: #ea580c;
  --brand-fuchsia: #db2777;
  --brand-magenta: #e11d48;
  --brand-purple: #6366f1;
  --brand-periwinkle: #6b7ef5;
  --brand-periwinkle-light: #f0f3ff;
  --brand-slate-blue: #5a67d8;
  --brand-warm-bg: #fef7f2;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animated gradient text */
.gradient-text-animated {
  background: linear-gradient(135deg, #de6528 0%, #db2777 50%, #6366f1 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

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

/* Pulse glow for countdown & live badges */
.pulse-glow {
  box-shadow: 0 0 20px rgba(222, 101, 40, 0.35);
}

/* Custom Modal Backdrop */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Toast container & animations */
#toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: white;
  color: #1e293b;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--brand-orange);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast.toast-leave {
  opacity: 0;
  transform: translateX(100%);
}

/* Active tab indicators */
.filter-tab.active {
  background: linear-gradient(135deg, #de6528 0%, #db2777 100%);
  color: white !important;
  box-shadow: 0 4px 12px rgba(222, 101, 40, 0.3);
}

/* Accordion transition enhancements */
.faq-content {
  transition: max-height 0.3s ease-out, opacity 0.25s ease-out;
}

/* Official Brand Wordmark Typography */
.brand-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #1e2532;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.brand-letter-i {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ef6332 40%, #1e2532 40%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-wordmark-light {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.brand-letter-i-light {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ef6332 40%, #ffffff 40%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Unified Brand Lockup (Logo A + FRICONI) */
.brand-lockup {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.15rem;
}

.brand-lockup-logo {
  height: 2.8rem;
  width: auto;
  object-fit: contain;
  margin-bottom: -0.1rem;
}

/* Very Large Center Founder Announcement Popup Card */
.founder-popup-card {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 28%, #db2777 62%, #ea580c 100%);
  box-shadow: 0 35px 80px -15px rgba(219, 39, 119, 0.5), 0 25px 50px -10px rgba(79, 70, 229, 0.4);
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.animate-float-gentle {
  animation: floatGentle 5s ease-in-out infinite;
}

/* Mega Menu Navigation */
.mega-menu-wrapper {
  position: relative;
}

.mega-menu-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.mega-menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu-trigger:hover,
.mega-menu-wrapper:hover .mega-menu-trigger,
.mega-menu-wrapper:focus-within .mega-menu-trigger {
  color: #ef6332;
  background-color: rgba(239, 99, 50, 0.08);
}

.mega-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 580px;
  max-width: 92vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(254, 215, 170, 0.7);
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px -12px rgba(30, 41, 59, 0.18), 0 0 0 1px rgba(239, 99, 50, 0.05);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 60;
}

.mega-menu-wrapper:hover .mega-menu-dropdown,
.mega-menu-wrapper:focus-within .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 1rem;
  transition: all 0.2s ease;
}

.mega-menu-item:hover {
  background-color: rgba(254, 243, 199, 0.45);
  transform: translateX(3px);
}



