/* Landing page (guest home) and shared footer. Uses the --fx-* tokens from fitexpress-theme.css. */

.fx-landing-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #12213a 0%, #1f557e 55%, #3e8ed0 100%);
  color: #ffffff;
  border-bottom: 1px solid var(--fx-line);
}

html[data-theme="dark"] .fx-landing-hero {
  background: linear-gradient(135deg, #070a10 0%, #0f2236 55%, #1c4a72 100%);
}

.fx-landing-hero .hero-body {
  position: relative;
  z-index: 1;
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}

/* particles.js canvas fills the hero and stays behind the content */
.fx-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fx-particles canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.fx-landing-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .fx-landing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.fx-landing-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.75rem;
}

.fx-landing-hero .title {
  color: #ffffff;
  font-size: 2.75rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem !important;
}

.fx-landing-hero .subtitle {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.fx-landing-copy p.fx-landing-lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.fx-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.fx-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.fx-chip .fa {
  opacity: 0.85;
}

/* login card: always a solid surface with body text, whatever the theme */
.fx-login-card {
  background: var(--fx-surface);
  color: var(--fx-text);
  border: 1px solid var(--fx-line);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(10, 20, 40, 0.28);
}

.fx-login-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fx-text);
  margin-bottom: 0.25rem;
}

.fx-login-card > p {
  color: var(--fx-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.fx-login-card .label {
  color: var(--fx-text);
  font-size: 0.85rem;
}

.fx-login-card .field:not(:last-child) {
  margin-bottom: 1rem;
}

.fx-login-card .input {
  height: 2.75rem;
}

.fx-login-card .help.is-danger {
  color: #d93a4a;
}

.fx-login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.fx-login-actions .button.is-primary {
  min-width: 8rem;
  height: 2.75rem;
}

.fx-login-actions a {
  font-size: 0.85rem;
  color: var(--fx-link);
}

.fx-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--fx-text-muted);
  cursor: pointer;
}

.fx-remember input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--fx-accent);
}

/* outcome pillars, lifted from the platform page, overlapping the hero edge */
.fx-pillars-strip {
  position: relative;
  z-index: 2;
  margin-top: -2.75rem;
  padding-bottom: 3rem;
}

.fx-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 960px) {
  .fx-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fx-pillars {
    grid-template-columns: 1fr;
  }
}

.fx-pillar {
  background: var(--fx-surface);
  border: 1px solid var(--fx-line);
  border-top: 3px solid var(--pillar-accent, #3e8ed0);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-align: center;
  box-shadow: var(--fx-shadow-pop);
}

.fx-pillar .fa {
  display: block;
  font-size: 1.35rem;
  color: var(--pillar-accent, #3e8ed0);
  margin-bottom: 0.5rem;
}

.fx-pillar strong {
  display: block;
  font-size: 0.85rem;
  color: var(--fx-text);
  margin-bottom: 0.2rem;
}

.fx-pillar span {
  font-size: 0.74rem;
  color: var(--fx-text-muted);
  line-height: 1.35;
}

/* feature trio */
.fx-landing-features {
  padding: 1rem 0 3.5rem;
}

.fx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .fx-feature-grid {
    grid-template-columns: 1fr;
  }
}

.fx-feature {
  background: var(--fx-surface);
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--fx-shadow);
}

.fx-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  background: var(--feature-accent, #3e8ed0);
}

.fx-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fx-text);
  margin-bottom: 0.4rem;
}

.fx-feature p {
  color: var(--fx-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* footer */
.fx-footer {
  border-top: 1px solid var(--fx-line);
  background: var(--fx-surface);
  color: var(--fx-text-muted);
  font-size: 0.875rem;
  padding: 2.5rem 1.5rem 1.5rem;
}

.fx-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .fx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .fx-footer-grid {
    grid-template-columns: 1fr;
  }
}

.fx-footer-logo {
  height: 26px;
  width: auto;
  margin-bottom: 0.75rem;
}

html[data-theme="dark"] .fx-footer-logo {
  filter: brightness(1.4);
}

.fx-footer-brand p {
  max-width: 28rem;
  line-height: 1.55;
}

.fx-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fx-footer-links strong {
  color: var(--fx-text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.fx-footer-links a {
  color: var(--fx-text-muted);
}

.fx-footer-links a:hover {
  color: var(--fx-text);
}

.fx-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fx-line);
  font-size: 0.78rem;
  color: var(--fx-text-soft);
}

/* signed-in home: pending-actions dashboard */
.fx-home-dashboard .hero-body {
  padding-bottom: 2.5rem;
}

.fx-home-dashboard .box {
  color: var(--fx-text);
}
