/**
 * homepage.css — FacultyPage Theme
 * Styles for the public-facing marketing / landing page (page--front).
 * Loaded only on the front page via the 'homepage' library.
 */

/* ── HERO SECTION ── */
.fp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /*min-height: calc(100vh - 68px);*/
}

.fp-hero-left {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--fp-border);
  position: relative;
  overflow: hidden;
}

/* Large decorative letters */
.fp-hero-bg-text {
  position: absolute;
  top: -1rem;
  right: 2rem;
  font-family: 'Fraunces', serif;
  font-size: 22rem;
  font-weight: 900;
  color: rgba(28, 28, 30, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.fp-hero-top {}

.fp-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--fp-charcoal);
  margin-bottom: 2.5rem;
  margin-top: 2rem;
}
.fp-hero-title .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--fp-terra);
}
.fp-hero-title .small {
  font-size: 0.55em;
  font-weight: 300;
  display: block;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fp-mid);
  margin-top: 0.3rem;
}

.fp-hero-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--fp-mid);
  max-width: 420px;
  margin-bottom: 3rem;
}

/* Stats bar at hero bottom */
.fp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--fp-border);
  padding-top: 2.5rem;
  gap: 0;
}
.fp-stat-b {
  padding-right: 2rem;
  border-right: 1px solid var(--fp-border);
}
.fp-stat-b:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 1.5rem;
}
.fp-stat-b:nth-child(2) { padding-left: 1.5rem; }
.fp-stat-bn {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fp-charcoal);
  line-height: 1;
  letter-spacing: -0.03em;
}
.fp-stat-bn span { font-size: 1.2rem; color: var(--fp-terra); }
.fp-stat-bl {

  color: var(--fp-mid);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

/* Hero right: registration form panel */
.fp-hero-right {
  background: var(--fp-off-white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fp-slide-up 0.6s ease 0.12s both;
}
.path--user-login .fp-hero-right .fp-card-body,
.path--user-password .fp-hero-right .fp-card-body{
  padding: 0;
}
.path--user-login .fp-hero-right .fp-card,
.path--user-password .fp-hero-right .fp-card{
  background: transparent;
  border:0px;
  border-radius:0%;
}
.fp-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fp-mid);
  margin-bottom: 1.2rem;
}
.fp-form-badge::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--fp-terra);
  display: inline-block;
}
.fp-form-heading {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fp-charcoal);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.fp-form-sub {
  font-size: 0.95rem;
  color: var(--fp-mid);
  margin-bottom: 2.5rem;
}
.fp-form-sub a {
  color: var(--fp-terra);
  text-decoration: none;
}
.fp-form-sub a:hover { text-decoration: underline; }

/* ── MARQUEE STRIP ── */
.fp-marquee-wrap {
  background: var(--fp-terra);
  padding: 0.65rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fp-marquee-inner {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: fp-marquee 28s linear infinite;
  width: max-content;
}
.fp-marquee-item {
  font-family: 'Fraunces', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.fp-marquee-item--accent {
  /*color: var(--fp-terra-light);*/
  padding-right: 8.5rem;
}
@keyframes fp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FEATURES GRID ── */
.fp-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--fp-border);
  border-bottom: 1px solid var(--fp-border);
}
.fp-feat {
  padding: 3rem 2rem;
  border-right: 1px solid var(--fp-border);
  transition: background var(--fp-transition);
  cursor: default;
}
.fp-feat:last-child { border-right: none; }
.fp-feat:hover { background: var(--fp-terra-pale); }
.fp-feat-icon {
  width: 40px;
  height: 40px;
  background: var(--fp-terra-pale);
  border-radius: var(--fp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.fp-feat-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fp-charcoal);
  margin-bottom: 0.5rem;
}
.fp-feat-desc {
  font-size: 0.95rem;
  color: var(--fp-mid);
  line-height: 1.65;
}

/* ── HOW IT WORKS SECTION ── */
.fp-how {
  padding: 6rem 3rem;
  background: var(--fp-paper);
}
.fp-how-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.fp-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fp-terra);
  margin-bottom: 0.75rem;
}
.fp-sec-title {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fp-charcoal);
  margin-bottom: 4rem;
  line-height: 1.15;
}
.fp-sec-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--fp-terra);
}
.fp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.fp-step-card {
  background: var(--fp-white);
  border-radius: var(--fp-radius-md);
  padding: 2.5rem 2rem;
  border: 1.5px solid var(--fp-border);
  transition: transform var(--fp-transition), border-color var(--fp-transition), box-shadow var(--fp-transition);
}
.fp-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--fp-terra);
  box-shadow: var(--fp-shadow);
}
.fp-step-n {
  font-family: 'Fraunces', serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fp-terra);
  background: var(--fp-terra-pale);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.fp-step-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fp-charcoal);
  margin-bottom: 0.6rem;
}
.fp-step-desc {
  font-size: 0.95rem;
  color: var(--fp-mid);
  line-height: 1.7;
}

/* ── HERO ANIMATIONS ── */
.fp-pill        { animation: fp-slide-up 0.5s ease 0.05s both; }
.fp-hero-title  { animation: fp-slide-up 0.7s ease 0.12s both; }
.fp-hero-desc   { animation: fp-slide-up 0.6s ease 0.22s both; }
.fp-hero-stats  { animation: fp-slide-up 0.6s ease 0.32s both; }
.fp-hero-right  { animation: fp-slide-up 0.6s ease 0.10s both; }


@keyframes fp-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
