/* MMU Connect landing page styles */
/* Requires css/style.css for shared variables and components. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 90px 0 110px;
  background: #07122e url("../assets/images/campus-fallback.jpg") center / cover no-repeat;
}


 .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  display: block;
  opacity: 1;
  transition: none;
  background: transparent;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(5, 11, 31, .94) 0%,
    rgba(5, 11, 31, .80) 48%,
    rgba(5, 11, 31, .56) 100%
  );
  pointer-events: none;
}

.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 1; }
.hero .badge { border-color: rgba(215, 181, 109, .42); }
.hero h1 span {
  display: block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 1.15rem; max-width: 520px; margin: 18px 0 28px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.fee-chip {
  margin-top: 22px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
}
.fee-chip strong { color: var(--green); }

.stack { position: relative; height: 430px; min-width: 0; }
.pcard {
  position: absolute;
  width: 250px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.pcard .pic {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--bg2);
}
.pcard .info { padding: 14px 16px; }
.pcard .info b { font-size: 1.05rem; }
.pcard .info small { color: var(--muted); display: block; }
.pc1 { left: 0; top: 40px; transform: rotate(-7deg); }
.pc2 { right: 0; top: 0; transform: rotate(6deg); animation: float 6s ease-in-out infinite; }
.pc3 { left: 70px; bottom: 0; transform: rotate(-1deg); width: 230px; }

@keyframes float {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-14px); }
}

.av1 { background: linear-gradient(135deg, #22e58b, #0b5fd1); }
.av2 { background: linear-gradient(135deg, #2f7bff, #7a4dff); }
.av3 { background: linear-gradient(135deg, #00c2a8, #22e58b); }
.av4 { background: linear-gradient(135deg, #ff7aa8, #7a4dff); }

.feat .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 229, 139, .2), rgba(215, 181, 109, .2));
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.step .n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #142017;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.fee-band {
  background: linear-gradient(135deg, rgba(34, 229, 139, .14), rgba(47, 123, 255, .18));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.price { font-size: 3rem; font-weight: 800; color: var(--green); }
.preview { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; margin-bottom: 10px; font-size: .95rem; }
.bubble.in { background: #14275a; color: #fff; }
.bubble.out { background: var(--grad); color: #04101f; margin-left: auto; }
.match-pair { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px 0; }
.match-pair .dot {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.5rem;
}
.profile-mini .pic {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--bg2);
  margin-bottom: 12px;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.quote p { color: #dbe5ff; }
.quote small { display: block; margin-top: 12px; }

@media (max-width: 900px) {
  .hero { padding: 72px 0 84px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: 720px; }
  .stack { width: min(540px, 100%); margin: 0 auto; }
  .fee-band { padding: 30px; }
  .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .hero { padding: 54px 0 64px; }
  .hero-in { gap: 18px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  .hero p.lead { font-size: 1rem; }
  .hero-btns .btn { flex: 1 1 130px; }
  .fee-chip { align-items: flex-start; flex-direction: column; gap: 2px; }
  .stack { height: 370px; max-width: 360px; }
  .pcard { width: 190px; border-radius: 18px; }
  .pcard .pic { height: 175px; }
  .pcard .info { padding: 10px 12px; }
  .pcard .info b { font-size: .95rem; }
  .pcard .info small { font-size: .75rem; }
  .pc1 { left: 0; top: 38px; }
  .pc2 { right: 0; top: 0; }
  .pc3 { left: 50px; bottom: 0; width: 190px; }
  .grid.g3, .grid.g4, .grid.g2, .preview { grid-template-columns: 1fr; }
  .fee-band { grid-template-columns: 1fr; padding: 24px; }
  .price { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pc2 { animation: none; }
}
