/* =====================================================================================
   BMFT QUANT-LAB VISUAL PACK — FULL STYLESHEET (HUD LEGEND EDITION)
   ===================================================================================== */

:root {
  --bg-main: #050608;
  --bg-dark: #0c0f17;
  --bg-darker: #070910;
  --accent: #1e78ff;
  --accent-soft: rgba(30, 120, 255, 0.3);
  --accent-glow: rgba(30, 120, 255, 0.65);
  --accent-glow-strong: rgba(30, 120, 255, 0.85);
  --text-main: #f5f5f5;
  --text-muted: #a0a4b0;
  --card-bg: #10141f;
  --card-border: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-strong: 0 20px 55px rgba(0, 0, 0, 0.75);
  --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.6);
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.3s ease-out;
  --transition-slow: 0.6s ease-out;
}

/* RESET */

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-darker);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================================================
   NAVIGATION
   ===================================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  height: 120px;
  transition: 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px var(--accent-glow-strong));
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-bottom: 4px;
  position: relative;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* =====================================================================================
   HERO SECTION (Option 2)
   ===================================================================================== */

.hero-section {
  position: relative;
  padding: 160px 20px 140px;
  background: url("img/hero-bg.png") center top / cover no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.3), rgba(5, 6, 8, 0.6));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
}

.hero-version {
  font-size: 1.5rem;
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent);
}

.hero-subtitle {
  max-width: 650px;
  margin: 20px auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  line-height: 1.55;
}

.hero-footnote {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* HERO BADGES */

.badge-row {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 150px;
}

.badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3b0;
}

.badge-value {
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* =====================================================================================
   BUTTONS
   ===================================================================================== */

.btn-primary {
  padding: 14px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #1e78ff, #32a8ff);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

/* =====================================================================================
   SECTION GENERIC
   ===================================================================================== */

.section {
  padding: 90px 20px;
}

.section-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.section-dark {
  background: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* =====================================================================================
   HUD SECTION (with legend)
   ===================================================================================== */

.hud-section {
  padding: 60px 20px 80px;
  background: #020617;
}

.hud-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hud-card {
  padding: 1.8rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-strong);
}

.hud-header-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.hud-title {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1rem;
}

.hud-status-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.22);
  color: #bbf7d0;
  font-size: 0.8rem;
}

.hud-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* HUD GRID LAYOUT - FIXED */
.hud-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hud-block {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.85);
}

.hud-block-pnl {
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.28), transparent 60%),
    rgba(15, 23, 42, 0.98);
  border-color: rgba(34, 197, 94, 0.7);
}

.hud-pnl {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4ade80;
}

.hud-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hud-value {
  font-weight: 600;
  margin-top: 4px;
}

/* HUD LEGEND */

.hud-legend {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.hud-legend-column {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hud-legend-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.hud-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hud-legend-list li {
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.hud-legend-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  font-weight: 500;
  margin-right: 6px;
}

/* =====================================================================================
   ENGINE FLOW
   ===================================================================================== */

.engine-flow-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.flow-pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.7);
  font-size: 0.8rem;
  color: #dbeafe;
}

.flow-arrow {
  color: #64748b;
  font-size: 0.85rem;
}

/* =====================================================================================
   FEATURES (WHY BMFT)
   ===================================================================================== */

.features-section {
  background: #020617;
  padding: 60px 20px 90px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 1.4rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.feature-label {
  font-size: 0.8rem;
  color: #93c5fd;
  margin-bottom: 6px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================================================================================
   PRICING
   ===================================================================================== */

.pricing-section {
  padding: 80px 20px;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.2), transparent 60%),
    #020617;
}

.pricing-grid {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

@media (min-width: 780px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Center titles/prices/buttons, keep bullets left */
.pricing-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center;
}

.pricing-card.highlight {
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-strong);
}

.pricing-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}

.pricing-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-price {
  margin: 16px 0;
}

.pricing-main {
  font-size: 2rem;
  font-weight: 600;
}

.pricing-cycle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-list {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-cta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.pricing-note {
  margin-top: 30px;
  padding: 12px 20px;
  background: rgba(22, 163, 74, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
  text-align: center;
}

/* =====================================================================================
   COMPARISON TABLE
   ===================================================================================== */

.comparison-section {
  padding: 100px 20px 120px;
  background: #020617;
  text-align: center;
}

.comparison-header {
  max-width: 820px;
  margin: 0 auto 50px;
}

.comparison-table {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.18), transparent 70%),
    rgba(15, 23, 42, 0.85);
}

.comp-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.comp-head {
  background: rgba(59, 130, 246, 0.15);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.comp-title {
  color: #cbd5e1;
  font-weight: 500;
}

.comp-bmft {
  background: rgba(34, 197, 94, 0.05);
  color: #4ade80;
  font-weight: 600;
  padding-left: 10px;
}

/* UPDATED: comp-other with centered PF on its own line */
.comp-other {
  background: rgba(239, 68, 68, 0.05);
  color: #f87171;
  font-weight: 600;
  padding: 0 10px;
  text-align: center;
}

@media (max-width: 900px) {
  .comp-row {
    grid-template-columns: 1fr;
  }

  .comp-head {
    display: none;
  }
}

/* =====================================================================================
   TESTIMONIALS
   ===================================================================================== */

.testimonials-section {
  padding: 80px 20px;
  background: #020617;
}

.testimonials-grid {
  display: grid;
  gap: 24px;
}

.testimonial-card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.inline-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =====================================================================================
   FAQ
   ===================================================================================== */

.faq-section {
  padding: 80px 20px;
  background: #020617;
}

.faq-grid {
  display: grid;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.85);
}

.faq-question {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.faq-answer {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================================================================================
   FOOTER
   ===================================================================================== */

.footer {
  padding: 22px 20px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =====================================================================================
   MOBILE
   ===================================================================================== */

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hud-grid,
  .features-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hud-legend {
    grid-template-columns: 1fr;
  }
}

/* ================= GOLD MINER PRO – M10 ================= */

#gold-miner {
  position: relative;
  overflow: hidden;
}

#gold-miner .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

#gold-miner .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* gold hero row (button + badges) */
.gold-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gold-hero-row .btn-primary {
  padding-inline: 2.5rem;
  font-size: 0.95rem;
}

/* reuse existing badge styling but tighten spacing a bit */
#gold-miner .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* stats grid */
.gold-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  background: rgba(15, 23, 42, 0.9); /* dark slate */
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.7);
}

.stat-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin: 0 0 0.35rem;
}

/* Base Gold Miner stat number style */
.stat-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: #a5b4fc; /* soft indigo default */
  text-shadow: none;
}

/* Just in case we use .negative anywhere else */
.stat-value.negative {
  color: #f97373;
  text-shadow: none;
}

/* GOLD MINER BOTTOM ROW – explicit per card
   Order: 1 Net PnL, 2 Max DD, 3 PF, 4 Win Rate, 5 Trades, 6 Profit/Month
*/

/* 1) Net Profit – neon green */
.gold-stats-grid .stat-card:nth-child(1) .stat-value {
  color: #22c55e;
  text-shadow:
    0 0 10px rgba(34, 197, 94, 0.9),
    0 0 18px rgba(34, 197, 94, 0.7);
  font-weight: 700;
}

/* 2) Max Drawdown – red */
.gold-stats-grid .stat-card:nth-child(2) .stat-value {
  color: #f97373;
  text-shadow: none;
  font-weight: 700;
}

/* 3, 4, 5) PF, Win Rate, Trades – clean white */
.gold-stats-grid .stat-card:nth-child(3) .stat-value,
.gold-stats-grid .stat-card:nth-child(4) .stat-value,
.gold-stats-grid .stat-card:nth-child(5) .stat-value {
  color: #ffffff;
  text-shadow: none;
  font-weight: 600;
}

/* 6) Profit / Month – neon green like top HUD */
.gold-stats-grid .stat-card:nth-child(6) .stat-value {
  color: #22c55e;
  text-shadow:
    0 0 10px rgba(34, 197, 94, 0.9),
    0 0 18px rgba(34, 197, 94, 0.7);
  font-weight: 700;
}

/* comparison presets table (Gold Miner) uses same comparison styles */
.comparison-section .comparison-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Make sure comparison-table handles the three rows nicely */
.comparison-section .comparison-table {
  max-width: 1100px;
  margin: 0 auto;
}

/* mobile tweaks */
@media (max-width: 768px) {
  .gold-hero-row {
    flex-direction: column;
    align-items: flex-start;
  }

  #gold-miner .badge-row {
    justify-content: flex-start;
  }

  .gold-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .gold-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Center Gold Miner hero button + badges */
.gold-hero-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

#gold-miner .badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* =====================================================================================
   GREEN GLOW FOR PRESET TABLE PROFITS + PF, RED DRAWDOWNS
   ===================================================================================== */

.net-profit,
.pf {
  color: #3fe07f;
  font-weight: 600;
  text-shadow:
    0 0 8px rgba(63, 224, 127, 0.55),
    0 0 16px rgba(63, 224, 127, 0.45),
    0 0 24px rgba(63, 224, 127, 0.35);
}

/* PF on its own centered line under net/DD */
.pf {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
}

.dd {
  color: #ff6b6b;
  font-weight: 600;
}

/* =====================================================================================
   SET & FORGET v5.0 – MNQ METRICS (MATCH GOLD MINER PRO STYLE)
   ===================================================================================== */
   
/* Center Set & Forget header text */
#sf-results .strategy-tag,
#sf-results .section-title,
#sf-results .section-subtitle {
  text-align: center;
}

/* small uppercase tag above title */
.strategy-tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  opacity: 0.7;
  margin-bottom: 0.6rem;
}

/* center CTA button under subtitle */
.cta-center {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 1.25rem;
}

/* badges row under CTA (Runs 24/5, Style, Symbol, Timeframe, Position Split) */
.info-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
}

.info-badges .badge {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(120, 150, 255, 0.4);
  background: rgba(10, 14, 35, 0.85);
  color: #dfe6ff;
  white-space: nowrap;
}

/* metrics grid – mirrors Gold Miner stat cards layout */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.metric-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
}

/* color accents similar to Gold Miner PRO */
.metric-value.green {
  color: #22c55e;
  text-shadow:
    0 0 10px rgba(34, 197, 94, 0.75),
    0 0 18px rgba(34, 197, 94, 0.55);
}

.metric-value.red {
  color: #ff5c72;
}

/* performance note / small text under metrics */
.performance-note {
  font-size: 0.8rem;
  opacity: 0.75;
  max-width: 720px;
  margin: 0.75rem auto 0;
  text-align: center;
}

/* mobile tweaks */
@media (max-width: 768px) {
  .metrics-grid {
    gap: 0.9rem;
  }

  .metric-card {
    padding: 1rem 1.1rem;
  }

  .metric-value {
    font-size: 1.35rem;
  }
}
