html {
  overflow-x: hidden;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  padding-top: 64px;
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
.text-muted {
  color: #64748b !important;
}
.text-primary {
  color: #dc2626 !important;
}
.bg-primary {
  background-color: #dc2626 !important;
}
.btn-primary {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #991b1b !important;
  border-color: #991b1b !important;
  color: #fff !important;
}
.pointer {
  cursor: pointer;
}
.mf-download-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}
.mf-navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  min-height: 64px;
}
.mf-navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e293b !important;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}
.mf-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  font-size: 1.15rem;
}
.mf-navbar .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563 !important;
  padding: 6px 12px !important;
}
.mf-navbar .nav-link:hover {
  color: #dc2626 !important;
}
.mf-hero-section {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.96) 0%, rgba(254, 242, 242, 0.95) 48%, rgba(255, 247, 237, 0.96) 100%), url('/frontend_template/template/assets/images/bg/01.jpg');
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 28px 0 70px;
}
.mf-hero-section .container {
  z-index: 1;
}
.mf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 22px;
}
.mf-hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #1e293b;
  margin-bottom: 18px;
}
.mf-gradient-text {
  color: #dc2626;
}
.mf-hero-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
}
.mf-format-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.mf-format-badge {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
}
.mf-input-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 24px 64px rgba(220, 38, 38, 0.16);
  position: relative;
  z-index: 1;
}
.mf-card-icon {
  font-size: 2.2rem;
}
.mf-url-input-group {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.22), 0 4px 20px rgba(0, 0, 0, 0.07);
}
.mf-input-icon {
  background: rgba(220, 38, 38, 0.08);
  border: none;
  color: #dc2626;
  font-size: 1.2rem;
  padding: 0 1rem;
}
.mf-url-input {
  background: #ffffff !important;
  border: none !important;
  color: #1e293b !important;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  box-shadow: none !important;
}
.mf-url-input::placeholder {
  color: #adb5bd;
  font-size: 13px;
}
.mf-fetch-btn {
  background: #dc2626;
  border: none;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  white-space: nowrap;
  border-radius: 0;
}
.mf-fetch-btn:hover,
.mf-fetch-btn:focus {
  background: #991b1b;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
  color: #fff !important;
}
.mf-step-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 14px;
}
.mf-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(220, 38, 38, 0.12);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: #dc2626;
  margin-right: 4px;
}
.mf-use-notice {
  display: flex;
  align-items: flex-start;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-left: 3px solid #dc2626;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 12px;
  color: #7f1d1d;
  line-height: 1.6;
}
.mf-browser-section {
  background: #f1f5f9;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mf-browser-window {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.mf-browser-statusbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #e2e8f0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  min-height: 38px;
}
.mf-browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mf-dot-red {
  background: #ff5f57;
}
.mf-dot-yellow {
  background: #ffbd2e;
}
.mf-dot-green {
  background: #28c840;
}
.mf-browser-url-display {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 4px 10px;
  color: #64748b;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mf-browser-status-text {
  color: #64748b;
  font-size: 11px;
  white-space: nowrap;
}
.mf-disconnect-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #dc2626;
  border: none;
  border-radius: 5px;
}
.mf-browser-body {
  display: flex;
  background: #111827;
}
.mf-browser-canvas-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 22% 24%, rgba(220, 38, 38, 0.2), transparent 28%), linear-gradient(135deg, #111827 0%, #171717 100%);
  overflow: hidden;
  min-height: 430px;
  position: relative;
}
.mf-canvas-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.9rem;
  text-align: center;
}
.mf-canvas-placeholder .bi {
  font-size: 2.6rem;
  color: #fee2e2;
}
.mf-scroll-controls {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-scroll-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-browser-sidebar {
  width: 340px;
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.mf-sidebar-header {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 4px;
}
.mf-sidebar-count {
  margin-left: auto;
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 50px;
}
.mf-sidebar-filter {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}
.mf-filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.mf-filter-label {
  width: 34px;
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}
.mf-filter-pill {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 50px;
  padding: 2px 8px;
  font-size: 11px;
  color: #64748b;
  background: #fff;
  line-height: 1.4;
  cursor: pointer;
}
.mf-filter-pill.active {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.08);
}
button.mf-filter-pill {
  font: inherit;
}
.mf-filter-download-btn {
  background: #dc2626;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}
.mf-filter-download-btn:disabled {
  opacity: 0.55;
}
.mf-sidebar-list {
  min-height: 250px;
  max-height: 682px;
  overflow-y: auto;
}
.mf-sidebar-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  padding: 28px 18px 46px;
}
#browserCanvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  outline: none;
  background: #0f172a;
}
.mf-audio-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.mf-audio-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.mf-audio-meta {
  min-width: 0;
}
.mf-audio-title {
  color: #1e293b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mf-audio-sub,
.mf-audio-source {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 3px;
}
.mf-audio-source {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mf-audio-download {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626 !important;
  font-size: 11px;
  font-weight: 800;
}
.mf-audio-download:hover {
  background: #dc2626;
  color: #fff !important;
}
.mf-stats-strip {
  padding: 28px 0;
  background: #fff;
}
.mf-stat-item {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  background: #fff;
  padding: 18px 12px;
  height: 100%;
}
.mf-stat-number {
  color: #dc2626;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}
.mf-stat-label {
  color: #64748b;
  font-size: 12px;
  margin-top: 4px;
}
.mf-steps-section,
.mf-features-section,
.mf-usecases-section,
.mf-security-section {
  padding: 76px 0;
}
.mf-steps-section,
.mf-usecases-section {
  background: #f8fafc;
}
.mf-features-section,
.mf-security-section {
  background: #fff;
}
.mf-section-kicker {
  display: inline-block;
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.mf-section-title {
  color: #1e293b;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.mf-section-subtitle {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.7;
}
.mf-feature-card,
.mf-feat-card,
.mf-usecase-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
.mf-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.08);
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.mf-feature-title,
.mf-feat-card h5,
.mf-usecase-card h5 {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.mf-feature-desc,
.mf-feat-card p,
.mf-usecase-card p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.mf-feat-icon,
.mf-usecase-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.mf-feat-icon.red {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}
.mf-feat-icon.blue {
  background: rgba(15, 111, 236, 0.1);
  color: #0f6fec;
}
.mf-feat-icon.yellow {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.mf-feat-icon.green {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}
.mf-usecase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.mf-usecase-tags span {
  display: inline-flex;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 50px;
  padding: 3px 9px;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.06);
  font-size: 11px;
  font-weight: 700;
}
.mf-security-section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mf-security-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  padding: 16px;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 700;
  height: 100%;
}
.mf-security-item i {
  color: #dc2626;
  font-size: 1.25rem;
}
.mf-faq-section {
  background: #ffffff;
  padding: 80px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.mf-faq-accordion .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.mf-faq-accordion .accordion-item:not(:first-of-type) {
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}
.mf-faq-accordion .accordion-button {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  background: #ffffff;
  box-shadow: none;
  padding: 18px 20px;
}
.mf-faq-accordion .accordion-button:not(.collapsed) {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
  box-shadow: none;
}
.mf-faq-accordion .accordion-button:focus {
  box-shadow: none;
}
.mf-faq-accordion .accordion-body {
  font-size: 0.89rem;
  color: #64748b;
  line-height: 1.75;
  padding: 0 20px 18px;
}
.mf-footer {
  background: #111827;
  padding: 54px 0 28px;
}
.mf-footer-logo {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}
.mf-footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}
.mf-footer-link {
  color: #cbd5e1 !important;
  font-size: 0.9rem;
}
.mf-footer-link:hover {
  color: #fff !important;
}
.mf-footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 34px 0 22px;
}
@media (max-width: 991.98px) {
  .mf-browser-body {
    flex-direction: column;
  }
  .mf-browser-sidebar {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  .mf-browser-canvas-wrap {
    min-height: 360px;
  }
}
@media (max-width: 575.98px) {
  body {
    padding-top: 58px;
  }
  .mf-hero-section {
    min-height: auto;
    padding: 42px 0 52px;
  }
  .mf-hero-title {
    font-size: 2.15rem;
  }
  .mf-input-card {
    padding: 26px 18px;
  }
  .mf-url-input-group {
    display: block;
    border-radius: 10px;
  }
  .mf-input-icon {
    display: none;
  }
  .mf-url-input-group .mf-url-input {
    width: 100% !important;
    min-width: 100%;
    flex: 0 0 auto;
    border-radius: 10px 10px 0 0;
  }
  .mf-fetch-btn {
    width: 100%;
    border-radius: 0;
  }
  .mf-fetch-btn {
    border-radius: 0 0 10px 10px;
  }
  .mf-browser-status-text,
  .mf-disconnect-btn {
    display: none;
  }
  .mf-scroll-controls {
    right: 8px;
  }
  .mf-steps-section,
  .mf-features-section,
  .mf-usecases-section,
  .mf-faq-section,
  .mf-security-section {
    padding: 54px 0;
  }
}
