/* ==========================================================================
   Landing Page 2027 - Mars & Learn Cosmic Edition
   Inspired by muzakra.com with Mars Cosmic Visual Identity
   ========================================================================== */

.landing-wrapper {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  color: #0F172A;
  background-color: #F8FAFC;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Cosmic Gradient Accents */
.cosmic-brand-gradient {
  background: linear-gradient(135deg, #F36B21 0%, #E63946 50%, #D62229 100%);
}

.cosmic-brand-gradient-text {
  background: linear-gradient(135deg, #F36B21 0%, #E63946 60%, #D62229 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cosmic-badge-gradient {
  background: linear-gradient(135deg, rgba(243, 107, 33, 0.1) 0%, rgba(230, 57, 70, 0.1) 100%);
  border: 1px solid rgba(243, 107, 33, 0.25);
}

/* Glassmorphism Card */
.glass-card-2027 {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 0 1px 1px rgba(243, 107, 33, 0.05);
}

.glass-card-dark-hero {
  background: linear-gradient(145deg, #0F0A28 0%, #1E0F3B 60%, #2A124D 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(15, 10, 40, 0.45);
}

/* Pulsing Magnetic WhatsApp Floating Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  animation: pulse-whatsapp 2.5s infinite;
  cursor: pointer;
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 10px 25px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.4);
  }
}

/* Interactive Sandbox Output Animation */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-demo-result {
  animation: fadeInSlideUp 0.35s ease-out forwards;
}

/* Smooth Accordion */
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] summary svg.chevron-icon {
  transform: rotate(180deg);
}

/* Floating Badges */
.floating-subtle {
  animation: floatSubtle 4s ease-in-out infinite;
}

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