:root {
  --primary: #3048ee;
  --primary-dark: #1d35d5;
  --accent: #4b5cff;
  --ink: #101b52;
  --muted: #667085;
  --surface: #f4f6ff;
  --white: #ffffff;
  --border: #e6e9f5;
  --shadow: 0 16px 45px rgba(32, 50, 120, .10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(930px, calc(100% - 40px)); }
.section { padding: 88px 0; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-heading h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.15; margin: 7px 0 14px; }
.section-heading p { color: var(--muted); font-size: .96rem; }
.section-kicker, .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.section-kicker.light { color: rgba(255,255,255,.78); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 4px 18px rgba(16, 35, 130, .16);
}
.navbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; background: white; height: 74px; padding: 6px 12px; }
.brand-mark {
  color: var(--primary);
  font-weight: 900;
  font-size: 1rem;
  line-height: .92;
  text-align: center;
  letter-spacing: -.04em;
}
.brand-mark small { display: block; color: #f28c28; font-size: .42rem; letter-spacing: .02em; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 34px; color: white; font-size: .82rem; font-weight: 600; }
.nav-link { opacity: .9; position: relative; padding: 26px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 19px; height: 2px; border-radius: 2px; background: white; transform: scaleX(0); transition: .2s; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: white; margin: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .78rem;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(22, 45, 180, .18); }
.btn-primary { background: var(--primary); color: white; }
.btn-light { background: white; color: var(--primary); }
.btn-outline { color: var(--primary); border-color: #d8ddff; background: white; }
.text-link { font-weight: 700; color: var(--primary); font-size: .82rem; }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; padding: 0; min-height: 570px; }
.hero-image { min-height: 570px; }
.hero-image img { height: 100%; }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(32px, 7vw, 100px); background: #fff; }
.hero-content h1 { font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.055em; margin: 13px 0 20px; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { color: var(--muted); max-width: 520px; font-size: .94rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }

.why, .courses, .faq { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 80px; align-items: center; }
.feature-image img { aspect-ratio: 1.25; border-radius: 12px; box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 34px; }
.feature { display: grid; grid-template-columns: 42px 1fr; gap: 18px; }
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px; background: white; color: var(--primary);
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; box-shadow: 0 8px 24px rgba(25,40,100,.08);
}
.feature h3 { color: var(--primary); font-size: 1.05rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .82rem; max-width: 450px; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  background: white; border: 1px solid var(--border); border-radius: 13px; overflow: hidden;
  transition: transform .25s, box-shadow .25s; box-shadow: 0 5px 20px rgba(25,40,100,.04);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card > img { height: 185px; }
.course-body { padding: 21px; }
.course-tag { color: var(--primary); font-size: .63rem; font-weight: 800; letter-spacing: .1em; }
.course-body h3 { font-size: 1.2rem; margin: 4px 0 8px; }
.course-body p { color: var(--muted); font-size: .77rem; min-height: 78px; }
.course-link { color: var(--primary); font-size: .76rem; font-weight: 800; display: inline-block; margin-top: 12px; }
.course-card-more { padding: 32px; display: flex; flex-direction: column; justify-content: center; min-height: 300px; }
.more-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--surface); color: var(--primary); display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 20px; }
.course-card-more p { margin: 12px 0 22px; }

.faq-list { display: grid; gap: 14px; }
.faq-list details { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 0 22px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 35px 20px 0; font-size: .88rem; font-weight: 800; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 17px; color: var(--primary); font-size: 1.3rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--muted); font-size: .78rem; padding: 0 0 20px; max-width: 820px; }

.partners { background: white; }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.partner {
  min-height: 75px; display: grid; place-items: center; text-align: center; color: #344054;
  font-size: .7rem; font-weight: 600; padding: 12px; filter: grayscale(1); opacity: .8;
}
.partner-un { background: #0879b8; color: white; min-height: 130px; font-size: 1.6rem; font-weight: 800; }
.partner-un small { font-size: .45rem; letter-spacing: .08em; }

.register-cta { background: var(--primary); color: white; padding: 70px 0; }
.cta-card { text-align: center; max-width: 780px; margin: auto; }
.cta-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 8px 0 12px; }
.cta-card p { color: rgba(255,255,255,.82); font-size: .9rem; margin-bottom: 25px; }

footer { background: #2039df; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.1fr 1.3fr; gap: 50px; padding: 60px 0 50px; }
.footer-brand { max-width: 250px; }
.footer-mark { background: white; display: inline-block; padding: 12px 18px; border-radius: 2px; margin-bottom: 18px; }
.footer-brand p, footer p { color: rgba(255,255,255,.78); font-size: .76rem; }
footer h3 { font-size: .86rem; margin-bottom: 14px; }
footer a { display: block; color: rgba(255,255,255,.78); font-size: .75rem; margin: 8px 0; transition: color .2s; }
footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.22); padding: 15px 0; font-size: .68rem; color: rgba(255,255,255,.72); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-links { gap: 20px; }
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 430px; max-height: 430px; }
  .hero-content { padding: 60px 30px; }
  .why-grid { grid-template-columns: 1fr; gap: 45px; }
  .feature-image { max-width: 680px; margin: auto; width: 100%; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .container, .narrow { width: min(100% - 28px, var(--max)); }
  .section { padding: 65px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; background: var(--primary);
    display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 13px 0; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .hero-image { min-height: 300px; max-height: 300px; }
  .hero-content { padding: 50px 24px 60px; }
  .hero-content h1 { font-size: 2.35rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card > img { height: 205px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 430px) {
  .navbar { min-height: 64px; }
  .brand { height: 64px; }
  .nav-links { top: 64px; }
  .hero-content h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
