/* ==========================================================================
   MumaLINK Brand Identity & Futuristic Bio-Intelligence Landing Page
   Palette derived from official emblem & logo:
   - Muma Coral: #E2755D (rgb: 226, 117, 93)
   - Clinical Teal: #4DA0A5 (rgb: 77, 160, 165)
   - Slate Blue: #78A1AB (rgb: 120, 161, 171)
   - Deep Obsidian: #030407
   ========================================================================== */

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --bg-obsidian: #030407;
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Brand Colors */
  --brand-coral: #E2755D;
  --brand-coral-glow: rgba(226, 117, 93, 0.25);
  --brand-teal: #4DA0A5;
  --brand-teal-glow: rgba(77, 160, 165, 0.25);
  --brand-slate: #78A1AB;
  --brand-blue: #4A90E2;

  --text-pure: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-obsidian);
  color: var(--text-pure);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Background Layers & Brand Glow
   ========================================================================== */
#neuralCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 2;
  filter: blur(100px);
}

.ambient-teal {
  top: -20vh;
  left: 25%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(77, 160, 165, 0.08) 0%, transparent 70%);
}

.ambient-coral {
  top: -15vh;
  right: 20%;
  width: 45vw;
  height: 45vh;
  background: radial-gradient(circle, rgba(226, 117, 93, 0.08) 0%, transparent 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 2;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
}

/* ==========================================================================
   Site Wrapper
   ========================================================================== */
.site-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 1300px;
  margin: 0 auto;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.nav-bar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--border-subtle);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(226, 117, 93, 0.35));
}

.brand-text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
}

.brand-text .muma {
  color: var(--brand-coral);
}

.brand-text .link {
  color: var(--brand-blue);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  text-align: center;
}

.hero-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Central Emblem Feature */
.emblem-container {
  position: relative;
  width: 100px;
  height: 90px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-halo {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 117, 93, 0.22) 0%, rgba(77, 160, 165, 0.15) 50%, transparent 75%);
  filter: blur(14px);
  animation: haloBreath 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes haloBreath {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-emblem {
  position: relative;
  width: 84px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
}

/* Coming Soon Pill */
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(226, 117, 93, 0.25);
  background: rgba(226, 117, 93, 0.04);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(226, 117, 93, 0.08);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-coral);
  box-shadow: 0 0 8px var(--brand-coral);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.8; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Headline & Gradients */
.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #E2755D 70%, #4DA0A5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-dim);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-muma {
  color: var(--brand-coral);
  font-weight: 600;
}

.footer-link {
  color: var(--brand-blue);
  font-weight: 700;
}

.separator {
  color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .site-wrapper {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-desc {
    font-size: 14.5px;
  }
  .site-footer {
    justify-content: center;
    text-align: center;
  }
}
