/* ========================================
   BAYESERA – Institutional System v1.0
   Cherryplum Heritage Palette (Refined)
   ======================================== */

:root {
  --blue: #004aad;
  --green: #00c46a;
  --plum: #b000b5;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #475569;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-dark);
}

/* =========================
   NAVIGATION
   ========================= */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 0;
  background: linear-gradient(120deg, var(--blue), var(--green), var(--plum));
  background-size: 200% 200%;
  animation: navGradient 12s ease infinite;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 1000;
}

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

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
}

nav a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background: linear-gradient(120deg, var(--blue), var(--green), var(--plum));
  background-size: 300% 300%;
  animation: heroGradient 14s ease infinite;
  color: #ffffff;
}

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

/* LOGO – PROPER SIZE + BLEND */
.hero img {
  width: 340px;
  max-width: 92%;
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.25));
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero .subline {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 26px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 820px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* =========================
   CTA BUTTON
   ========================= */

.cta-button {
  background: #ffffff;
  color: var(--blue);
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

/* =========================
   CONTENT SECTION
   ========================= */

.section {
  max-width: 1000px;
  margin: 90px auto;
  padding: 0 24px;
  text-align: center;
}

.section h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 20px;
}

.section p {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 40px;
}

/* =========================
   HIGHLIGHT CARDS
   ========================= */

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 70px auto;
  padding: 0 24px;
}

.highlight-card {
  background: #ffffff;
  border-left: 5px solid var(--green);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 28px 26px;
  text-align: left;
  transition: all 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,196,106,0.25);
}

.highlight-card h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.highlight-card p {
  font-size: 1.02rem;
  color: var(--text-muted);
}

/* =========================
   FOOTER
   ========================= */

footer {
  background: linear-gradient(120deg, var(--blue), var(--green), var(--plum));
  color: #ffffff;
  text-align: center;
  padding: 28px 0;
  font-size: 0.85rem;
  margin-top: 100px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {

  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero img {
    width: 240px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
/* AI Infographic Section */
.ai-visual {
  max-width: 800px;  /* narrower than hero for visual balance */
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.ai-visual img.ai-infographic {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

.ai-visual img.ai-infographic:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
}