:root {
  --bg: #050810; --ink: #e6eefc; --muted: #a0aec0;
  --panel-bg: rgba(10, 15, 30, 0.5);
  --primary: #00a5a5; --secondary: #9c27b0;
  --border-color: rgba(135, 150, 184, 0.2);
  --shadow: 0 16px 40px rgba(0, 0, 0, .3);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink); background-color: var(--bg);
  overflow-x: hidden;
}

#interactive-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; z-index: -1;
}
.content-wrapper { position: relative; z-index: 1; }

.card, .section-title, .section-sub, .hero-title, .lead, .actions, .hero-image-container {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}
.in-view { opacity: 1; transform: translateY(0); }

.header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  background: var(--panel-bg);
  border-bottom: 1px solid var(--border-color);
}
.nav { max-width: 1200px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.brand { 
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-weight: 800; text-decoration: none; color: var(--ink); 
  font-size: 2.2rem; text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
.brand-icon { width: 38px; height: 38px; color: var(--primary); filter: drop-shadow(0 0 10px var(--primary)); }
.menu { display: flex; gap: 1.5rem; list-style:none; padding: 0; margin: 0; }
.menu a { font-weight: 600; text-decoration: none; color: var(--muted); transition: color .2s; }
.menu a:hover { color: var(--ink); text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
.lang-switcher { text-decoration: none; color: var(--muted); font-weight: 700; transition: color .2s ease; }
.lang-switcher:hover { color: var(--primary); }

.container { max-width: 1200px; margin: 0 auto; padding: 6rem 1.25rem; }
.hero { min-height: calc(100vh - 80px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 2rem; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.hero-text-content { text-align: left; }
.hero-title { font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: 1.05; font-weight: 900; margin: 0 0 1.5rem; text-shadow: 0 0 40px rgba(0, 165, 165, 0.5); }
.lead { font-size: 1.25rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; max-width: 45ch; }
.gradient { background: linear-gradient(45deg, var(--primary), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-image-container { position: relative; }
.hero-image { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--border-color); }
.hero-image-container::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 24px; padding: 2px; background: linear-gradient(45deg, var(--primary), var(--secondary)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; }

.btn { position: relative; overflow: hidden; border-radius: 999px; padding: 1rem 2.5rem; font-weight: 700; font-size: 1.1rem; text-decoration: none; display: inline-block; transition: transform .2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .2s ease; border: 1px solid var(--border-color); background: var(--panel-bg); color: var(--ink); backdrop-filter: blur(10px); }
.btn-solid { background: var(--primary); border-color: var(--primary); color: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 165, 165, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(0, 165, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 165, 165, 0); } }
.btn::before { content: ''; position: absolute; top: var(--mouse-y); left: var(--mouse-x); width: 0; height: 0; background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.5), transparent); transform: translate(-50%, -50%); transition: width 0.2s ease, height 0.2s ease; }
.btn:hover::before { width: 200px; height: 200px; }
.btn:hover { transform: scale(1.05); box-shadow: 0 10px 40px rgba(0,0,0, .4); }

.card { background: var(--panel-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border-color); border-radius: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0, .5); }
.card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 20px; padding: 2px; background: linear-gradient(45deg, var(--primary), var(--secondary)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 1; transition: opacity .4s ease; }
.card:hover::after { opacity: 0.5; }

.section-title { font-size: clamp(2.2rem, 4.2vw, 3.2rem); text-align: center; margin-bottom: .75rem; }
.section-sub { text-align: center; max-width: 760px; margin: 0 auto 3rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.language-card { padding: 2.5rem; text-align: center; }
.language-card h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; margin-bottom: 1rem; color: var(--primary); }
.language-card .section-sub { max-width: 65ch; }

.program-card { padding: 1rem; text-align: center; display: flex; flex-direction: column; }
.program-card .img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 1.5rem; }
.badge { display: inline-block; margin-bottom: 1rem; padding: .4rem .8rem; border-radius: 999px; background: color-mix(in oklab, var(--primary) 25%, transparent); color: var(--primary); font-weight: 700; font-size: .8rem; }

/* === NEW DATA HUB SECTION === */
.data-hub-card {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 900px) {
    .data-hub-card { grid-template-columns: 1.8fr 1fr; }
}
.chart-container h3, .news-container h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
.chart-wrapper {
    position: relative;
    height: 350px;
}
.chart-insight {
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
    margin-top: 1.5rem;
    line-height: 1.6;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}
.news-feed { list-style: none; padding: 0; margin: 0; }
.news-feed li { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.news-feed li:last-child { border-bottom: none; }
.news-date { font-weight: 700; font-size: .9rem; color: var(--primary); }
.news-feed p { margin: 0; }

.quote-card { padding: 2rem; text-align: center; font-style: italic; font-size: 1.1rem; }
.author { color: var(--primary); font-weight: 700; margin-top: 1rem; display: block; font-style: normal; }
.portal-card { padding: 2rem; text-align: center; text-decoration: none; color: var(--ink); }
.portal-link { display: block; margin-top: 1rem; font-weight: 700; color: var(--muted); }

.footer { margin-top: 4rem; background: rgba(10, 15, 30, 0.4); border-top: 1px solid var(--border-color); color: var(--muted); padding: 2rem 1.25rem; }
.footer-bottom { text-align: center; }
.footer-legal { margin-top: 1rem; display: flex; justify-content: center; gap: 1.5rem; }
.footer-legal a { color: var(--muted); text-decoration: none; transition: color .2s ease; font-size: .9rem; }
.footer-legal a:hover { color: var(--primary); }

@media (max-width: 900px) { .menu { display: none; } }