body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg,#fff0f6,#ffe4f1,#ffd6ec);
  overflow-x: hidden;
}

/* ========================
   HEADER GLASS & DROPDOWN
======================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(236,72,153,0.2);
}

/* HEADER CONTENT */
header .max-w-7xl {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* DROPDOWN BUTTON */
.dropdown > button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 50;
  backdrop-filter: blur(15px);
  background-color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.1);
}

/* OPEN STATE */
.dropdown.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* MOBILE MENU */
#mobileMenu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

#mobileMenu.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

#mobileMenu:not(.hidden) {
  max-height: 1000px; /* sufficient height */
  opacity: 1;
  pointer-events: auto;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(236,72,153,0.8);
  box-shadow: 0 0 10px rgba(236,72,153,0.8);
  animation: scanMove 3s linear infinite;
  z-index: 10;
}

/* ANIMATION */
@keyframes scanMove {
  0% {
    top: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    top: 100%;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}


/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* CORE */
#coreAI .core-inner {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ec4899, #be185d);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  box-shadow: 0 0 60px rgba(236,72,153,0.5);
}

/* CARDS */
#ecosystemCards {
  position: absolute;
  width: 100%;
  height: 100%;
}

.eco-card {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff0f6, #ffd6ec);
  border: 1px solid rgba(236,72,153,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(236,72,153,0.2);
  transition: all 0.4s ease;
  cursor: pointer;
  animation: floatSoft 6s ease-in-out infinite;
}

.eco-card:hover {
  transform: scale(1.15);
  box-shadow: 0 0 40px rgba(236,72,153,0.6);
}

.eco-card:active {
  transform: scale(0.95);
}

.eco-card h4 {
  color: #ec4899;
  font-weight: 600;
  font-size: 0.8rem;
}

/* FLOAT */
@keyframes floatSoft {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* MODAL */
#ecoModal.active {
  opacity: 1;
  pointer-events: auto;
}

#ecoModal.active #modalContent {
  transform: scale(1);
}

#academyProgress .segment {
  width: 40px;
  height: 4px;
  background: rgba(236, 72, 153, 0.3);
  border-radius: 0;
  transition: all 0.3s ease;
}

#academyProgress .segment.active {
  background: rgb(236, 72, 153);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
  transform: scaleX(1.3);
}
