/* Dedicated Mobile App / APK Download page */
.mdp-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 35%, #ffffff 100%);
  font-family: 'DM Sans', sans-serif;
  color: #111827;
}

.mdp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.mdp-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #16a34a;
  text-decoration: none;
}

.mdp-brand span { color: #111827; }

.mdp-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.mdp-back-home:hover {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
  transform: translateY(-1px);
}

.mdp-back-home i {
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .mdp-back-home span {
    display: none;
  }

  .mdp-back-home {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
}

.mdp-download-panel .btn-mobile-open-app {
  margin-top: 0.5rem;
}

.mdp-student-route-hint {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  max-width: 36rem;
}

.mdp-install-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  line-height: 1.55;
}

.mdp-install-note i {
  color: #fbbf24;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.mdp-hero {
  padding: 3.5rem 0 2.5rem;
}

.mdp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.mdp-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.mdp-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.mdp-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.08);
  height: 100%;
}

.mdp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.mdp-card-icon.green { background: #dcfce7; color: #16a34a; }
.mdp-card-icon.blue { background: #dbeafe; color: #2563eb; }
.mdp-card-icon.amber { background: #fef3c7; color: #d97706; }
.mdp-card-icon.violet { background: #ede9fe; color: #7c3aed; }

.mdp-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.mdp-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.mdp-download-panel {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.mdp-download-panel h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.mdp-download-panel p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.mdp-download-panel .mobile-download-block {
  max-width: 28rem;
}

.mdp-download-panel .mobile-download-hint {
  color: rgba(255, 255, 255, 0.55);
}

.mdp-download-panel .btn-mobile-ios {
  background: rgba(255, 255, 255, 0.95);
}

.mdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.mdp-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mdp-steps {
  counter-reset: mdp-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mdp-steps li {
  counter-increment: mdp-step;
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
}

.mdp-steps li::before {
  content: counter(mdp-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mdp-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mdp-audience span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
}

.mdp-dept-banner {
  background: #ffffff;
  border: 1px dashed #bbf7d0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mdp-dept-banner i {
  color: #16a34a;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.mdp-dept-banner strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 0.25rem;
}

.mdp-dept-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.mdp-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: #64748b;
}

.portal-download-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin-bottom: 0.55rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #bbf7d0;
  color: #15803d;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.portal-download-link:hover {
  color: #15803d;
  background: #dcfce7;
  transform: translateY(-1px);
}

.portal-download-link i {
  font-size: 1rem;
}
