/* ===== FEATURES PAGE — matches homepage design system ===== */

.fp-page {
  --fp-bg: #080B18;
  --fp-surface: #0F1529;
  --fp-border: rgba(139,92,246,.12);
  --fp-purple: #8B5CF6;
  --fp-violet: #7C3AED;
  --fp-muted: #6B7BA4;
  --fp-glow: rgba(139,92,246,.25);
  --fp-text: #CBD5E1;
  --fp-white: #F8FAFC;
  font-family: 'Manrope', 'Arial', sans-serif;
  background: var(--fp-bg) !important;
  color: var(--fp-text);
}

/* Nav override */
.fp-page .navbar {
  background: rgba(8,11,24,.85) !important;
  backdrop-filter: blur(14px);
}
.fp-page .navbar.tradescrolled {
  background: rgba(8,11,24,.92) !important;
  border-bottom-color: var(--fp-border) !important;
}

/* ---- Section helpers ---- */
.fp-section {
  padding: 100px 0;
  position: relative;
}
.fp-shd {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.fp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,.08);
  border: 1px solid rgba(139,92,246,.18);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--fp-purple);
  margin-bottom: 18px;
}
.fp-tag .fp-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fp-purple);
  animation: fp-blink 2s infinite;
}
@keyframes fp-blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.fp-shd h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--fp-white);
  margin-bottom: 16px;
}
.fp-shd p {
  font-size: 17px;
  color: var(--fp-muted);
  line-height: 1.65;
}
.fp-grd {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 40%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Buttons ---- */
.fp-btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--fp-violet), var(--fp-purple));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.fp-btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(139,92,246,.35);
  color: #fff;
}

/* ===== HERO ===== */
.fp-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139,92,246,.12) 0%, transparent 70%);
  pointer-events: none;
}
.fp-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.08;
  color: var(--fp-white);
  max-width: 780px;
  margin: 0 auto 20px;
}
.fp-hero-sub {
  font-size: 19px;
  color: var(--fp-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.fp-hero-img {
  max-width: 900px;
  margin: 48px auto 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--fp-border);
  box-shadow: 0 8px 60px rgba(139,92,246,.12);
}
.fp-hero-img img {
  width: 100%;
  display: block;
}

/* ===== BROKER TICKER ===== */
.fp-brokers {
  text-align: center;
  padding: 40px 0 50px;
  border-top: 1px solid var(--fp-border);
  border-bottom: 1px solid var(--fp-border);
}
.fp-blab {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--fp-muted);
  margin-bottom: 22px;
}
.fp-ticker-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.fp-ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: fp-tick 30s linear infinite;
}
@keyframes fp-tick { to { transform: translateX(-50%); } }
.fp-bc {
  flex-shrink: 0;
  padding: 8px 24px;
  border: 1px solid var(--fp-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fp-muted);
  white-space: nowrap;
}

/* ===== FEATURE CARDS GRID ===== */
.fp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fp-card {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.fp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,.3);
  box-shadow: 0 8px 32px rgba(139,92,246,.1);
}
.fp-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.fp-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fp-white);
  margin-bottom: 8px;
}
.fp-card p {
  font-size: 14.5px;
  color: var(--fp-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== FEATURE DETAIL BLOCKS (alternating) ===== */
.fp-detail {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
  border-bottom: 1px solid var(--fp-border);
}
.fp-detail:last-child {
  border-bottom: none;
}
.fp-detail.fp-flip {
  flex-direction: row-reverse;
}
.fp-detail-text {
  flex: 1;
  min-width: 0;
}
.fp-detail-visual {
  flex: 1;
  min-width: 0;
}
.fp-detail-text .fp-tag {
  margin-bottom: 14px;
}
.fp-detail-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--fp-white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.fp-detail-text > p {
  font-size: 16px;
  color: var(--fp-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.fp-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fp-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,.08);
  border: 1px solid rgba(139,92,246,.15);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13.5px;
  color: #d1d5db;
}
.fp-ck {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--fp-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fp-ck i {
  font-size: 8px;
  color: #fff;
}
.fp-detail-visual img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--fp-border);
  box-shadow: 0 6px 40px rgba(0,0,0,.35);
}

/* ===== CTA BANNER ===== */
.fp-cta {
  text-align: center;
  padding: 100px 0;
  position: relative;
}
.fp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(139,92,246,.1) 0%, transparent 70%);
  pointer-events: none;
}
.fp-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--fp-white);
  margin-bottom: 14px;
}
.fp-cta p {
  font-size: 17px;
  color: var(--fp-muted);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* ===== FAQ ===== */
.fp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.fp-fqi {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .25s;
}
.fp-fqi:hover {
  border-color: rgba(139,92,246,.25);
}
.fp-fqi h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--fp-white);
  margin-bottom: 8px;
}
.fp-fqi p {
  font-size: 14.5px;
  color: var(--fp-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== EMPOWER / WAYS GRID ===== */
.fp-empower {
  background: var(--fp-surface);
}
.fp-ways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fp-way {
  background: rgba(8,11,24,.8);
  border: 1px solid var(--fp-border);
  border-radius: 14px;
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s;
}
.fp-way:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(139,92,246,.12);
}
.fp-way h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--fp-white);
  margin: 14px 0 8px;
}
.fp-way p {
  font-size: 15px;
  color: var(--fp-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== DIVIDER ===== */
.fp-divider {
  height: 1px;
  background: var(--fp-border);
  margin: 0;
}

/* ===== FOOTER ===== */
.fp-page #footer.hp-footer {
  border-top: 1px solid var(--fp-border) !important;
  background: var(--fp-surface) !important;
  padding: 64px 0 40px !important;
  box-shadow: none !important;
}
.fp-page #footer.hp-footer .footersec {
  display: block !important;
}
.fp-page #footer.hp-footer .footer-link {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 60px !important;
  width: 100% !important;
  margin-bottom: 56px;
}
.fp-page #footer.hp-footer .footer-column h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fp-purple) !important;
  margin-bottom: 16px;
}
.fp-page #footer.hp-footer .footer-brand-desc {
  color: var(--fp-muted);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 230px;
  font-family: 'Manrope', sans-serif;
}
.fp-page #footer.hp-footer .menulist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fp-page #footer.hp-footer .menulist li {
  padding: 0;
  margin: 0;
}
.fp-page #footer.hp-footer .menulist li a {
  color: var(--fp-muted) !important;
  font-size: 13px;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}
.fp-page #footer.hp-footer .menulist li a:hover {
  color: var(--fp-text) !important;
}
.fp-page #footer.hp-footer .ftr-social-icons {
  display: flex;
  gap: 10px;
}
.fp-page #footer.hp-footer .ftr-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(8,11,24,.8);
  border: 1px solid var(--fp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fp-muted);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 15px;
}
.fp-page #footer.hp-footer .ftr-social-icons a:hover {
  border-color: var(--fp-purple);
  color: var(--fp-purple);
}
.fp-page #footer.hp-footer .footer-bottom {
  border-top: 1px solid var(--fp-border);
  padding-top: 28px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fp-page #footer.hp-footer .footer-bottom p {
  color: var(--fp-muted);
  font-size: 12px;
  font-family: 'Manrope', sans-serif;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .fp-hero h1 { font-size: 40px; }
  .fp-hero-sub { font-size: 16px; }
  .fp-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-detail { flex-direction: column !important; gap: 36px; padding: 60px 0; }
  .fp-detail-text h3 { font-size: 28px; }
  .fp-shd h2 { font-size: 34px; }
  .fp-faq-grid { grid-template-columns: 1fr; }
  .fp-cta h2 { font-size: 32px; }
  .fp-ways-grid { grid-template-columns: 1fr; }
  .fp-way h4 { font-size: 22px; }
  .fp-page #footer.hp-footer .footer-link {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px !important;
  }
}

@media (max-width: 600px) {
  .fp-hero { padding: 120px 0 50px; }
  .fp-hero h1 { font-size: 32px; }
  .fp-hero-sub { font-size: 15px; }
  .fp-section { padding: 60px 0; }
  .fp-cards-grid { grid-template-columns: 1fr; }
  .fp-detail { padding: 40px 0; gap: 28px; }
  .fp-detail-text h3 { font-size: 24px; }
  .fp-checks { gap: 8px; }
  .fp-checks li { font-size: 12.5px; padding: 5px 12px; }
  .fp-shd h2 { font-size: 28px; }
  .fp-shd { margin-bottom: 36px; }
  .fp-cta h2 { font-size: 28px; }
  .fp-cta { padding: 60px 0; }
  .fp-way { padding: 24px 20px; }
  .fp-way h4 { font-size: 20px; }
  .fp-way p { font-size: 14px; }
  .fp-page #footer.hp-footer .footer-link {
    grid-template-columns: 1fr !important;
  }
}
