﻿/* ==========================================================================
   Male Voice Generator Custom Styles (Refactored & Optimized)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root variables & Base elements
   -------------------------------------------------------------------------- */
:root {
  --mv-primary: #4656e6;
  --mv-primary-hover: #3b4ab0;
  --mv-gradient: linear-gradient(119.16deg, #0e4cdd 27.44%, #9765f4 74.45%);
  --mv-bg-soft: #f7f7fd;
  --mv-border-color: #0000001a;
  --mv-text-dark: #18191b;
  --mv-text-muted: #000000cc;
  --mv-card-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.05);
}

body {
  background-color: #ffffff;
  color: var(--mv-text-dark);
  font-family: "Segoe UI", "Helvetica", sans-serif;
}

.mv-section-title {
  font-size: 32px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.image-placeholder {
  background: #eef1f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7a8b9e;
  font-weight: 500;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
}

.mobile-only {
  display: none !important;
}
.desktop-only {
  display: flex !important;
}

/* --------------------------------------------------------------------------
   2. Hero & Samples Card (Desktop)
   -------------------------------------------------------------------------- */
.mv-hero-section {
  padding: 72px 0 0 0;
  background: linear-gradient(to bottom, #f7f7fd, #ffffff);
}

.mv-hero-container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}

.mv-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  margin-bottom: 48px;
}

.mv-hero-intro {
  box-sizing: border-box;
}

.mv-hero-intro h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.mv-hero-intro p {
  font-size: 20px;
  color: var(--mv-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.mv-hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.mv-check-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
}

.mv-check-icon {
  width: 16px;
  height: 16px;
  background: url("../../img/mv/check.svg") no-repeat center center;
  background-size: contain;
}

.mv-samples-card {
  flex: 0 0 552px;
  background: #ffffff;
  border-radius: 20px;
  padding: 12px 16px;
  text-align: center;
  min-width: 320px;
  box-sizing: border-box;
}

.mv-samples-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  justify-content: center;
}

.mv-samples-list {
  display: flex;
  justify-content: space-around;
  gap: 12px;
}

.mv-sample-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.mv-avatar-wrapper {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}

.mv-avatar-img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.mv-play-overlay {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111111;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow:
    0 0 0 1px #ffffff,
    0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.mv-avatar-wrapper:hover .mv-play-overlay,
.mv-avatar-wrapper.playing .mv-play-overlay {
  background-color: #5056e6;
}

.mv-avatar-wrapper.playing .mv-play-btn-small {
  border: none;
  width: 16px;
  height: 16px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: transparent;
}

.mv-avatar-wrapper.playing .mv-play-btn-small::before,
.mv-avatar-wrapper.playing .mv-play-btn-small::after {
  content: "";
  display: block;
  width: 4px;
  height: 16px;
  background-color: #ffffff;
  border-radius: 2px;
}

.mv-play-btn-small {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 12px solid #ffffff;
  margin-left: 4px;
}

.mv-sample-name {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mv-sample-desc {
  font-size: 14px;
  color: var(--mv-text-muted);
  line-height: 20px;
}

/* --------------------------------------------------------------------------
   3. Main Generator Panel (Desktop)
   -------------------------------------------------------------------------- */
.mv-generator-box {
  background: linear-gradient(
    271.84deg,
    rgba(241, 241, 251, 0.6) 1.19%,
    #e1dfff 98.08%
  );
  border: 1px solid #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.mv-generator-main {
  display: flex;
}

.mv-text-panel {
  flex: 2;
  background: #ffffff;
  border-radius: 12px 0 0 0;
  border-right: 1px solid #eeeeee;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  min-height: 454px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  position: relative;
}

.mv-text-label {
  font-size: 16px;
  line-height: 32px;
  margin-bottom: 4px;
}

.mv-textarea {
  flex: 1;
  border: none;
  resize: none;
  outline: none;
  font-size: 18px;
  line-height: 1.6;
  color: #18191b;
  background: transparent;
  padding-bottom: 30px;
}

.mv-char-count {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 14px;
  color: #00000066;
}

/* --------------------------------------------------------------------------
   4. Control Panel & Select Dropdowns (Desktop)
   -------------------------------------------------------------------------- */
.mv-control-panel {
  flex: 0.9;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 360px;
  padding: 16px 20px;
  box-sizing: border-box;
}

.mv-ctrl-label {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.mv-ctrl-group.no-card {
  background: transparent;
  border: none;
  padding: 0;
}

.mv-select,
.mv-select-trigger {
  width: 100%;
  height: 40px;
  border: 1px solid #0000000d;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  color: #18191b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.mv-select {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  background: #ffffff no-repeat right 16px center;
  background-size: 18px;
}

.mv-custom-select {
  position: relative;
  width: 100%;
}

.mv-select-trigger-text {
  font-size: 14px;
  color: #18191b;
}

.mv-select-arrow {
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2318191b"><path d="M7 10l5 5 5-5z"/></svg>')
    no-repeat center center;
  background-size: contain;
  transition: transform 0.2s;
}

.mv-custom-select .mv-select-trigger {
  width: 100%;
  height: 48px;
  border: 1px solid #0000001a;
  background-color: #ffffff;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 14px;
  color: #18191b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.mv-custom-select .mv-select-trigger .mv-trigger-text {
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  font-weight: 400;
}

.mv-custom-select .mv-select-trigger .mv-trigger-name {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
}

.mv-custom-select .mv-select-trigger .mv-trigger-desc {
  font-size: 14px;
  font-weight: 400;
  color: #606060;
}

.mv-custom-select.open .mv-select-trigger {
  border-color: #4656e6;
  box-shadow: 0 0 0 3px rgba(70, 86, 230, 0.15);
}

.mv-custom-select.open .mv-select-arrow {
  transform: rotate(180deg);
}

.mv-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 100;
  display: none;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.mv-custom-select.open .mv-dropdown-menu {
  display: flex;
}

.mv-dropdown-list {
  max-height: 220px;
  overflow-y: auto;
}

.mv-group-title {
  font-size: 12px;
  color: #999999;
  font-weight: 500;
  padding: 6px 16px;
}

.mv-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.mv-dropdown-item:hover {
  background-color: #f7f7fa;
}

.mv-dropdown-item.active {
  background-color: #f4f3ff;
}

.mv-item-text {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mv-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #18191b;
}

.mv-item-desc {
  font-size: 14px;
  color: #666666;
}

.mv-dropdown-item.active .mv-item-name,
.mv-dropdown-item.active .mv-item-desc {
  color: #4656e6;
}

.mv-item-check {
  width: 16px;
  height: 16px;
  display: none;
  position: relative;
  flex-shrink: 0;
}

.mv-dropdown-item.active .mv-item-check {
  display: block;
}

.mv-item-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #4656e6;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   5. Advanced Settings & Range Sliders (Desktop)
   -------------------------------------------------------------------------- */
.mv-advanced-container {
  position: relative;
  width: 100%;
}

.mv-advanced-trigger-btn {
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: 1px solid #0000000d;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background-color 0.2s,
    border-color 0.2s;
  margin-top: 16px;
}

.mv-advanced-trigger-btn:hover {
  background-color: #f9f9fb;
  border-color: #4656e666;
}

.mv-settings-icon {
  width: 36px;
  height: 36px;
  background: url(../../img/advanced-icon.svg) no-repeat center center;
  background-size: contain;
}

.mv-advanced-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #0000000d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  box-sizing: border-box;
  z-index: 95;
  display: none;
}

.mv-advanced-popover.open {
  display: block;
}

.mv-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #18191b;
  cursor: pointer;
  padding: 8px 0;
  user-select: none;
}

.mv-accordion-header .mv-arrow {
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2318191b"><path d="M7 10l5 5 5-5z"/></svg>')
    no-repeat center center;
  background-size: contain;
  transition: transform 0.2s;
}

.mv-accordion-header.collapsed .mv-arrow {
  transform: rotate(-90deg);
}

.mv-accordion-content {
  max-height: 200px;
  opacity: 1;
  overflow: hidden;
  transition:
    max-height 0.25s ease,
    opacity 0.25s ease;
}

.mv-accordion-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.mv-slider-info {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 8px;
  color: #000000;
  font-weight: 400;
}

.mv-custom-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #4656e6 0%,
    #4656e6 50%,
    #e1dfff 50%,
    #e1dfff 100%
  );
  outline: none;
}

/* Chrome/Safari slider */
.mv-custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #4656e6;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s;
}

.mv-custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Firefox slider */
.mv-custom-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid #4656e6;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   6. Custom Scoped Language Selector (Desktop)
   -------------------------------------------------------------------------- */
.mv-control-panel .voice-selector {
  position: relative;
  height: 52px;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #0000001a;
}

.mv-control-panel .voice-selector .option-wrapper {
  box-sizing: border-box;
  height: 100%;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.mv-control-panel .voice-selector .voice-name {
  flex: 1;
  font-size: 16px;
}

.mv-control-panel .voice-selector .voice-name span {
  margin-left: 8px;
  color: #00000080;
}

.mv-control-panel .voice-selector .dropdown-icon {
  width: 24px;
  height: 24px;
  background: url(https://www.textavoice.com/img/arrow-icon.svg) no-repeat;
}

.mv-control-panel .voice-selector .dropdown-menu {
  position: absolute;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(-10px);
  z-index: 10;
  width: 100%;
  top: 56px;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0px 30px 40px 0px #00000033;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.mv-control-panel .voice-selector.active .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mv-control-panel .voice-selector .dropdown-search {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}

.mv-control-panel .voice-selector .dropdown-search-wrapper {
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #4656e61a;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.mv-control-panel .voice-selector .dropdown-search-icon {
  width: 24px;
  height: 24px;
  background: url(https://www.textavoice.com/img/search-icon.svg) no-repeat;
}

.mv-control-panel .voice-selector #language-search {
  flex: 1;
  height: 24px;
  border: none;
  outline: none;
  font-size: 16px;
}

.mv-control-panel .voice-selector #language-search::placeholder {
  color: #00000040;
}

.mv-control-panel .voice-selector .dropdown-items {
  padding-bottom: 6px;
  overflow-y: auto;
  max-height: 260px;
}

.mv-control-panel .voice-selector .dropdown-divider {
  height: 4px;
  width: 100%;
  border-top: 1px solid #4656e61a;
}

.mv-control-panel .voice-selector .item-title {
  padding: 4px 12px;
  height: 32px;
  line-height: 24px;
  font-size: 14px;
  color: #00000066;
}

.mv-control-panel .voice-selector .dropdown-item {
  position: relative;
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 24px;
  color: #000;
  cursor: pointer;
}

.mv-control-panel .voice-selector .dropdown-item span {
  margin-left: 8px;
  color: #00000080;
  pointer-events: none;
}

.mv-control-panel .voice-selector .dropdown-item:hover {
  background-color: #f7f7fd;
}

.mv-control-panel .voice-selector .dropdown-item.checked {
  background: #f7f7fd;
  color: #4656e6;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mv-control-panel .voice-selector .dropdown-item.checked::after {
  content: "";
  display: block;
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
  background: url(https://www.textavoice.com/img/check-icon.svg) no-repeat;
}

.mv-control-panel .voice-selector .dropdown-item.checked span {
  color: #4656e6;
}

/* --------------------------------------------------------------------------
   7. Player Bar & Share Panel (Desktop)
   -------------------------------------------------------------------------- */
.mv-player-bar {
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: visible;
}

.mv-player-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f1f1f5;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
}

.mv-player-progress-fill {
  height: 100%;
  background-color: #4656e6;
  width: 0%;
  transition: width 0.1s ease;
}

.mv-player-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mv-player-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.mv-time-display {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
  white-space: nowrap;
}

.mv-refresh-btn {
  width: 32px;
  height: 32px;
  background: #f1f1f5
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>')
    no-repeat center center;
  background-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s;
}

.mv-refresh-btn:hover {
  opacity: 0.8;
}

.mv-play-btn-large {
  position: relative;
  width: 48px;
  height: 48px;
  background: url(../../img/play-triangle.svg) no-repeat;
  background-position: calc(50% + 2px) center;
  background-color: #4656e6;
  background-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s;
}

.mv-play-btn-large:hover {
  opacity: 0.9;
}

.mv-player-right-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.mv-player-right-normal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mv-player-right-normal span {
  font-size: 14px;
  color: #666666;
}

.mv-download-btn {
  background: #eff1fe;
  border: none;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    background-color 0.15s,
    transform 0.1s;
  box-shadow: 0 2px 6px rgba(70, 86, 230, 0.06);
}

.mv-download-btn:hover {
  background: #e1e4fa;
}

.mv-download-btn:active {
  transform: scale(0.98);
}

.mv-download-icon {
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000000" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>')
    no-repeat center center;
  background-size: contain;
}

/* ── Play button state: Pause icon ── */
.mv-play-btn-large.is-playing {
  background: #4656e6
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><rect x="6" y="4" width="4" height="16"/><rect x="14" y="4" width="4" height="16"/></svg>')
    no-repeat center center;
  background-size: 16px;
}

/* ── Play button: Loading spinner ── */
.mv-play-btn-large.is-loading {
  background: #4656e6;
  opacity: 0.7;
  pointer-events: none;
}

.mv-play-btn-large.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mv-spin 0.6s linear infinite;
}

/* ── Disabled state ── */
.mv-play-btn-large:disabled,
.mv-refresh-btn:disabled,
.mv-download-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Refresh button active ── */
.mv-refresh-btn:not(:disabled):active {
  opacity: 0.7;
  transform: scale(0.95);
}

/* ── Progress track seekable ── */
.mv-player-progress-track.is-seekable {
  cursor: pointer;
}

.mv-player-progress-track.is-seekable:hover .mv-player-progress-fill {
  background-color: #3b4ab0;
}

/* ── Spinner animation ── */
@keyframes mv-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.mv-player-right-share {
  display: none;
  flex-direction: column;
  align-items: flex-end;
}

/* Share visible state — desktop: hide download button, show share inline */
@media (min-width: 769px) {
  .mv-player-right-wrapper.mv-share-visible .mv-player-right-normal {
    display: none;
  }
  .mv-player-right-wrapper.mv-share-visible .mv-player-right-share {
    display: flex;
  }
}

.mv-share-panel {
  display: flex;
  align-items: center;
  background: #f4f3ff;
  border-radius: 99px;
  padding: 6px 12px;
  border: 1px solid #4656e61a;
}

.mv-share-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mv-share-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.15s,
    opacity 0.15s;
}

.mv-share-btn svg {
  width: 16px;
  height: 16px;
}

.mv-share-btn:hover {
  transform: scale(1.1);
}

.mv-share-btn.trustpilot,
.mv-share-btn.twitter {
  background: #000000;
}

.mv-share-btn.facebook {
  background: #1877f2;
}

.mv-share-btn.linkedin {
  background: #0a66c2;
}

.mv-share-divider {
  width: 1px;
  height: 20px;
  background-color: #00000014;
  margin: 0 12px;
}

.mv-share-done-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #4656e624;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mv-share-done-btn:hover {
  background: #f1f1f5;
}

.mv-share-tooltip {
  position: absolute;
  top: -38px;
  background: #18191b;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    left 0.25s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(-50%);
}

.mv-share-tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 4px 0;
  border-style: solid;
  border-color: #18191b transparent;
  display: block;
  width: 0;
}

/* --------------------------------------------------------------------------
   8. Other Sections (Use cases, FAQ, CTA & Overrides)
   -------------------------------------------------------------------------- */
.mv-usecases-section {
  padding: 80px 0;
  background: #ffffff;
}

.mv-usecases-container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}

.mv-usecase-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}

.mv-usecase-row:nth-child(even) {
  flex-direction: row-reverse;
}

.mv-usecase-row:last-child {
  margin-bottom: 0;
}

.mv-usecase-text {
  flex: 1;
  text-align: left;
}

.mv-usecase-text h3 {
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mv-usecase-text p {
  font-size: 18px;
  color: #000000cc;
  line-height: 26px;
  margin-bottom: 24px;
}

.mv-usecase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.mv-tag {
  background: #f7f7fd;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 20px;
  color: #1b1b25;
}

.mv-btn-dark {
  background: #222222;
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mv-btn-dark:hover {
  background: #333336;
}

.mv-usecase-img {
  flex: 1;
  width: 100%;
  height: 400px;
}

.mv-faq-section {
  padding: 80px 0;
  background: #f7f7fd;
}

.mv-faq-container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  display: flex;
  gap: 60px;
}

.mv-faq-left {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.mv-faq-left h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  max-width: 331px;
}

.mv-faq-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
}

.mv-faq-item {
  border-top: 1px solid #0000000d;
  border-bottom: 1px solid #0000000d;
  padding: 16px 0;
  text-align: left;
}

.mv-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.mv-faq-toggle-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--mv-primary);
  line-height: 1;
}

.mv-faq-answer {
  margin-top: 16px;
  font-size: 16px;
  color: var(--mv-text-muted);
  line-height: 1.5;
  display: none;
}

.mv-faq-item.active .mv-faq-answer {
  display: block;
}

.mv-final-cta-section {
  padding: 100px 0;
  background-color: #ffffff;
  text-align: center;
}

.mv-cta-container {
  max-width: 800px;
  width: 92%;
  margin: 0 auto;
}

.mv-final-cta-section h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.mv-final-cta-section p {
  font-size: 18px;
  color: var(--mv-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.mv-cta-btn {
  background: var(--mv-gradient);
  color: #ffffff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  padding: 0 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 19px;
  transition: transform 0.2s;
  min-height: 52px;
  min-width: 218px;
  justify-content: center;
}

.mv-cta-btn:hover {
  transform: translateY(-2px);
}

.mv-play-icon-white {
  width: 18px;
  height: 20.78px;
  background-image: url('data:image/svg+xml;utf8,<svg width="17" height="19" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 9.29659V1.50237C0 0.347671 1.25 -0.374016 2.25 0.203334L9 4.10045L15.75 7.99756C16.75 8.57491 16.75 10.0183 15.75 10.5956L9 14.4927L2.25 18.3899C1.25 18.9672 0 18.2455 0 17.0908V9.29659Z" fill="white"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.multilingual-section .language-card .btn-icon {
  background: url(https://www.textavoice.com/img/arrow-right.svg) center center
    no-repeat;
  background-color: #fff;
}

/* ==========================================================================
   Responsive Styles (Merged & Structured Media Queries)
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Breakpoint 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Features rules are inherited globally from style.css */
}

/* --------------------------------------------------------------------------
   B. Breakpoint 992px
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .mv-hero-intro {
    flex: none;
    width: 100%;
  }

  .mv-samples-card {
    flex: none;
    width: 100%;
  }

  .mv-hero-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mv-hero-checks {
    justify-content: center;
  }

  .mv-usecase-row,
  .mv-usecase-row:nth-child(even) {
    flex-direction: column;
    gap: 30px;
  }

  .mv-usecase-img {
    height: 240px;
  }

  .mv-faq-container {
    flex-direction: column;
    gap: 40px;
  }

  .mv-faq-left h2 {
    text-align: center;
    position: static;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   C. Breakpoint 768px (Consolidated rules)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* 1. Visibility toggle override */
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }

  .mv-hero-top {
    gap: 0px;
    margin-bottom: 32px;
  }

  /* 2. Layout padding & Typography */
  .mv-hero-section {
    padding: 40px 0px 12px 0px;
    background: #ffffff;
  }

  .mv-hero-container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .mv-hero-intro h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 12px;
  }

  .mv-hero-intro p {
    font-size: 14px;
    color: var(--mv-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
  }

  /* 3. Horizontal layout for hero badges */
  .mv-hero-checks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 16px;
  }

  .mv-hero-checks .mv-check-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
  }

  /* 4. Avatars and samples card */
  .mv-samples-card {
    text-align: center;
    padding: 32px 0px 12px 0px;
    width: 100%;
    background-color: transparent;
  }

  .mv-samples-card h3.mobile-only {
    display: inline-block !important;
    background: linear-gradient(135deg, #ede9fe 0%, #fefce8 100%);
    padding: 2px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0px auto 28px auto;
    text-align: center;
    color: #000;
  }

  .mv-avatar-wrapper {
    width: 80px;
    height: 80px;
  }

  .mv-avatar-img {
    width: 80px;
    height: 80px;
  }

  .mv-play-overlay {
    width: 24px;
    height: 24px;
    bottom: -4px;
    right: -4px;
  }

  .mv-play-btn-small {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 9px;
  }

  .mv-avatar-wrapper.playing .mv-play-btn-small {
    width: 12px;
    height: 12px;
    gap: 3px;
  }

  .mv-avatar-wrapper.playing .mv-play-btn-small::before,
  .mv-avatar-wrapper.playing .mv-play-btn-small::after {
    width: 3px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 2px;
  }

  .mv-sample-name {
    font-size: 16px;
  }

  .mv-sample-desc {
    font-size: 12px;
  }

  /* 5. Generator Box structural overrides (Frame 2085662908) */
  .mv-generator-box {
    background: #e8eafc;
    padding: 10px;
    border-radius: 12px;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    width: calc(100% + 20px);
    margin: 0 -10px 32px -10px;
    box-sizing: border-box;
  }

  .mv-generator-main {
    display: flex;
    flex-direction: column;
    background: transparent;
  }

  .mv-text-panel {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px 10px 0px 0px;
    padding: 18px 18px 2px;
    box-sizing: border-box;
    height: 200px;
    min-height: 200px;
    box-shadow: none;
  }

  .mv-text-panel .mv-text-label {
    display: none;
  }

  .mv-textarea {
    font-size: 14px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.8);
    padding-bottom: 24px;
  }

  .mv-char-count {
    right: 8px;
    bottom: 8px;
    font-size: 14px;
    line-height: 19px;
    color: rgba(0, 0, 0, 0.5);
  }

  /* 6. Control Panel Grid & Inputs (Frame 1000010637) */
  .mv-control-panel {
    background: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px 16px;
    height: 80px;
    box-sizing: border-box;
    min-width: 100%;
  }

  .mv-control-panel .mv-ctrl-label {
    display: none;
  }

  .mv-control-panel > .mv-ctrl-group:first-child {
    flex: 1 1 137px;
    width: auto;
    margin: 0;
  }

  .mv-control-panel > .mv-ctrl-group:nth-child(2) {
    flex: 0 0 107px;
    width: 107px;
    margin: 0;
  }

  .mv-control-panel .mv-advanced-container {
    flex: 0 0 60px;
    width: 60px;
    margin: 0;
  }

  /* 7. Dropdown & Custom Select controls positioning */
  .mv-custom-select .mv-select-trigger {
    height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0 12px;
  }

  .mv-custom-select .mv-select-trigger .mv-trigger-text {
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    font-weight: 400;
  }

  .mv-custom-select .mv-select-trigger .mv-trigger-desc {
    display: none;
  }

  .mv-select-arrow {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000000"><path d="M7 10l5 5 5-5z"/></svg>')
      no-repeat center center;
    background-size: contain;
  }

  .mv-control-panel .voice-selector {
    height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
  }

  .mv-control-panel .voice-selector .option-wrapper {
    padding: 0 12px;
  }

  .mv-control-panel .voice-selector .voice-name {
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    font-weight: 400;
  }

  .mv-control-panel .voice-selector .dropdown-icon {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000000"><path d="M7 10l5 5 5-5z"/></svg>')
      no-repeat center center;
    background-size: contain;
  }

  .mv-custom-select .mv-dropdown-menu,
  .mv-control-panel .voice-selector .dropdown-menu {
    position: absolute;
    width: 328px;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 8px);
    box-shadow: 0px 30px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    z-index: 100000;
    padding: 0;
  }

  /* Voice dropdown: left-align to prevent off-screen left overflow */
  #voiceSelect .mv-dropdown-menu {
    left: 0;
    transform: none;
  }

  /* Language dropdown: nudge 16px left for visual balance */
  #language-selector .dropdown-menu {
    left: 50%;
    transform: translateX(calc(-50% - 16px));
  }

  .mv-control-panel .voice-selector.active .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(calc(-50% - 16px)) translateY(0);
  }

  /* 7.5 Voice dropdown item mobile overrides */
  .mv-custom-select .mv-dropdown-list {
    max-height: none;
  }
  .mv-custom-select .mv-dropdown-item {
    position: relative;
    height: 48px;
    padding: 0 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mv-custom-select .mv-dropdown-item .mv-item-name {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
  }
  .mv-custom-select .mv-dropdown-item .mv-item-desc {
    font-size: 14px;
    font-weight: 400;
    color: #606060;
  }
  .mv-custom-select .mv-dropdown-item.active {
    background-color: #f7f7fd;
  }
  .mv-custom-select .mv-dropdown-item.active .mv-item-name {
    color: #4656e6;
  }
  .mv-custom-select .mv-dropdown-item.active .mv-item-desc {
    color: #4656e6;
  }
  .mv-custom-select .mv-dropdown-item:first-child.active {
    border-radius: 12px 12px 0 0;
  }
  .mv-custom-select .mv-dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
  }
  .mv-custom-select .mv-dropdown-item .mv-item-check {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  .mv-custom-select .mv-dropdown-item:not(.active) .mv-item-check {
    display: none;
  }

  /* 7.6 Language dropdown item mobile overrides */
  .mv-control-panel .voice-selector .dropdown-search {
    padding: 8px 12px;
    box-sizing: border-box;
  }
  .mv-control-panel .voice-selector .dropdown-search-wrapper {
    background: #f7f7fd;
    border: 1px solid rgba(70, 86, 230, 0.1);
    border-radius: 8px;
  }
  .mv-control-panel .voice-selector .dropdown-items {
    padding-bottom: 6px;
    overflow-y: auto;
    max-height: 260px;
  }
  .mv-control-panel .voice-selector .dropdown-divider {
    height: 4px;
    border-top: 1px solid rgba(70, 86, 230, 0.1);
    width: 100%;
  }
  .mv-control-panel .voice-selector .item-title {
    padding: 4px 12px;
    height: 32px;
    line-height: 24px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.4);
  }
  .mv-control-panel .voice-selector .dropdown-item {
    position: relative;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    cursor: pointer;
  }
  .mv-control-panel .voice-selector .dropdown-item.checked {
    background: #f7f7fd;
    color: #4656e6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .mv-control-panel .voice-selector .dropdown-item.checked::after {
    right: 12px;
  }

  /* 8. Advanced Settings button and Popovers */
  .mv-advanced-trigger-btn {
    width: 60px;
    height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #ffffff;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mv-advanced-trigger-btn span:not(.mv-settings-icon) {
    display: none;
  }

  .mv-advanced-popover.open {
    width: 328px;
    max-width: none;
    right: 0px;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
  }

  /* 8.5 Advanced popover internal sliders */
  .mv-advanced-popover .mv-slider-wrapper {
    width: 100%;
    margin-top: 0;
  }
  .mv-advanced-popover .mv-slider-info {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 8px;
  }
  .mv-advanced-popover .mv-custom-range {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background-color: rgba(70, 86, 230, 0.1) !important;
  }
  .mv-advanced-popover .mv-custom-range::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border: 4px solid #4656e6;
    background: #ffffff;
    box-shadow: none;
  }
  .mv-advanced-popover .mv-custom-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 4px solid #4656e6;
    background: #ffffff;
    box-shadow: none;
  }

  /* 8.6 Emotion selector inside advanced popover */
  .mv-advanced-popover .mv-custom-select {
    width: 100%;
  }
  .mv-advanced-popover .mv-custom-select .mv-select-trigger {
    height: 40px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0 12px;
  }
  .mv-advanced-popover .mv-custom-select .mv-select-trigger .mv-trigger-text {
    font-size: 16px;
    color: #000000;
    font-weight: 400;
  }
  .mv-advanced-popover .mv-slider-wrapper .mv-ctrl-label {
    display: block;
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 8px;
  }
  /* Emotion dropdown: match trigger width inside popover, prevent overflow */
  .mv-advanced-popover .mv-custom-select .mv-dropdown-menu {
    width: 100%;
    left: 0;
    transform: none;
  }

  /* 9. Player Bar restructuring (Frame 2085662817) */
  .mv-player-bar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 48px;
    height: 74px;
    padding: 0 24px;
    background: #ffffff;
    border-radius: 0px 0px 10px 10px;
    box-shadow: none;
    border: none;
    box-sizing: border-box;
    position: relative;
  }

  .mv-player-progress-track {
    position: absolute;
    top: 0px;
    left: 16px;
    right: 12px;
    width: auto;
    height: 4px;
    background-color: #f7f7fd;
    border-radius: 0px;
  }

  .mv-player-progress-fill {
    background-color: #4656e6;
  }

  .mv-player-left {
    display: none;
  }

  /* Flat display for direct positioning */
  .mv-player-center,
  .mv-player-right-wrapper,
  .mv-player-right-normal {
    display: contents;
  }

  .mv-player-right-normal > span {
    display: none;
  }

  /* Play Button on mobile */
  .mv-play-btn-large {
    position: relative;
    width: 48px;
    height: 48px;
    background-color: #4656e6;
    background-size: 18px;
    margin: 0;
    order: 0;
  }

  /* Regenerate Button */
  .mv-refresh-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    width: 70px;
    height: 53px;
    cursor: pointer;
    margin: 0;
  }

  .mv-refresh-btn::before {
    content: "";
    width: 32px;
    height: 32px;
    background: #f7f7fd
      url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 6.28576V2.28604L14.6935 3.59055C13.964 2.48707 12.9718 1.58147 11.8058 0.954854C10.6398 0.328233 9.33628 0.000155409 8.01209 0C3.58734 0 0 3.58078 0 8C0 12.4192 3.58734 16 8.01209 16C9.60674 16.0005 11.1653 15.5258 12.4882 14.6368C13.8111 13.7478 14.8383 12.4848 15.4383 11.0096C15.5024 10.842 15.4982 10.6561 15.4266 10.4916C15.3551 10.3271 15.2218 10.1972 15.0554 10.1297C14.889 10.0622 14.7027 10.0624 14.5365 10.1304C14.3703 10.1985 14.2374 10.3288 14.1663 10.4935C13.6689 11.7159 12.8176 12.7623 11.7213 13.499C10.625 14.2357 9.33352 14.629 8.01209 14.6288C4.3459 14.6288 1.37324 11.6612 1.37324 8C1.37324 4.33934 4.3459 1.37117 8.01209 1.37117C9.157 1.37106 10.2825 1.66674 11.2791 2.22944C12.2757 2.79215 13.1095 3.60274 13.6996 4.58243L11.9942 6.28576H16Z" fill="%23222222"/></svg>')
      no-repeat center center;
    background-size: 16px;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .mv-refresh-btn::after {
    content: "Regenerate";
    font-family: "Segoe UI";
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    white-space: nowrap;
  }

  /* Download Button on mobile */
  .mv-download-btn {
    display: flex;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    flex-direction: column;
    align-items: center;
    width: 70px;
    height: 53px;
    cursor: pointer;
    gap: 0px;
  }

  .mv-download-btn::before {
    content: "";
    width: 32px;
    height: 32px;
    background: #f7f7fd url("../../img/download-black.svg") no-repeat center
      center;
    background-size: 24px;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .mv-download-btn .mv-download-icon {
    display: none;
  }

  .mv-download-btn span {
    font-family: "Segoe UI";
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
  }

  /* 10. Share Overlay panel */
  .mv-player-right-share {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 40px);
    max-width: 360px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #eeeeee;
    padding: 12px 16px;
    z-index: 99999;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

  /* Show share popup on mobile when visible (download button stays) */
  .mv-player-right-wrapper.mv-share-visible .mv-player-right-share {
    display: flex;
  }

  .mv-player-right-share::before {
    content: "Download finished.";
    font-family: "Segoe UI";
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    font-weight: 400;
    margin-right: 8px;
    white-space: nowrap;
  }

  .mv-share-tooltip {
    display: none;
  }

  .mv-share-panel {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mv-share-icons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mv-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
  }

  .mv-share-divider {
    display: none;
  }

  .mv-share-done-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: #f1f1f5
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666666" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>')
      no-repeat center center;
    background-size: 12px;
    border-radius: 50%;
    cursor: pointer;
  }

  .mv-share-done-btn svg {
    display: none;
  }

  /* 11. Use cases Mobile Slider Carousel */
  .mv-usecases-section {
    padding: 40px 0 25px 0;
    background: #ffffff;
    overflow: hidden;
  }

  .mv-usecases-section .mv-section-title {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 9px;
    text-align: center;
  }

  .mv-usecases-container {
    position: relative;
    max-width: 360px;
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .mv-usecases-slider-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .mv-usecases-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .mv-usecase-row,
  .mv-usecase-row:nth-child(even) {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .mv-usecase-img {
    order: -1;
    width: 100%;
    height: auto;
    max-height: 240px;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 12px;
  }

  .mv-usecase-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mv-usecase-text h3 {
    font-size: 16px;
    line-height: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #18191b;
  }

  .mv-usecase-text p {
    font-size: 14px;
    line-height: 26px;
    color: #000000cc;
    text-align: center;
    margin-bottom: 38px;
    max-width: 360px;
  }

  .mv-usecase-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .mv-tag {
    font-size: 14px;
    line-height: 20px;
    padding: 4px 8px;
    background: #f7f7fd;
    color: #1b1b25;
    border-radius: 20px;
  }

  .mv-btn-dark {
    display: inline-block;
    margin: 0 auto;
    font-size: 14px;
    line-height: 24px;
    padding: 10px 24px;
    border-radius: 12px;
  }

  /* Slider Navigation */
  .mv-slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto;
    z-index: 5;
  }

  .mv-slider-btn {
    pointer-events: auto;
    width: 64px;
    height: 64px;
    background-color: #333333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
      opacity 0.2s,
      background-color 0.2s;
  }

  .mv-slider-btn:hover {
    background-color: #222222;
  }

  .mv-slider-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
  }

  .mv-slider-btn.prev::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    margin-left: 4px;
  }

  .mv-slider-btn.next::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(45deg);
    margin-right: 4px;
  }

  /* Features section: 40px side padding on mobile */
  .features-wrapper .features-section {
    padding: 0 40px;
  }

  .mv-faq-section {
    padding: 40px 0;
    background: #ffffff;
  }

  .mv-faq-left h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    max-width: 100%;
  }

  .mv-faq-container {
    margin: 0 20px;
    gap: 24px;
  }

  .mv-faq-question {
    font-size: 16px;
    line-height: 24px;
  }

  .mv-faq-answer {
    font-size: 14px;
    line-height: 20px;
  }

  .mv-final-cta-section {
    padding: 40px 20px 80px 20px;
  }

  .mv-cta-container {
    width: 100%;
    margin: 0 auto;
  }

  .mv-final-cta-section h2 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .mv-final-cta-section p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .mv-cta-btn {
    min-width: 183px;
    gap: 19px;
    font-size: 16px;
  }

  .mv-play-icon-white {
    width: 13.5px;
    height: 15.59px;
    background-repeat: no-repeat;
    background-position: center;
  }
}
