/* =========================================================
   The Flying Eagle — Find Your Ideal Footprint (New-Buyer Wizard)
   ========================================================= */

.fp-page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.fp-hero {
  background: linear-gradient(135deg, rgba(28, 28, 34, 0.96), rgba(18, 18, 22, 0.98));
  border: 1px solid rgba(229, 185, 76, 0.28);
  border-radius: 18px;
  padding: 1.6rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.fp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5b94c;
  background: rgba(229, 185, 76, 0.12);
  border: 1px solid rgba(229, 185, 76, 0.3);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  margin-bottom: 0.65rem;
}

.fp-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.18;
  color: #f7f6f2;
  font-weight: 800;
}

.fp-hero p {
  margin: 0;
  color: #c8c6be;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 72ch;
}

/* Stepper Tabs */
.fp-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.fp-step-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.2rem;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  background: rgba(25, 25, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b7b5ad;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.fp-step-tab:hover {
  border-color: rgba(229, 185, 76, 0.45);
  color: #f3f1ea;
}

.fp-step-tab.active {
  background: rgba(229, 185, 76, 0.13);
  border-color: #e5b94c;
  color: #fff;
}

.fp-step-tab.done .fp-step-num {
  background: #10b981;
  color: #091510;
}

.fp-step-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(229, 185, 76, 0.2);
  color: #e5b94c;
  font-size: 0.74rem;
  font-weight: 800;
}

.fp-step-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #f4f2ec;
}

.fp-step-picked {
  font-size: 0.78rem;
  color: #e5b94c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Wizard Card & Collapsed Summary */
.fp-wizard-card[hidden],
.fp-wizard-collapsed[hidden] {
  display: none !important;
}

.fp-wizard-card {
  background: rgba(23, 23, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  margin-bottom: 1.5rem;
}

.fp-wizard-collapsed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(23, 23, 28, 0.95);
  border: 1px solid rgba(229, 185, 76, 0.35);
  border-radius: 14px;
  padding: 0.95rem 1.25rem;
  margin-bottom: 1.5rem;
}

.fp-wizard-collapsed-copy {
  font-size: 0.92rem;
  color: #d6d4cc;
}

.fp-wizard-collapsed-copy strong {
  color: #6ee7b7;
}

.fp-wizard-collapsed-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fp-wizard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.fp-wizard-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #f7f6f2;
}

.fp-wizard-head p {
  margin: 0.25rem 0 0;
  color: #bab7ae;
  font-size: 0.92rem;
}

.fp-reset-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d6d4cc;
  border-radius: 8px;
  padding: 0.38rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.fp-reset-link:hover {
  border-color: #e5b94c;
  color: #e5b94c;
}

.fp-choices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fp-choices-grid.cols-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fp-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(31, 31, 38, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem;
  color: #f2f0e9;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.fp-choice-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 185, 76, 0.6);
  background: rgba(39, 39, 48, 0.95);
}

.fp-choice-btn.selected {
  border-color: #e5b94c;
  background: rgba(229, 185, 76, 0.14);
  box-shadow: 0 0 0 1px rgba(229, 185, 76, 0.35), 0 12px 24px rgba(0, 0, 0, 0.35);
}

.fp-sil-stage {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(circle at 50% 85%, rgba(229, 185, 76, 0.12), rgba(15, 15, 19, 0.65));
  border-radius: 10px;
  padding: 0.65rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-bottom: 2px solid rgba(229, 185, 76, 0.35);
}

.fp-sil-stage img {
  max-width: 92%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.fp-choice-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.fp-choice-sub {
  font-size: 0.82rem;
  color: #e5b94c;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.fp-choice-desc {
  font-size: 0.85rem;
  color: #c2bfb6;
  line-height: 1.45;
  margin: 0;
}

.fp-wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.75rem;
}

.fp-nav-btn {
  padding: 0.55rem 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(34, 34, 41, 0.9);
  color: #f3f1ea;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.fp-nav-btn.primary {
  background: #e5b94c;
  color: #141418;
  border-color: #e5b94c;
  font-weight: 700;
}

.fp-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Top Matches Section + Recoil/Muzzle-Flash Firing Deck */
.fp-matches-section {
  background: linear-gradient(180deg, rgba(28, 28, 34, 0.96), rgba(18, 18, 22, 0.98));
  border: 1px solid rgba(229, 185, 76, 0.35);
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  margin-bottom: 1.6rem;
}

.fp-matches-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-matches-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #f7f6f2;
}

.fp-matches-header p {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: #bebbb2;
}

.fp-matches-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.fp-fire-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.48rem 0.92rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.fp-fire-btn:active {
  transform: scale(0.96);
}

.fp-fire-btn.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: 1px solid #38bdf8;
  color: #06121e;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.28);
}

.fp-fire-btn.primary:hover {
  filter: brightness(1.08);
}

.fp-fire-btn.burst {
  background: linear-gradient(135deg, #1d1509, #2c1e0b);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.fp-fire-btn.burst:hover {
  filter: brightness(1.12);
}

.fp-slomo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 0.8rem;
  border-radius: 10px;
  background: rgba(15, 15, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e4e2da;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.fp-slomo-toggle input {
  accent-color: #f59e0b;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.fp-status-pill {
  font-size: 0.82rem;
  color: #d6d4cc;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 0.36rem 0.8rem;
}

.fp-status-pill strong {
  color: #e5b94c;
}

.fp-match-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.fp-match-card {
  background: rgba(29, 29, 36, 0.95);
  border: 1px solid rgba(229, 185, 76, 0.35);
  border-radius: 14px;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.72rem;
  position: relative;
}

.fp-match-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.fp-match-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #141418;
  background: #e5b94c;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
}

.fp-card-fire-mini {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
  border-radius: 7px;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.fp-card-fire-mini:hover {
  background: rgba(56, 189, 248, 0.26);
  color: #fff;
}

.fp-match-canvas-box {
  position: relative;
  height: 138px;
  width: 100%;
  background: radial-gradient(ellipse at 55% 52%, #132234 0%, #0a121d 72%, #070c14 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 10px;
  overflow: hidden;
}

.fp-match-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.fp-match-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.fp-match-meta {
  font-size: 0.8rem;
  color: #c2bfb6;
  margin: 0.15rem 0 0;
}

.fp-match-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 0.5rem;
  font-size: 0.78rem;
  color: #dcd9d0;
  background: rgba(18, 18, 22, 0.65);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
}

.fp-match-specs span strong {
  color: #e5b94c;
  font-weight: 600;
}

.fp-match-actions {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.fp-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem;
}

.fp-compare-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: #e5b94c;
  color: #141418;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.48rem 0.55rem;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.fp-compare-cta:hover {
  background: #f2c95d;
}

.fp-buy-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(110, 231, 183, 0.45);
  color: #6ee7b7;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.48rem 0.55rem;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fp-buy-cta:hover {
  background: rgba(16, 185, 129, 0.28);
  color: #ecfdf5;
}

.fp-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.fp-guide-link {
  font-size: 0.74rem;
  color: #93c5fd;
  text-decoration: none;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.25);
  border-radius: 6px;
  padding: 0.22rem 0.45rem;
}

.fp-guide-link:hover {
  text-decoration: underline;
}

/* Live 100-Model Mosaic (No shot/recoil animation here) */
.fp-mosaic-section {
  background: rgba(20, 20, 25, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
}

.fp-mosaic-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.fp-mosaic-top h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #f3f1ea;
}

.fp-mosaic-top span {
  font-size: 0.82rem;
  color: #aba89f;
}

.fp-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 0.55rem;
}

.fp-mosaic-item {
  background: rgba(30, 30, 37, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.45rem;
  text-align: center;
  transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.fp-mosaic-item.is-match {
  border-color: rgba(229, 185, 76, 0.55);
  background: rgba(38, 37, 44, 0.96);
}

.fp-mosaic-item.is-dimmed {
  opacity: 0.16;
  transform: scale(0.92);
  filter: grayscale(0.8);
}

.fp-mosaic-item img {
  width: 100%;
  height: 54px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

.fp-mosaic-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: #e6e4dc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-mosaic-sub {
  font-size: 0.65rem;
  color: #9e9b92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .fp-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fp-choices-grid,
  .fp-choices-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .fp-page-wrap {
    padding: 1rem 0.85rem 2.75rem;
  }
  .fp-mosaic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Status Pill Row Above Steps */
.fp-stepper-status-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0.65rem;
}
