/* ─── FDownload.online — Advanced Animated UI ────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --fb-blue:       #1877f2;
  --fb-blue-dark:  #0a52cc;
  --fb-blue-light: #e8f0fe;
  --accent:        #00c6ff;
  --accent2:       #ff6b35;
  --success:       #00c853;
  --bg-page:       #f5f7ff;
  --text-primary:  #0d1117;
  --text-muted:    #6b7280;
  --card-bg:       #ffffff;
  --border:        #e2e8f0;
  --gradient-hero: linear-gradient(135deg, #1877f2 0%, #0a3fa8 55%, #0055d4 100%);
  --shadow-sm:     0 2px 8px rgba(24,119,242,0.08);
  --shadow-md:     0 8px 32px rgba(24,119,242,0.12);
  --shadow-lg:     0 20px 60px rgba(24,119,242,0.18);
  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --font-main:     'Open Sans', system-ui, sans-serif;
  --font-display:  'Open Sans', sans-serif;
}

* { box-sizing: border-box; }

.fbdl-wrapper {
  font-family: var(--font-main);
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.fbdl-hero {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 64px 48px 52px;
  text-align: center;
  color: #fff;
  margin-bottom: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Animated background orbs */
.fbdl-hero::before,
.fbdl-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.fbdl-hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -100px; right: -80px;
  animation: fbdl-orb-float 8s ease-in-out infinite;
}
.fbdl-hero::after {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,198,255,0.12) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  animation: fbdl-orb-float 10s ease-in-out infinite reverse;
}

@keyframes fbdl-orb-float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.05); }
}

/* Floating particles */
.fbdl-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.fbdl-particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: fbdl-particle-rise linear infinite;
}
.fbdl-particle:nth-child(1)  { left: 10%; animation-duration: 6s;  animation-delay: 0s;   }
.fbdl-particle:nth-child(2)  { left: 25%; animation-duration: 8s;  animation-delay: 1.5s; }
.fbdl-particle:nth-child(3)  { left: 40%; animation-duration: 5s;  animation-delay: 0.8s; }
.fbdl-particle:nth-child(4)  { left: 60%; animation-duration: 7s;  animation-delay: 2.2s; }
.fbdl-particle:nth-child(5)  { left: 75%; animation-duration: 9s;  animation-delay: 0.4s; }
.fbdl-particle:nth-child(6)  { left: 88%; animation-duration: 6s;  animation-delay: 3s;   }
.fbdl-particle:nth-child(7)  { left: 50%; animation-duration: 7.5s;animation-delay: 1s;   width:6px;height:6px; }
.fbdl-particle:nth-child(8)  { left: 5%;  animation-duration: 8.5s;animation-delay: 4s;   }

@keyframes fbdl-particle-rise {
  0%   { bottom: -10px; opacity: 0;   transform: scale(0); }
  10%  { opacity: 0.6; transform: scale(1); }
  90%  { opacity: 0.2; }
  100% { bottom: 110%; opacity: 0;    transform: scale(0.5) translateX(20px); }
}

/* Badge */
.fbdl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  animation: fbdl-fade-down 0.6s ease both;
}
.fbdl-hero-badge-dot {
  width: 7px; height: 7px;
  background: #00ff87;
  border-radius: 50%;
  animation: fbdl-pulse-dot 1.5s ease-in-out infinite;
}
@keyframes fbdl-pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

.fbdl-main-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.3px;
  animation: fbdl-fade-down 0.7s ease 0.1s both;
}
.fbdl-main-title .fbdl-highlight {
  background: linear-gradient(90deg, #fff 0%, #a8d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fbdl-subtitle {
  font-size: 16px;
  opacity: 0.88;
  margin: 0 0 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  animation: fbdl-fade-down 0.7s ease 0.2s both;
}

/* ── Input Row ── */
.fbdl-input-row {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 56px;
  padding: 6px 6px 6px 24px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22), 0 0 0 2px rgba(255,255,255,0.2);
  max-width: 700px;
  margin: 0 auto 24px;
  animation: fbdl-fade-up 0.8s ease 0.3s both;
  transition: box-shadow 0.3s;
}
.fbdl-input-row:focus-within {
  box-shadow: 0 12px 48px rgba(0,0,0,0.22), 0 0 0 3px rgba(0,198,255,0.5);
}

.fbdl-input-icon {
  display: flex;
  align-items: center;
  color: #aab;
  margin-right: 10px;
  flex-shrink: 0;
}
.fbdl-input-icon svg { width: 18px; height: 18px; }

.fbdl-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: transparent;
  min-width: 0;
  padding: 6px 0;
}
.fbdl-input::placeholder { color: #b0bec5; }

.fbdl-btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  border: none;
  border-radius: 48px;
  padding: 13px 30px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.fbdl-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
  border-radius: inherit;
}
.fbdl-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(24,119,242,0.4); filter: brightness(1.08); }
.fbdl-btn-primary:active { transform: scale(0.97); }
.fbdl-btn-primary.loading { opacity: 0.7; pointer-events: none; }

.fbdl-btn-icon {
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.2s;
}
.fbdl-btn-primary:hover .fbdl-btn-icon { transform: translateY(2px); }

/* ── Format Tabs ── */
.fbdl-format-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  animation: fbdl-fade-up 0.8s ease 0.4s both;
}

.fbdl-tab {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 40px;
  padding: 9px 22px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(.34,1.56,.64,1);
  backdrop-filter: blur(6px);
}
.fbdl-tab:hover { transform: translateY(-2px); background: rgba(255,255,255,0.22); }
.fbdl-tab.active,
.fbdl-tab:focus-visible {
  background: #fff;
  color: var(--fb-blue);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* Trust badges row */
.fbdl-trust-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
  animation: fbdl-fade-up 0.8s ease 0.5s both;
}
.fbdl-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  font-weight: 500;
}
.fbdl-trust-item-icon {
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* ══════════════════════════════════════════════
   STAT COUNTER STRIP
══════════════════════════════════════════════ */
.fbdl-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 44px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  animation: fbdl-fade-up 0.6s ease 0.5s both;
}
.fbdl-stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.fbdl-stat-item:last-child { border-right: none; }
.fbdl-stat-item:hover { background: var(--fb-blue-light); }
.fbdl-stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--fb-blue);
  line-height: 1;
  margin-bottom: 6px;
}
.fbdl-stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ══════════════════════════════════════════════
   HOW IT WORKS — ANIMATED STEPS
══════════════════════════════════════════════ */
.fbdl-how-to { margin-bottom: 52px; }

.fbdl-section-header {
  text-align: center;
  margin-bottom: 36px;
}
.fbdl-section-tag {
  display: inline-block;
  background: var(--fb-blue-light);
  color: var(--fb-blue);
  border-radius: 40px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fbdl-section-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.fbdl-section-desc { color: var(--text-muted); font-size: 15px; margin: 0; }

.fbdl-steps-track {
  display: flex;
  gap: 0;
  position: relative;
  counter-reset: step;
}
.fbdl-steps-track::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.6%);
  right: calc(16.6%);
  height: 2px;
  background: linear-gradient(90deg, var(--fb-blue) 0%, var(--accent) 100%);
  z-index: 0;
  opacity: 0.2;
}

.fbdl-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  animation: fbdl-fade-up 0.5s ease both;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fbdl-step:nth-child(1) { animation-delay: 0.1s; }
.fbdl-step:nth-child(2) { animation-delay: 0.2s; }
.fbdl-step:nth-child(3) { animation-delay: 0.3s; }

.fbdl-step-bubble {
  width: 72px; height: 72px;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(24,119,242,0.3);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
}
.fbdl-step:hover .fbdl-step-bubble {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 36px rgba(24,119,242,0.4);
}
.fbdl-step-num-inner {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  position: absolute;
}
.fbdl-step-icon-inner { position: relative; z-index: 1; font-size: 26px; }

.fbdl-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.fbdl-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ══════════════════════════════════════════════
   FEATURES GRID — ANIMATED CARDS
══════════════════════════════════════════════ */
.fbdl-features { margin-bottom: 52px; }

.fbdl-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.fbdl-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  cursor: default;
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1), border-color 0.2s, box-shadow 0.28s;
  position: relative;
  overflow: hidden;
}
.fbdl-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.fbdl-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(24,119,242,0.2);
  box-shadow: var(--shadow-md);
}
.fbdl-feature-card:hover::before { transform: scaleX(1); }

.fbdl-feat-icon-wrap {
  width: 52px; height: 52px;
  background: var(--fb-blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: background 0.2s, transform 0.3s;
}
.fbdl-feature-card:hover .fbdl-feat-icon-wrap {
  background: var(--fb-blue);
  transform: rotate(-5deg) scale(1.1);
}

.fbdl-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.fbdl-feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ══════════════════════════════════════════════
   SUPPORTED FORMATS SECTION
══════════════════════════════════════════════ */
.fbdl-formats-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  margin-bottom: 52px;
  text-align: center;
}
.fbdl-formats-grid {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.fbdl-format-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  min-width: 110px;
  transition: border-color 0.2s, transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s;
  cursor: default;
}
.fbdl-format-badge:hover {
  border-color: var(--fb-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.fbdl-format-badge-icon { font-size: 28px; }
.fbdl-format-badge-label { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.fbdl-format-badge-sub { font-size: 11px; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   LOADING STATE
══════════════════════════════════════════════ */
.fbdl-loading {
  text-align: center;
  padding: 56px 40px;
  color: var(--text-muted);
}
.fbdl-loading-ring {
  width: 56px; height: 56px;
  border: 4px solid var(--fb-blue-light);
  border-top-color: var(--fb-blue);
  border-radius: 50%;
  animation: fbdl-spin 0.75s linear infinite;
  margin: 0 auto 20px;
}
@keyframes fbdl-spin { to { transform: rotate(360deg); } }
.fbdl-loading-text {
  font-size: 15px;
  font-weight: 500;
}
.fbdl-loading-dots::after {
  content: '';
  animation: fbdl-dots 1.4s linear infinite;
}
@keyframes fbdl-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* ══════════════════════════════════════════════
   ERROR STATE
══════════════════════════════════════════════ */
.fbdl-error {
  background: #fff5f5;
  border: 1.5px solid #fecaca;
  color: #dc2626;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.fbdl-error::before { content: '⚠️'; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   RESULTS
══════════════════════════════════════════════ */
.fbdl-results {
  background: linear-gradient(135deg, #f0fff4, #e8fdf2);
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 44px;
  animation: fbdl-results-in 0.5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes fbdl-results-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fbdl-results-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #065f46;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fbdl-results-title::before { content: '✅'; }

.fbdl-links { display: flex; flex-direction: column; gap: 12px; }

.fbdl-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  gap: 14px;
  flex-wrap: wrap;
  transition: border-color 0.2s, box-shadow 0.2s;
  animation: fbdl-link-slide 0.4s ease both;
}
.fbdl-link-item:hover { border-color: #6ee7b7; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
@keyframes fbdl-link-slide {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.fbdl-link-quality {
  font-weight: 700;
  font-size: 13px;
  color: var(--fb-blue);
  background: var(--fb-blue-light);
  padding: 4px 14px;
  border-radius: 20px;
  flex-shrink: 0;
}
.fbdl-link-type { color: var(--text-muted); font-size: 13px; flex: 1; }

.fbdl-download-btn {
  background: var(--gradient-hero);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 10px 22px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.fbdl-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,119,242,0.35);
  color: #fff;
  text-decoration: none;
}

/* ══════════════════════════════════════════════
   TWO COLUMN LAYOUT
══════════════════════════════════════════════ */
.fbdl-two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  margin-bottom: 44px;
  align-items: start;
}
.fbdl-sidebar-col { position: sticky; top: 20px; }
.fbdl-ad { margin: 24px 0; }
.fbdl-ad-top    { margin-top: 0; }
.fbdl-ad-bottom { margin-bottom: 0; }
.fbdl-ad-sidebar { margin: 0; }

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.fbdl-faq { margin-bottom: 52px; }

.fbdl-faq-list { display: flex; flex-direction: column; gap: 10px; }

.fbdl-faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fbdl-faq-item[open] { border-color: rgba(24,119,242,0.25); box-shadow: var(--shadow-sm); }

.fbdl-faq-item summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.2s;
}
.fbdl-faq-item summary:hover { background: var(--fb-blue-light); }
.fbdl-faq-item summary::-webkit-details-marker { display: none; }
.fbdl-faq-item summary::after {
  content: '';
  width: 20px; height: 20px;
  background: var(--fb-blue-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231877f2' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.fbdl-faq-item[open] summary::after { transform: rotate(45deg); }
.fbdl-faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ══════════════════════════════════════════════
   KEYFRAME ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fbdl-fade-down {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fbdl-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 700px) {
  .fbdl-hero { padding: 40px 20px 36px; }
  .fbdl-input-row { flex-direction: column; border-radius: 18px; padding: 12px; }
  .fbdl-input { padding: 6px 4px; }
  .fbdl-btn-primary { width: 100%; justify-content: center; border-radius: 12px; }
  .fbdl-format-tabs { flex-wrap: wrap; }
  .fbdl-steps-track { flex-direction: column; gap: 20px; }
  .fbdl-steps-track::before { display: none; }
  .fbdl-step { flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
  .fbdl-step-bubble { width: 54px; height: 54px; flex-shrink: 0; margin: 0; font-size: 22px; }
  .fbdl-stats-strip { grid-template-columns: 1fr; }
  .fbdl-stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .fbdl-stat-item:last-child { border-bottom: none; }
  .fbdl-two-col { grid-template-columns: 1fr; }
  .fbdl-sidebar-col { position: static; }
  .fbdl-results { padding: 20px 16px; }
  .fbdl-link-item { flex-direction: column; align-items: flex-start; }
  .fbdl-download-btn { width: 100%; justify-content: center; }
  .fbdl-trust-row { gap: 12px; }
  .fbdl-formats-section { padding: 28px 20px; }
}

/* ══════════════════════════════════════════════
   NAVBAR DROPDOWN FIX — Legal menu overflow
══════════════════════════════════════════════ */
header,
.site-header,
.navbar,
nav,
.nav-wrapper,
.header-inner {
  overflow: visible !important;
}

.menu-item.menu-item-has-children,
.nav-item.dropdown,
li.menu-item-has-children {
  position: relative !important;
  overflow: visible !important;
}

.sub-menu,
.dropdown-menu,
ul.sub-menu {
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  top: 100% !important;
  z-index: 99999 !important;
  overflow: visible !important;
}
