.home-page {
  max-width: 1480px;
  margin: 0 auto;
  color: #243247;
}

.home-page .hero-premium-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background: linear-gradient(115deg, var(--primary-darker), #1d2331);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
}

.home-page .hero-premium-bg,
.home-page .hero-premium-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-page .hero-premium-bg {
  object-fit: cover;
  object-position: center 42%;
}

.home-page .hero-premium-overlay {
  background: linear-gradient(100deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .45));
  z-index: 1;
}

.home-page .hero-year-watermark {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .08);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(7rem, 20vw, 17rem);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: 1;
  user-select: none;
  z-index: 1;
}

.home-page .hero-premium-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 48px 56px;
  color: #ffffff;
  animation: home-enter .45s ease both;
}

.home-page .home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.home-page h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.home-page .hero-subtitle-premium {
  max-width: 620px;
  margin: 0 0 28px;
  color: #edf0f6;
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-page .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-page :is(.home-login-button, .home-admissions-button, .home-registration-button) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease;
}

.home-page .home-login-button {
  background: #ffffff;
  color: #18212f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

.home-page .home-login-button:hover { background: #e9eef5; color: #18212f; }
.home-page .home-login-button > :last-child { margin-left: 12px; }

.home-page .home-admissions-button {
  border-color: rgba(255, 255, 255, .65);
  background: transparent;
  color: #ffffff;
}

.home-page .home-admissions-button:hover { background: rgba(255, 255, 255, .12); color: #ffffff; }

.home-page .home-account-note {
  margin: 14px 0 0;
  color: #e0e5ef;
  font-size: .8rem;
}

.home-page .home-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0;
}

.home-page .feature-card-premium {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, var(--primary-soft)), #ffffff;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .035);
  animation: home-enter .45s ease .08s both;
}

.home-page .feature-card-premium:nth-child(2) { animation-delay: .14s; }
.home-page .feature-card-premium:nth-child(3) { animation-delay: .2s; }

.home-page .feature-icon-premium {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-text);
  font-size: 1.35rem;
}

.home-page h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.4;
}

.home-page .feature-card-premium p {
  margin: 0 0 24px;
  color: #536174;
  font-size: .95rem;
  line-height: 1.7;
}

.home-page .home-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: auto;
  color: var(--primary-text);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.home-page .home-feature-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.home-page .home-registration {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 20px;
  background: linear-gradient(115deg, var(--primary-light), #ffffff), #ffffff;
}

.home-page .home-registration p { margin: 0; color: #536174; line-height: 1.7; }

.home-page .home-registration-button {
  flex-shrink: 0;
  background: var(--primary-color);
  color: var(--primary-contrast);
}

.home-page .home-registration-button:hover { background: var(--primary-dark); color: var(--primary-hover-contrast); }
.home-page a:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 4px; }
.home-page .home-hero-actions a:focus-visible { outline-color: #ffffff; }

@keyframes home-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .home-page .hero-premium-content { padding: 40px; }
  .home-page .home-features { gap: 16px; }
  .home-page .feature-card-premium { padding: 22px; }
}

@media (max-width: 767.98px) {
  .home-page .hero-premium-wrapper { min-height: 0; border-radius: 20px; }
  .home-page .hero-premium-content { padding: 32px 24px; }
  .home-page .home-eyebrow { margin-bottom: 20px; }
  .home-page .hero-subtitle-premium { font-size: .95rem; line-height: 1.65; }
  .home-page .hero-year-watermark { right: 12px; top: 28%; }
  .home-page .home-features { grid-template-columns: 1fr; margin: 20px 0; }
  .home-page .feature-card-premium { padding: 24px; }
  .home-page .home-registration { align-items: flex-start; flex-direction: column; padding: 24px; gap: 20px; }
}

@media (max-width: 399.98px) {
  .home-page .hero-premium-content { padding: 28px 20px; }
  .home-page .home-hero-actions { flex-direction: column; }
  .home-page .home-registration-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .btn-login-elegant { animation: none !important; transition: none !important; }
}
