/* Media Download Result Card (Reference Layout Match) */
.media-result-container {
  display: none;
  width: 100%;
  max-width: 880px;
  margin: 25px auto 40px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.02);
  box-sizing: border-box;
  text-align: left;
  animation: slideUpFade 0.35s ease;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.ref-result-card {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: start;
}

/* Left Column: Thumbnail + Title */
.ref-col-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ref-thumb-box {
  width: 100%;
  max-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-thumb-box img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

/* Shown when the source platform gives us no thumbnail (e.g. some Facebook videos) */
.ref-thumb-placeholder {
  width: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  opacity: 0.35;
}

.ref-media-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  color: #0F172A;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right Column: Tabs + Table */
.ref-col-right {
  display: flex;
  flex-direction: column;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

/* Tabs Header */
.ref-tabs-header {
  display: flex;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.ref-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 16px;
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.18s ease;
}

.ref-tab-btn:hover {
  color: #0F172A;
  background: #F1F5F9;
}

.ref-tab-btn.active {
  color: #2563EB;
  background: #FFFFFF;
  border-bottom: 3px solid #2563EB;
}

.ref-tab-btn[data-tab="video"].active {
  color: #2563EB;
  border-bottom-color: #2563EB;
}

.ref-tab-btn[data-tab="other"].active {
  color: #D97706;
  border-bottom-color: #D97706;
}

/* Tab Panels */
.ref-tab-panels {
  width: 100%;
}

.ref-panel {
  display: none;
  width: 100%;
}

.ref-panel.active {
  display: block;
}

/* Table Design matching Reference Screenshot */
.ref-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ref-table th {
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.ref-table-row {
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.15s ease;
}

.ref-table-row:last-child {
  border-bottom: none;
}

.ref-table-row:hover {
  background: #F8FAFC;
}

.ref-table td {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #334155;
  vertical-align: middle;
}

.col-filetype {
  font-weight: 700;
  color: #0F172A;
}

.col-format {
  color: #64748B;
  font-size: 0.84rem;
  font-weight: 500;
}

.col-action {
  text-align: right;
  width: 140px;
}

/* Bright Solid Emerald Green Download Button */
.btn-ref-download,
.btn-ref-download:link,
.btn-ref-download:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.84rem;
  transition: all 0.18s ease;
  box-shadow: 0 3px 10px -2px rgba(16, 185, 129, 0.38);
  white-space: nowrap;
}

.btn-ref-download:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px -2px rgba(16, 185, 129, 0.48);
}

/* Mobile Responsive Result Card & Tables */
@media (max-width: 720px) {
  .media-result-container {
    padding: 16px;
    margin: 16px auto 30px;
    border-radius: 14px;
  }

  .ref-result-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ref-thumb-box {
    max-width: 100%;
    max-height: 180px;
    border-radius: 10px;
  }

  .ref-media-title {
    font-size: 0.94rem;
    line-height: 1.4;
  }

  .ref-tab-btn {
    padding: 10px 8px;
    font-size: 0.84rem;
  }

  .ref-table th {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .ref-table td {
    padding: 12px 12px;
    font-size: 0.84rem;
  }

  .col-action {
    width: auto;
    text-align: right;
  }

  .btn-ref-download {
    padding: 7px 14px;
    font-size: 0.8rem;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  }

  .btn-ref-download:active {
    transform: scale(0.97);
  }

  /* Steps and Features Grid on Mobile */
  .steps-section, .features-section, .faq-section {
    padding: 32px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 0 16px 14px;
    font-size: 0.85rem;
  }
}

/* Feature Steps Section */
.steps-section {
  padding: 56px 0;
  border-top: 1px solid #E2E8F0;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
  padding: 0 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
  color: #0F172A;
  word-break: break-word;
}

.section-subtitle {
  color: #475569;
  font-size: 0.95rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  box-sizing: border-box;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s var(--ease-smooth);
}

.step-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
}

.step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #2563EB;
  line-height: 1;
}

.step-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.step-mockup {
  width: 100%;
  height: 130px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0F172A;
}

.step-card p {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Features Grid */
.features-section {
  padding: 56px 0;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
}

.feature-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 24px;
  border-radius: var(--r-lg);
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.feature-item:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0F172A;
}

.feature-item p {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* FAQ Accordion Component */
.faq-section {
  padding: 56px 0;
  border-top: 1px solid #E2E8F0;
  width: 100%;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-md);
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #3B82F6;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.08);
}

.faq-question {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  color: #0F172A;
  box-sizing: border-box;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: #94A3B8;
  flex-shrink: 0;
  margin-left: 10px;
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: #2563EB;
}

.faq-answer {
  padding: 0 20px 18px;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Ecosystem Banner */
.ecosystem-banner {
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  border: 1px solid #BFDBFE;
  border-radius: var(--r-lg);
  padding: 28px 24px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
}

.banner-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 6px;
  color: #0F172A;
}

.banner-content p {
  color: #475569;
  font-size: 0.9rem;
}

.btn-ecosystem {
  background: var(--primary-gradient);
  border: none;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.btn-ecosystem:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Retention / Install PWA Modal (Modern App Design) */
.retention-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.25s ease-out forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPopIn {
  0% { opacity: 0; transform: scale(0.92) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.retention-modal {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 32px 24px 24px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close-btn,
#modalCloseIcon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #64748B;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close-btn:hover,
#modalCloseIcon:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.05);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.45);
  position: relative;
}

.modal-title,
#retentionTitle,
.retention-modal h3 {
  font-family: var(--font-display, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.modal-desc,
#retentionDesc,
.retention-modal p {
  color: #475569;
  font-size: 0.9rem;
  margin: 0 0 18px 0;
  line-height: 1.55;
}

/* Feature pills inside retention modal */
.retention-features {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.retention-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
}

.retention-actions,
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Primary Install Action Button */
.retention-actions .btn-primary,
.modal-actions .btn-primary,
.btn-modal-install,
#modalActionBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.42);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-decoration: none;
}

.retention-actions .btn-primary:hover,
.modal-actions .btn-primary:hover,
.btn-modal-install:hover,
#modalActionBtn:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.55);
}

.retention-actions .btn-primary:active,
.modal-actions .btn-primary:active,
.btn-modal-install:active,
#modalActionBtn:active {
  transform: translateY(0);
}

/* Secondary Dismiss Button */
.retention-actions .btn-ghost,
.modal-actions .btn-ghost,
.btn-modal-dismiss,
#modalDismissBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #64748B !important;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-decoration: none;
}

.retention-actions .btn-ghost:hover,
.modal-actions .btn-ghost:hover,
.btn-modal-dismiss:hover,
#modalDismissBtn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A !important;
}

/* Component Layout Parity across screens */
@media (max-width: 768px) {
  .media-result-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ecosystem-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }

  .btn-ecosystem {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   LIVE CONVERSION PROGRESS MODAL & FLY ANIMATION
   ========================================================= */

.conversion-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
}

.conversion-overlay.active {
  opacity: 1;
  visibility: visible;
}

.conversion-modal-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-lg);
  max-width: 440px;
  width: 100%;
  padding: 28px 24px;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  text-align: center;
  position: relative;
  transform: scale(0.92) translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.conversion-overlay.active .conversion-modal-card {
  transform: scale(1) translateY(0);
}

.conversion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 22px;
}

.conversion-thumb {
  width: 54px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.conversion-info {
  flex: 1;
  min-width: 0;
}

.conversion-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 3px 0;
}

.conversion-meta {
  font-size: 0.74rem;
  color: #10B981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.conversion-badge {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
}

.conversion-circle-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
}

.conversion-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.conversion-circle-bg {
  fill: none;
  stroke: #F1F5F9;
  stroke-width: 6;
}

.conversion-circle-progress {
  fill: none;
  stroke: #10B981;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 0.2s ease;
}

.conversion-circle-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  font-family: monospace;
}

.conversion-status-label {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}

.conversion-status-sub {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 20px;
  min-height: 1.2em;
}

.conversion-bar-container {
  width: 100%;
  height: 6px;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}

.conversion-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10B981, #059669, #0284C7);
  border-radius: 999px;
  transition: width 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.conversion-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-conversion-cancel {
  background: transparent;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-conversion-cancel:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.btn-conversion-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-conversion-download:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

/* Failed download */
.conversion-circle-progress.is-error {
  stroke: #EF4444;
}

.conversion-bar-fill.is-error {
  background: #EF4444;
}

/* =========================================================
   MINIMISED PROGRESS DOCK  (shown after "Hide")
   ========================================================= */

.conv-mini {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 290px;
  max-width: calc(100vw - 32px);
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--r-md);
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

.conv-mini.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.conv-mini-open {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.conv-mini-ring {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.conv-mini-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.conv-mini-ring-bg {
  fill: none;
  stroke: #F1F5F9;
  stroke-width: 4;
}

.conv-mini-ring-fill {
  fill: none;
  stroke: #10B981;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.2s ease;
}

.conv-mini-ring-fill.is-error {
  stroke: #EF4444;
}

.conv-mini-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0F172A;
}

.conv-mini-body {
  display: block;
  flex: 1;
  min-width: 0;
}

.conv-mini-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.conv-mini-sub {
  display: block;
  font-size: 0.7rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-mini-cancel {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  color: #64748B;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.conv-mini-cancel:hover {
  background: #F1F5F9;
  color: #0F172A;
}

@media (max-width: 480px) {
  .conv-mini {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }
}

/* =========================================================
   SUPPORTED PLATFORMS — LINK GRID
   ========================================================= */

.support-section {
  padding-top: 46px;
  padding-bottom: 10px;
}

.support-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-lg);
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.support-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.support-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.support-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.support-icon.is-instagram { background: var(--insta-gradient); }
.support-icon.is-youtube { background: var(--yt-gradient); }
.support-icon.is-facebook { background: var(--fb-gradient); }
.support-icon.is-reddit { background: linear-gradient(135deg, #ff4500, #ff5722); }
.support-icon.is-pinterest { background: linear-gradient(135deg, #e60023, #ad081b); }
.support-icon.is-dailymotion { background: linear-gradient(135deg, #0066dc, #00d2f3); }

.support-text {
  display: block;
  flex: 1;
  min-width: 0;
}

.support-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0F172A;
  margin-bottom: 2px;
}

.support-desc {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748B;
}

.support-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563EB;
  transition: transform 0.16s ease;
}

.support-card:hover .support-arrow {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .support-links-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 640px) {
  .support-links-grid { grid-template-columns: 1fr; gap: 10px; }
  .support-section { padding-top: 24px; padding-bottom: 6px; }
}

/* =========================================================
   FLOATING SHARE & MESSAGE BUTTONS
   ---------------------------------------------------------
   Built by js/share.js so all pages get the same pair. They share the bottom-right
   corner with the minimised download dock, so they hide themselves while a download
   is docked instead of stacking on top of it.
   ========================================================= */

.sk-fab-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9970;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-end;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.sk-fab-stack.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

.sk-fab {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #22c55e;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 12px -4px rgba(34, 197, 94, 0.7);
  transition: background 0.15s ease, transform 0.15s ease;
}

.sk-fab:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

/* Label appears on hover on pointer devices; on touch the icons speak for themselves. */
.sk-fab-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: #0F172A;
  border: 1px solid #1E293B;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

@media (hover: hover) {
  .sk-fab:hover .sk-fab-tip { opacity: 1; }
}

.sk-share-menu {
  width: 216px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.15);
}

.sk-share-menu[hidden] {
  display: none;
}

.sk-share-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 9px;
}

.sk-share-close {
  background: transparent;
  border: none;
  color: #64748B;
  cursor: pointer;
  display: flex;
  padding: 0;
}

.sk-share-close:hover { color: #0F172A; }

.sk-share-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 9px;
}

.sk-share-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155 !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.sk-share-link:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #2563EB !important;
}

.sk-share-copy {
  width: 100%;
  padding: 9px;
  border: none;
  border-radius: 8px;
  background: #10B981;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sk-share-copy:hover { background: #059669; }

.sk-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 14px);
  z-index: 9995;
  max-width: calc(100vw - 32px);
  background: #0F172A;
  border: 1px solid #1E293B;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.sk-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Y2Mate Style Flying Download Circle Icon */
.y2m-fly-circle {
  position: fixed;
  z-index: 999999;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #2563EB;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #2563EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: y2mArcFlight 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.y2m-fly-circle svg {
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

@keyframes y2mArcFlight {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.9;
  }
  35% {
    transform: translate(calc(var(--dest-x, 0px) * 0.4 - 50%), calc(var(--dest-y, 0px) * 0.2 - 50px - 50%)) scale(1.05);
    opacity: 1;
  }
  75% {
    transform: translate(calc(var(--dest-x, 0px) * 0.85 - 50%), calc(var(--dest-y, 0px) * 0.75 - 15px - 50%)) scale(0.8);
    opacity: 0.95;
  }
  100% {
    transform: translate(calc(var(--dest-x, 0px) - 50%), calc(var(--dest-y, 0px) - 50%)) scale(0.25);
    opacity: 0;
  }
}
/* Trust, legal and live-status pages */
.trust-main {
  padding: 56px 0 80px;
}

.trust-shell {
  max-width: 860px;
}

.trust-kicker {
  color: var(--text-blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.trust-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.trust-lead {
  color: var(--text-sub);
  font-size: 1.05rem;
  max-width: 720px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 5vw, 34px);
  margin-top: 28px;
}

.trust-card h2,
.trust-card h3 {
  font-family: var(--font-display);
  margin: 26px 0 10px;
}

.trust-card h2:first-child,
.trust-card h3:first-child { margin-top: 0; }

.trust-card p,
.trust-card li { color: var(--text-sub); line-height: 1.75; }
.trust-card ul,
.trust-card ol { padding-left: 1.35rem; margin: 10px 0 18px; }
.trust-card a { color: var(--text-blue); font-weight: 700; }

.status-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.55);
}

.status-dot.is-online { background: #22c55e; box-shadow: 0 0 16px rgba(34, 197, 94, 0.55); }
.status-dot.is-degraded { background: #ef4444; box-shadow: 0 0 16px rgba(239, 68, 68, 0.55); }

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.status-service {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  padding: 16px;
}

.status-service strong { display: block; margin-bottom: 5px; }
.status-service span { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 640px) {
  .status-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Save2Mate 2.0 Modern World-Class SaaS Design Elements
   ========================================================================== */

/* Gradient & Status Accents */
.gradient-text {
  background: linear-gradient(135deg, #1D4ED8 0%, #0284C7 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGlow 2s infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Trust & Performance Metrics Strip */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px auto 36px;
  max-width: 1040px;
  padding: 0 12px;
}

.stats-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.stats-item:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}

.stats-item-icon {
  font-size: 1.05rem;
}

/* Bento Grid Showcase */
.bento-section {
  padding: 64px 0 40px;
  width: 100%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.bento-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 10px 24px -5px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: #CBD5E1;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

.bento-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  align-items: center;
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #2563EB;
}

.bento-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  width: fit-content;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

.bento-visual {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.03);
}

.bento-stream-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  font-weight: 700;
}

.bento-stream-row:last-child {
  margin-bottom: 0;
}

.bento-stream-tag {
  background: #ECFDF5;
  color: #059669;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  border: 1px solid #A7F3D0;
}

/* Platform Hub Grid */
.platform-hub-section {
  padding: 56px 0 44px;
  width: 100%;
}

.platform-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.platform-hub-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.platform-hub-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.08);
}

.platform-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.platform-hub-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-hub-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.platform-hub-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.icon-bg-instagram { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%); }
.icon-bg-youtube { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }
.icon-bg-facebook { background: linear-gradient(135deg, #1877f2 0%, #0c56b8 100%); }
.icon-bg-tiktok { background: linear-gradient(135deg, #000000 0%, #25F4EE 100%); }
.icon-bg-reddit { background: linear-gradient(135deg, #ff4500 0%, #cc3700 100%); }
.icon-bg-pinterest { background: linear-gradient(135deg, #e60023 0%, #ad081b 100%); }
.icon-bg-snapchat { background: linear-gradient(135deg, #FFFC00 0%, #EAB308 100%); color: #000000; }

.platform-hub-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
}

.platform-hub-type {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748B;
}

.platform-hub-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
}

.platform-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.platform-hub-tag {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

.platform-hub-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 800;
  color: #2563EB;
  transition: gap 0.2s ease;
}

.platform-hub-card:hover .platform-hub-cta {
  gap: 10px;
}

/* Feature Comparison Table */
.comparison-section {
  padding: 56px 0 54px;
  width: 100%;
}

.comparison-wrapper {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 12px 36px -6px rgba(15, 23, 42, 0.06);
  margin-top: 30px;
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #F1F5F9;
}

.comparison-table th {
  background: #F8FAFC;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  border-bottom: 1px solid #E2E8F0;
}

.comparison-table td {
  font-size: 0.94rem;
  color: #334155;
}

.comparison-feature-name {
  font-weight: 700;
  color: #0F172A;
}

.comparison-highlight {
  background: #EFF6FF;
  font-weight: 800;
  color: #1D4ED8;
}

.comparison-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-weight: 800;
}

.comparison-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #DC2626;
  font-weight: 700;
}

/* Rich SEO FAQ Accordion */
.faq-section {
  padding: 54px 0 68px;
  width: 100%;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 28px auto 0;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.faq-item[open] {
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.faq-question {
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "▾";
  font-size: 1.15rem;
  color: #64748B;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
  color: #2563EB;
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #475569;
}

.faq-answer strong {
  color: #0F172A;
}

/* ==========================================================================
   Responsive Overrides for All Screens (Large, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card-wide {
    grid-column: span 2;
  }
  .platform-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .platform-hub-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .comparison-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.1rem) !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .stats-strip {
    gap: 8px;
  }
  .stats-item {
    font-size: 0.8rem;
    padding: 6px 13px;
  }
  .bento-card {
    padding: 24px;
    border-radius: 18px;
  }
  .platform-hub-card {
    padding: 22px;
    border-radius: 18px;
  }
  .sk-fab-stack {
    display: none !important;
  }
}

/* ==========================================================================
   Standardized SaaS SEO Article, Cards & Silo Cross-Linking System
   ========================================================================== */
.tool-content-section {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border-glass);
}

.seo-article {
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.75;
  color: var(--text-sub);
}

.seo-article h2 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 36px 0 16px;
  line-height: 1.25;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.seo-article p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.seo-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px;
  margin: 28px 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.seo-card-callout {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 16px;
  padding: 22px;
  margin: 24px 0;
}

.seo-card-callout h3 {
  color: #2563EB;
}

.seo-steps-list {
  padding-left: 24px;
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
}

.seo-steps-list li {
  padding-left: 6px;
  font-size: 0.98rem;
}

.seo-bullet-list {
  list-style: disc;
  padding-left: 24px;
  display: grid;
  gap: 10px;
  margin: 16px 0 24px;
}

.seo-bullet-list li {
  font-size: 0.96rem;
}

.tool-silo-container {
  margin-top: 48px;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.tool-silo-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.tool-silo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.tool-silo-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0F172A !important;
  text-decoration: none;
  transition: all 0.18s var(--ease-smooth);
}

.tool-silo-card:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #2563EB !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* Guide Directory and Editorial Layouts */
.guides-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.guides-intro {
  color: var(--text-sub);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 740px;
  margin-bottom: 32px;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s var(--ease-smooth);
  text-decoration: none !important;
}

.guide-card:hover {
  border-color: #3B82F6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.guide-tag {
  display: inline-block;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #2563EB;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}

.guide-card h2 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.35;
}

.guide-card p {
  color: var(--text-sub);
  font-size: 0.96rem;
  line-height: 1.7;
}

.guide-more {
  color: #2563EB;
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 14px;
  display: inline-block;
}

/* Editorial Article Layout */
.article-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.article-lead {
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 10px;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 30px;
  display: inline-block;
}

.article-body {
  color: var(--text-sub);
  line-height: 1.85;
  font-size: 1.02rem;
}

.article-body h2 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin: 44px 0 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.article-body h3 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin: 30px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-body strong {
  color: var(--text-main);
}

.article-body code {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
  color: #0F172A;
}

.inline-link, .inline-link:link, .inline-link:visited {
  color: #2563EB !important;
  font-weight: 700;
  text-decoration: underline;
}

.callout {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid #2563EB;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 28px 0;
  color: var(--text-sub);
  line-height: 1.75;
}

.tool-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.tool-cta {
  display: block;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s var(--ease-smooth);
  text-decoration: none !important;
}

.tool-cta:hover {
  border-color: #3B82F6;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.tool-cta b {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.tool-cta span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .guides-wrap, .article-wrap {
    padding: 24px 0 54px;
  }
  .guide-card {
    padding: 18px;
  }
  .guide-card h2 {
    font-size: 1.12rem;
  }
  .article-body h2 {
    font-size: 1.32rem;
    margin-top: 36px;
  }
}

/* =========================================================
   YOUTUBE PLAYLIST DOWNLOADER UI COMPONENTS
   ========================================================= */

.playlist-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--r-xl, 20px);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  margin-top: 28px;
  overflow: hidden;
  animation: fadeInResult 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInResult {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.playlist-header {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.playlist-cover-wrap {
  position: relative;
  width: 140px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.playlist-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-badge-count {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.playlist-info-col {
  flex: 1;
  min-width: 0;
}

.playlist-title {
  font-family: var(--font-display, inherit);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.playlist-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-sub, #64748b);
}

.playlist-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.76rem;
}

.playlist-meta-channel {
  font-weight: 600;
  color: var(--text-main, #334155);
}

/* Playlist Controls & Filter Bar */
.playlist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 14px;
  flex-wrap: wrap;
}

.playlist-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.playlist-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.playlist-search-input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 40px;
  background: var(--bg-input, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-main, #0f172a);
  outline: none;
  transition: all 0.2s ease;
}

.playlist-search-input:focus {
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.playlist-count-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-sub, #64748b);
  white-space: nowrap;
}

/* Track List Container */
.playlist-track-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.playlist-track-list::-webkit-scrollbar {
  width: 6px;
}

.playlist-track-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Single Track Item */
.playlist-track-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color, #f1f5f9);
  border-radius: 12px;
  transition: all 0.15s ease;
}

.playlist-track-row:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(2px);
}

.track-index {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.track-thumb-wrap {
  position: relative;
  width: 64px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #0f172a;
}

.track-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-dur {
  position: absolute;
  bottom: 2px;
  right: 3px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.track-content {
  flex: 1;
  min-width: 0;
}

.track-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main, #0f172a);
  margin: 0 0 3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-channel {
  font-size: 0.78rem;
  color: var(--text-sub, #64748b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Track Actions */
.track-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-track-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-track-mp4 {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.btn-track-mp4:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-track-mp3 {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
}

.btn-track-mp3:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

/* Responsive adjustments for playlist */
@media (max-width: 680px) {
  .playlist-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .playlist-cover-wrap {
    width: 100%;
    height: 160px;
  }

  .playlist-track-row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }

  .track-index {
    display: none;
  }

  .track-content {
    flex: 1 1 calc(100% - 74px);
  }

  .track-actions {
    width: 100%;
    justify-content: stretch;
    gap: 8px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
  }

  .btn-track-action {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
  }
}

/* Hero Quick Shortcut Pills */
.hero-quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px auto 0;
  max-width: 860px;
}

.quick-tag-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-sub, #64748b);
  display: inline-flex;
  align-items: center;
}

.quick-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.18s ease;
}

.quick-tag-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb !important;
  transform: translateY(-1px);
}

.quick-tag-highlight {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626 !important;
  font-weight: 700;
}

.quick-tag-highlight:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c !important;
}

/* ==========================================================================
   ONE-CLICK PLAYLIST ZIP DOWNLOADER & BATCH MODAL
   ========================================================================== */
.playlist-oneclick-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  margin: 16px 0 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.playlist-oneclick-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.playlist-oneclick-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.playlist-oneclick-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
}

.playlist-oneclick-desc {
  font-size: 0.8rem;
  color: #94a3b8;
}

.playlist-oneclick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-oneclick-zip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.btn-oneclick-mp3 {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
}

.btn-oneclick-mp3:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-oneclick-mp4 {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
}

.btn-oneclick-mp4:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-oneclick-zip:active {
  transform: translateY(0);
}

/* Batch Modal Backdrop */
.batch-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: batchFadeIn 0.25s ease-out;
}

@keyframes batchFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.batch-modal {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  color: #f8fafc;
  animation: batchSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes batchSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.batch-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.batch-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.batch-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.batch-header-titles h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.batch-header-titles p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 2px 0 0;
}

.btn-batch-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-batch-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Modal Body */
.batch-modal-body {
  padding: 20px 24px;
}

.batch-progress-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.batch-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.batch-current-stage {
  font-weight: 700;
  color: #38bdf8;
}

.batch-percent-text {
  font-weight: 800;
  color: #10b981;
}

.batch-progress-track {
  height: 10px;
  background: #1e293b;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.batch-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
  border-radius: 100px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.batch-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: batchShimmer 1.8s infinite;
}

@keyframes batchShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.batch-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Track Checklist */
.batch-track-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 8px;
}

.batch-track-list {
  max-height: 210px;
  overflow-y: auto;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.batch-track-list::-webkit-scrollbar {
  width: 6px;
}

.batch-track-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.batch-track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.4);
  font-size: 0.82rem;
  gap: 10px;
}

.batch-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.batch-item-num {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 700;
  width: 20px;
}

.batch-item-name {
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.batch-item-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-waiting {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
}

.badge-active {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.badge-done {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-skipped {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

/* Modal Footer */
.batch-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.8);
}

.batch-footer-note {
  font-size: 0.76rem;
  color: #64748b;
}

.btn-batch-cancel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-batch-cancel:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.btn-batch-save {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: none;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.15s ease;
}

.btn-batch-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-batch-next {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border: none;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-batch-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.playlist-batch-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.batch-select-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
  flex-shrink: 0;
}

.playlist-batch-select {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.playlist-batch-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

@media (max-width: 640px) {
  .playlist-oneclick-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .playlist-oneclick-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .playlist-batch-select-wrap {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }
  .batch-select-label {
    white-space: normal;
    font-size: 0.78rem;
  }
  .playlist-batch-select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .btn-oneclick-zip {
    width: 100%;
    justify-content: center;
  }
  .batch-modal {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
  }
  .batch-modal-body {
    overflow-y: auto;
    padding: 14px;
  }
}

/* ==========================================================================
   Related Downloaders for Subpages (Google Sitelinks Architecture)
   ========================================================================== */
/* Related Downloaders for Subpages */
.related-downloaders {
  margin: 44px auto 32px;
  padding: 24px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  text-align: left;
  max-width: 900px;
}
.related-downloaders h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 14px;
}
.related-downloaders ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.related-downloaders li {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}
.related-downloaders li:hover {
  border-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.related-downloaders li a {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2563EB;
  text-decoration: none;
  margin-bottom: 3px;
}
.related-downloaders li a:hover {
  text-decoration: underline;
}
.related-downloaders li p {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0;
  line-height: 1.35;
}

/* Popular Downloaders Section (Google Sitelinks Grid) */
.popular-downloaders {
  padding: 36px 0 16px;
  background: transparent;
}

.popular-downloaders-header {
  text-align: center;
  margin-bottom: 24px;
}

.popular-downloaders-header .section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.popular-downloaders-header .section-subtitle {
  font-size: 0.92rem;
  color: #64748B;
  margin: 0;
}

.popular-downloaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.popular-downloader-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.popular-downloader-card:hover {
  border-color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.popular-downloader-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.popular-downloader-icon {
  width: 22px;
  height: 22px;
}

.popular-downloader-icon-box.yt-bg { background: #FEF2F2; }
.popular-downloader-icon.yt-color { color: #DC2626; fill: #DC2626; }

.popular-downloader-icon-box.mp3-bg { background: #ECFDF5; }
.popular-downloader-icon.mp3-color { color: #059669; fill: #059669; }

.popular-downloader-icon-box.insta-bg { background: #FDF2F8; }
.popular-downloader-icon.insta-color { color: #DB2777; fill: #DB2777; }

.popular-downloader-icon-box.tiktok-bg { background: #F1F5F9; }
.popular-downloader-icon.tiktok-color { color: #0F172A; fill: #0F172A; }

.popular-downloader-icon-box.fb-bg { background: #EFF6FF; }
.popular-downloader-icon.fb-color { color: #1877F2; fill: #1877F2; }

.popular-downloader-icon-box.snap-bg { background: #FEFCE8; }
.popular-downloader-icon.snap-color { color: #CA8A04; fill: #CA8A04; }

.popular-downloader-icon-box.twitter-bg { background: #F1F5F9; }
.popular-downloader-icon.twitter-color { color: #0F172A; fill: #0F172A; }

.popular-downloader-icon-box.reddit-bg { background: #FFF7ED; }
.popular-downloader-icon.reddit-color { color: #EA580C; fill: #EA580C; }

.popular-downloader-icon-box.pinterest-bg { background: #FEF2F2; }
.popular-downloader-icon.pinterest-color { color: #E60023; fill: #E60023; }

.popular-downloader-content {
  flex: 1;
  min-width: 0;
}

.popular-downloader-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px;
  line-height: 1.3;
}

.popular-downloader-desc {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0 0 8px;
  line-height: 1.4;
}

.popular-downloader-link-action {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563EB;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.popular-downloader-card:hover .popular-downloader-link-action {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .popular-downloaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .popular-downloaders-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .popular-downloaders {
    padding: 24px 0 12px;
  }
}

/* ==========================================================================
   Bespoke Smart Guidance & 1-Click Platform Switcher (Luxury Design)
   ========================================================================== */
.smart-guidance-card {
  display: none;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 28px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(241, 245, 249, 0.9), 0 4px 16px -2px rgba(37, 99, 235, 0.04);
  padding: 22px 26px;
  box-sizing: border-box;
  text-align: left;
  position: relative;
  overflow: hidden;
  animation: guidanceSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes guidanceSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Subtle top hairline gradient accent tuned to detected platform */
.smart-guidance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3.5px;
  border-radius: 4px 4px 0 0;
  background: var(--guidance-accent, linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%));
}

.smart-guidance-card.theme-instagram::before {
  background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.smart-guidance-card.theme-youtube::before {
  background: linear-gradient(90deg, #FF0000 0%, #CC0000 100%);
}
.smart-guidance-card.theme-tiktok::before {
  background: linear-gradient(90deg, #00F2FE 0%, #0F172A 50%, #FE2C55 100%);
}
.smart-guidance-card.theme-facebook::before {
  background: linear-gradient(90deg, #1877F2 0%, #0C56B8 100%);
}
.smart-guidance-card.theme-twitter::before {
  background: linear-gradient(90deg, #0F172A 0%, #475569 100%);
}
.smart-guidance-card.theme-reddit::before {
  background: linear-gradient(90deg, #FF4500 0%, #EA580C 100%);
}
.smart-guidance-card.theme-pinterest::before {
  background: linear-gradient(90deg, #E60023 0%, #BE123C 100%);
}
.smart-guidance-card.theme-snapchat::before {
  background: linear-gradient(90deg, #FDE047 0%, #EAB308 100%);
}
.smart-guidance-card.theme-gif::before {
  background: linear-gradient(90deg, #EC4899 0%, #8B5CF6 100%);
}
.smart-guidance-card.theme-image::before {
  background: linear-gradient(90deg, #3B82F6 0%, #06B6D4 100%);
}
.smart-guidance-card.theme-audio::before {
  background: linear-gradient(90deg, #8B5CF6 0%, #6366F1 100%);
}
.smart-guidance-card.theme-cloud::before {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}
.smart-guidance-card.theme-unsupported_web::before,
.smart-guidance-card.theme-unsupported::before {
  background: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
}

.guidance-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* Floating Luxury Avatar Box */
.guidance-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.smart-guidance-card:hover .guidance-avatar-box {
  transform: scale(1.05) rotate(-2deg);
}

.guidance-avatar-svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.guidance-avatar-emoji {
  font-size: 1.65rem;
  line-height: 1;
}

/* Avatar Box Platform Colorways */
.guidance-avatar-box.box-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.3);
}
.guidance-avatar-box.box-youtube {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3);
}
.guidance-avatar-box.box-tiktok {
  background: #000000;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 242, 254, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.guidance-avatar-box.box-facebook {
  background: linear-gradient(135deg, #1877F2 0%, #0C56B8 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.3);
}
.guidance-avatar-box.box-twitter {
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}
.guidance-avatar-box.box-reddit {
  background: linear-gradient(135deg, #FF4500 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 69, 0, 0.3);
}
.guidance-avatar-box.box-pinterest {
  background: linear-gradient(135deg, #E60023 0%, #BE123C 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(230, 0, 35, 0.3);
}
.guidance-avatar-box.box-snapchat {
  background: linear-gradient(135deg, #FFFC00 0%, #FACC15 100%);
  color: #0F172A;
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.3);
}
.guidance-avatar-box.box-dailymotion {
  background: linear-gradient(135deg, #0066DC 0%, #0284C7 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 102, 220, 0.3);
}
.guidance-avatar-box.box-gif {
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.25);
}
.guidance-avatar-box.box-image {
  background: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
}
.guidance-avatar-box.box-audio {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.25);
}
.guidance-avatar-box.box-cloud {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}
.guidance-avatar-box.box-unsupported_web,
.guidance-avatar-box.box-unsupported {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
}
.guidance-avatar-box.box-default {
  background: linear-gradient(135deg, #64748B 0%, #475569 100%);
  color: #FFFFFF;
}

/* Card Body */
.guidance-body {
  flex: 1;
  min-width: 0;
}

.guidance-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.guidance-pill-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.guidance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.guidance-pill.pill-instagram {
  background: #FDF2F8;
  color: #DB2777;
  border-color: #FBCFE8;
}
.guidance-pill.pill-youtube {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #FECACA;
}
.guidance-pill.pill-tiktok {
  background: #F8FAFC;
  color: #0F172A;
  border-color: #E2E8F0;
}
.guidance-pill.pill-facebook {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}
.guidance-pill.pill-twitter {
  background: #F8FAFC;
  color: #0F172A;
  border-color: #CBD5E1;
}
.guidance-pill.pill-reddit {
  background: #FFF7ED;
  color: #EA580C;
  border-color: #FED7AA;
}
.guidance-pill.pill-pinterest {
  background: #FFF1F2;
  color: #E11D48;
  border-color: #FECDD3;
}
.guidance-pill.pill-snapchat {
  background: #FEFCE8;
  color: #A16207;
  border-color: #FEF08A;
}
.guidance-pill.pill-gif {
  background: #FDF2F8;
  color: #DB2777;
  border-color: #FBCFE8;
}
.guidance-pill.pill-image {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
}
.guidance-pill.pill-audio {
  background: #FAF5FF;
  color: #7C3AED;
  border-color: #E9D5FF;
}
.guidance-pill.pill-cloud {
  background: #F0FDF4;
  color: #16A34A;
  border-color: #BBF7D0;
}
.guidance-pill.pill-unsupported_web,
.guidance-pill.pill-unsupported {
  background: #FFFBEB;
  color: #D97706;
  border-color: #FDE68A;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.guidance-route-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

/* Luxury Round Dismiss Button */
.btn-guidance-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #F1F5F9;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.btn-guidance-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.08);
}

.guidance-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0F172A;
  margin: 0 0 6px;
  line-height: 1.35;
}

.guidance-message {
  font-family: var(--font-text);
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 18px;
}

/* Primary Luxury CTA Button */
.guidance-cta-wrap {
  display: flex;
  align-items: center;
}

.btn-guidance-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 12px;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.35);
}

.btn-guidance-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-guidance-cta:active {
  transform: translateY(0);
}

.cta-arrow {
  transition: transform 0.2s ease;
}

.btn-guidance-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* CTA Colorways matching source platform identity */
.btn-guidance-cta.cta-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 24px -4px rgba(220, 39, 67, 0.45);
}
.btn-guidance-cta.cta-youtube {
  background: linear-gradient(135deg, #FF0000 0%, #DC2626 100%);
  box-shadow: 0 8px 24px -4px rgba(220, 38, 38, 0.45);
}
.btn-guidance-cta.cta-tiktok {
  background: #000000;
  box-shadow: 0 8px 24px -4px rgba(0, 242, 254, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-guidance-cta.cta-facebook {
  background: linear-gradient(135deg, #1877F2 0%, #0C56B8 100%);
  box-shadow: 0 8px 24px -4px rgba(24, 119, 242, 0.45);
}
.btn-guidance-cta.cta-twitter {
  background: #0F172A;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.4);
}
.btn-guidance-cta.cta-reddit {
  background: linear-gradient(135deg, #FF4500 0%, #EA580C 100%);
  box-shadow: 0 8px 24px -4px rgba(255, 69, 0, 0.45);
}
.btn-guidance-cta.cta-pinterest {
  background: linear-gradient(135deg, #E60023 0%, #BE123C 100%);
  box-shadow: 0 8px 24px -4px rgba(230, 0, 35, 0.45);
}
.btn-guidance-cta.cta-snapchat {
  background: linear-gradient(135deg, #EAB308 0%, #CA8A04 100%);
  box-shadow: 0 8px 24px -4px rgba(234, 179, 8, 0.45);
}
.btn-guidance-cta.cta-dailymotion {
  background: linear-gradient(135deg, #0066DC 0%, #0284C7 100%);
  box-shadow: 0 8px 24px -4px rgba(0, 102, 220, 0.45);
}
.btn-guidance-cta.cta-image {
  background: linear-gradient(135deg, #2563EB 0%, #0284C7 100%);
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.45);
}
.btn-guidance-cta.cta-audio {
  background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
  box-shadow: 0 8px 24px -4px rgba(124, 58, 237, 0.45);
}
.btn-guidance-cta.cta-default {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.45);
}

/* Responsive Mobile Stacking */
@media (max-width: 640px) {
  .smart-guidance-card {
    padding: 18px 16px;
    margin-bottom: 22px;
  }
  .guidance-card-inner {
    gap: 14px;
  }
  .guidance-avatar-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .guidance-avatar-svg {
    width: 20px;
    height: 20px;
  }
  .guidance-title {
    font-size: 1.05rem;
  }
  .guidance-message {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }
  .btn-guidance-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}
