/* =========================================================
   QuickerConvert — Smallpdf-style Light Theme
   Clean, fast, SEO- and AdSense-friendly CSS
   Font: Inter (loaded in HTML)
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root{
  --qc-primary: #2ba6ff;
  --qc-primary-hover: #1e90ff;

  --qc-surface: #f9fafb;   /* page background */
  --qc-bg: #ffffff;        /* card/section background */
  --qc-border: #e5e7eb;    /* subtle borders */
  --qc-border-2: #cbd5e1;

  --qc-text: #111827;      /* headings */
  --qc-muted: #4b5563;     /* body/labels */
  --qc-muted-2: #6b7280;

  --qc-shadow: 0 12px 30px rgba(0,0,0,.06);
  --qc-radius: 16px;
  --qc-radius-sm: 12px;

  --qc-container: 1140px;
}

/* ---------- Reset-ish basics (kept gentle) ---------- */
*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  background: var(--qc-surface);
  color: var(--qc-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout ----------- */
.container{ max-width: var(--qc-container); margin: 0 auto; padding: 0 20px; }
.section{ padding: 56px 0; }
.section-title{ font-size: 1.75rem; margin: 0 0 10px; color: var(--qc-text); }
.section-sub{ color: var(--qc-muted); margin: 0 0 22px; }

/* ---------- Header & Nav ---------- */
.site-header{ position: sticky; top:0; z-index:40; background:#fff; border-bottom:1px solid var(--qc-border); }
.site-header-inner{ display:flex; align-items:center; justify-content:space-between; min-height:64px; gap:12px; }
.brand{ font-weight: 800; color: var(--qc-primary); text-decoration: none; letter-spacing:-.015em; font-size:1.25rem; }

.nav{ display:flex; align-items:center; gap:14px; }
.nav a, .menu-trigger{ color: var(--qc-text); font-weight:600; text-decoration:none; }
.nav a:hover, .menu-trigger:hover{ color: var(--qc-primary-hover); }

/* Dropdown */
.menu{ position:relative; }
.menu-trigger{ background:transparent; border:0; cursor:pointer; padding:8px 10px; border-radius:8px; }
.menu-trigger:focus-visible{ outline:2px solid var(--qc-primary); outline-offset:2px; }
.menu-list{
  position:absolute; top:110%; right:0; min-width:220px; background:#fff; border:1px solid var(--qc-border);
  border-radius:12px; box-shadow: var(--qc-shadow); padding:6px; display:none;
}
.menu.open .menu-list{ display:block; }
.menu-item{ display:block; padding:10px 12px; border-radius:8px; color: var(--qc-text); text-decoration:none; }
.menu-item:hover{ background:#f3f4f6; color: var(--qc-primary-hover); }

/* ---------- Hero ---------- */
.hero{ background:#fff; }
.hero-inner{ text-align:center; padding: 88px 20px 40px; }
.hero h1{ font-size: clamp(2rem,3.2vw,3rem); line-height:1.1; letter-spacing:-.02em; margin:0 0 12px; }
.hero p{ color: var(--qc-muted); max-width:760px; margin: 0 auto 22px; }

.cta-row{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ---------- Buttons ---------- */
.btn{ display:inline-block; border-radius:12px; padding:12px 18px; font-weight:700; text-decoration:none;
      transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.btn-primary{ background: var(--qc-primary); color:#fff; box-shadow: 0 10px 18px rgba(43,166,255,.20); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 24px rgba(43,166,255,.26); background: var(--qc-primary-hover); }
.btn-ghost{ background:#fff; border:1px solid var(--qc-border); color: var(--qc-text); }
.btn-ghost:hover{ border-color: var(--qc-border-2); }

/* ---------- Tool Grid ---------- */
.grid-tools{ display:grid; gap:16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px){ .grid-tools{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .grid-tools{ grid-template-columns: 1fr; } }

.tool-card{
  background:#fff; border:1px solid var(--qc-border); border-radius: var(--qc-radius); padding:18px; text-decoration:none; color: var(--qc-text);
  display:grid; grid-template-columns: auto 1fr; gap:14px; align-items:center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:hover{ transform: translateY(-4px); border-color:#bfdbfe; box-shadow: 0 16px 32px rgba(0,0,0,.06); }
.tool-icon{ width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:#f8fafc; border:1px solid var(--qc-border); }
.tool-title{ font-weight:800; letter-spacing:.1px; }
.tool-desc{ color: var(--qc-muted); font-size:.95rem; margin-top:2px; }

/* ---------- Claims / FAQ ---------- */
.claims{ background:#fff; text-align:center; }
.claims p{ color: var(--qc-muted); margin: 6px 0; }
.claims strong{ color: var(--qc-text); }

.faqs h2{ margin-top:0; }
.faqs details{ background:#fff; border:1px solid var(--qc-border); border-radius:12px; padding:10px 14px; margin: 10px 0; }
.faqs summary{ cursor:pointer; font-weight:600; }

/* ---------- Footer ---------- */
.site-footer{ background:#f3f4f6; border-top:1px solid var(--qc-border); }
.site-footer-inner{ padding:26px 0; text-align:center; color: var(--qc-muted-2); }
.footer-nav{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom: 8px; }
.footer-nav a{ color:#4b5563; text-decoration:none; padding:6px 10px; border-radius:8px; }
.footer-nav a:hover{ color:#111827; background:#e5e7eb; }

/* ---------- Forms / Upload boxes (tool pages) ---------- */
.upload-box{
  background:#fff; border:1px solid var(--qc-border); border-radius: var(--qc-radius); padding:18px;
  box-shadow: var(--qc-shadow);
}
.file-input{ display:none; }
.file-cta{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--qc-border); border-radius:12px; padding:10px 14px; cursor:pointer; }
.file-cta:hover{ border-color: var(--qc-border-2); }
.primary-btn{
  background: var(--qc-primary); color:#fff; border:0; border-radius:10px; padding:10px 14px; font-weight:700;
  box-shadow: 0 10px 18px rgba(43,166,255,.20); cursor:pointer;
}
.primary-btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 24px rgba(43,166,255,.26); background: var(--qc-primary-hover); }
.muted{ color: var(--qc-muted); }

/* ---------- Utilities ---------- */
.hide{ display:none !important; }
.center{ text-align:center; }
.max-w-760{ max-width:760px; }
.mt-12{ margin-top:12px; } .mt-18{ margin-top:18px; } .mt-24{ margin-top:24px; }
.mb-12{ margin-bottom:12px; } .mb-18{ margin-bottom:18px; } .mb-24{ margin-bottom:24px; }

/* ---------- Friendly appear animation ---------- */
@media (prefers-reduced-motion: no-preference){
  .fade-up{ animation: fadeUp .6s ease both; }
  @keyframes fadeUp{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:translateY(0);} }
}

.progress-bar-bg {
  width: 100%;
  background: #e9eef4;
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}

#progressBar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2ba6ff, #6dc9ff);
  transition: width 0.4s ease;
}

#progressText {
  font-size: 0.95rem;
  color: #555;
  margin-top: 8px;
  text-align: center;
}


/* ===============================
   RELATED BLOGS & ARTICLE NAVIGATION
   =============================== */
.related {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--qc-border);
}
.related h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--qc-text);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.related-item {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  background: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--qc-border);
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  transition: 0.3s transform, 0.3s box-shadow;
}

.related-item img {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
  background: #f9fafb;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



.related-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.related-item p { font-size: 0.95rem; line-height: 1.5; }

.preview-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  padding: 10px 0;
}

.thumbnail {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.thumbnail:hover {
  transform: scale(1.02);
}

.thumbnail.selected {
  border-color: #2BA6FF;
  box-shadow: 0 0 10px rgba(43,166,255,0.45);
}


.upload-box.drag-over {
  border: 2px dashed #2563eb;
  background: #eef4ff;
}

.upload-box.file-selected {
  border-color: #2563eb;
}

.blog-quote {
    border-left: 4px solid #0284c7;
    background: #f0f9ff;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #334155;
    font-size: 1.1rem;
    border-radius: 0 8px 8px 0;
}



.related-section {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.related-heading {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.related-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.related-card {
    display: flex;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.related-thumb {
    min-width: 90px;
    background: linear-gradient(135deg, #2BA6FF, #1E90FF);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 12px 0 0 12px;
    padding: 10px;
    font-size: 16px;
    text-align: center;
}

.related-info {
    padding: 15px 18px;
}

.related-info h4 {
    font-size: 17px;
    margin: 0 0 6px 0;
    font-weight: 600;
    color: #111;
}

.related-info p {
    margin: 0;
    font-size: 14px;
    color: #555;
}










/* QuickerConvert Inauguration Overlay */
#qc-inaug {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #f5fbff 0%, #ffffff 45%, #e6f3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  animation: qcIntroFadeIn 0.4s ease-out forwards;
}

/* Soft cinematic vignette */
#qc-inaug .qc-startup-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(43,166,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at bottom, rgba(30,144,255,0.16) 0%, transparent 55%);
}

/* Glowing Q logo */
#qc-inaug .qc-logo-orbit {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: qcLogoFloat 1.8s ease-in-out infinite alternate;
}

#qc-inaug .qc-logo-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  border: 2px solid rgba(30,144,255,0.3);
  box-shadow:
    0 0 20px rgba(43,166,255,0.35),
    0 0 45px rgba(43,166,255,0.25);
  animation: qcLogoRingPulse 1.2s ease-out forwards 0.3s;
}

#qc-inaug .qc-logo {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #1E90FF;
  text-shadow:
    0 0 8px rgba(30,144,255,0.4),
    0 0 20px rgba(43,166,255,0.35);
  opacity: 0;
  transform: scale(0.8);
  animation: qcLogoPulse 0.9s ease-out forwards 0.35s;
}

/* Ribbon sweep */
#qc-inaug .qc-ribbon {
  position: absolute;
  width: 160%;
  height: 140px;
  background: linear-gradient(90deg, #2BA6FF, #1E90FF);
  top: 52%;
  left: -170%;
  transform: translateY(-50%) skewY(-5deg);
  filter: blur(14px);
  opacity: 0.85;
  animation: qcRibbonSweep 1s ease-out forwards;
}

/* Document cards merging into Q */
#qc-inaug .qc-docs-scene {
  position: absolute;
  width: 360px;
  height: 220px;
}

#qc-inaug .qc-doc {
  position: absolute;
  width: 90px;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff 0%, #e7f3ff 100%);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148,163,184,0.15);
  opacity: 0;
}

#qc-inaug .qc-doc-left {
  left: 10%;
  top: 52%;
  transform: translate(-60%, -50%) rotate(-10deg);
  animation: qcDocLeft 0.9s cubic-bezier(0.23, 0.85, 0.32, 1) forwards 0.1s;
}

#qc-inaug .qc-doc-right {
  right: 10%;
  top: 48%;
  transform: translate(60%, -50%) rotate(10deg);
  animation: qcDocRight 0.9s cubic-bezier(0.23, 0.85, 0.32, 1) forwards 0.12s;
}

#qc-inaug .qc-doc-top {
  left: 50%;
  top: 8%;
  transform: translate(-50%, -80%) rotate(0deg);
  animation: qcDocTop 0.85s cubic-bezier(0.23, 0.85, 0.32, 1) forwards 0.18s;
}

/* People / balloons row */
#qc-inaug .qc-people-row {
  position: absolute;
  bottom: 10%;
  display: flex;
  gap: 12px;
}

#qc-inaug .qc-person {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, #2BA6FF, #1E90FF);
  box-shadow: 0 4px 8px rgba(15,23,42,0.18);
  position: relative;
  animation: qcBalloonsFloat 2.4s ease-in-out infinite alternate;
}

/* Slight variation per person to feel organic */
#qc-inaug .qc-person-1 { animation-delay: 0s; }
#qc-inaug .qc-person-2 { animation-delay: 0.3s; transform: translateY(4px); }
#qc-inaug .qc-person-3 { animation-delay: 0.6s; }
#qc-inaug .qc-person-4 { animation-delay: 0.9s; transform: translateY(6px); }

/* Balloon strings hint */
#qc-inaug .qc-person::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 18px;
  background: rgba(148,163,184,0.5);
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/* Confetti pieces */
#qc-inaug .qc-confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

#qc-inaug .qc-confetti-piece {
  position: absolute;
  width: 6px;
  height: 10px;
  border-radius: 2px;
  background: #2BA6FF;
  opacity: 0;
  animation-name: qcConfettiFall;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  animation-fill-mode: forwards;
}

/* Exit animation */
#qc-inaug.qc-inaug-exit {
  animation: qcIntroFadeOut 0.85s ease-in forwards;
}

/* Keyframes */

@keyframes qcIntroFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes qcIntroFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes qcLogoPulse {
  0% { opacity: 0; transform: scale(0.8); }
  60% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes qcLogoRingPulse {
  0% { transform: scale(0.7); opacity: 0; }
  70% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes qcLogoFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

@keyframes qcRibbonSweep {
  0% { left: -170%; }
  100% { left: 170%; }
}

@keyframes qcDocLeft {
  0% { opacity: 0; transform: translate(-60%, -50%) rotate(-14deg) scale(0.8); }
  100% { opacity: 1; transform: translate(-5%, -40%) rotate(-6deg) scale(1); }
}

@keyframes qcDocRight {
  0% { opacity: 0; transform: translate(60%, -50%) rotate(14deg) scale(0.8); }
  100% { opacity: 1; transform: translate(5%, -42%) rotate(6deg) scale(1); }
}

@keyframes qcDocTop {
  0% { opacity: 0; transform: translate(-50%, -80%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -10%) scale(1); }
}

@keyframes qcBalloonsFloat {
  0% { transform: translateY(6px); }
  100% { transform: translateY(-6px); }
}

@keyframes qcConfettiFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -40px, 0) rotateZ(0deg);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 140px, 0) rotateZ(260deg);
  }
}

/* Small screens */
@media (max-width: 640px) {
  #qc-inaug .qc-logo-orbit {
    width: 130px;
    height: 130px;
  }
  #qc-inaug .qc-logo {
    font-size: 56px;
  }
  #qc-inaug .qc-docs-scene {
    width: 260px;
    height: 180px;
  }
}
