/* FreeConvertAll — Home (Bootstrap 5) */
:root {
  --fca-primary: #4f6ef7;
  --fca-primary-2: #7b5cff;
  --fca-gradient: linear-gradient(135deg, #4f6ef7 0%, #7b5cff 100%);
  --fca-text: #1e293b;
  --fca-muted: #64748b;
  --fca-border: #e8edf5;
  --fca-bg: #ffffff;
  --fca-bg-soft: #f7f9fc;
  --fca-surface: #ffffff;
  --fca-surface-2: #f8faff;
  --fca-surface-tint: #eef2ff;
  --fca-divider: #f1f5f9;
  --fca-nav-link: #1f2937;
  --fca-mega-link: #111827;
  --fca-input-border: #e2e8f0;
  --fca-footer: #0f172a;
  --fca-radius: 14px;
  --fca-radius-lg: 18px;
  --fca-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --fca-shadow-hover: 0 10px 28px rgba(79, 110, 247, 0.14);
  --fca-shadow-menu: 0 18px 50px rgba(15, 23, 42, 0.14);
  --fca-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --fca-nav-accent: #4f6ef7;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.fca-home {
  font-family: var(--fca-font);
  color: var(--fca-text);
  background: var(--fca-bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.fca-home a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.fca-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Buttons */
.fca-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--fca-gradient);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(79, 110, 247, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fca-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(79, 110, 247, 0.35);
  color: #fff !important;
}

.fca-btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

.fca-link {
  color: var(--fca-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.fca-link:hover {
  color: var(--fca-primary-2) !important;
}

.fca-section {
  padding: 4rem 0;
}

.fca-section-soft {
  background: var(--fca-bg-soft);
}

.fca-section-title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--fca-text);
}

/* ========== HEADER / MEGA MENU ========== */
.fca-navbar {
  background: var(--fca-surface);
  border-bottom: 1px solid var(--fca-border);
  padding: 0.35rem 0;
  z-index: 1050;
}

.fca-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--fca-text) !important;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

.fca-brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
  padding: 0;
}

.fca-brand-word {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-left: 0;
}

.fca-bw-free {
  color: #0f172a;
}

.fca-bw-convert {
  background: linear-gradient(180deg, #38bdf8 0%, #4f6ef7 55%, #3b5bdb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fca-bw-all {
  background: linear-gradient(180deg, #4f6ef7 0%, #7b5cff 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.fca-home.fca-dark .fca-bw-free {
  color: #f8fafc;
}

.fca-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--fca-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(79, 110, 247, 0.35);
}

.fca-nav .nav-link {
  color: var(--fca-nav-link) !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 0.7rem !important;
  white-space: nowrap;
  position: relative;
}

.fca-nav .nav-link:hover,
.fca-nav .nav-link:focus,
.fca-nav .nav-link.active,
.fca-nav .dropdown-toggle.show {
  color: var(--fca-nav-accent) !important;
}

.fca-nav .dropdown-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
  border-top-width: 0.32em;
  border-right-width: 0.32em;
  border-left-width: 0.32em;
}

.fca-mega-item {
  position: static;
}

.fca-mega-menu {
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: var(--fca-shadow-menu) !important;
  padding: 0 !important;
  margin-top: 0.35rem !important;
  min-width: 520px;
  overflow: visible;
  background: transparent !important;
}

.fca-mega-menu-sm {
  min-width: 460px;
}

.fca-mega-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--fca-surface);
  box-shadow: -2px -2px 4px rgba(15, 23, 42, 0.04);
}

.fca-mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.fca-mega-col {
  padding: 1.15rem 1.25rem 1.25rem;
}

.fca-mega-col + .fca-mega-col {
  border-left: 1px solid var(--fca-divider);
}

.fca-mega-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.fca-mega-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.35rem;
  color: var(--fca-mega-link) !important;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.fca-mega-link:hover,
.fca-mega-link.active {
  color: var(--fca-nav-accent) !important;
  background: var(--fca-surface-tint);
}

.fca-mi {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.fca-mi-jpg { background: linear-gradient(135deg, #f59e0b, #f97316); }
.fca-mi-png { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.fca-mi-gif { background: linear-gradient(135deg, #22c55e, #16a34a); }
.fca-mi-webp { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.fca-mi-word { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.fca-mi-pdf { background: linear-gradient(135deg, #ef4444, #dc2626); }
.fca-mi-ppt { background: linear-gradient(135deg, #f97316, #ea580c); }
.fca-mi-edit { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.fca-mi-compress { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.fca-mi-resize { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.fca-mi-excel { background: linear-gradient(135deg, #16a34a, #15803d); }
.fca-mi-heic { background: linear-gradient(135deg, #64748b, #334155); }
.fca-mi-crop { background: linear-gradient(135deg, #0d9488, #0f766e); }
.fca-mi-qr { background: linear-gradient(135deg, #0f172a, #334155); }
.fca-mi-merge { background: linear-gradient(135deg, #4f6ef7, #6366f1); }
.fca-mi-split { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.fca-mi-jpgpdf { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.fca-mi-txt { background: linear-gradient(135deg, #475569, #1e293b); }
.fca-mi-html { background: linear-gradient(135deg, #ea580c, #c2410c); }
.fca-mi-all { background: linear-gradient(135deg, #4f6ef7, #7b5cff); }
.fca-mi-organize { background: linear-gradient(135deg, #a855f7, #9333ea); }
.fca-mi-remove { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.fca-mi-extract { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.fca-mi-rotate { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.fca-mi-watermark { background: linear-gradient(135deg, #ec4899, #db2777); }
.fca-mi-pagenum { background: linear-gradient(135deg, #78716c, #57534e); }
.fca-mi-croppdf { background: linear-gradient(135deg, #f97316, #ea580c); }
.fca-mi-editor { background: linear-gradient(135deg, #d946ef, #c026d3); }
.fca-mi-repair { background: linear-gradient(135deg, #f59e0b, #d97706); }
.fca-mi-ocr { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.fca-mi-unlock { background: linear-gradient(135deg, #22c55e, #16a34a); }
.fca-mi-protect { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.fca-mi-sign { background: linear-gradient(135deg, #4f6ef7, #3730a3); }
.fca-mi-blur { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.fca-mi-imgwm { background: linear-gradient(135deg, #e11d48, #be123c); }
.fca-mi-svg { background: linear-gradient(135deg, #fb923c, #f97316); }
.fca-mi-csv { background: linear-gradient(135deg, #059669, #047857); }
.fca-mi-heicpng { background: linear-gradient(135deg, #6366f1, #4338ca); }
.fca-mi-photoedit { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.fca-mi-removebg { background: linear-gradient(135deg, #ec4899, #be185d); }
.fca-mi-rotateimg { background: linear-gradient(135deg, #2563eb, #1e40af); }
.fca-mi-htmlimg { background: linear-gradient(135deg, #f97316, #c2410c); }

.fca-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.fca-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--fca-border);
  background: var(--fca-surface);
  color: var(--fca-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.fca-icon-btn:hover {
  color: var(--fca-primary);
  border-color: #c7d2fe;
  background: var(--fca-surface-2);
}

.fca-navbar .navbar-toggler {
  border: 1px solid var(--fca-border);
  padding: 0.4rem 0.55rem;
}

.fca-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.fca-section-title.start {
  text-align: left;
}

@media (max-width: 991.98px) {
  .fca-section-title.start {
    text-align: center;
  }

  .fca-mega-item {
    position: relative;
  }

  .fca-mega-menu,
  .fca-mega-menu-sm,
  .fca-mega-menu-pdf,
  .fca-mega-menu-img,
  .fca-mega-menu-all,
  .fca-mega-menu-full {
    min-width: 100%;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid var(--fca-border) !important;
    margin: 0.35rem 0 0.75rem !important;
  }

  .fca-mega-menu::before {
    display: none;
  }

  .fca-mega-inner {
    grid-template-columns: 1fr;
  }

  .fca-mega-col + .fca-mega-col {
    border-left: 0;
    border-top: 1px solid var(--fca-divider);
  }

  .fca-nav .nav-link {
    padding: 0.7rem 0 !important;
    font-size: 0.9rem;
  }
}

@media (min-width: 992px) {
  .fca-mega-item:hover > .dropdown-menu,
  .fca-mega-item:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0.15rem;
  }

  .fca-nav .fca-mega-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .fca-nav .fca-mega-menu-img {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  /* Full-width mega panels (Convert PDF + All Tools) */
  .fca-mega-full-item:hover > .fca-mega-menu-full,
  .fca-mega-full-item:focus-within > .fca-mega-menu-full,
  .fca-mega-full-item .fca-mega-menu-full.show {
    display: block;
    margin-top: 0;
  }
}


/* ========== HERO ========== */
.fca-hero {
  position: relative;
  z-index: 30;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(79, 110, 247, 0.08), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(123, 92, 255, 0.07), transparent 40%),
    var(--fca-bg-soft);
  overflow: visible;
}

.fca-hero::before,
.fca-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(rgba(79, 110, 247, 0.22) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
  opacity: 0.55;
}

.fca-hero::before {
  top: 24px;
  left: 24px;
}

.fca-hero::after {
  top: 40px;
  right: 40px;
}

.fca-hero-title {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: var(--fca-text);
}

.fca-hero-sub {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  color: var(--fca-muted);
  font-size: 1.05rem;
}

.fca-search-wrap {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 40;
}

.fca-search-wrap .form-control {
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--fca-border);
  padding: 0 3.2rem 0 1.35rem;
  box-shadow: var(--fca-shadow);
  font-size: 0.95rem;
  background: var(--fca-surface);
  color: var(--fca-text);
}

.fca-search-wrap .form-control::placeholder {
  color: var(--fca-muted);
}

.fca-search-wrap .form-control:focus {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 4px rgba(79, 110, 247, 0.12);
  background: var(--fca-surface);
  color: var(--fca-text);
}

.fca-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--fca-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fca-search-results {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  text-align: left;
}

.fca-search-results.show {
  display: block;
}

.fca-search-results a {
  display: block;
  padding: 0.7rem 1rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--fca-text);
  border-bottom: 1px solid var(--fca-divider);
}

.fca-search-results a:last-child {
  border-bottom: none;
}

.fca-search-results a:hover {
  background: var(--fca-surface-2);
  color: var(--fca-primary);
}

/* ========== POPULAR TOOLS ========== */
.fca-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: var(--fca-radius);
  padding: 1.25rem 0.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fca-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fca-shadow-hover);
  border-color: #dbe4ff;
}

.fca-tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem !important;
  margin-bottom: 0.85rem;
  color: #fff !important;
}

.fca-tool-icon i,
.fca-tool-icon .bi {
  color: #fff !important;
}

.fca-tool-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--fca-text);
}

.fca-tool-card > span {
  font-size: 0.78rem;
  color: var(--fca-muted);
}

#fca-popular {
  position: relative;
  z-index: 1;
}

.fca-icon-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.fca-icon-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.fca-icon-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.fca-icon-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.fca-icon-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.fca-icon-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.fca-icon-pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.fca-icon-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }

/* ========== EXPLORE CATEGORIES ========== */
.fca-cat-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: var(--fca-radius-lg);
  padding: 1.35rem 1.25rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fca-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fca-shadow);
}

.fca-cat-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
}

.fca-cat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.fca-cat-card p {
  font-size: 0.88rem;
  color: var(--fca-muted);
  margin: 0 0 0.65rem;
}

.fca-cat-card .fca-link {
  font-size: 0.88rem;
}

/* ========== WHY CHOOSE ========== */
.fca-feature {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  height: 100%;
}

.fca-feature-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.fca-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.fca-feature p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--fca-muted);
}

/* ========== HOW IT WORKS ========== */
.fca-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.fca-step {
  text-align: center;
  position: relative;
  padding: 0.5rem;
}

.fca-step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.fca-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
}

.fca-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--fca-muted);
}

.fca-step-arrow {
  display: none;
}

@media (min-width: 992px) {
  .fca-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 36px;
    right: -12%;
    width: 24%;
    height: 2px;
    background: linear-gradient(90deg, #cbd5e1, transparent);
  }
}

/* ========== PILLS ========== */
.fca-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.fca-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--fca-surface-tint);
  color: var(--fca-primary) !important;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid var(--fca-border);
  transition: all 0.2s ease;
}

.fca-pill:hover {
  background: var(--fca-gradient);
  color: #fff !important;
  border-color: transparent;
}

/* ========== FAQ ========== */
.fca-accordion .accordion-item {
  border: 1px solid var(--fca-border);
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--fca-surface);
}

.fca-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fca-text);
  background: var(--fca-surface);
  box-shadow: none !important;
  padding: 1rem 1.1rem;
}

.fca-accordion .accordion-button:not(.collapsed) {
  color: var(--fca-primary);
  background: var(--fca-surface-2);
}

.fca-accordion .accordion-button::after {
  background-size: 1rem;
}

.fca-accordion .accordion-body {
  color: var(--fca-muted);
  font-size: 0.92rem;
  padding: 0 1.1rem 1rem;
}

/* ========== ABOUT + BLOG ========== */
.fca-about p {
  color: var(--fca-muted);
  font-size: 0.95rem;
}

.fca-blog-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  padding: 0.75rem;
  margin-bottom: 0.85rem;
  transition: box-shadow 0.2s ease;
}

.fca-blog-card:hover {
  box-shadow: var(--fca-shadow);
}

.fca-blog-thumb {
  width: 92px;
  height: 70px;
  min-width: 92px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: var(--fca-surface-tint);
  border: 1px solid var(--fca-border);
}

.fca-blog-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fca-primary);
  background: var(--fca-surface-tint);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.25rem;
}

.fca-blog-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.35;
}

.fca-blog-card .fca-link {
  font-size: 0.8rem;
}

/* ========== FOOTER ========== */
.fca-footer {
  background: var(--fca-footer);
  color: #cbd5e1;
  padding: 3.5rem 0 0;
  position: relative;
}

.fca-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff !important;
  margin-bottom: 0.85rem;
  text-decoration: none !important;
}

.fca-footer-brand .fca-brand-mark {
  width: 34px;
  height: 34px;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
}

.fca-footer-brand .fca-bw-free {
  color: #f8fafc;
}

.fca-footer p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
}

.fca-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.fca-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fca-footer-links li {
  margin-bottom: 0.55rem;
}

.fca-footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.fca-footer-links a:hover {
  color: #fff;
}

.fca-social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.fca-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fca-social a:hover {
  background: var(--fca-gradient);
  color: #fff;
}

.fca-newsletter .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  height: 44px;
  padding-left: 1rem;
}

.fca-newsletter .form-control::placeholder {
  color: #94a3b8;
}

.fca-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #818cf8;
  box-shadow: none;
  color: #fff;
}

.fca-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.fca-footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

.fca-back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--fca-gradient);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(79, 110, 247, 0.4);
  z-index: 1030;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.fca-back-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.fca-back-top:hover {
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(79, 110, 247, 0.45);
}

/* Dark mode (UI toggle) */
html.fca-dark {
  color-scheme: dark;
  background: #0b1220;
}

body.fca-home.fca-dark {
  --fca-text: #e2e8f0;
  --fca-muted: #94a3b8;
  --fca-border: #334155;
  --fca-bg: #0b1220;
  --fca-bg-soft: #0f172a;
  --fca-surface: #1e293b;
  --fca-surface-2: #243247;
  --fca-surface-tint: rgba(79, 110, 247, 0.16);
  --fca-divider: #334155;
  --fca-nav-link: #e2e8f0;
  --fca-mega-link: #e2e8f0;
  --fca-input-border: #475569;
  --fca-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  --fca-shadow-hover: 0 10px 28px rgba(79, 110, 247, 0.22);
  --fca-shadow-menu: 0 18px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
  background: var(--fca-bg);
  color: var(--fca-text);
}

body.fca-home.fca-dark .fca-accordion .accordion-button::after {
  filter: invert(1) grayscale(1);
}

body.fca-home.fca-dark .fca-navbar .navbar-toggler-icon {
  filter: invert(1);
}

body.fca-home.fca-dark .fca-icon-btn:hover {
  background: var(--fca-surface-2);
  border-color: #6366f1;
  color: #c7d2fe;
}

body.fca-home.fca-dark .fca-mega-link:hover,
body.fca-home.fca-dark .fca-mega-link.active {
  color: #a5b4fc !important;
  background: var(--fca-surface-tint);
}

body.fca-home.fca-dark .fca-drop-zone {
  border-color: #475569;
}

body.fca-home.fca-dark .fca-drop-zone:hover,
body.fca-home.fca-dark .fca-drop-zone.dragover {
  border-color: var(--fca-primary);
  background: var(--fca-surface-tint);
}

body.fca-home.fca-dark .fca-btn-outline {
  background: var(--fca-surface);
  color: var(--fca-text);
  border-color: var(--fca-border);
}

body.fca-home.fca-dark .fca-btn-outline:hover {
  border-color: #6366f1;
  color: #c7d2fe;
}

body.fca-home.fca-dark #preview .main-img {
  background: var(--fca-surface-2);
}

body.fca-home.fca-dark #preview .main-img .imgg {
  background: var(--fca-surface);
}

body.fca-home.fca-dark #preview .fca-doc-error {
  background: rgba(127, 29, 29, 0.35);
  border-color: #7f1d1d;
  color: #fecaca;
}

body.fca-home.fca-dark .fca-step:not(:last-child)::after {
  background: linear-gradient(90deg, #475569, transparent);
}

body.fca-home.fca-dark .alert-danger {
  background: rgba(127, 29, 29, 0.35);
  border-color: #7f1d1d;
  color: #fecaca;
}

body.fca-home.fca-dark .form-control,
body.fca-home.fca-dark .form-select {
  background-color: var(--fca-surface);
  color: var(--fca-text);
  border-color: var(--fca-border);
}

body.fca-home.fca-dark .form-control:focus,
body.fca-home.fca-dark .form-select:focus {
  background-color: var(--fca-surface);
  color: var(--fca-text);
}

body.fca-home.fca-dark .btn-close {
  filter: invert(1) grayscale(1);
}

@media (max-width: 991.98px) {
  body.fca-home.fca-dark .navbar-collapse {
    background: var(--fca-surface);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 0.35rem 0.85rem 0.85rem;
    border: 1px solid var(--fca-border);
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .fca-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .fca-nav {
    padding: 0.75rem 0 0.25rem;
  }

  .fca-nav .nav-link {
    padding: 0.65rem 0 !important;
  }

  .fca-nav-actions {
    margin-top: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .fca-hero {
    padding: 3rem 0 2.5rem;
  }

  .fca-section {
    padding: 3rem 0;
  }
}

@media (max-width: 575.98px) {
  .fca-steps {
    grid-template-columns: 1fr;
  }

  .fca-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .fca-brand-word {
    font-size: 1.05rem;
  }

  .fca-hero::before,
  .fca-hero::after {
    width: 100px;
    height: 100px;
    opacity: 0.35;
  }
}

/* Soft entrance motion */
@keyframes fcaFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fca-animate {
  animation: fcaFadeUp 0.55s ease both;
}

.fca-delay-1 { animation-delay: 0.08s; }
.fca-delay-2 { animation-delay: 0.16s; }
.fca-delay-3 { animation-delay: 0.24s; }

/* ========== LOADER ========== */
.fca-loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  z-index: 5000;
  align-items: center;
  justify-content: center;
}

.fca-loader.show {
  display: flex;
}

.fca-loader-box {
  text-align: center;
  background: var(--fca-surface);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  min-width: 220px;
}

.fca-loader-box p {
  margin: 1rem 0 0.2rem;
  font-weight: 700;
  color: var(--fca-text);
}

.fca-loader-box small {
  color: var(--fca-muted);
  font-size: 0.82rem;
}

.fca-loader-ring {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  position: relative;
}

.fca-loader-ring span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #4f6ef7;
  animation: fcaSpin 0.9s linear infinite;
}

.fca-loader-ring span:nth-child(2) {
  inset: 8px;
  border-top-color: #7b5cff;
  animation-duration: 1.15s;
  animation-direction: reverse;
}

.fca-loader-ring span:nth-child(3) {
  inset: 16px;
  border-top-color: #22c55e;
  animation-duration: 0.75s;
}

@keyframes fcaSpin {
  to { transform: rotate(360deg); }
}


/* ========== TOOL PAGE ========== */
.fca-tool-hero {
  padding: 2.5rem 0 1.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(79, 110, 247, 0.08), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(123, 92, 255, 0.07), transparent 40%),
    var(--fca-bg-soft);
}

.fca-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--fca-muted);
  margin-bottom: 0.85rem;
}

.fca-breadcrumb a {
  color: var(--fca-primary);
  font-weight: 600;
}

.fca-upload-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--fca-shadow);
}

.fca-drop-zone {
  border: 2px dashed #c7d2fe;
  border-radius: 16px;
  background: var(--fca-surface-2);
  padding: 2.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fca-drop-zone:hover,
.fca-drop-zone.dragover {
  border-color: var(--fca-primary);
  background: var(--fca-surface-tint);
}

.fca-drop-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--fca-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 22px rgba(79, 110, 247, 0.28);
}

.fca-drop-zone h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.fca-drop-zone p {
  color: var(--fca-muted);
  margin-bottom: 1rem;
}

.fca-drop-zone small {
  display: block;
  margin-top: 0.9rem;
  color: var(--fca-muted);
  font-size: 0.82rem;
}

.fca-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fca-preview:empty,
.fca-preview:not(:has(.main-img)):not(:has(.fca-doc-result)) {
  margin-top: 0;
}

.fca-preview-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}

.fca-preview-actions:not(:has(button:not(.hidden))),
.fca-preview-actions .hidden {
  display: none !important;
}

.fca-preview-actions:has(button:not(.hidden)) {
  display: flex;
}

.fca-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fca-border);
  background: var(--fca-surface);
  color: var(--fca-text);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.fca-btn-outline:hover {
  border-color: #c7d2fe;
  color: var(--fca-primary);
}

#preview .main-img {
  width: calc(25% - 0.6rem);
  min-width: 130px;
  background: var(--fca-bg-soft);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  padding: 0.75rem;
}

#preview .main-img .imgg {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  background: var(--fca-surface);
}

#preview .main-img .button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fca-gradient);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0;
  min-height: 36px;
  text-decoration: none !important;
}

#preview .main-img .button::after {
  content: "\F30A";
  font-family: "bootstrap-icons";
  font-size: 1rem;
  line-height: 1;
}

#preview .fca-doc-success {
  width: min(280px, 100%);
  text-align: center;
}

#preview .fca-doc-success .fca-doc-title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fca-text);
}

#preview .fca-doc-success .fca-doc-name {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--fca-muted);
  word-break: break-word;
}

#preview .fca-doc-error {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

#preview .fca-doc-error i {
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

#preview .fca-doc-error p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.fca-seo-content {
  color: var(--fca-muted);
  font-size: 0.98rem;
}

.fca-seo-content h2,
.fca-seo-content h3 {
  color: var(--fca-text);
}

.fca-seo-content ul {
  padding-left: 1.15rem;
  margin-bottom: 0;
}

.fca-seo-content li {
  margin-bottom: 0.35rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 767.98px) {
  #preview .main-img {
    width: calc(50% - 0.4rem);
  }
}

/* ========== BLOG PAGE ========== */
.fca-blog-hero {
  position: relative;
  padding: 3.75rem 0 2.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(79, 110, 247, 0.1), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(123, 92, 255, 0.08), transparent 40%),
    var(--fca-bg-soft);
}

.fca-blog-badge {
  display: inline-block;
  background: var(--fca-surface-tint);
  color: var(--fca-primary);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}

.fca-featured-post {
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--fca-shadow);
  margin-top: 0.5rem;
}

.fca-featured-media {
  height: 100%;
  min-height: 260px;
  background: var(--fca-surface-tint);
}

.fca-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.fca-featured-body {
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fca-featured-body h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.65rem 0 0.75rem;
}

.fca-featured-body p {
  color: var(--fca-muted);
  margin-bottom: 1rem;
}

.fca-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--fca-muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.fca-post-meta i {
  margin-right: 0.25rem;
}

.fca-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fca-blog-filters button {
  border: 1px solid var(--fca-border);
  background: var(--fca-surface);
  color: var(--fca-muted);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.fca-blog-filters button:hover,
.fca-blog-filters button.active {
  background: var(--fca-gradient);
  border-color: transparent;
  color: #fff;
}

.fca-post-card {
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fca-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fca-shadow-hover);
}

.fca-post-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--fca-surface-tint);
}

.fca-post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.fca-post-card:hover .fca-post-card-media img {
  transform: scale(1.04);
}

.fca-post-card-body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fca-post-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.5rem 0 0.55rem;
  line-height: 1.4;
}

.fca-post-card-body h3 a:hover {
  color: var(--fca-primary);
}

.fca-post-card-body p {
  color: var(--fca-muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  flex: 1;
}

.fca-blog-cta {
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--fca-shadow);
}

.fca-blog-cta h2 {
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.65rem;
}

.fca-blog-cta p {
  color: var(--fca-muted);
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

@media (max-width: 991.98px) {
  .fca-featured-body {
    padding: 1.35rem 1.15rem 1.5rem;
  }
}

/* ---- Browser PDF organize tools ---- */
.fca-ptool-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--fca-shadow);
}
.fca-ptool-drop {
  border: 2px dashed #c7d2fe;
  border-radius: 16px;
  background: var(--fca-surface-2);
  padding: 2.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fca-ptool-drop:hover,
.fca-ptool-drop.dragover {
  border-color: var(--fca-primary);
  background: var(--fca-surface-tint);
}
.fca-ptool-drop h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}
.fca-ptool-drop p { color: var(--fca-muted); margin-bottom: 1rem; }
.fca-ptool-drop small { display: block; margin-top: 0.85rem; color: var(--fca-muted); font-size: 0.82rem; }
.fca-ptool-list {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.fca-ptool-list.show { display: flex; }
.fca-ptool-file {
  display: none;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  background: var(--fca-bg-soft);
}
.fca-ptool-file.show { display: flex; }
.fca-ptool-file-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--fca-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.fca-ptool-file-icon.img {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.fca-ptool-file-meta { flex: 1; min-width: 0; }
.fca-ptool-file-meta strong {
  display: block;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fca-ptool-file-meta span { color: var(--fca-muted); font-size: 0.8rem; }
.fca-ptool-file-btns { display: flex; gap: 0.25rem; flex-shrink: 0; }
.fca-ptool-icon-btn {
  border: 0;
  background: transparent;
  color: var(--fca-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fca-ptool-icon-btn:hover:not(:disabled) {
  color: var(--fca-primary);
  background: var(--fca-surface-tint);
}
.fca-ptool-icon-btn.danger:hover:not(:disabled) {
  color: #ef4444;
  background: rgba(239,68,68,0.08);
}
.fca-ptool-icon-btn:disabled { opacity: 0.35; cursor: default; }
.fca-ptool-actions {
  display: none;
  margin-top: 1rem;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
}
.fca-ptool-actions.show { display: flex; }
.fca-ptool-extra {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  background: var(--fca-surface-2);
}
.fca-ptool-extra.show { display: block; }
.fca-ptool-unlock {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  background: var(--fca-surface-2);
}
.fca-ptool-unlock.show { display: block; }
.fca-ptool-unlock h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.fca-unlock-hint {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--fca-muted);
}
.fca-pass-wrap {
  position: relative;
}
.fca-pass-wrap input.form-control,
.fca-pass-wrap input[type=password],
.fca-pass-wrap input[type=text] {
  width: 100%;
  padding-right: 2.65rem !important;
}
.fca-pass-wrap input.show-pass,
.fca-pass-wrap input[type=password] {
  -webkit-text-security: disc;
}
.fca-pass-wrap input.show-pass[type=text] {
  -webkit-text-security: none;
}
.fca-pass-toggle {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--fca-muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.fca-pass-toggle:hover {
  color: var(--fca-primary);
  background: var(--fca-surface-tint);
}
.fca-ptool-extra h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.fca-ptool-pages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
  max-height: 220px;
  overflow: auto;
  margin-bottom: 0.85rem;
}
.fca-ptool-page {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--fca-border);
  background: var(--fca-surface);
  font-size: 0.85rem;
  cursor: pointer;
  margin: 0;
}
.fca-ptool-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}
.fca-ptool-opts label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  cursor: pointer;
  margin: 0;
}
.fca-ptool-result {
  display: none;
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
}
.fca-ptool-result.show { display: block; }
.fca-ptool-result-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.85rem;
  border-radius: 18px;
  background: var(--fca-surface-tint);
  color: var(--fca-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.fca-ptool-result h3 { font-weight: 800; margin: 0 0 0.35rem; }
.fca-ptool-result p { color: var(--fca-muted); margin-bottom: 1.1rem; }
.fca-ptool-result .fca-btn { min-width: 200px; }
.fca-ptool-error {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.92rem;
}
body.fca-home.fca-dark .fca-ptool-error {
  background: rgba(127, 29, 29, 0.35);
  border-color: #7f1d1d;
  color: #fecaca;
}
.fca-ptool-error.show { display: block; }
.fca-ptool-hidden { display: none !important; }

/* Shared Image mega menu — compact only when not full-width (PDF-style) */
.fca-mega-menu-img:not(.fca-mega-menu-full) {
  min-width: min(960px, calc(100vw - 2rem));
  max-width: calc(100vw - 1.5rem);
}

.fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-inner {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  max-height: min(68vh, 480px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-inner::-webkit-scrollbar {
  width: 6px;
}

.fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-inner::-webkit-scrollbar-track {
  background: transparent;
}

.fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-inner::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

body.fca-home.fca-dark .fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-inner::-webkit-scrollbar-thumb {
  background: #475569;
}

.fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-col {
  min-width: 0;
}

.fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-link span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-col:nth-child(4n+1):not(:first-child) {
  border-left: 0;
}

.fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-col:nth-child(n+5) {
  border-top: 1px solid var(--fca-divider);
}

/* ========== FULL-WIDTH MEGA (Convert Image + Convert PDF + All Tools) ========== */
@media (min-width: 992px) {
  .fca-mega-full-item {
    position: static;
  }

  .fca-nav .fca-mega-menu-full {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--fca-header-h, 72px) !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 0.5rem 0.75rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 1055;
  }

  .fca-mega-menu-full::before {
    display: none;
  }

  .fca-mega-menu-full .fca-mega-inner-full {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    max-height: calc(100vh - var(--fca-header-h, 72px) - 1rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    background: var(--fca-surface);
    border: 1px solid var(--fca-border);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    position: relative;
  }

  .fca-mega-menu-full .fca-mega-inner-full::-webkit-scrollbar {
    width: 8px;
  }

  .fca-mega-menu-full .fca-mega-inner-full::-webkit-scrollbar-track {
    background: transparent;
  }

  .fca-mega-menu-full .fca-mega-inner-full::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
  }

  body.fca-home.fca-dark .fca-mega-menu-full .fca-mega-inner-full::-webkit-scrollbar-thumb {
    background: #475569;
  }

  .fca-mega-menu-full .fca-mega-inner-full::before {
    content: "";
    position: absolute;
    top: -7px;
    left: var(--fca-full-arrow-x, 40%);
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: var(--fca-surface);
    border-left: 1px solid var(--fca-border);
    border-top: 1px solid var(--fca-border);
    box-shadow: none;
    z-index: 2;
  }

  .fca-mega-menu-full .fca-mega-col {
    padding: 1.15rem 0.85rem 1.25rem;
    min-width: 0;
    border-left: 1px solid var(--fca-divider);
  }

  .fca-mega-menu-full .fca-mega-col:nth-child(6n+1) {
    border-left: 0;
  }

  .fca-mega-menu-full .fca-mega-col:nth-child(n+7) {
    border-top: 1px solid var(--fca-divider);
  }

  .fca-mega-menu-full .fca-mega-link {
    font-size: 0.8rem;
    padding: 0.45rem 0.3rem;
    gap: 0.65rem;
  }

  .fca-mega-menu-full .fca-mega-link span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fca-mega-menu-full .fca-mi {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.92rem;
    border-radius: 7px;
  }

  .fca-mega-menu-full .fca-mega-col h4 {
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
  }

  body.fca-mega-open::after {
    content: "";
    position: fixed;
    inset: 0;
    top: var(--fca-header-h, 72px);
    background: rgba(15, 23, 42, 0.18);
    z-index: 1045;
    pointer-events: none;
  }

  body.fca-home.fca-dark.fca-mega-open::after {
    background: rgba(2, 6, 23, 0.45);
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .fca-mega-menu-img:not(.fca-mega-menu-full) {
    min-width: min(720px, calc(100vw - 2rem));
  }

  .fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-inner {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-col:nth-child(4n+1):not(:first-child) {
    border-left: 1px solid var(--fca-divider);
  }

  .fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-col:nth-child(2n+1):not(:first-child) {
    border-left: 0;
  }

  .fca-mega-menu-img:not(.fca-mega-menu-full) .fca-mega-col:nth-child(n+3) {
    border-top: 1px solid var(--fca-divider);
  }

  .fca-mega-menu-full .fca-mega-inner-full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    width: 100%;
  }

  .fca-mega-menu-full .fca-mega-col:nth-child(6n+1) {
    border-left: 1px solid var(--fca-divider);
  }

  .fca-mega-menu-full .fca-mega-col:nth-child(4n+1) {
    border-left: 0;
  }

  .fca-mega-menu-full .fca-mega-col:nth-child(n+7) {
    border-top: 0;
  }

  .fca-mega-menu-full .fca-mega-col:nth-child(n+5) {
    border-top: 1px solid var(--fca-divider);
  }
}

@media (max-width: 991.98px) {
  .fca-mega-menu-img,
  .fca-mega-menu-full {
    min-width: 0;
    max-width: none;
  }

  .fca-mega-menu-img .fca-mega-inner,
  .fca-mega-menu-full .fca-mega-inner-full {
    grid-template-columns: 1fr;
    max-height: min(60vh, 420px);
    overflow-y: auto;
  }

  .fca-mega-menu-img .fca-mega-col:nth-child(n+5),
  .fca-mega-menu-img .fca-mega-col:nth-child(n+3) {
    border-top: 0;
  }

  .fca-mega-menu-full .fca-mega-col {
    border-left: 0 !important;
    border-top: 1px solid var(--fca-divider);
  }

  .fca-mega-menu-full .fca-mega-col:first-child {
    border-top: 0;
  }
}

.fca-ptool-hint {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: var(--fca-muted);
}
.fca-ptool-field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.fca-ptool-pagenum .fca-ptool-opts label {
  margin-bottom: 0.25rem;
}
.fca-pagenum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}
.fca-pagenum-pos {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--fca-border);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fca-pagenum-pos:has(input:checked) {
  border-color: #c7d2fe;
  background: var(--fca-surface-tint);
  color: var(--fca-primary);
}
.fca-ptool-organize {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.fca-org-page {
  border: 1px solid var(--fca-border);
  border-radius: 12px;
  padding: 0.65rem;
  background: var(--fca-surface-2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fca-org-thumb {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--fca-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fca-org-thumb canvas {
  width: 100%;
  height: auto;
  display: block;
}
.fca-org-loading {
  color: var(--fca-muted);
  font-size: 0.85rem;
}
.fca-org-meta {
  text-align: center;
  font-size: 0.82rem;
}
.fca-org-meta strong {
  font-weight: 700;
}
.fca-org-btns {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}
.fca-icon-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }

/* Sign PDF workspace */
.fca-ptool-sign.show,
.fca-ptool-sign .fca-sign-layout { display: block; }
.fca-sign-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.fca-sign-sidebar {
  background: var(--fca-surface-2);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  padding: 1rem;
}
.fca-sign-sidebar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.fca-sign-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.fca-sign-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.55rem 0.25rem;
  border: 1px solid var(--fca-border);
  border-radius: 10px;
  background: var(--fca-surface);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fca-muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.fca-sign-tab i { font-size: 1.1rem; }
.fca-sign-tab.active,
.fca-sign-tab:hover {
  border-color: #c7d2fe;
  background: var(--fca-surface-tint);
  color: var(--fca-primary);
}
.fca-sign-canvas-wrap {
  position: relative;
  border: 2px dashed #c7d2fe;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.fca-sign-canvas-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.82rem;
  pointer-events: none;
}
#ptoolSignCanvas {
  width: 100%;
  height: 140px;
  display: block;
  cursor: crosshair;
  touch-action: none;
}
.fca-sign-type-preview {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fca-border);
  border-radius: 10px;
  background: #fff;
  font-size: 2rem;
  color: #1e293b;
  padding: 0.5rem;
  text-align: center;
  word-break: break-word;
}
.fca-sign-upload-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 0.75rem;
  border: 2px dashed var(--fca-border);
  border-radius: 10px;
  background: var(--fca-surface);
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--fca-muted);
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.fca-sign-upload-btn:hover {
  border-color: #c7d2fe;
  background: var(--fca-surface-tint);
  color: var(--fca-primary);
}
.fca-sign-upload-btn i { font-size: 1.5rem; }
.fca-sign-upload-preview img {
  max-width: 100%;
  max-height: 100px;
  display: block;
  margin: 0 auto;
}
.fca-sign-options {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--fca-border);
}
.fca-sign-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
}
.fca-sign-main {
  background: var(--fca-surface-2);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  padding: 1rem;
}
.fca-sign-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.fca-sign-page-info {
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 110px;
  text-align: center;
}
.fca-sign-stage {
  position: relative;
  display: flex;
  justify-content: center;
  background: #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  min-height: 320px;
  overflow: auto;
}
.fca-sign-stage canvas {
  display: block;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
  border-radius: 4px;
  background: #fff;
}
.fca-sign-page-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.fca-sign-placed {
  position: absolute;
  cursor: move;
  border: 2px dashed var(--fca-primary);
  border-radius: 4px;
  background: rgba(79, 110, 247, 0.06);
  touch-action: none;
  z-index: 5;
}
.fca-sign-placed img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}
.fca-sign-placed-del {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.fca-sign-handle {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 14px;
  height: 14px;
  background: var(--fca-primary);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: nwse-resize;
}
@media (max-width: 767.98px) {
  .fca-sign-layout {
    grid-template-columns: 1fr;
  }
  .fca-sign-stage {
    min-height: 240px;
  }
}

/* Crop PDF workspace */
.fca-crop-layout,
.fca-ocr-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.fca-crop-sidebar,
.fca-ocr-sidebar {
  background: var(--fca-surface-2);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  padding: 1rem;
}
.fca-crop-sidebar h4,
.fca-ocr-sidebar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.fca-crop-info {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
}
.fca-crop-info div {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.55rem;
  background: var(--fca-surface);
  border-radius: 8px;
  border: 1px solid var(--fca-border);
}
.fca-crop-info span { color: var(--fca-muted); }
.fca-crop-main,
.fca-ocr-main {
  background: var(--fca-surface-2);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  padding: 1rem;
}
.fca-crop-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fca-crop-shade {
  position: absolute;
  left: 0;
  background: rgba(15, 23, 42, 0.55);
  pointer-events: none;
}
#ptoolCropShadeTop { top: 0; width: 100%; }
#ptoolCropShadeBottom { left: 0; width: 100%; bottom: 0; }
#ptoolCropShadeLeft { left: 0; }
#ptoolCropShadeRight { right: 0; left: auto; }
.fca-crop-box {
  position: absolute;
  border: 2px solid var(--fca-primary);
  cursor: move;
  pointer-events: auto;
  touch-action: none;
}
.fca-crop-handle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 2px solid var(--fca-primary);
  border-radius: 2px;
  pointer-events: auto;
}
.fca-crop-handle.nw { top: -6px; left: -6px; cursor: nwse-resize; }
.fca-crop-handle.ne { top: -6px; right: -6px; cursor: nesw-resize; }
.fca-crop-handle.sw { bottom: -6px; left: -6px; cursor: nesw-resize; }
.fca-crop-handle.se { bottom: -6px; right: -6px; cursor: nwse-resize; }
.fca-crop-handle.n { top: -6px; left: 50%; margin-left: -5px; cursor: ns-resize; }
.fca-crop-handle.s { bottom: -6px; left: 50%; margin-left: -5px; cursor: ns-resize; }
.fca-crop-handle.w { left: -6px; top: 50%; margin-top: -5px; cursor: ew-resize; }
.fca-crop-handle.e { right: -6px; top: 50%; margin-top: -5px; cursor: ew-resize; }

/* OCR PDF workspace */
.fca-ocr-output-opts {
  display: grid;
  gap: 0.5rem;
}
.fca-ocr-out-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.1rem 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--fca-border);
  border-radius: 10px;
  background: var(--fca-surface);
  cursor: pointer;
  margin: 0;
  transition: border-color 0.15s, background 0.15s;
}
.fca-ocr-out-card input { display: none; }
.fca-ocr-out-card i {
  grid-row: 1 / 3;
  font-size: 1.4rem;
  color: var(--fca-primary);
  align-self: center;
}
.fca-ocr-out-card strong { font-size: 0.84rem; }
.fca-ocr-out-card span { font-size: 0.75rem; color: var(--fca-muted); }
.fca-ocr-out-card.active,
.fca-ocr-out-card:hover {
  border-color: #c7d2fe;
  background: var(--fca-surface-tint);
}
.fca-ocr-status {
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  text-align: center;
}
.fca-ocr-status-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: var(--fca-surface-tint);
  color: var(--fca-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.fca-ocr-status p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--fca-muted);
}
.fca-ocr-text-preview textarea {
  font-size: 0.8rem;
  resize: vertical;
  background: var(--fca-surface);
}
.fca-ocr-scan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(79, 110, 247, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--fca-primary);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 4;
}
.fca-ocr-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--fca-primary), transparent);
  animation: fcaOcrScan 2s ease-in-out infinite;
}
@keyframes fcaOcrScan {
  0% { top: 0; opacity: 0.3; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0.3; }
}
@media (max-width: 767.98px) {
  .fca-crop-layout,
  .fca-ocr-layout {
    grid-template-columns: 1fr;
  }
}

/* Repair PDF workspace */
.fca-repair-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.fca-repair-sidebar,
.fca-repair-main {
  background: var(--fca-surface-2);
  border: 1px solid var(--fca-border);
  border-radius: 14px;
  padding: 1rem;
}
.fca-repair-sidebar h4,
.fca-repair-main-head h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}
.fca-repair-file-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 10px;
}
.fca-repair-file-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.fca-repair-file-card strong {
  display: block;
  font-size: 0.84rem;
  word-break: break-all;
}
.fca-repair-file-card span {
  font-size: 0.78rem;
  color: var(--fca-muted);
}
.fca-repair-status {
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  text-align: center;
}
.fca-repair-status-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: var(--fca-surface-tint);
  color: var(--fca-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.fca-repair-status p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--fca-muted);
}
.fca-repair-steps {
  display: grid;
  gap: 0.45rem;
}
.fca-repair-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--fca-muted);
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
}
.fca-repair-step.active {
  border-color: #c7d2fe;
  background: var(--fca-surface-tint);
  color: var(--fca-primary);
  font-weight: 600;
}
.fca-repair-step.done {
  color: #16a34a;
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.fca-repair-step.fail {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}
.fca-repair-step-icon i { font-size: 0.95rem; }
.fca-repair-stats {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
}
.fca-repair-stats div {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.55rem;
  background: var(--fca-surface);
  border-radius: 8px;
  border: 1px solid var(--fca-border);
}
.fca-repair-stats span { color: var(--fca-muted); }
.fca-repair-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.fca-repair-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 99px;
  background: var(--fca-surface);
  color: var(--fca-muted);
  border: 1px solid var(--fca-border);
}
.fca-repair-badge-ok { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.fca-repair-badge-warn { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.fca-repair-badge-bad { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.fca-repair-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.fca-repair-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--fca-muted);
}
.fca-repair-empty i { font-size: 2rem; opacity: 0.4; }
.fca-repair-empty p { margin: 0.5rem 0 0; font-size: 0.85rem; }
.fca-repair-thumb {
  border: 1px solid var(--fca-border);
  border-radius: 10px;
  padding: 0.45rem;
  background: var(--fca-surface);
  text-align: center;
}
.fca-repair-thumb.ok { border-color: #bbf7d0; }
.fca-repair-thumb.broken { border-color: #fecaca; background: #fef2f2; }
.fca-repair-thumb-canvas {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}
.fca-repair-thumb-canvas canvas {
  width: 100%;
  height: auto;
  display: block;
}
.fca-repair-thumb-broken {
  color: #dc2626;
  font-size: 1.5rem;
}
.fca-repair-thumb-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fca-muted);
}
@media (max-width: 767.98px) {
  .fca-repair-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .fca-pagenum-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== STATIC PAGES (About, Contact, Legal, Help) ========== */
.fca-static-page .fca-static-hero {
  padding: 2.75rem 0 2rem;
  margin-bottom: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(79,110,247,.1), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(123,92,255,.08), transparent 40%),
    var(--fca-bg-soft);
  text-align: center;
}
.fca-static-page .fca-static-hero .fca-hero-title { margin-bottom: .5rem; }
.fca-static-page .fca-static-hero .fca-hero-sub {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}
.fca-static-page .fca-section.pt-0,
.fca-static-page .fca-static-body {
  padding-top: 2rem !important;
  padding-bottom: 3.5rem;
}
.fca-static-narrow { max-width: 820px; margin: 0 auto; }
.fca-static-card {
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 20px;
  padding: 1.65rem 1.5rem;
  box-shadow: var(--fca-shadow);
  height: 100%;
}
.fca-static-layout {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}
.fca-about-intro {
  margin-bottom: .25rem;
}
.fca-about-intro h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
}
.fca-about-intro p { color: var(--fca-muted); line-height: 1.7; }
.fca-about-stats {
  display: grid;
  gap: .85rem;
}
.fca-about-stats > div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--fca-surface-2);
  border: 1px solid var(--fca-border);
}
.fca-about-stats strong {
  font-size: 1.45rem;
  font-weight: 800;
  background: var(--fca-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fca-about-stats span { font-size: .86rem; color: var(--fca-muted); font-weight: 600; }
.fca-static-feature {
  height: 100%;
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  box-shadow: var(--fca-shadow);
}
.fca-static-feature h3 { font-size: 1rem; font-weight: 800; margin: .75rem 0 .4rem; }
.fca-static-feature p { margin: 0; font-size: .9rem; color: var(--fca-muted); line-height: 1.55; }
.fca-static-pill-card {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  height: 100%;
  padding: 1.2rem 1.1rem;
  border-radius: 16px;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
}
.fca-static-pill-card > i {
  font-size: 1.25rem;
  color: var(--fca-primary);
  margin-top: .15rem;
  flex-shrink: 0;
}
.fca-static-pill-card h3 { font-size: .95rem; font-weight: 800; margin: 0 0 .3rem; }
.fca-static-pill-card p { margin: 0; font-size: .86rem; color: var(--fca-muted); }
.fca-static-side {
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--fca-shadow);
  height: 100%;
}
.fca-static-side h2 { font-size: 1.2rem; font-weight: 800; margin: 0 0 .55rem; }
.fca-static-side > p { color: var(--fca-muted); font-size: .92rem; line-height: 1.65; margin-bottom: 0; }
.fca-static-side a { color: var(--fca-primary); font-weight: 600; }
.fca-static-contact-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: .85rem;
}
.fca-static-contact-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .95rem 1rem;
  border-radius: 14px;
  background: var(--fca-surface-2);
  border: 1px solid var(--fca-border);
}
.fca-static-contact-list i {
  color: var(--fca-primary);
  font-size: 1.15rem;
  margin-top: .2rem;
  flex-shrink: 0;
}
.fca-static-contact-list strong { display: block; font-size: .86rem; margin-bottom: .15rem; }
.fca-static-contact-list span { font-size: .84rem; color: var(--fca-muted); line-height: 1.4; }
.fca-static-form label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.fca-static-form .form-control,
.fca-static-form .form-select {
  border-radius: 12px;
  border-color: var(--fca-input-border);
  padding: .75rem .9rem;
  background: var(--fca-surface);
  color: var(--fca-text);
}
.fca-static-form .form-control:focus,
.fca-static-form .form-select:focus {
  border-color: var(--fca-primary);
  box-shadow: 0 0 0 3px rgba(79,110,247,.15);
}
.fca-static-form .row { --bs-gutter-y: 1rem; }
.fca-optional { font-weight: 500; color: var(--fca-muted); font-size: .78rem; }
.fca-static-alert {
  padding: .85rem 1rem;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: .9rem;
  margin-bottom: 1.15rem;
}
body.fca-home.fca-dark .fca-static-alert {
  background: rgba(127,29,29,.35);
  border-color: #7f1d1d;
  color: #fecaca;
}
.fca-static-success {
  text-align: center;
  padding: 1.75rem 1rem;
}
.fca-static-success i {
  font-size: 2.4rem;
  color: #10b981;
  display: block;
  margin-bottom: .75rem;
}
.fca-static-success h3 { font-weight: 800; margin: 0 0 .45rem; }
.fca-static-success p { color: var(--fca-muted); margin-bottom: 1.15rem; }
.fca-legal-content h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.5rem 0 .6rem;
}
.fca-legal-content h2:first-child { margin-top: 0; }
.fca-legal-content p,
.fca-legal-content li {
  color: var(--fca-muted);
  font-size: .94rem;
  line-height: 1.75;
}
.fca-legal-content ul { padding-left: 1.15rem; margin-bottom: .85rem; }
.fca-legal-content a { color: var(--fca-primary); font-weight: 600; }
.fca-faq-group-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 1.1rem;
}
.fca-faq-group-title i { color: var(--fca-primary); }
.fca-static-page .fca-static-card.mb-3 { margin-bottom: 1.25rem !important; }
.fca-static-cta { margin-top: 1.5rem; color: var(--fca-muted); }
.fca-help-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  background: var(--fca-surface);
  border: 1px solid var(--fca-border);
  box-shadow: var(--fca-shadow);
  text-decoration: none !important;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.fca-help-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--fca-shadow-hover);
}
.fca-help-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: .85rem 0 .35rem;
  color: var(--fca-text);
}
.fca-help-card p {
  margin: 0;
  flex: 1;
  font-size: .88rem;
  color: var(--fca-muted);
  line-height: 1.5;
}
.fca-help-go {
  margin-top: 1rem;
  font-size: .84rem;
  font-weight: 700;
  color: var(--fca-primary);
}
.fca-help-tip {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--fca-surface-2);
  border: 1px solid var(--fca-border);
  height: 100%;
}
.fca-help-tip strong { display: block; margin-bottom: .35rem; font-size: .9rem; }
.fca-help-tip p { margin: 0; font-size: .86rem; color: var(--fca-muted); line-height: 1.5; }
@media (max-width: 991.98px) {
  .fca-static-page .fca-static-side {
    margin-bottom: .25rem;
  }
}
