:root {
  --blue: #0b6ef3;
  --blue-strong: #075ee0;
  --ink: #080e2c;
  --text: #15203f;
  --muted: #526179;
  --line: #e7edf8;
  --soft: #f6f9ff;
  --teal: #12c9bd;
  --purple: #7358e8;
  --orange: #ff9e25;
  --shadow: 0 22px 70px rgba(28, 58, 126, 0.14);
  --radius: 8px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 78px;
  padding: 0 36px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 237, 248, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #050b22;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span span {
  color: var(--blue);
}

.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 29px;
  color: var(--blue);
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 37px;
  color: #07122d;
  font-size: 13px;
  font-weight: 700;
}

.primary-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.primary-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-actions,
.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(13, 103, 238, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(13, 103, 238, 0.18);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-strong);
}

.btn-ghost,
.btn-white {
  color: var(--blue);
  background: #fff;
  border-color: #dbe5f6;
  box-shadow: 0 12px 24px rgba(28, 58, 126, 0.08);
}

.btn-teal {
  color: #fff;
  background: var(--teal);
}

.btn-large {
  min-height: 58px;
  padding: 0 32px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(500px, 1.35fr);
  align-items: stretch;
  min-height: 555px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 31%, rgba(255, 255, 255, 0.86) 43%, rgba(255, 255, 255, 0.08) 62%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 92px 0 80px 86px;
  max-width: 610px;
}

.hero h1 {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.hero p {
  max-width: 508px;
  margin: 0 0 36px;
  color: #1c294b;
  font-size: 17px;
  font-weight: 500;
}

.hero-media {
  position: relative;
  min-height: 555px;
  background:
    radial-gradient(circle at 54% 32%, rgba(38, 145, 255, 0.34), rgba(38, 145, 255, 0) 23%),
    linear-gradient(90deg, rgba(255,255,255,0.86), rgba(255,255,255,0.04) 26%, rgba(255,255,255,0) 54%),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=88") center / cover;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 29%, rgba(14, 117, 246, 0.36) 0 10%, rgba(14, 117, 246, 0.12) 16%, rgba(14, 117, 246, 0) 24%),
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.42));
  mix-blend-mode: screen;
}

.partner-strip {
  padding: 28px 60px 46px;
  text-align: center;
}

.partner-strip p {
  margin: 0 0 28px;
  color: #212942;
  font-size: 13px;
  font-weight: 700;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 58px;
  color: #9da2aa;
  font-size: 26px;
  font-weight: 800;
}

.section-pad,
.direction-grid,
.final-cta,
.site-footer {
  width: min(1380px, calc(100% - 112px));
  margin-inline: auto;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.25fr;
  align-items: center;
  gap: 76px;
  padding-top: 28px;
  padding-bottom: 40px;
}

.section-copy h2,
.direction-panel h2,
.learning-band h2,
.final-cta h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(31px, 3.2vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}

.section-copy h2 span {
  color: var(--blue);
}

.section-copy p,
.direction-panel p,
.learning-band p,
.service-card p,
.feature-card p,
.final-cta p {
  color: #263456;
  font-size: 15px;
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.video-card,
.instructor-card,
.consult-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--soft);
}

.video-card {
  aspect-ratio: 2.16 / 1;
}

.video-card img,
.instructor-card img,
.consult-card img {
  height: 100%;
  object-fit: cover;
}

.video-card::after,
.instructor-card::after,
.consult-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 26, 58, 0.02), rgba(9, 26, 58, 0.22));
}

.play-button {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.play-button svg {
  width: 34px;
}

.build-section {
  padding-top: 10px;
  padding-bottom: 30px;
}

.center-heading {
  position: relative;
  width: fit-content;
  margin: 0 auto 28px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.15;
  font-weight: 900;
  text-align: center;
}

.center-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card,
.service-card,
.course-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 42px rgba(28, 58, 126, 0.08);
}

.feature-card {
  min-height: 282px;
  padding: 36px 32px 28px;
}

.feature-card h3,
.service-card h3 {
  margin: 20px 0 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900;
}

.feature-card p,
.service-card p {
  margin: 0;
}

.feature-icon,
.service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #edf4ff;
  box-shadow: 0 14px 30px rgba(28, 58, 126, 0.12);
}

.feature-icon svg {
  width: 34px;
  height: 34px;
}

.blue { color: var(--blue); }
.purple { color: var(--purple); background: #f1efff; }
.teal { color: var(--teal); background: #e7fffb; }
.orange { color: var(--orange); background: #fff3e1; }

.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 42px;
}

.direction-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 28px;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 56px rgba(28, 58, 126, 0.11);
}

.direction-panel > div {
  position: relative;
  z-index: 2;
  padding: 72px 0 54px 32px;
}

.direction-panel img {
  align-self: end;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-panel {
  background: linear-gradient(135deg, #f3f8ff 0%, #eaf3ff 100%);
}

.infra-panel {
  background: linear-gradient(135deg, #e9fffd 0%, #e9f8ff 100%);
}

.direction-panel h2 {
  max-width: 400px;
  font-size: clamp(28px, 2.5vw, 40px);
}

.direction-panel p {
  max-width: 420px;
  margin: 0 0 18px;
}

.micro-label {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.infra-panel .micro-label {
  color: #00a9a4;
}

.mini-icons {
  display: grid;
  grid-template-columns: repeat(5, minmax(62px, 1fr));
  gap: 14px;
  max-width: 520px;
  margin: 22px 0 24px;
  color: #128a92;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.mini-icons span::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-inline: auto;
  margin-bottom: 6px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.learning-band {
  display: grid;
  grid-template-columns: 0.82fr 1fr 0.86fr;
  gap: 24px;
  align-items: stretch;
  padding-top: 44px;
  padding-bottom: 62px;
}

.learning-intro {
  padding-top: 28px;
}

.learning-intro h2,
.course-card h2 {
  font-size: clamp(28px, 2.6vw, 42px);
}

.course-card {
  padding: 48px 42px 34px;
  background: linear-gradient(135deg, #fff 0%, #f7f1ff 100%);
}

.course-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  color: #7052cf;
  font-size: 12px;
  font-weight: 800;
}

.course-points span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.instructor-card {
  min-height: 276px;
}

.instructor-card figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  color: #25355c;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
}

.instructor-card figcaption strong {
  color: #1a2244;
  white-space: nowrap;
}

.services-section {
  padding-top: 6px;
  padding-bottom: 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 2.05fr;
  gap: 20px;
  align-items: stretch;
}

.service-card {
  min-height: 215px;
  padding: 30px 26px 24px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  font-size: 21px;
  font-weight: 900;
}

.service-card h3 {
  margin-top: 18px;
  font-size: 17px;
}

.service-card p {
  font-size: 13px;
}

.consult-card {
  min-height: 215px;
}

.consult-card .btn {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr auto;
  align-items: center;
  gap: 36px;
  min-height: 142px;
  overflow: hidden;
  padding: 34px 40px;
  color: #fff;
  background:
    linear-gradient(90deg, #080d2c 0%, #0a1239 58%, rgba(9, 17, 54, 0.76) 100%),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=85") right center / 42% 100% no-repeat;
  border-radius: var(--radius);
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(25px, 2.3vw, 34px);
}

.final-cta p {
  max-width: 540px;
  margin: 0;
  font-size: 13px;
}

.final-cta > div:first-child {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 70px;
  align-items: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.55fr repeat(5, 1fr);
  gap: 36px;
  padding: 36px 12px 0;
}

.site-footer .brand {
  font-size: 20px;
}

.site-footer .brand-mark {
  width: 30px;
}

.footer-brand p {
  max-width: 220px;
  color: #495875;
  font-size: 13px;
}

.site-footer h3 {
  margin: 4px 0 18px;
  color: #111938;
  font-size: 13px;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer a {
  color: #56637c;
  font-size: 12px;
  font-weight: 600;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  color: #6e7890;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.socials {
  color: #1c2748;
  font-weight: 800;
  letter-spacing: 10px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .primary-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 42px;
    height: 38px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .nav-toggle span {
    height: 2px;
    background: var(--ink);
  }

  .site-header.nav-open .primary-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-header.nav-open .primary-nav {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
  }

  .site-header.nav-open .header-actions {
    justify-content: center;
    padding-bottom: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
    padding: 76px 40px 52px;
  }

  .hero-media {
    min-height: 360px;
    order: -1;
  }

  .split-section,
  .direction-grid,
  .learning-band,
  .services-grid,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .build-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .consult-card,
  .site-footer .footer-bottom {
    grid-column: 1 / -1;
  }

  .final-cta > div:first-child {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 31px;
  }

  .hero-copy {
    padding: 54px 22px 44px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-actions,
  .header-actions,
  .final-actions,
  .partner-logos,
  .course-points {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-logos {
    gap: 20px;
    font-size: 22px;
  }

  .section-pad,
  .direction-grid,
  .final-cta,
  .site-footer {
    width: min(100% - 36px, 1380px);
  }

  .split-section,
  .direction-grid,
  .learning-band,
  .services-grid,
  .final-cta,
  .site-footer,
  .build-grid {
    grid-template-columns: 1fr;
  }

  .split-section {
    gap: 34px;
  }

  .direction-panel {
    grid-template-columns: 1fr;
  }

  .direction-panel > div {
    padding: 36px 24px 0;
  }

  .direction-panel img {
    max-height: 280px;
  }

  .mini-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .learning-band {
    padding-bottom: 34px;
  }

  .final-cta {
    padding: 32px 24px;
    background:
      linear-gradient(90deg, #080d2c 0%, rgba(10, 18, 57, 0.92) 100%),
      url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=85") center / cover no-repeat;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
