/* ===== ConvertYourFiles — custom styles on top of SendPulse design system ===== */

html, body { overflow-x: hidden; }

/* Upload Card (hero right side) */
.upload-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--pf-border);
  box-shadow: var(--pf-shadow);
  display: grid;
  gap: 1.25rem;
}

.upload-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upload-card-header h5 {
  margin: 0;
}

.status-pill--ready {
  background: rgba(0, 177, 117, 0.15);
  color: #00b175;
}

/* Dropzone */
.upload-dropzone {
  border: 2px dashed rgba(93, 80, 255, 0.3);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  background: rgba(93, 80, 255, 0.03);
}

.upload-dropzone:hover,
.upload-dropzone.drag-over {
  border-color: var(--pf-purple);
  background: rgba(93, 80, 255, 0.08);
}

.dropzone-icon {
  margin-bottom: 0.75rem;
}

.dropzone-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.dropzone-sub {
  color: var(--pf-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* File info row */
.upload-file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e3e7ee;
}

.file-icon {
  flex-shrink: 0;
}

.file-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.file-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.file-size {
  font-size: 0.8rem;
  color: var(--pf-muted);
}

.file-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #f1f3f6;
  color: #6a7380;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.file-remove:hover {
  background: #e3e7ee;
}

/* Format selector */
.format-selector {
  display: grid;
  gap: 0.5rem;
}

.format-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--pf-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.format-chip {
  padding: 0.45rem 1rem;
  border-radius: 10px;
  border: 1px solid #dfe4ea;
  background: #f4f6f8;
  color: #2f3a45;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.format-chip:hover {
  border-color: var(--pf-purple);
  background: rgba(93, 80, 255, 0.06);
}

.format-chip.active {
  background: var(--pf-purple);
  border-color: var(--pf-purple);
  color: #ffffff;
  box-shadow: 0 6px 12px rgba(93, 80, 255, 0.25);
}

/* Convert button */
.convert-btn {
  font-size: 1rem;
}

/* Progress bar */
.convert-progress {
  display: grid;
  gap: 0.5rem;
}

.progress-bar-track {
  height: 8px;
  background: #eef1f5;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pf-purple), var(--pf-cyan));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.85rem;
  color: var(--pf-muted);
  text-align: center;
  font-weight: 600;
}

/* Download area */
.download-area {
  display: grid;
  gap: 0.75rem;
}

.download-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 177, 117, 0.08);
  border-radius: 12px;
  color: #00b175;
  font-weight: 600;
}

/* ===== Converter Cards ===== */
.category-heading {
  color: var(--pf-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ===== Tile Grid (freepdfconvert-style) ===== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.tile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--pf-border);
  background: #ffffff;
  text-decoration: none;
  color: var(--pf-ink);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.tile-card:hover {
  box-shadow: 0 8px 28px rgba(21, 18, 40, 0.1);
  transform: translateY(-3px);
  color: var(--pf-ink);
}

.tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-label {
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
}

.tile-card--more {
  border-style: dashed;
}

.tile-card--more .tile-label {
  color: var(--pf-muted);
}

/* ===== How it works — step numbers ===== */
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(93, 80, 255, 0.12);
  color: var(--pf-purple);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

/* ===== Pricing ===== */
.pricing-card {
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--pf-purple);
  box-shadow: 0 24px 48px rgba(93, 80, 255, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pf-purple);
  color: #ffffff;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.75rem 0 1.25rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--pf-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  flex: 1;
}

.pricing-features li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  color: #4a5560;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #00b175;
  font-weight: 700;
}

/* ===== API Code Block ===== */
.api-card {
  background: #1a1630;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(21, 18, 40, 0.2);
}

.api-tabs {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.api-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  font-size: 0.9rem;
}

.api-tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.api-tab.active {
  color: #ffffff;
  background: rgba(93, 80, 255, 0.25);
  border-bottom: 2px solid var(--pf-purple);
}

.api-code {
  padding: 1.5rem;
  margin: 0;
  color: #d4d0f8;
  font-size: 0.88rem;
  line-height: 1.7;
  overflow-x: auto;
  font-family: "SF Mono", "Fira Code", monospace;
}

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--pf-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--pf-border);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pf-ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--pf-purple);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--pf-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  color: var(--pf-muted);
  padding-bottom: 1.25rem;
  margin: 0;
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background: #0f0d1a;
  color: #a8a5bf;
  padding: 4rem 0 2rem;
}

.site-footer .brand-text {
  color: #ffffff;
}

.footer-desc {
  color: #7a7793;
  font-size: 0.92rem;
  max-width: 300px;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: #7a7793;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: #5a5770;
}

.footer-bottom p {
  margin: 0;
}

/* ===== Page Hero (shared across pricing, api, faq) ===== */
.page-hero {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(180deg, rgba(93, 80, 255, 0.06) 0%, transparent 100%);
}

.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: var(--pf-muted);
}

/* ===== Converter Page Hero ===== */
.converter-hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(93, 80, 255, 0.06) 0%, transparent 100%);
}

.converter-hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.converter-hero-desc {
  color: var(--pf-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb-custom {
  font-size: 0.85rem;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--pf-muted);
  text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item a:hover {
  color: var(--pf-purple);
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--pf-ink);
}

/* ===== Converter Tool Card (freepdfconvert style) ===== */
.converter-tool-section {
  padding: 0 0 3rem;
}

.converter-tool-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid var(--pf-border);
  box-shadow: 0 24px 48px rgba(21, 18, 40, 0.08);
  display: grid;
  gap: 1.25rem;
}

/* Large dropzone */
.upload-dropzone--large {
  padding: 4rem 2rem;
}

.upload-dropzone--large .dropzone-title {
  font-size: 1.15rem;
}

/* ===== Quality Pills (freepdfconvert-style) ===== */
.quality-options {
  display: grid;
  gap: 0.5rem;
}

.quality-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quality-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  border: 1px solid #dfe4ea;
  background: #f8fafc;
  color: #4a5560;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quality-pill:hover {
  border-color: var(--pf-purple);
  background: rgba(93, 80, 255, 0.04);
}

.quality-pill.active {
  background: var(--pf-purple);
  border-color: var(--pf-purple);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(93, 80, 255, 0.25);
}

.quality-pill .quality-dpi {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 400;
}

.quality-pill.active .quality-dpi {
  opacity: 0.85;
}

/* ===== Format Flow (PNG → JPG indicator) ===== */
.converter-format-info {
  display: flex;
  justify-content: center;
}

.format-flow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.format-tag {
  padding: 0.4rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.format-tag--source {
  background: rgba(93, 80, 255, 0.1);
  color: var(--pf-purple);
}

.format-tag--target {
  background: rgba(0, 177, 117, 0.1);
  color: #00b175;
}

/* ===== Trust Strip ===== */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 0 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--pf-muted);
  font-weight: 500;
}

/* ===== How-step Card (converter page) ===== */
.how-step-card {
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

.how-step-card h6 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.how-step-card p {
  color: var(--pf-muted);
  font-size: 0.88rem;
  margin: 0;
}

.how-step-card .step-number {
  margin: 0 auto 1rem;
}

/* ===== Related Tool Cards (ilovepdf-style grid) ===== */
.related-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  text-decoration: none;
  color: var(--pf-ink);
  font-weight: 600;
  font-size: 0.85rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.related-tool-card:hover {
  box-shadow: 0 12px 32px rgba(21, 18, 40, 0.1);
  transform: translateY(-3px);
  color: var(--pf-purple);
}

/* ===== Pricing Desc ===== */
.pricing-desc {
  color: var(--pf-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ===== Comparison Table ===== */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table thead {
  background: rgba(93, 80, 255, 0.04);
}

.comparison-table th {
  padding: 1rem 1.25rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--pf-border);
  white-space: nowrap;
}

.comparison-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--pf-border);
  color: #4a5560;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight {
  background: rgba(93, 80, 255, 0.04);
  font-weight: 600;
  color: var(--pf-purple);
}

/* ===== API Sidebar ===== */
.api-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 0.25rem;
}

.api-sidebar-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pf-muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.api-sidebar-link {
  display: block;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #4a5560;
  text-decoration: none;
  transition: all 0.15s ease;
}

.api-sidebar-link:hover {
  color: var(--pf-purple);
  background: rgba(93, 80, 255, 0.04);
}

.api-sidebar-link.active {
  color: var(--pf-purple);
  background: rgba(93, 80, 255, 0.08);
  font-weight: 600;
}

.api-sidebar hr {
  border-color: var(--pf-border);
  margin: 0.75rem 0;
}

/* ===== API Endpoint ===== */
.api-endpoint {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--pf-border);
}

.api-endpoint:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.api-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.api-method code {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pf-ink);
}

/* Method badges */
.method-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.method-badge--post {
  background: rgba(0, 177, 117, 0.12);
  color: #00b175;
}

.method-badge--get {
  background: rgba(93, 80, 255, 0.12);
  color: var(--pf-purple);
}

/* API card on api.html (smaller rounded corners) */
.api-endpoint .api-card {
  border-radius: 12px;
  box-shadow: none;
}

/* ===== FAQ Category (faq.html) ===== */
.faq-category {
  margin-bottom: 3rem;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--pf-ink);
}

/* ===== Dropzone Button (freepdfconvert-style) ===== */
.dropzone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 14px;
  border: none;
  background: var(--pf-purple);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px rgba(93, 80, 255, 0.3);
}

.dropzone-btn:hover {
  background: #4a3fe6;
  box-shadow: 0 6px 20px rgba(93, 80, 255, 0.4);
}

.dropzone-sub {
  color: var(--pf-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.dropzone-sources {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.source-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--pf-border);
  background: #ffffff;
  color: var(--pf-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.source-icon:hover {
  border-color: var(--pf-purple);
  color: var(--pf-purple);
}

/* ===== PRO Badge ===== */
.pro-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.quality-pill.active .pro-badge {
  background: rgba(255, 255, 255, 0.25);
}

/* ===== Hero Trust Strip (pdf2go-style, homepage) ===== */
.hero-trust-strip {
  padding: 1.5rem 0;
  background: rgba(93, 80, 255, 0.03);
  border-top: 1px solid rgba(93, 80, 255, 0.06);
  border-bottom: 1px solid rgba(93, 80, 255, 0.06);
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a5560;
}

.hero-trust-badge svg {
  color: var(--pf-purple);
  flex-shrink: 0;
}

/* ===== Trusted By Section ===== */
.trusted-by-section {
  padding: 2.5rem 0 1.5rem;
}

.trusted-by-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pf-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

.trusted-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c5c3d4;
  letter-spacing: 0.02em;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 991px) {
  .upload-card {
    margin-top: 1rem;
  }

  .api-card {
    margin-top: 1rem;
  }

  .api-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .converter-tool-card {
    padding: 1.5rem;
  }

  .trust-strip {
    gap: 1rem;
  }

  .quality-pills {
    flex-direction: column;
  }

  .hero-trust-badges {
    gap: 1rem;
  }

  .trusted-logos {
    gap: 1.5rem;
  }

  .tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ===== MOBILE MENU ===== */
  .pf-navbar .navbar-collapse {
    background: rgba(30, 15, 80, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
    margin: 0 -12px;
    padding: 0.75rem 1rem 1rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pf-navbar .navbar-nav {
    gap: 0 !important;
  }

  .pf-navbar .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .pf-navbar .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  .pf-navbar .navbar-nav .nav-link {
    padding: 0.7rem 0.85rem !important;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease;
  }

  .pf-navbar--purple .navbar-nav .nav-link:hover,
  .pf-navbar--purple .navbar-nav .nav-link:focus {
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .pf-navbar--purple .navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
  }

  /* Mega menu inside mobile */
  .pf-navbar .mega-menu {
    background: rgba(255, 255, 255, 0.06) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 0.75rem !important;
    margin-top: 0.25rem;
    overflow: hidden;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .pf-navbar .mega-menu > .row {
    gap: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .pf-navbar .mega-menu .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 !important;
  }

  .pf-navbar .mega-menu .menu-group {
    margin-bottom: 0.5rem;
  }

  .pf-navbar .mega-menu .menu-group h6 {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
    padding-left: 0.25rem;
  }

  .pf-navbar .mega-menu .menu-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pf-navbar .mega-menu .menu-group h6 {
    grid-column: 1 / -1;
  }

  .pf-navbar .mega-menu .menu-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .pf-navbar .mega-menu .menu-group h6 {
    width: 100%;
    flex-shrink: 0;
  }

  .pf-navbar .mega-menu .menu-link {
    color: rgba(255, 255, 255, 0.88) !important;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    display: inline-block;
  }

  .pf-navbar .mega-menu .menu-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    text-decoration: none;
  }

  .pf-navbar .mega-menu .menu-cta {
    display: none;
  }

  /* Auth & action buttons row */
  .pf-navbar .navbar-collapse .d-flex {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
    gap: 0.5rem !important;
  }

  .pf-navbar .navbar-collapse .btn-link {
    flex: 1;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
  }

  .pf-navbar .navbar-collapse .btn-primary {
    flex: 1;
    text-align: center;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
  }

  .pf-navbar .navbar-collapse .dark-toggle,
  .pf-navbar .navbar-collapse .nav-history-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
  }

  /* Animated hamburger → X */
  .navbar-toggler {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: background 0.2s ease;
  }

  .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 575px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .tile-card {
    padding: 1rem 0.75rem;
  }

  .converter-hero-title {
    font-size: 1.5rem;
  }

  .upload-dropzone--large {
    padding: 2.5rem 1rem;
  }

  .related-tool-card {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }
}

/* ===== MOBILE REFINEMENTS ===== */
@media (max-width: 767px) {

  /* --- Reduce section padding on mobile --- */
  .section-pad {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* --- Hero: smaller title, tighter metrics --- */
  .hero .display-4 {
    font-size: 2rem;
  }
  .hero .lead {
    font-size: 0.95rem;
  }
  .hero-metrics {
    gap: 0.6rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-metrics > div {
    padding: 0.6rem 0.4rem;
    border-radius: 12px;
  }
  .hero-metrics h3 {
    font-size: 1.4rem;
  }
  .hero-metrics span {
    font-size: 0.7rem;
  }

  /* --- Upload card: less padding --- */
  .upload-card {
    padding: 1.25rem;
    border-radius: 16px;
  }
  .upload-dropzone {
    padding: 1.5rem 1rem;
  }

  /* --- Feature cards: NOT full width stretching --- */
  .feature-card {
    padding: 1.25rem;
    border-radius: 14px;
  }
  .feature-card h5 {
    font-size: 1rem;
  }
  .feature-card p {
    font-size: 0.88rem;
  }

  /* --- Feature-wide: stack vertically --- */
  .feature-wide {
    flex-direction: column;
    padding: 1.25rem;
    border-radius: 16px;
    gap: 1rem;
  }
  .feature-wide h4 {
    font-size: 1.1rem;
  }
  .mini-stats {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    text-align: center;
  }
  .badge-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  /* --- Solution cards (How it works): compact --- */
  .solution-card {
    padding: 1.25rem;
    border-radius: 14px;
  }
  .solution-card h5 {
    font-size: 1rem;
  }
  .solution-card p {
    font-size: 0.88rem;
  }
  .solution-card ul {
    font-size: 0.85rem;
  }
  .step-number {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  /* --- Section titles smaller on mobile --- */
  .section-title {
    font-size: 1.5rem;
  }
  .eyebrow {
    font-size: 0.72rem;
  }

  /* --- CTA section: compact buttons --- */
  .section-pad.alt .d-flex.justify-content-center {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem !important;
  }
  .section-pad.alt .btn-lg {
    width: auto;
    min-width: 200px;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  /* --- Testimonials: compact --- */
  .testimonials-section {
    padding: 3rem 0;
  }
  .testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
  }
  .testimonial-slider {
    min-height: 240px;
  }
  .testimonial-card {
    padding: 1rem 0.5rem;
  }

  /* --- Trust badges: wrap compact --- */
  .hero-trust-badges {
    gap: 0.6rem 1rem;
  }
  .hero-trust-badge {
    font-size: 0.75rem;
  }

  /* --- Stats section compact --- */
  .stats-section {
    padding: 2.5rem 0;
  }

  /* --- Footer: modern mobile layout --- */
  .site-footer {
    padding: 2rem 0 1.25rem;
  }
  .site-footer > .container-fluid {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .site-footer .row {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  /* Logo block: centered, compact, full width */
  .site-footer .row > .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-footer .row > .col-lg-4 .d-flex {
    justify-content: center;
  }
  .footer-desc {
    margin: 0 auto;
    text-align: center;
    max-width: 240px;
    font-size: 0.82rem;
    line-height: 1.5;
  }
  /* Link columns: 2x2 grid, centered */
  .site-footer .row > .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    text-align: center;
    padding: 0 0.75rem !important;
    margin-bottom: 1rem;
  }
  .site-footer .footer-links {
    gap: 0.25rem;
    justify-items: center;
  }
  .site-footer .footer-links a {
    font-size: 0.82rem;
  }
  .footer-heading {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.12em;
  }
  .footer-bottom {
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 0.75rem;
  }

  /* --- Back to top: smaller on mobile --- */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }

  /* --- Toast: fit on mobile --- */
  .toast-notification {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    max-width: calc(100vw - 2rem);
  }

  /* --- Trusted by: smaller --- */
  .trusted-by-section {
    padding: 1.5rem 0 1rem;
  }
  .trusted-by-label {
    font-size: 0.72rem;
    margin-bottom: 0.75rem;
  }
  .trusted-logo {
    font-size: 0.95rem;
  }

  /* --- Logo strip: compact --- */
  .logo-strip {
    padding: 1rem 0;
  }
  .logo-strip .small {
    font-size: 0.7rem;
  }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible,
.reveal--left.visible,
.reveal--scale.visible {
  opacity: 1;
  transform: none;
}

/* ===== HERO FLOATING BLOBS ===== */
.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float-blob 12s ease-in-out infinite alternate;
}
.hero-blob--purple {
  width: 340px; height: 340px;
  background: rgba(93, 80, 255, 0.35);
  top: -60px; left: -80px;
  animation-duration: 14s;
}
.hero-blob--cyan {
  width: 260px; height: 260px;
  background: rgba(91, 209, 255, 0.3);
  top: 40%; right: -40px;
  animation-duration: 10s;
  animation-delay: -4s;
}
.hero-blob--accent {
  width: 200px; height: 200px;
  background: rgba(255, 179, 90, 0.25);
  bottom: -40px; left: 40%;
  animation-duration: 16s;
  animation-delay: -8s;
}
@keyframes float-blob {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.08); }
  66%  { transform: translate(-20px, 15px) scale(0.95); }
  100% { transform: translate(15px, -10px) scale(1.05); }
}

/* ===== INFINITE LOGO CAROUSEL ===== */
.logo-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll-logos 25s linear infinite;
}
.logo-track:hover {
  animation-play-state: paused;
}
@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trusted-logos {
  overflow: hidden;
}

/* ===== FORMAT TICKER ===== */
.format-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}
.format-track:hover {
  animation-play-state: paused;
}

/* ===== TILE CARD MICRO-INTERACTIONS ===== */
.tile-card .tile-icon {
  transition: transform 0.3s ease;
}
.tile-card:hover .tile-icon {
  transform: translateY(-4px);
  animation: icon-bounce 0.5s ease;
}
@keyframes icon-bounce {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-8px); }
  60%  { transform: translateY(-2px); }
  100% { transform: translateY(-4px); }
}
.tile-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.tile-card:hover::after {
  opacity: 1;
  animation: shimmer 0.8s ease forwards;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; transform: translateX(-100%); }
  100% { background-position: 200% 0; transform: translateX(100%); }
}

/* ===== STEP PULSE ANIMATION ===== */
.step-number {
  position: relative;
}
.step-number.visible::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(93, 80, 255, 0.4);
  animation: step-pulse 1.5s ease-out forwards;
}
@keyframes step-pulse {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8f7ff 0%, #fff 100%);
  overflow: hidden;
}
.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  min-height: 280px;
}
.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}
.testimonial-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(93, 80, 255, 0.15);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #374151;
  max-width: 640px;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  color: #151228;
  font-size: 1rem;
}
.testimonial-role {
  color: #6b7280;
  font-size: 0.875rem;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.testimonial-dot.active {
  background: #5d50ff;
  transform: scale(1.3);
}

/* ===== CONFETTI CANVAS ===== */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ===== RIPPLE BUTTON EFFECT ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple-effect {
  to { transform: scale(4); opacity: 0; }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #5d50ff, #5bd1ff, #ffb35a);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pf-purple, #5d50ff);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(93, 80, 255, 0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 999;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: #4a3fe6;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(93, 80, 255, 0.45);
}
.back-to-top svg {
  transition: transform 0.2s ease;
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ===== ANIMATED GRADIENT BORDER ON UPLOAD CARD ===== */
.upload-card {
  position: relative;
}
.upload-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(from var(--card-angle, 0deg), #5d50ff, #5bd1ff, #ffb35a, #ff6b6b, #5d50ff);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: rotate-gradient 4s linear infinite;
}
.upload-card:hover::before,
.upload-card:focus-within::before {
  opacity: 1;
}
@property --card-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotate-gradient {
  to { --card-angle: 360deg; }
}

/* ===== HERO PARTICLE CANVAS ===== */
#hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ===== ANIMATED GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, #5d50ff 0%, #5bd1ff 50%, #ffb35a 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== COUNTER ANIMATION MARKER ===== */
.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ===== FLOATING BADGES (trust strip glow) ===== */
.hero-trust-badge {
  transition: transform 0.3s ease, color 0.3s ease;
}
.hero-trust-badge:hover {
  transform: translateY(-2px);
  color: var(--pf-purple, #5d50ff);
}
.hero-trust-badge:hover svg {
  filter: drop-shadow(0 0 6px rgba(93, 80, 255, 0.5));
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f0d1a 0%, #1a1640 100%);
  overflow: hidden;
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(93, 80, 255, 0.15);
  filter: blur(120px);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}

/* ===== CURSOR GLOW (desktop only) ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,80,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}
.cursor-glow.visible {
  opacity: 1;
}

/* ===== NOTIFICATION TOAST ===== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #151228;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 16px 48px rgba(21, 18, 40, 0.3);
  z-index: 10000;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast-notification .toast-icon {
  font-size: 1.2rem;
}

/* ===== FEATURE CARD HOVER GLOW ===== */
.feature-card,
.solution-card {
  position: relative;
  overflow: hidden;
}
.feature-card::before,
.solution-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,80,255,0.1) 0%, transparent 70%);
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover::before,
.solution-card:hover::before {
  opacity: 1;
}

/* ===== TYPING CURSOR ===== */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--pf-purple, #5d50ff);
  margin-left: 2px;
  animation: blink-cursor 0.8s infinite;
  vertical-align: text-bottom;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== STAGGERED TILE REVEAL ===== */
.tile-card {
  position: relative;
  overflow: hidden;
}
.tile-grid.revealed .tile-card {
  animation: tile-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.tile-grid.revealed .tile-card:nth-child(1)  { animation-delay: 0.05s; }
.tile-grid.revealed .tile-card:nth-child(2)  { animation-delay: 0.1s; }
.tile-grid.revealed .tile-card:nth-child(3)  { animation-delay: 0.15s; }
.tile-grid.revealed .tile-card:nth-child(4)  { animation-delay: 0.2s; }
.tile-grid.revealed .tile-card:nth-child(5)  { animation-delay: 0.25s; }
.tile-grid.revealed .tile-card:nth-child(6)  { animation-delay: 0.3s; }
.tile-grid.revealed .tile-card:nth-child(7)  { animation-delay: 0.35s; }
.tile-grid.revealed .tile-card:nth-child(8)  { animation-delay: 0.4s; }
.tile-grid.revealed .tile-card:nth-child(9)  { animation-delay: 0.45s; }
.tile-grid.revealed .tile-card:nth-child(10) { animation-delay: 0.5s; }
.tile-grid.revealed .tile-card:nth-child(11) { animation-delay: 0.55s; }
.tile-grid.revealed .tile-card:nth-child(12) { animation-delay: 0.6s; }
.tile-grid.revealed .tile-card:nth-child(13) { animation-delay: 0.65s; }
.tile-grid.revealed .tile-card:nth-child(14) { animation-delay: 0.7s; }
.tile-grid.revealed .tile-card:nth-child(15) { animation-delay: 0.75s; }
.tile-grid.revealed .tile-card:nth-child(16) { animation-delay: 0.8s; }
.tile-grid.revealed .tile-card:nth-child(17) { animation-delay: 0.85s; }
.tile-grid.revealed .tile-card:nth-child(18) { animation-delay: 0.9s; }
@keyframes tile-pop {
  0% { opacity: 0; transform: scale(0.8) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===== MAGNETIC BUTTON EFFECT ===== */
.btn-primary.btn-lg {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ===== ANIMATED BORDER ON "ALL TOOLS" CARD ===== */
.tile-card--more {
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #5d50ff, #5bd1ff, #ffb35a) border-box;
  border: 2px solid transparent;
  animation: border-rotate 6s linear infinite;
}
@keyframes border-rotate {
  0% { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(0deg, #5d50ff, #5bd1ff, #ffb35a) border-box; border-color: transparent; }
  33% { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #5d50ff, #5bd1ff, #ffb35a) border-box; border-color: transparent; }
  66% { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(240deg, #5d50ff, #5bd1ff, #ffb35a) border-box; border-color: transparent; }
  100% { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(360deg, #5d50ff, #5bd1ff, #ffb35a) border-box; border-color: transparent; }
}

/* ===== SMOOTH SECTION TRANSITIONS ===== */
section {
  transition: background 0.5s ease;
}

/* ===== MONETIZATION: Usage Limit Banner ===== */
.usage-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(93,80,255,0.06), rgba(91,209,255,0.06));
  border: 1px solid rgba(93,80,255,0.12);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.usage-banner-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-weight: 500;
}
.usage-banner-text svg { flex-shrink: 0; }
.usage-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}
.usage-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: background 0.3s;
}
.usage-dot.used { background: #5d50ff; }
.usage-dot.used.warn { background: #f59e0b; }
.usage-dot.used.danger { background: #ef4444; }
.usage-banner .btn-sm {
  font-size: 0.78rem;
  padding: 0.3rem 0.85rem;
  white-space: nowrap;
}

/* ===== MONETIZATION: File Size Warning ===== */
.file-size-warning {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 0.82rem;
  color: #92400e;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}
.file-size-warning svg { flex-shrink: 0; color: #f59e0b; }
.file-size-error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #991b1b;
}
.file-size-error svg { color: #ef4444; }

/* ===== MONETIZATION: PRO Badge ===== */
.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, #5d50ff, #7c3aed);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  vertical-align: middle;
}
.pro-badge--gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.tile-card .pro-badge {
  position: absolute;
  top: 8px;
  right: 8px;
}
.tile-card { position: relative; }

/* ===== MONETIZATION: Priority Queue Indicator ===== */
.queue-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: #fefce8;
  border: 1px solid rgba(245, 158, 11, 0.15);
  font-size: 0.8rem;
  color: #92400e;
  font-weight: 500;
}
.queue-indicator.pro {
  background: rgba(93,80,255,0.06);
  border-color: rgba(93,80,255,0.15);
  color: #5d50ff;
}
.queue-indicator svg { animation: spin 1.5s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.queue-position { font-weight: 700; }

/* ===== MONETIZATION: Batch Upload ===== */
.batch-upload-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s;
}
.batch-upload-toggle:hover { border-color: #5d50ff; background: rgba(93,80,255,0.04); }
.batch-upload-toggle .pro-badge { margin-left: 0.5rem; }
.batch-upload-toggle.locked { opacity: 0.7; cursor: not-allowed; }
.batch-upload-toggle.locked:hover { border-color: #e2e8f0; background: #f8fafc; }
.batch-file-list {
  display: grid;
  gap: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.batch-file-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
}
.batch-file-item .file-name { flex: 1; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.batch-file-item .file-size { color: #94a3b8; font-size: 0.75rem; }
.batch-file-item .file-remove { width: 22px; height: 22px; font-size: 0.85rem; }

/* ===== MONETIZATION: Upgrade Modal ===== */
.upgrade-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.upgrade-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.upgrade-modal {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}
.upgrade-overlay.active .upgrade-modal {
  transform: scale(1) translateY(0);
}
.upgrade-modal-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(93,80,255,0.1), rgba(124,58,237,0.1));
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}
.upgrade-modal h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.upgrade-modal p {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.upgrade-modal-features {
  display: grid;
  gap: 0.6rem;
  text-align: left;
  margin-bottom: 1.75rem;
}
.upgrade-modal-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #334155;
}
.upgrade-modal-feature svg { color: #5d50ff; flex-shrink: 0; }
.upgrade-modal .btn-primary { width: 100%; margin-bottom: 0.75rem; }
.upgrade-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem;
}
.upgrade-modal-close:hover { color: #64748b; }

/* ===== MONETIZATION: API Key Card ===== */
.api-key-card {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border-radius: 16px;
  padding: 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
}
.api-key-card h5 { color: #fff; margin-bottom: 0.25rem; }
.api-key-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 1rem; }
.api-key-field {
  display: flex;
  gap: 0.5rem;
}
.api-key-field input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  color: #fff;
  font-family: monospace;
  font-size: 0.85rem;
}
.api-key-field input::placeholder { color: rgba(255,255,255,0.3); }
.api-key-field button {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.api-key-field button:hover { background: rgba(255,255,255,0.2); }
.api-usage-bar {
  margin-top: 1rem;
}
.api-usage-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}
.api-usage-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.api-usage-bar-fill {
  height: 100%;
  width: 34%;
  background: linear-gradient(90deg, #5bd1ff, #5d50ff);
  border-radius: 999px;
  transition: width 0.5s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BILLING TOGGLE (pricing page) ===== */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.billing-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
  transition: color 0.3s;
}
.billing-label.active { color: var(--pf-ink, #1e293b); font-weight: 600; }
.billing-save {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0,177,117,0.12);
  color: #00b175;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 4px;
}
.billing-switch {
  width: 48px; height: 26px;
  border-radius: 999px;
  border: none;
  background: #e2e8f0;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
  padding: 0;
}
.billing-switch[aria-checked="true"] { background: #5d50ff; }
.billing-switch-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.billing-switch[aria-checked="true"] .billing-switch-thumb { transform: translateX(22px); }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 9998;
  font-size: 0.88rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  flex-wrap: wrap;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
.cookie-banner a { color: #5bd1ff; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-banner .btn-cookie {
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.cookie-banner .btn-cookie--accept { background: #5d50ff; color: #fff; }
.cookie-banner .btn-cookie--accept:hover { background: #4a3fe0; }
.cookie-banner .btn-cookie--decline { background: transparent; color: #94a3b8; border: 1px solid #475569; }
.cookie-banner .btn-cookie--decline:hover { background: rgba(255,255,255,0.05); }

/* ===== CONVERSION HISTORY ===== */
.history-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 90vw;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  z-index: 9997;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}
.history-panel.open { transform: translateX(0); }
.history-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.history-panel-header h5 { margin: 0; font-size: 1.05rem; }
.history-panel-close {
  background: none; border: none;
  font-size: 1.3rem; cursor: pointer;
  color: #64748b; padding: 0; line-height: 1;
}
.history-panel-list {
  flex: 1; overflow-y: auto;
  padding: 1rem 1.5rem;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.history-item-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(93,80,255,0.08);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.history-item-info { flex: 1; min-width: 0; }
.history-item-name { font-weight: 600; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-item-meta { font-size: 0.75rem; color: #94a3b8; }
.history-empty {
  text-align: center; padding: 3rem 1rem;
  color: #94a3b8; font-size: 0.92rem;
}
.history-panel-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.history-clear {
  background: none; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 0.5rem 1rem;
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; color: #64748b; width: 100%;
  transition: all 0.2s;
}
.history-clear:hover { border-color: #ef4444; color: #ef4444; }

/* History toggle in navbar */
.nav-history-btn {
  background: none; border: none;
  color: var(--pf-muted, #64748b);
  cursor: pointer; padding: 0.3rem;
  position: relative;
  display: flex; align-items: center;
}
.nav-history-btn .history-count {
  position: absolute; top: -4px; right: -6px;
  background: #5d50ff; color: #fff;
  font-size: 0.6rem; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid; place-items: center;
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.error-illustration {
  font-size: 8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #5d50ff, #5bd1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.error-page p { color: #64748b; max-width: 400px; margin: 0 auto 1.5rem; }

/* ===== DARK MODE ===== */
.dark-toggle {
  background: none; border: none;
  color: var(--pf-muted, #64748b);
  cursor: pointer; padding: 0.35rem;
  display: flex; align-items: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.dark-toggle:hover { background: rgba(0,0,0,0.05); }

body.dark-mode {
  --pf-body-bg: #0f172a;
  --pf-ink: #e2e8f0;
  --pf-muted: #94a3b8;
  --pf-border: #1e293b;
  --pf-card: #1e293b;
  --pf-shadow: 0 2px 8px rgba(0,0,0,0.3);
  background: #0f172a;
  color: #e2e8f0;
}
body.dark-mode .pf-navbar { background: #0f172a !important; border-color: #1e293b; }
body.dark-mode .pf-body { background: #0f172a; }
body.dark-mode .upload-card,
body.dark-mode .converter-tool-card,
body.dark-mode .pricing-card,
body.dark-mode .faq-item,
body.dark-mode .feature-card,
body.dark-mode .solution-card,
body.dark-mode .feature-wide,
body.dark-mode .how-step-card,
body.dark-mode .related-tool-card { background: #1e293b; border-color: #334155; color: #e2e8f0; }
body.dark-mode .feature-wide.light { background: #1e293b; }
body.dark-mode .upload-dropzone { border-color: rgba(93,80,255,0.3); background: rgba(93,80,255,0.05); }
body.dark-mode .upload-file-info { background: #1e293b; border-color: #334155; }
body.dark-mode .faq-question { color: #e2e8f0; }
body.dark-mode .faq-answer p { color: #94a3b8; }
body.dark-mode .site-footer { background: #020617; border-color: #1e293b; }
body.dark-mode .footer-desc,
body.dark-mode .footer-links a { color: #94a3b8; }
body.dark-mode .footer-bottom { border-color: #1e293b; }
body.dark-mode .comparison-table { background: #1e293b; }
body.dark-mode .comparison-table th { background: #0f172a; color: #e2e8f0; }
body.dark-mode .comparison-table td { color: #cbd5e1; border-color: #334155; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { color: #f1f5f9; }
body.dark-mode p { color: #94a3b8; }
body.dark-mode .eyebrow { color: #818cf8; }
body.dark-mode .lead { color: #94a3b8; }
body.dark-mode .chip { background: rgba(93,80,255,0.15); color: #a5b4fc; border-color: rgba(93,80,255,0.25); }
body.dark-mode .nav-link { color: #cbd5e1 !important; }
body.dark-mode .nav-link:hover { color: #fff !important; }
body.dark-mode .btn-outline-dark { color: #e2e8f0; border-color: #475569; }
body.dark-mode .btn-outline-dark:hover { background: #334155; color: #fff; }
body.dark-mode .btn-link { color: #a5b4fc !important; }
body.dark-mode .dropdown-menu { background: #1e293b; border-color: #334155; }
body.dark-mode .menu-link { color: #cbd5e1; }
body.dark-mode .menu-link:hover { color: #fff; background: rgba(93,80,255,0.1); }
body.dark-mode .mega-menu h6 { color: #94a3b8; }
body.dark-mode .hero-trust-badge { color: #94a3b8; }
body.dark-mode .trusted-logo { color: #475569; }
body.dark-mode .tile-card { background: #1e293b; border-color: #334155; }
body.dark-mode .tile-label { color: #e2e8f0; }
body.dark-mode .stats-section { background: #0f172a; }
body.dark-mode .stat-label { color: #64748b; }
body.dark-mode .bg-aurora { background: linear-gradient(135deg, rgba(93,80,255,0.05), rgba(91,209,255,0.03)) !important; }
body.dark-mode .bg-grid { background-color: #0f172a !important; }
body.dark-mode .section-pad.alt { background: #0b1120; }
body.dark-mode .badge-stack span { background: #334155; color: #94a3b8; }
body.dark-mode .mini-stats span { color: #64748b; }
body.dark-mode .testimonial-card { background: #1e293b; }
body.dark-mode .testimonial-text { color: #cbd5e1; }
body.dark-mode .testimonial-role { color: #64748b; }
body.dark-mode .upgrade-modal { background: #1e293b; }
body.dark-mode .upgrade-modal h3 { color: #f1f5f9; }
body.dark-mode .upgrade-modal p { color: #94a3b8; }
body.dark-mode .upgrade-modal-feature { color: #cbd5e1; }
body.dark-mode .dark-toggle:hover { background: rgba(255,255,255,0.08); }
body.dark-mode .history-panel { background: #1e293b; }
body.dark-mode .history-panel-header { border-color: #334155; }
body.dark-mode .history-item { border-color: #334155; }
body.dark-mode .history-panel-footer { border-color: #334155; }
body.dark-mode .history-clear { border-color: #475569; color: #94a3b8; }
body.dark-mode .usage-banner { background: rgba(93,80,255,0.08); border-color: rgba(93,80,255,0.2); }
body.dark-mode .usage-banner-text { color: #a5b4fc; }
body.dark-mode .batch-upload-toggle { background: #0f172a; border-color: #334155; color: #94a3b8; }
body.dark-mode .file-size-warning { background: rgba(245,158,11,0.12); color: #fbbf24; }
body.dark-mode .queue-indicator { background: rgba(245,158,11,0.08); color: #fbbf24; }
body.dark-mode .breadcrumb-custom a { color: #94a3b8; }
body.dark-mode .trust-strip .trust-item { color: #94a3b8; }
body.dark-mode .quality-pill { background: #0f172a; border-color: #334155; color: #cbd5e1; }
body.dark-mode .quality-pill.active { border-color: #5d50ff; }
body.dark-mode .format-tag { background: #334155; color: #cbd5e1; }
body.dark-mode .page-hero { background: #0b1120; }
body.dark-mode .api-sidebar { background: #1e293b; }
body.dark-mode .api-sidebar-link { color: #94a3b8; }
body.dark-mode .api-sidebar-link.active { color: #818cf8; }
body.dark-mode .api-endpoint { border-color: #334155; }
body.dark-mode .api-card { background: #0f172a; border-color: #334155; }
body.dark-mode .api-code { color: #e2e8f0; }
body.dark-mode .method-badge { opacity: 0.9; }
body.dark-mode .faq-category-title { color: #e2e8f0; }
body.dark-mode .pricing-card--featured { border-color: #5d50ff; }
body.dark-mode .billing-label { color: #64748b; }
body.dark-mode .billing-label.active { color: #e2e8f0; }
body.dark-mode .billing-switch { background: #334155; }

/* ===== LIVE COUNTER ===== */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(0,177,117,0.1);
  border: 1px solid rgba(0,177,117,0.2);
  font-size: 0.82rem;
  color: #00b175;
  font-weight: 600;
  margin-top: 1.5rem;
}
.live-counter-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00b175;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== COMPARISON TABLE (vs competitors) ===== */
.vs-table-section { padding: 3rem 0; }
.vs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.vs-table th, .vs-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.88rem;
}
.vs-table thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
  border-bottom: 2px solid #e2e8f0;
}
.vs-table thead th:first-child { text-align: left; }
.vs-table td:first-child { text-align: left; font-weight: 500; }
.vs-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.vs-table tbody tr:last-child { border-bottom: none; }
.vs-table .vs-highlight {
  background: rgba(93,80,255,0.04);
  font-weight: 600;
  color: #5d50ff;
}
.vs-table thead .vs-highlight { background: rgba(93,80,255,0.08); color: #5d50ff; }
.vs-check { color: #00b175; font-weight: 700; }
.vs-cross { color: #e2e8f0; }
body.dark-mode .vs-table thead th { background: #0f172a; color: #e2e8f0; border-color: #334155; }
body.dark-mode .vs-table tbody tr { border-color: #1e293b; }
body.dark-mode .vs-table td { color: #cbd5e1; }
body.dark-mode .vs-table .vs-highlight { background: rgba(93,80,255,0.08); }

/* ===== SOCIAL PROOF TOAST ===== */
.social-proof-toast {
  position: fixed;
  bottom: 80px; left: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  z-index: 9990;
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 340px;
  border: 1px solid #f1f5f9;
}
.social-proof-toast.show { transform: translateX(0); }
.social-proof-toast-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(93,80,255,0.1);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.social-proof-toast-text { flex: 1; line-height: 1.3; }
.social-proof-toast-text strong { display: block; font-size: 0.82rem; color: #334155; }
.social-proof-toast-text span { color: #94a3b8; font-size: 0.75rem; }
.social-proof-toast-close {
  background: none; border: none; color: #94a3b8;
  font-size: 1rem; cursor: pointer; padding: 0; line-height: 1;
}
body.dark-mode .social-proof-toast { background: #1e293b; border-color: #334155; }
body.dark-mode .social-proof-toast-text strong { color: #e2e8f0; }

/* ===== IMAGE PREVIEW (before conversion) ===== */
.image-preview {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  max-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.image-preview img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}
body.dark-mode .image-preview { background: #0f172a; border-color: #334155; }

/* ===== KEYBOARD SHORTCUT HINT ===== */
.kbd-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}
.kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}
body.dark-mode .kbd { background: #334155; border-color: #475569; color: #94a3b8; }

/* ===== LOGIN/SIGNUP MODALS ===== */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.auth-overlay.active { opacity: 1; pointer-events: auto; }
.auth-modal {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}
.auth-overlay.active .auth-modal { transform: scale(1) translateY(0); }
.auth-modal h3 {
  font-size: 1.35rem; font-weight: 700; margin-bottom: 0.5rem; text-align: center;
}
.auth-modal .auth-subtitle {
  text-align: center; color: #64748b; font-size: 0.9rem; margin-bottom: 1.75rem;
}
.auth-field { margin-bottom: 1rem; }
.auth-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; color: #334155; }
.auth-field input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  background: #fff;
  color: #1e293b;
}
.auth-field input:focus { outline: none; border-color: #5d50ff; box-shadow: 0 0 0 3px rgba(93,80,255,0.1); }
.auth-divider {
  text-align: center; color: #94a3b8; font-size: 0.82rem; margin: 1.25rem 0;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%;
  width: 40%; height: 1px; background: #e2e8f0;
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-social { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.auth-social button {
  flex: 1; padding: 0.65rem;
  border-radius: 10px; border: 1px solid #e2e8f0;
  background: #fff; cursor: pointer;
  font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center;
  justify-content: center; gap: 0.4rem;
  transition: border-color 0.2s;
  color: #334155;
}
.auth-social button:hover { border-color: #5d50ff; }
.auth-toggle {
  text-align: center; font-size: 0.85rem; color: #64748b; margin-top: 1rem;
}
.auth-toggle a { color: #5d50ff; font-weight: 600; cursor: pointer; text-decoration: none; }
.auth-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.3rem;
  cursor: pointer; color: #94a3b8; line-height: 1;
}
body.dark-mode .auth-modal { background: #1e293b; }
body.dark-mode .auth-modal h3 { color: #f1f5f9; }
body.dark-mode .auth-modal .auth-subtitle { color: #94a3b8; }
body.dark-mode .auth-field label { color: #cbd5e1; }
body.dark-mode .auth-field input { background: #0f172a; border-color: #334155; color: #e2e8f0; }
body.dark-mode .auth-social button { background: #0f172a; border-color: #334155; color: #cbd5e1; }
body.dark-mode .auth-divider { color: #64748b; }
body.dark-mode .auth-divider::before, body.dark-mode .auth-divider::after { background: #334155; }

/* ===== DASHBOARD PAGE ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--pf-border, #e3e7ee);
  box-shadow: var(--pf-shadow, 0 1px 4px rgba(0,0,0,0.06));
}
.dashboard-card h5 { margin-bottom: 1rem; font-size: 1rem; }
.dashboard-stat {
  font-size: 2rem; font-weight: 700; color: #5d50ff; line-height: 1;
}
.dashboard-stat-label { font-size: 0.82rem; color: #64748b; margin-top: 0.25rem; }
.dashboard-plan-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.dashboard-plan-badge--free { background: #f1f5f9; color: #64748b; }
.dashboard-plan-badge--pro { background: rgba(93,80,255,0.1); color: #5d50ff; }
body.dark-mode .dashboard-card { background: #1e293b; border-color: #334155; }

/* ===== BLOG PAGE ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--pf-border, #e3e7ee);
  box-shadow: var(--pf-shadow, 0 1px 4px rgba(0,0,0,0.06));
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.blog-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, rgba(93,80,255,0.08), rgba(91,209,255,0.08));
  display: grid; place-items: center;
}
.blog-card-thumb svg { opacity: 0.4; }
.blog-card-body { padding: 1.25rem; }
.blog-card-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(93,80,255,0.08);
  color: #5d50ff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.blog-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: #5d50ff; }
.blog-card-excerpt { font-size: 0.85rem; color: #64748b; line-height: 1.5; margin-bottom: 0.75rem; }
.blog-card-meta { font-size: 0.75rem; color: #94a3b8; }
body.dark-mode .blog-card { background: #1e293b; border-color: #334155; }
body.dark-mode .blog-card-title a { color: #e2e8f0; }
body.dark-mode .blog-card-excerpt { color: #94a3b8; }
