/* Faculty registry landing — scoped styles */
.fr-landing {
  --fr-blue: #2563eb;
  --fr-blue-dark: #1d4ed8;
  --fr-surface: #ffffff;
  --fr-bg: #f8fafc;
  --fr-bg-soft: #eff6ff;
  --fr-border: #e2e8f0;
  --fr-text: #0f172a;
  --fr-muted: #64748b;
  --fr-radius: 14px;
  --fr-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --fr-shadow-hover: 0 14px 40px rgba(37, 99, 235, 0.12);
  color: var(--fr-text);
  font-size: 1rem;
  line-height: 1.65;
}

.fr-landing * {
  box-sizing: border-box;
}

.fr-container {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.fr-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.fr-section--soft {
  background: linear-gradient(180deg, var(--fr-bg-soft) 0%, #f8fafc 100%);
}

.fr-section--muted {
  background: var(--fr-bg);
}

.fr-section__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.fr-section__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--fr-text);
}

.fr-section__lead {
  margin: 0;
  color: var(--fr-muted);
  font-size: 1.05rem;
}

/* Hero */
.fr-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 45%, #ffffff 100%);
}

.fr-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 85%;
  background: radial-gradient(ellipse at 70% 0%, rgba(37, 99, 235, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.fr-hero__inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .fr-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.fr-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fr-blue-dark);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.fr-hero__title {
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--fr-text);
}

.fr-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--fr-muted);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.fr-hero__highlights {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fr-hero__highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
}

.fr-hero__highlights .fa-circle-check {
  color: var(--fr-blue);
  font-size: 1.1rem;
}

.fr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.fr-btn-lg {
  padding: 0.9rem 1.65rem !important;
  font-size: 1rem !important;
  border-radius: 10px !important;
}

.fr-hero__panel {
  background: var(--fr-surface);
  border-radius: var(--fr-radius);
  box-shadow: var(--fr-shadow);
  border: 1px solid var(--fr-border);
  padding: 1.75rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.fr-hero__panel:hover {
  box-shadow: var(--fr-shadow-hover);
  transform: translateY(-2px);
}

.fr-hero__panel-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--fr-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fr-hero__panel-title i {
  color: var(--fr-blue);
}

.fr-hero__stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.fr-hero__stat {
  padding: 1rem;
  background: var(--fr-bg-soft);
  border-radius: 10px;
  text-align: center;
}

.fr-hero__stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fr-blue-dark);
  line-height: 1.2;
}

.fr-hero__stat span {
  font-size: 0.8rem;
  color: var(--fr-muted);
  font-weight: 600;
}

/* Trust intro */
.fr-trust-intro {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.08rem;
  color: #475569;
}

.fr-trust-intro p {
  margin: 0;
}

/* Card grids */
.fr-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .fr-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .fr-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fr-card {
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--fr-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.fr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fr-shadow-hover);
  border-color: rgba(37, 99, 235, 0.25);
}

.fr-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--fr-blue);
  font-size: 1.25rem;
}

.fr-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--fr-text);
}

.fr-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fr-muted);
}

/* Who can register — list chips */
.fr-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.fr-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fr-role-pill i {
  color: var(--fr-blue);
  font-size: 0.85rem;
}

.fr-role-pill:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

/* Steps */
.fr-steps {
  display: grid;
  gap: 1rem;
  counter-reset: fr-step;
}

@media (min-width: 768px) {
  .fr-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fr-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fr-step {
  position: relative;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  padding: 1.35rem 1.25rem 1.35rem 1.25rem;
  box-shadow: var(--fr-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fr-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--fr-shadow-hover);
}

.fr-step::before {
  counter-increment: fr-step;
  content: counter(fr-step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  background: var(--fr-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fr-step__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--fr-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fr-blue);
  margin-bottom: 0.85rem;
}

.fr-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  padding-right: 2rem;
}

.fr-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fr-muted);
}

/* Trust & privacy */
.fr-privacy-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .fr-privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fr-privacy-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--fr-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fr-privacy-item:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--fr-shadow-hover);
}

.fr-privacy-item i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--fr-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.fr-privacy-item strong {
  display: block;
  font-size: 1rem;
  color: var(--fr-text);
  margin-bottom: 0.25rem;
}

.fr-privacy-item span {
  font-size: 0.92rem;
  color: var(--fr-muted);
}

/* Free highlight */
.fr-free-block {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  border-radius: var(--fr-radius);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.35);
}

.fr-free-block h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fr-free-block > p {
  margin: 0 0 1rem;
  opacity: 0.95;
  font-size: 1.05rem;
}

.fr-free-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  max-width: 36rem;
  margin-inline: auto;
}

.fr-free-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.98rem;
  opacity: 0.95;
}

.fr-free-list .fa-check {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Pan India */
.fr-pan {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.fr-pan p {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 1.05rem;
}

.fr-pan p:last-child {
  margin-bottom: 0;
}

/* CTA band */
.fr-cta {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 4rem) 1.25rem;
}

.fr-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fr-cta p {
  margin: 0 0 1.5rem;
  color: #94a3b8;
  max-width: 36rem;
  margin-inline: auto;
}

.fr-cta .fr-hero__actions {
  justify-content: center;
}

.fr-cta .btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.fr-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.fr-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* Footer note */
.fr-footnote {
  padding: 1.25rem 0 2.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--fr-muted);
  background: var(--fr-bg);
}

.fr-footnote a {
  color: var(--fr-blue);
  font-weight: 600;
  text-decoration: none;
}

.fr-footnote a:hover {
  text-decoration: underline;
}
