/* ForaxFlow — Home page (advanced landing) */

.fx-home-body {
  overflow-x: hidden;
}

.fx-home-page {
  --fx-home-glow: rgba(0, 212, 255, 0.35);
}

/* ── Hero ── */
.fx-home-hero {
  position: relative;
  min-height: min(92vh, 900px);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.fx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(0, 102, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(0, 212, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0, 102, 255, 0.1), transparent 45%),
    var(--fx-bg-primary);
}

.fx-hero-bg--animated::before,
.fx-hero-bg--animated::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: fxOrbFloat 14s ease-in-out infinite alternate;
}

.fx-hero-bg--animated::before {
  width: 420px;
  height: 420px;
  background: rgba(0, 102, 255, 0.35);
  top: -8%;
  left: -5%;
}

.fx-hero-bg--animated::after {
  width: 360px;
  height: 360px;
  background: rgba(0, 212, 255, 0.25);
  bottom: 5%;
  right: -8%;
  animation-delay: -6s;
}

@keyframes fxOrbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 24px) scale(1.08); }
}

.fx-hero-carousel {
  position: relative;
  z-index: 1;
  min-height: calc(min(92vh, 900px) - 9rem);
}

.fx-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s;
  display: flex;
  align-items: center;
}

.fx-hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fx-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fx-cyan-bright);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  margin-bottom: 1.25rem;
}

.fx-home-hero-title {
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.fx-home-hero-lead {
  color: var(--fx-text-secondary);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  max-width: 540px;
  line-height: 1.65;
}

.fx-home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--fx-text-secondary);
}

.fx-home-trust-row i {
  color: var(--fx-success);
  margin-right: 0.35rem;
}

.fx-home-cta {
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.35);
}

/* Hero visual */
.fx-hero-visual {
  position: relative;
  padding: 1rem;
}

.fx-hero-banner-img {
  width: 100%;
  border-radius: var(--fx-radius-lg);
  border: 1px solid var(--fx-border-silver);
  box-shadow: var(--fx-shadow), 0 0 60px rgba(0, 102, 255, 0.15);
  animation: fxHeroImgFloat 6s ease-in-out infinite;
}

@keyframes fxHeroImgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fx-hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  background: var(--fx-bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border-silver);
  border-radius: 12px;
  font-size: 0.8rem;
  box-shadow: var(--fx-shadow);
  animation: fxFloatCard 5s ease-in-out infinite;
}

.fx-hero-float i {
  font-size: 1.25rem;
  color: var(--fx-cyan-bright);
}

.fx-hero-float strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.2;
}

.fx-hero-float small {
  color: var(--fx-text-muted);
  font-size: 0.72rem;
}

.fx-hero-float--1 { top: 8%; left: -2%; animation-delay: 0s; }
.fx-hero-float--2 { bottom: 18%; right: -2%; animation-delay: -1.5s; }
.fx-hero-float--3 { top: 42%; right: 4%; animation-delay: -3s; }

@keyframes fxFloatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fx-hero-stat-panel {
  display: grid;
  gap: 1rem;
}

.fx-hero-stat-item {
  padding: 1.25rem 1.5rem;
  background: var(--fx-bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border-silver);
  border-radius: var(--fx-radius-lg);
}

.fx-hero-stat-item .label {
  display: block;
  font-size: 0.8rem;
  color: var(--fx-text-muted);
  margin-bottom: 0.25rem;
}

.fx-hero-stat-item .value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--fx-cyan-bright);
}

.fx-hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fx-hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--fx-border-silver);
  color: var(--fx-text-secondary);
}

.fx-hero-checklist li:last-child {
  border-bottom: none;
}

.fx-hero-checklist i {
  color: var(--fx-success);
  margin-top: 0.15rem;
}

.fx-hero-controls {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.fx-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--fx-border-silver);
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, width 0.25s;
}

.fx-hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--fx-gradient-brand);
}

/* ── Strip ── */
.fx-home-strip {
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
  padding-bottom: 1rem;
}

.fx-strip-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--fx-bg-elevated);
  border: 1px solid var(--fx-border-silver);
  border-radius: var(--fx-radius);
  height: 100%;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.fx-strip-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.fx-strip-item i {
  display: block;
  font-size: 1.5rem;
  color: var(--fx-cyan-bright);
  margin-bottom: 0.5rem;
}

.fx-strip-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.fx-strip-item span {
  font-size: 0.78rem;
  color: var(--fx-text-muted);
}

/* ── Sections ── */
.fx-home-section {
  padding: 5rem 0;
}

.fx-home-section--alt {
  background: var(--fx-bg-secondary);
}

.fx-home-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-cyan-bright);
  margin-bottom: 0.75rem;
}

.fx-home-section-title {
  font-weight: 800;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  line-height: 1.2;
}

.fx-home-section-sub {
  color: var(--fx-text-secondary);
  max-width: 620px;
  margin: 0.75rem auto 0;
}

.fx-home-section-head {
  margin-bottom: 2.5rem;
}

/* Features */
.fx-home-feature {
  height: 100%;
  padding: 1.75rem;
  background: var(--fx-bg-elevated);
  border: 1px solid var(--fx-border-silver);
  border-radius: var(--fx-radius-lg);
  transition: transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
}

.fx-home-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 153, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 102, 255, 0.12);
}

.fx-home-feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.12);
  color: var(--fx-cyan-bright);
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
}

.fx-home-feature h5 {
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.fx-home-feature p {
  color: var(--fx-text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

/* Income cards */
.fx-income-card {
  height: 100%;
  padding: 1.5rem;
  background: var(--fx-bg-elevated);
  border: 1px solid var(--fx-border-silver);
  border-radius: var(--fx-radius-lg);
  position: relative;
  overflow: hidden;
}

.fx-income-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fx-gradient-brand);
  opacity: 0;
  transition: opacity 0.3s;
}

.fx-income-card:hover::before {
  opacity: 1;
}

.fx-income-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fx-cyan-bright);
  opacity: 0.8;
}

.fx-income-card h6 {
  font-weight: 700;
  margin: 0.5rem 0 0.35rem;
}

.fx-income-card p {
  font-size: 0.88rem;
  color: var(--fx-text-secondary);
  margin: 0;
}

/* Timeline */
.fx-home-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.fx-home-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--fx-blue-deep), var(--fx-cyan-bright));
  opacity: 0.35;
}

.fx-home-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.fx-home-step-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--fx-gradient-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
  position: relative;
  z-index: 1;
}

.fx-home-step-body h6 {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.fx-home-step-body p {
  color: var(--fx-text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

/* Plan cards */
.fx-plan-card {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--fx-bg-elevated);
  border: 1px solid var(--fx-border-silver);
  border-radius: var(--fx-radius-lg);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.fx-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 102, 255, 0.15);
}

.fx-plan-card--featured {
  border-color: rgba(0, 212, 255, 0.45);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.08), var(--fx-bg-elevated));
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.12);
}

.fx-plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--fx-gradient-brand);
  color: #fff;
  border-radius: 999px;
}

.fx-plan-amount {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--fx-cyan-bright);
  margin: 0.5rem 0 1rem;
}

.fx-plan-amount small {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fx-text-muted);
  margin-top: 0.15rem;
}

.fx-plan-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: left;
}

.fx-plan-meta li {
  font-size: 0.88rem;
  color: var(--fx-text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--fx-border-silver);
}

.fx-plan-meta li:last-child {
  border-bottom: none;
}

.fx-plan-meta i {
  color: var(--fx-cyan-bright);
  margin-right: 0.5rem;
}

.fx-plan-fallback {
  text-align: center;
  padding: 2.5rem;
  background: var(--fx-bg-elevated);
  border-radius: var(--fx-radius-lg);
  border: 1px dashed var(--fx-border-silver);
}

/* Security block */
.fx-home-security {
  padding: 2.5rem;
  background: var(--fx-bg-elevated);
  border: 1px solid var(--fx-border-silver);
  border-radius: var(--fx-radius-lg);
}

.fx-security-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--fx-bg-secondary);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.fx-security-pill i {
  color: var(--fx-cyan-bright);
}

.fx-security-visual {
  position: relative;
  border-radius: var(--fx-radius-lg);
  overflow: hidden;
}

.fx-security-visual-img {
  width: 100%;
  opacity: 0.55;
  filter: saturate(1.1);
}

.fx-security-glass {
  position: absolute;
  inset: auto 1.5rem 1.5rem 1.5rem;
  padding: 1.25rem;
  text-align: center;
  background: var(--fx-bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border-silver);
  border-radius: var(--fx-radius);
}

.fx-security-glass i {
  font-size: 2rem;
  color: var(--fx-cyan-bright);
  display: block;
  margin-bottom: 0.5rem;
}

.fx-security-glass span {
  display: block;
  font-size: 0.82rem;
  color: var(--fx-text-muted);
  margin-top: 0.25rem;
}

/* FAQ */
.fx-home-faq .accordion-item {
  background: var(--fx-bg-elevated);
  border: 1px solid var(--fx-border-silver);
  margin-bottom: 0.75rem;
  border-radius: var(--fx-radius) !important;
  overflow: hidden;
}

.fx-home-faq .accordion-button {
  background: transparent;
  color: var(--fx-text-primary);
  font-weight: 600;
  box-shadow: none;
}

.fx-home-faq .accordion-button:not(.collapsed) {
  background: rgba(0, 102, 255, 0.08);
  color: var(--fx-cyan-bright);
}

.fx-home-faq .accordion-button::after {
  filter: invert(0.85);
}

.fx-home-faq .accordion-body {
  color: var(--fx-text-secondary);
  font-size: 0.92rem;
}

/* CTA */
.fx-home-cta {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.14), rgba(0, 212, 255, 0.08)),
    var(--fx-bg-primary);
  border-top: 1px solid var(--fx-border-silver);
}

/* Scroll reveal */
.fx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fx-reveal-delay {
  transition-delay: 0.15s;
}

/* Header scroll state (home) */
.fx-public-header.is-scrolled {
  background: rgba(10, 10, 15, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.fx-brand-link {
  text-decoration: none;
}

.fx-brand-link .fx-brand-logo {
  height: 36px;
}

/* Responsive */
@media (max-width: 991.98px) {
  .fx-home-hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .fx-hero-carousel {
    min-height: auto;
  }

  .fx-hero-slide {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .fx-hero-slide.is-active {
    display: block;
  }

  .fx-hero-float {
    display: none;
  }

  .fx-home-timeline::before {
    left: 19px;
  }

  .fx-home-step-icon {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .fx-home-security {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .fx-home-section {
    padding: 3.5rem 0;
  }

  .fx-home-trust-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .fx-hero-controls {
    margin-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-hero-bg--animated::before,
  .fx-hero-bg--animated::after,
  .fx-hero-banner-img,
  .fx-hero-float {
    animation: none !important;
  }

  .fx-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
