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

:root {
  --green: #1d9e75;
  --green-light: #5dcaa5;
  --green-dim: rgba(29,158,117,0.15);
  --blue-deep: #0a1628;
  --blue-mid: #0f1f3a;
  --blue-dark: #060d1a;
  --text-header: #f0f4ff;
  --text-muted: #8a9abf;
  --text-dim: #4a5568;
  --border-dark: rgba(255,255,255,0.07);
  --border-light: #e8eaf0;
  --surface: #ffffff;
  --bg: #f5f7fb;
  --text: #1a1e2e;
  --text-secondary: #5a6478;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ─── */
header {
  background: var(--blue-deep);
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.18) 0%, transparent 70%);
  pointer-events: none;
}
header::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 5%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,138,221,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.header-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.header-icon { flex-shrink: 0; }
.header-icon img {
  width: 100px; height: 100px; border-radius: 22px;
  display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.4);
}
.header-icon .icon-placeholder {
  width: 100px; height: 100px; border-radius: 22px;
  background: linear-gradient(135deg, var(--green) 0%, #378add 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: white;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.4);
}
.header-text { flex: 1; min-width: 260px; }
.header-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(29,158,117,0.2); color: var(--green-light);
  font-size: 11px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
  border: 1px solid rgba(93,202,165,0.25);
}
.header-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; color: var(--text-header);
  line-height: 1.2; margin-bottom: 12px;
  letter-spacing: -0.5px;
}
header .subtitle {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 28px;
  max-width: 440px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: 10px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover { background: #0f6e56; transform: translateY(-1px); }
.cta-btn:active { transform: translateY(0); }
.cta-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--blue-mid);
  border-bottom: 1px solid var(--border-dark);
}
.stats-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.stat {
  padding: 18px 36px; text-align: center;
  border-right: 1px solid var(--border-dark);
}
.stat:last-child { border-right: none; }
.stat-n { font-size: 22px; font-weight: 700; color: var(--green-light); font-family: 'DM Mono', monospace; }
.stat-l { font-size: 10px; color: #4a5a78; text-transform: uppercase; letter-spacing: .6px; margin-top: 2px; }

/* ─── GENERAL SECTION ─── */
.section { padding: 72px 24px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700; margin-bottom: 8px; }
.section-header p { font-size: 14px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 20px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: #c8d4e8;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: #eaf7f2;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}
.feature-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* ─── INSTITUTIONS ─── */
.institutions { background: var(--surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.inst-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.inst-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 100px; padding: 8px 18px;
  font-size: 13px; font-weight: 500; color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}
.inst-tag:hover { border-color: var(--green); background: #f0faf6; }
.inst-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ─── VIDEO ─── */
.video-section { background: var(--bg); }
.video-frame {
  aspect-ratio: 16 / 9;
  max-width: 740px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.video-frame iframe { width: 100%; height: 100%; display: block; border: none; }

/* ─── SCREENSHOTS ─── */
.screenshots-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.screenshot {
  width: 230px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.screenshot:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.screenshot img { width: 100%; display: block; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--blue-deep);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; color: var(--text-header);
  margin-bottom: 10px; position: relative;
}
.cta-banner p {
  font-size: 15px; color: var(--text-muted);
  margin-bottom: 32px; position: relative;
}
.cta-btn-lg {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--green); color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600;
  padding: 15px 32px; border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  position: relative;
}
.cta-btn-lg:hover { background: #0f6e56; transform: translateY(-2px); }
.cta-btn-lg svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ─── FOOTER ─── */
footer {
  background: var(--blue-dark);
  padding: 32px 24px; text-align: center;
}
footer p { font-size: 13px; color: var(--text-dim); line-height: 1.8; }
footer a { color: var(--green-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-sep { margin: 0 10px; color: #2a3548; }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  header { padding: 48px 20px 40px; }
  .header-inner { justify-content: center; text-align: center; }
  .header-text .subtitle { margin-left: auto; margin-right: auto; }
  .stat { padding: 14px 20px; }
  .section { padding: 52px 20px; }
  .cta-banner { padding: 52px 20px; }
}
