/* Hero Section & Cloud Animation */
.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 40px var(--primary-glow);
  animation: fadeInUp 0.6s ease-out;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-paragraph {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 1.5rem auto;
  max-width: 900px;
  font-weight: 400;
  font-family: var(--font-sans);
  animation: fadeInUp 0.6s ease-out 0.05s both;
  line-height: 1.75;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-paragraph em {
  color: var(--primary);
  font-style: normal;
  font-weight: 500;
  text-shadow: 0 0 20px rgba(77, 159, 255, 0.3);
}

.hero-paragraph strong {
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(77, 159, 255, 0.15) 0%, rgba(125, 211, 192, 0.1) 100%);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid rgba(77, 159, 255, 0.2);
}

.subtitle {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  font-weight: 400;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-sans);
  animation: fadeInUp 0.6s ease-out 0.1s both;
  line-height: 1.55;
  padding: 0 1rem;
}

.subtitle-meta {
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  color: var(--primary);
  margin-top: 0.3rem;
  margin-bottom: 0;
  font-weight: 600;
  font-family: var(--font-mono);
  animation: fadeInUp 0.6s ease-out 0.15s both;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
}

/* Cloud Convergence Container */
.cloud-convergence {
  width: 100%;
  max-width: 100%;
  height: 75px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  perspective: 1200px;
  filter: drop-shadow(0 2px 30px rgba(77, 159, 255, 0.08));
  animation: fadeIn 0.7s ease-out 0.25s both;
  padding: 0 5vw;
}

/* Cloud SVG Styling */
.cloud {
  position: relative;
  width: clamp(120px, 12vw, 200px);
  height: auto;
  opacity: 0.45;
  will-change: transform, opacity;
  filter: blur(0.3px);
}

.cloud-philosophy {
  filter: blur(0.3px) drop-shadow(0 4px 20px rgba(61, 232, 192, 0.2));
  animation: convergeLeft 5s ease-in-out infinite;
}

.cloud-web3 {
  filter: blur(0.3px) drop-shadow(0 4px 20px rgba(214, 112, 240, 0.2));
  animation: convergeCenter 5s ease-in-out infinite;
}

.cloud-transdisciplinary {
  filter: blur(0.3px) drop-shadow(0 4px 20px rgba(245, 200, 66, 0.18));
  animation: convergeRight 5s ease-in-out infinite;
}

/* Left cloud: moves right toward center, overlaps, returns */
@keyframes convergeLeft {
  0%, 100% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.4;
  }
  35% {
    transform: translateX(70px) translateY(-8px) scale(1.12);
    opacity: 0.55;
  }
  50% {
    transform: translateX(70px) translateY(-8px) scale(1.12);
    opacity: 0.55;
  }
  85% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.4;
  }
}

/* Center cloud: pulses up and grows during convergence */
@keyframes convergeCenter {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
  35% {
    transform: translateY(-12px) scale(1.15);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-12px) scale(1.15);
    opacity: 0.6;
  }
  85% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
}

/* Right cloud: moves left toward center, overlaps, returns */
@keyframes convergeRight {
  0%, 100% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.4;
  }
  35% {
    transform: translateX(-70px) translateY(-8px) scale(1.12);
    opacity: 0.55;
  }
  50% {
    transform: translateX(-70px) translateY(-8px) scale(1.12);
    opacity: 0.55;
  }
  85% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.4;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cloud-convergence {
    height: 60px;
    padding: 0 3vw;
  }

  .cloud {
    width: 100px;
  }

  .hero-title {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
  }

  .hero-paragraph {
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 95%;
    margin-bottom: 1.2rem;
    padding: 0 1rem;
  }

  .subtitle {
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 90%;
    margin-bottom: 4px;
  }

  .subtitle-meta {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .cloud-convergence {
    height: 50px;
    padding: 0 2vw;
  }

  .cloud {
    width: 80px;
  }

  .hero-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  .hero-paragraph {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 98%;
    margin-bottom: 1rem;
    padding: 0 0.75rem;
  }

  .subtitle {
    font-size: 0.82rem;
    line-height: 1.4;
    max-width: 95%;
    padding: 0 8px;
  }

  .subtitle-meta {
    font-size: 0.68rem;
  }
}
