:root {
  --mba-navy: #132d52;
  --mba-orange: #f26522;
  --mba-orange-dark: #df5a1c;
  --mba-white: #ffffff;
  --mba-text-soft: rgba(255, 255, 255, 0.82);
  --mba-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  --mba-border: rgba(255, 255, 255, 0.12);
  --mba-safe-top: env(safe-area-inset-top, 0px);
  --mba-safe-right: env(safe-area-inset-right, 0px);
  --mba-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mba-safe-left: env(safe-area-inset-left, 0px);
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #0d2242 0%, #10294f 100%);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--mba-white);
  overflow-x: hidden;
}

.mba-shell,
.mba-shell *,
.mba-main-card,
.mba-main-card *,
.mba-topbar,
.mba-topbar *,
.mba-hero,
.mba-hero *,
.mba-footer,
.mba-footer * {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

.mba-shell a,
.mba-main-card a,
.mba-topbar a,
.mba-hero a,
.mba-footer a {
  text-decoration: none;
}

/* OUTER */
.mba-shell {
  width: 100%;
  max-width: 100%;
  padding: max(14px, var(--mba-safe-top)) max(14px, var(--mba-safe-right))
    max(14px, var(--mba-safe-bottom)) max(14px, var(--mba-safe-left));
}

.mba-main-card {
  width: min(100%, 1500px);
  margin: 0 auto;
  border-radius: 44px;
  overflow: hidden;
  background: linear-gradient(180deg, #15325c 0%, #10284a 100%);
  border: 1px solid var(--mba-border);
  box-shadow: var(--mba-shadow);
  isolation: isolate;
}

/* TOPBAR */
.mba-topbar {
  width: 100%;
  padding: 12px 24px;
  background: rgba(19, 45, 82, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mba-topbar__inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.mba-brand {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 30px;
}

.mba-brand__logos {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  min-width: 0;
}

.mba-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: visible;
}

.mba-brand__logo img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.mba-brand__logo--fedu {
  height: 32px;
}

.mba-brand__logo--mba {
  height: 32px;
}

.mba-brand__text {
  min-width: 0;
  display: flex;
  align-items: center;
}

.mba-brand__subtitle {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.mba-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

/* BUTTONS */
.mba-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  border: 0;
  cursor: pointer;
}

.mba-btn:hover {
  transform: translateY(-1px);
}

.mba-btn--primary {
  color: #fff;
  background: var(--mba-orange);
  box-shadow: 0 12px 28px rgba(242, 101, 34, 0.2);
}

.mba-btn--primary:hover {
  background: var(--mba-orange-dark);
}

.mba-btn--hero {
  min-height: 64px;
  padding: 0 28px;
  font-size: 20px;
  border-radius: 16px;
}

/* HERO */
.mba-hero {
  width: 100%;
  padding: 0;
}

.mba-hero__card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  max-height: 980px;
  overflow: hidden;
  background: linear-gradient(180deg, #15325c 0%, #10284a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mba-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("./img/card_wide.png") center center / cover no-repeat;
}

.mba-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(19, 45, 82, 0.1) 0%,
    rgba(19, 45, 82, 0.22) 36%,
    rgba(10, 23, 43, 0.58) 100%
  );
}

.mba-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  min-height: 100%;
  padding: 40px 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mba-hero__titleWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.mba-hero__line {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 12px 20px 14px;
  background: var(--mba-orange);
  color: #fff;
  font-size: 82px;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.04em;
  transform-origin: left center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.mba-hero__line:nth-child(1) {
  transform: rotate(1.6deg);
  margin-left: 4px;
}

.mba-hero__line:nth-child(2) {
  transform: rotate(-1.8deg);
  margin-left: 16px;
}

.mba-hero__line:nth-child(3) {
  transform: rotate(1.2deg);
  margin-left: 8px;
}

.mba-hero__line:nth-child(4) {
  transform: rotate(-1.5deg);
  margin-left: 18px;
}

.mba-hero__line--sm {
  font-size: 70px;
}

.mba-hero__text {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 22px;
  line-height: 1.5;
  color: var(--mba-text-soft);
}

.mba-hero__actions {
  margin-top: 26px;
}

/* FOOTER */
.mba-footer {
  width: 100%;
  padding: 0 22px 20px;
  background: rgba(19, 45, 82, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mba-footer__inner {
  width: 100%;
  margin: 0 auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mba-footer__brand {
  display: flex;
  align-items: center;
}

.mba-footer__logo {
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
}

.mba-footer__copy {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}

/* LARGE DESKTOP */
@media (min-width: 1400px) {
  .mba-hero__card {
    aspect-ratio: 16 / 10;
    max-height: 860px;
  }
}

/* TABLET / SMALL DESKTOP */
@media (max-width: 1200px) {
  .mba-topbar__inner {
    gap: 16px;
  }

  .mba-brand {
    gap: 20px;
  }

  .mba-brand__logos {
    gap: 14px;
  }

  .mba-brand__logo--fedu,
  .mba-brand__logo--mba {
    height: 30px;
  }

  .mba-brand__subtitle {
    font-size: 20px;
  }

  .mba-btn {
    min-height: 50px;
    padding: 0 20px;
    font-size: 16px;
  }

  .mba-hero__card {
    aspect-ratio: 4 / 5;
    max-height: 860px;
  }

  .mba-hero__content {
    padding: 34px 30px 38px;
  }

  .mba-hero__line {
    font-size: 64px;
  }

  .mba-hero__line--sm {
    font-size: 54px;
  }

  .mba-hero__text {
    font-size: 20px;
  }
}

/* MOBILE / TABLET PORTRAIT */
@media (max-width: 768px) {
  .mba-shell {
    padding: max(12px, var(--mba-safe-top)) max(12px, var(--mba-safe-right))
      max(12px, var(--mba-safe-bottom)) max(12px, var(--mba-safe-left));
  }

  .mba-main-card {
    width: 100%;
    max-width: 100%;
    border-radius: 28px;
  }

  .mba-topbar {
    padding: 14px 16px;
  }

  .mba-topbar__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 14px;
  }

  .mba-brand {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 12px;
  }

  .mba-brand__logos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
  }

  .mba-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mba-brand__logo--fedu {
    height: 30px;
  }

  .mba-brand__logo--mba {
    height: 30px;
  }

  .mba-brand__text {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mba-brand__subtitle {
    font-size: 18px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .mba-topbar__actions {
    width: 100%;
    justify-content: center;
  }

  .mba-btn {
    min-height: 48px;
    min-width: 210px;
    max-width: min(100%, 260px);
    padding: 0 18px;
    font-size: 15px;
    border-radius: 14px;
  }

  .mba-hero__card {
    aspect-ratio: 4 / 5;
    max-height: none;
    min-height: 620px;
  }

  .mba-hero__bg {
    background: url("./img/card_narrow.png") center center / cover no-repeat;
  }

  .mba-hero__content {
    max-width: 100%;
    min-height: 100%;
    padding: 24px 18px 28px;
    justify-content: flex-end;
  }

  .mba-hero__line {
    padding: 10px 14px 12px;
    font-size: 42px;
    line-height: 0.95;
    margin-bottom: 8px;
  }

  .mba-hero__line--sm {
    font-size: 34px;
  }

  .mba-hero__line:nth-child(1) {
    transform: rotate(1.2deg);
    margin-left: 2px;
  }

  .mba-hero__line:nth-child(2) {
    transform: rotate(-1.4deg);
    margin-left: 8px;
  }

  .mba-hero__line:nth-child(3) {
    transform: rotate(0.9deg);
    margin-left: 4px;
  }

  .mba-hero__line:nth-child(4) {
    transform: rotate(-1.2deg);
    margin-left: 10px;
  }

  .mba-hero__text {
    max-width: 100%;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .mba-btn--hero {
    width: 100%;
    min-height: 54px;
    max-width: 100%;
    font-size: 16px;
    padding: 0 18px;
  }

  .mba-footer {
    padding: 0 18px 22px;
  }

  .mba-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mba-footer__logo {
    width: 100px;
  }

  .mba-footer__copy {
    text-align: left;
    font-size: 13px;
  }
}

/* VERY SMALL MOBILE */
@media (max-width: 430px) {
  .mba-hero__card {
    min-height: 560px;
  }

  .mba-hero__line {
    font-size: 34px;
  }

  .mba-hero__line--sm {
    font-size: 29px;
  }

  .mba-hero__text {
    font-size: 14px;
  }

  .mba-btn {
    min-width: 0;
    width: 100%;
  }
}
