@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Pantone Color Palette - Light Theme */
  --bg-base: #e7f1f5; /* Light ice blue */
  --bg-gradient: linear-gradient(-45deg, #ffffff, #dbf3f5, #bfe6ea, #ebd2b0);
  
  --color-primary: #1c4155; /* Deep Navy Brand Color */
  --color-teal: #7cb5b9; /* Medium Cyan Accent */
  --color-cyan: #8bc7cc; /* Light Turquoise Accent */
  --color-sand: #d8c3a7; /* Warm Sand Accent */
  
  /* Text Colors */
  --text-primary: #1c4155;
  --text-secondary: #4a6677;
  --text-muted: #7ca1b7;
  
  /* Fonts */
  --font-th: 'Anuphan', sans-serif;
  --font-en: 'Outfit', sans-serif;
}

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

html, body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden; /* No scroll */
  background: var(--bg-base);
  background: var(--bg-gradient);
  background-size: 400% 400%;
  animation: gradient-shift 12s ease infinite;
  color: var(--text-primary);
  font-family: var(--font-th), var(--font-en), sans-serif;
  line-height: 1.5;
}

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

/* Background Soft Glowing Blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  animation: float-glow 25s infinite alternate ease-in-out;
}

.blob-1 {
  width: 50vw;
  height: 50vw;
  background-color: var(--color-cyan);
  top: -15vw;
  right: -10vw;
}

.blob-2 {
  width: 45vw;
  height: 45vw;
  background-color: var(--color-sand);
  bottom: -10vw;
  left: -10vw;
  animation-delay: -7s;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 4vh) scale(1.08); }
  100% { transform: translate(-2vw, -2vh) scale(0.95); }
}

/* Main Container: Fully Centered Viewport, NO Card Frame background */
.main-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 35%, rgba(255, 255, 255, 0) 70%);
}

.content-container {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.8rem;
  animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interactive Connection Visualization: Logo surrounded by AI, Medical, Cloud, Hospital */
.logo-visualization {
  position: relative;
  width: 540px;
  height: 380px;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Center Logo Box - Houses the complete inline color logo */
.center-logo-box {
  width: 360px;
  height: auto;
  position: relative;
  z-index: 5;
}

.logo-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Surrounding Alliance Nodes - Green Box with Gold Text/Icons */
.alliance-node {
  position: absolute;
  background: rgba(228, 240, 242, 0.95); /* Translucent Green-Teal Glass */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(164, 210, 214, 0.7); /* Light green-teal border */
  color: #d8c3a7; /* Exact requested gold color */
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(28, 65, 85, 0.04);
  z-index: 10;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.alliance-node:hover {
  background: #d4e7ea;
  border-color: var(--color-teal);
  color: #dbc1a2; /* Slightly brighter brand gold on hover */
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(28, 65, 85, 0.12);
}

.node-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.node-icon[stroke] {
  fill: none;
}

/* Individual node positions + soft floating animation loops */
.node-medical {
  top: 20px;
  left: 15px;
  animation: float-y 5s infinite ease-in-out alternate;
}

.node-cloud {
  top: 20px;
  right: 15px;
  animation: float-y 5.5s infinite ease-in-out alternate-reverse;
}

.node-ai {
  bottom: 20px;
  left: 15px;
  animation: float-x 6s infinite ease-in-out alternate;
}

.node-hospital {
  bottom: 20px;
  right: 15px;
  animation: float-x 6.5s infinite ease-in-out alternate-reverse;
}

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

@keyframes float-x {
  0% { transform: translateX(0px); }
  100% { transform: translateX(8px); }
}

/* Connector Lines SVG Layer */
.connector-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connector-line {
  stroke: rgba(28, 65, 85, 0.12); /* Softer, premium dashed connector lines */
  stroke-width: 1.5;
  stroke-dasharray: 6, 6;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Main Titles & Texts - Smaller font size */
h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-top: 0.5rem;
  letter-spacing: -0.2px;
}

.acronym-text {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary); /* Better visual hierarchy & contrast */
  letter-spacing: 0.6px;
  margin-bottom: -0.4rem;
}

.descriptions-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 660px;
  margin: 0.5rem 0;
}

.desc-th {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
}

.desc-en {
  font-family: var(--font-en);
  font-size: 0.95rem; /* Increased size for premium hierarchy */
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.1px;
}

/* Minimal contact section */
.contact-info {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(28, 65, 85, 0.06);
  box-shadow: 0 4px 15px rgba(28, 65, 85, 0.02);
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-1px);
  border-color: var(--color-teal);
  box-shadow: 0 4px 15px rgba(28, 65, 85, 0.05);
}

.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--color-teal);
}

/* Responsive adjust */
@media (max-width: 768px) {
  .content-container {
    gap: 1.2rem;
  }
  h1 {
    font-size: 1.4rem;
  }
  .desc-th {
    font-size: 0.9rem;
  }
  .desc-en {
    font-size: 0.8rem;
  }
  .logo-visualization {
    width: 320px;
    height: 240px;
  }
  .center-logo-box {
    width: 220px;
  }
  .alliance-node {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
  }
  .partner-logo-container {
    bottom: 1.2rem;
  }
  .partner-logo {
    height: 26px;
  }
}

/* Bottom Partner Logo */
.partner-logo-container {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.partner-logo-container:hover {
  opacity: 1;
}

.partner-logo {
  height: 32px;
  width: auto;
  display: block;
}
