/* Moonveil Studios Homepage Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

/* Reset and Base Styles */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: 'Jost', sans-serif;
  background-color: #000;
  color: #ecf8ff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  position: relative;
  padding-top: 120px;
}

main.main-content {
  flex: 1 0 auto;
  display: block;
}

/* Container */
.container {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1480px;
  width: 100%;
  box-sizing: border-box;
}

/* Header Styles */
header {
  background-color: #000;
  top: 0;
  padding-top: 20px;
  position: fixed;
  width: 100%;
  z-index: 1000;
  transform: translateY(0);
  z-index: 1000;
  padding-bottom: 20px;
}

header.scrolled {
  background-color: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Ensure mobile menu toggle is always visible above menu */
@media (max-width: 1280px) {
  header {
    z-index: 20;
  }

  .header-content {
    z-index: 20;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 50px;
  flex-wrap: nowrap;
  gap: 20px;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: min-height 0.3s ease;
}

/* Desktop layout: Logo left, Nav center, Actions right */
@media (min-width: 1281px) {
  .header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .logo__header {
    grid-column: 1;
  }

  .desktop-nav {
    grid-column: 2;
    justify-self: center;
  }

  .header-actions {
    grid-column: 3;
    justify-self: end;
  }
}

.logo {
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.logo__header {
  flex-shrink: 0;
  z-index: 101;
  position: relative;
  margin-top: -4px;
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

.desktop-nav {
  display: block;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  /* overflow: hidden; */
}

.mobile-nav {
  display: none;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 60px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #ecf8ff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-transform: capitalize;
  transition:
    color 0.3s ease,
    font-weight 0.3s ease,
    text-decoration 0.3s ease;
  white-space: nowrap;
}

/* Active menu item when scrolling */
nav a.active,
.desktop-nav li.current-menu-item > a {
  text-decoration: underline;
  text-underline-position: from-font;
}

nav a:hover,
.desktop-nav li a:hover {
  color: #0094fa;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  flex-shrink: 0;
  z-index: 101;
  position: relative;
}

.user-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.3s ease;
}

.user-icon:hover {
  filter: none;
}

.user-icon img {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.user-icon:hover img {
  filter: brightness(0) invert(1);
}

.cart-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: filter 0.3s ease;
}

.cart-icon:hover {
  filter: none;
}

.cart-icon img {
  width: 27px;
  height: 25px;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* .cart-icon:hover img {
  filter: brightness(0) invert(1);
} */

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  display: none;
  pointer-events: none;
}

.cart-count--visible {
  display: block;
}

.order-btn {
  color: #ecf8ff;
  padding: 13px 24px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18px;
  cursor: pointer;
  transition:
    all 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  white-space: nowrap;
  background: #0094fa;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  border: 1px solid transparent;
  text-decoration: none;
}

header.scrolled .order-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  margin: 0;
}

/* Order Services button states */
.order-btn:hover {
  background: #000;
  border: 1px solid #0094fa;
  color: #ecf8ff;
}

.order-btn:active {
  background: #000;
  border: 1px solid #0094fa;
  color: #0094fa;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 32px;
  height: 32px;
  position: relative;
  flex-shrink: 0;
  z-index: 10000;
}

.mobile-menu-toggle img {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mobile-menu-toggle .menu-icon.active {
  display: none;
}

.mobile-menu-toggle .close-icon.active {
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.hero .container {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 460px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  /* min-height: 460px; */
  overflow: hidden;
  border-radius: 10px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.4); */
  mix-blend-mode: multiply;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1360px;
  box-sizing: border-box;
  /* margin-bottom: 20px; */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
}

.hero-content--start {
  justify-content: flex-start;
}

.hero-content--center {
  justify-content: center;
}

.hero-content--end {
  justify-content: flex-end;
}

.hero-title {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 72px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-description {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2px;
  margin: 0 auto 19px;
  line-height: 1.45;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
  overflow-wrap: break-word;
}

.hero-description p {
  max-width: 783px;
  margin: 0 auto;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-btn {
  background-color: #0094fa;
  color: #ecf8ff;
  padding: 16px 40px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
  border: 1px solid transparent;
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-decoration: none;
}

.hero-btn:hover {
  background-color: #000;
  border: 1px solid #0094fa;
  color: #ecf8ff;
}

.hero-btn:active {
  background-color: #000;
  border: 1px solid #0094fa;
  color: #0094fa;
}

/* Services Section */
.services-wrapper {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  justify-content: center;
  box-sizing: border-box;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  overflow: visible;
}
.apple-logo {
  display: block;
  text-decoration: none;
}
.apple-logo.banner {
  margin-top: 20px;
}
@media (max-width: 1560px) {
  .services-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .service-card {
    width: 100%;
    max-width: 465px;
  }
}

.service-card {
  position: relative;
  border: 1px solid #0094fa;
  border-radius: 10px;
  height: 300px;
  overflow: hidden;
  width: 100%;
  max-width: 465px;
  box-sizing: border-box;
  transition:
    border-width 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  transform-origin: center;
  z-index: 1;
}

/* Service card as link (product link) */
a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Service card hover state */
.service-card:hover {
  border: 2px solid #0094fa;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
  z-index: 2;
}

.service-card:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
  border-radius: 10px;
  z-index: 1;
}

.service-card img,
.service-card video,
.service-card .service-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.service-title {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: center;
  width: calc(100% - 40px);
  max-width: 100%;
  padding: 0 20px;
  z-index: 2;
  box-sizing: border-box;
  overflow-wrap: break-word;
  transition: transform 0.3s ease;
}

.service-card:hover .service-title {
  transform: translateX(-50%) scale(0.909);
}

/* Before/After Section */
.before-after {
  position: relative;
  margin-top: 100px;
  text-align: left;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.section-title {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.25px;
  margin-bottom: 60px;
}

.before-after-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.before-after-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.toggle-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-transform: capitalize;
  color: #ecf8ff;
}

.toggle-switch {
  position: relative;
  width: 73px;
  height: 25px;
  background-color: transparent;
  border: 2px solid #0094fa;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  width: 16px;
  height: 15px;
  background-color: #0094fa;
  border-radius: 2px;
  transition: left 0.3s ease;
}

.toggle-switch.active {
  border: 2px solid #0094fa;
}

.toggle-switch.active::after {
  left: calc(100% - 21px);
  background-color: #0094fa;
}

.genre-buttons {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.genre-btn {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ecf8ff;
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.18px;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.genre-btn:hover {
  border-color: #0094fa;
  color: #0094fa;
}

.genre-btn.active {
  border-color: #0094fa;
  background-color: transparent;
}

.audio-player {
  margin-top: 50px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 2px;
}

.waveform-container {
  width: 100%;
  height: 104px;
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 100%;
  gap: 4px;
  position: relative;
  padding: 0 2px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Waveform bars - generated via JavaScript with audio frequency data */
.waveform-bar {
  flex-shrink: 0;
  background-color: #ffffff;
  width: 7px;
  min-width: 7px;
  max-width: 7px;
  border-radius: 0;
  transition: background-color 0.1s ease;
  height: 40px;
}

.waveform-bar.active {
  background-color: #0094fa;
}

/* Progress Slider Container - Grid Layout */
.progress-slider-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px 0;
  width: 100%;
  margin: 10px 0 50px;
  overflow: visible;
}

.progress-slider-container .progress-slider {
  grid-column: 1 / -1;
  grid-row: 1;
}

.progress-slider-container .time-start {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}

.progress-slider-container .time-end {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

.progress-slider {
  flex: 1;
  height: 16px;
  background-color: transparent;
  position: relative;
  cursor: pointer;
}

.progress-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.progress-fill {
  position: absolute;
  top: 6px;
  left: -1px;
  height: 3px;
  width: 0%;
  background-color: #0094fa;
  border-radius: 2px;
  transition: width 0.05s linear;
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #0094fa;
  border-radius: 50%;
  cursor: pointer;
  transition: box-shadow 0.1s ease;
  box-shadow: 0 0 5px rgba(0, 148, 250, 0.5);
}

.progress-handle:hover {
  box-shadow: 0 0 10px rgba(0, 148, 250, 0.8);
}

.progress-handle:active {
  box-shadow: 0 0 8px rgba(0, 148, 250, 0.7);
}

.time-display {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.14px;
  color: #ecf8ff;
  min-width: 40px;
  flex-shrink: 0;
  font-family: 'Jost', sans-serif;
}

.time-start {
  text-align: left;
}

.time-end {
  text-align: right;
}

/* Player Controls */
.player-controls {
  display: grid;
  grid-template-columns: minmax(50px, 1fr) auto minmax(138px, 1fr);
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.play-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  justify-self: start;
}

.play-btn svg {
  width: 100%;
  height: 100%;
}

/* Default state - blue circle with dark triangle */
.play-btn svg circle {
  fill: #0094fa;
  stroke: none;
  transition:
    fill 0.2s ease,
    stroke 0.2s ease;
}

.play-btn svg polygon,
.play-btn svg path {
  fill: #202336;
  transition: fill 0.2s ease;
}

/* Hover state - blue circle with white triangle */
.play-btn:hover svg circle {
  fill: #0094fa;
}

.play-btn:hover svg polygon,
.play-btn:hover svg path {
  fill: #ffffff;
}

/* Active/Click state - transparent with white border and white triangle */
.play-btn:active svg circle {
  fill: transparent;
  stroke: #ffffff;
  stroke-width: 1;
}

.play-btn:active svg polygon,
.play-btn:active svg path {
  fill: #ffffff;
}

.sample-btn {
  background-color: #0094fa;
  color: #ecf8ff;
  border: none;
  padding: 0 40px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.18px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.sample-btn:hover {
  background-color: #000;
  border: 1px solid #0094fa;
  color: #ecf8ff;
}

.sample-btn:active {
  background-color: #000;
  border: 1px solid #0094fa;
  color: #0094fa;
}

/* Sample Request Popup */
.sample-popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.sample-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sample-popup {
  background-color: #0a0a0a;
  border: 1px solid rgba(0, 148, 250, 0.3);
  border-radius: 8px;
  padding: 40px;
  max-width: 520px;
  width: calc(100% - 40px);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.sample-popup-overlay.active .sample-popup {
  transform: scale(1);
}

.sample-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #ecf8ff;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.sample-popup-close:hover {
  opacity: 1;
}

.sample-popup-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #ecf8ff;
  margin-bottom: 12px;
  padding-right: 40px;
}

.sample-popup-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(236, 248, 255, 0.85);
  margin-bottom: 28px;
}

.sample-popup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sample-popup-form .form-group {
  max-width: none;
  height: auto;
  /* Ensure labels and inputs are laid out clearly inside the popup */
  position: relative;
}

.sample-popup-form .form-group-textarea {
  height: auto;
}

.sample-popup-form .form-textarea {
  height: 100px;
  resize: vertical;
  min-height: 100px;
  padding-top: 12px;
}

.sample-popup-form .form-label {
  color: #000;
  top: 50%;
  transform: translateY(-50%);
}

.sample-popup-form .form-group-textarea .form-label {
  top: 16px;
  transform: none;
}

.sample-popup-form .form-input:focus ~ .form-label,
.sample-popup-form .form-input:not(:placeholder-shown) ~ .form-label {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}

.sample-popup-form .submit-btn {
  width: 100%;
  margin-top: 4px;
  /* Match primary blue buttons on site */
  background-color: #0094fa;
  border: 1px solid transparent;
  color: #ecf8ff;
  font-size: 18px;
  font-weight: 500;
}

.sample-popup-form .submit-btn:hover {
  background-color: #000;
  border-color: #0094fa;
  color: #ecf8ff;
}

.sample-popup-form .submit-btn:active {
  background-color: #000;
  border-color: #0094fa;
  color: #0094fa;
}

@media (max-width: 600px) {
  .sample-popup {
    padding: 28px 24px;
    margin: 20px;
  }

  .sample-popup-title {
    font-size: 22px;
  }

  .sample-popup-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  cursor: pointer;
  justify-self: end;
  padding: 0 6px;
}

.volume-icon {
  width: 28px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.volume-icon:hover {
  opacity: 0.8;
}

/* Hide all SVG icons by default */
.volume-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.volume-icon svg path,
.volume-icon svg line {
  fill: #0094fa;
  transition: fill 0.2s ease;
}

/* Show high volume icon by default (active state) */
.volume-icon.active .volume-icon-high {
  display: block;
}

/* Show low volume icon when volume is low */
.volume-icon.volume-low .volume-icon-low {
  display: block;
}

.volume-icon.volume-low .volume-icon-high,
.volume-icon.volume-low .volume-icon-muted {
  display: none;
}

/* Show muted icon when muted */
.volume-icon.muted .volume-icon-muted {
  display: block;
}

.volume-icon.muted .volume-icon-high,
.volume-icon.muted .volume-icon-low {
  display: none;
}

.volume-slider {
  width: 100px;
  height: 12px;
  background-color: transparent;
  position: relative;
  cursor: pointer;
}

.volume-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

/* Volume track when muted */
.volume-control.muted .volume-track {
  background-color: rgba(255, 255, 255, 0.3);
}

.volume-fill {
  position: absolute;
  top: 5px;
  left: 1px;
  height: 3px;
  width: 70%;
  background-color: #0094fa;
  border-radius: 2px;
  transition:
    width 0.1s ease,
    background-color 0.2s ease;
}

/* Volume fill when muted */
.volume-control.muted .volume-fill {
  width: 0%;
  background-color: rgba(0, 148, 250, 0.5);
}

/* Volume fill states based on level */
.volume-control.volume-low .volume-fill {
  background-color: #0094fa;
}

.volume-control.volume-medium .volume-fill {
  background-color: #0094fa;
}

.volume-control.volume-high .volume-fill {
  background-color: #0094fa;
}

.volume-handle {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: #0094fa;
  border-radius: 50%;
  cursor: pointer;
  transition:
    box-shadow 0.1s ease,
    left 0.1s ease,
    background-color 0.2s ease;
}

.volume-handle:hover {
  box-shadow: 0 0 5px rgba(0, 148, 250, 0.8);
}

/* Volume handle when muted */
.volume-control.muted .volume-handle {
  left: 0%;
}

/* Volume handle states based on level */
.volume-control.volume-low .volume-handle {
  background-color: #0094fa;
}

.volume-control.volume-medium .volume-handle {
  background-color: #0094fa;
}

.volume-control.volume-high .volume-handle {
  background-color: #0094fa;
}

/* About Engineer Section */
.about-engineer {
  margin-top: 100px;
  width: 100%;
  max-width: 100%;
}

.about-engineer .container {
  display: flex;
  align-items: flex-start;
  gap: 46px;
  justify-content: space-between;
}

.engineer-copy {
  flex: 1;
  min-width: 0;
}

.engineer-title {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0094fa;
  margin-bottom: 46px;
  line-height: 1.3;
}

.engineer-text {
  display: flex;
  flex-direction: column;
}

.engineer-name {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.25px;
  color: #ecf8ff;
  margin-bottom: 10px;
}

.engineer-line {
  width: 183px;
  height: 2px;
  background-color: #0094fa;
  margin-bottom: 30px;
}

.engineer-bio {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 25px;
  color: #ecf8ff;
}

.engineer-bio p {
  margin-bottom: 20px;
}

.engineer-bio p:last-child {
  margin-bottom: 0;
}

.engineer-photo {
  width: 465px;
  height: 489px;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
}

.engineer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials Section */
.testimonials {
  margin-top: 120px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.testimonials-swiper {
  margin-top: 86px;
  width: 100%;
  overflow: hidden;
}

.testimonials-swiper .swiper-wrapper {
  align-items: stretch;
}

.testimonials-swiper .swiper-slide {
  height: auto;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.nav-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 27px;
  min-width: 36px;
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.testimonials-nav .swiper-button-prev,
.testimonials-nav .swiper-button-next {
  position: static;
  margin: 0;
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
  display: none;
}

.nav-arrow:hover {
  opacity: 0.7;
}

.nav-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nav-prev img {
  transform: rotate(180deg);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  height: auto;
}

.stars {
  margin-bottom: 28px;
}

.stars img {
  width: 161px;
  height: 24px;
}

.testimonial-text {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.5;
  margin-bottom: 20px;
  width: 342px;
}

.testimonial-author {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-top: auto;
  margin-bottom: 5px;
  width: 342px;
}

.testimonial-location {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.2px;
  width: 342px;
  height: 28px;
}

/* Subscribe Section */
.subscribe {
  margin-top: 100px;
  padding: 60px 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  .subscribe {
    margin-top: 0;
  }
}

.subscribe-title {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 64px;
}

.subscribe-subtitle {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.5px;
  opacity: 0.8;
  margin-bottom: 35px;
  line-height: 36px;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.subscribe-form .form-group {
  position: relative;
  flex: 1 1 0;
  max-width: 464px;
  width: 100%;
  height: 48px;
}

.subscribe-form .submit-btn {
  flex: 1 1 0;
  max-width: 464px;
  width: 100%;
}

.subscribe-form .form-input:focus ~ .form-label,
.subscribe-form .form-input:not(:placeholder-shown) ~ .form-label {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}

/* Contact page: make message + submit full width and stacked */
.page-template-page-contact .subscribe-form .form-group {
  flex: 0 0 100%;
  max-width: 100%;
}

.page-template-page-contact .subscribe-form .form-group-textarea {
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
}

.page-template-page-contact .subscribe-form .form-textarea {
  min-height: 140px;
  height: 140px;
  resize: vertical;
}

.page-template-page-contact .subscribe-form .submit-btn {
  flex: 0 0 100%;
  max-width: 100%;
}

.form-input {
  width: 100%;
  height: 48px;
  background-color: #fff;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 16px;
  color: #000;
  font-family: 'Jost', sans-serif;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 148, 250, 0.3);
}

.form-input::placeholder {
  color: #9a9a9a;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.27px;
}

/* Filled field state */
.form-input:not(:placeholder-shown),
.form-input:focus:not(:placeholder-shown) {
  color: #000;
}

/* Unfilled field state */
.form-input:placeholder-shown {
  color: #9a9a9a;
}

.form-label {
  position: absolute;
  left: 11px;
  top: 10px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.27px;
  color: #000;
  pointer-events: none;
  z-index: 1;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.form-label.hidden {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}

.submit-btn {
  background-color: transparent;
  border: 1px solid #0094fa;
  color: #fff;
  padding: 14px 40px;
  border-radius: 5px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.44px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex: 1;
}
@media (max-width: 980px) {
  .submit-btn {
    width: 100%;
  }
}

/* Submit button states */
.submit-btn:hover {
  background-color: transparent;
  border: 1px solid #0094fa;
  color: #0094fa;
}

.submit-btn:active {
  background-color: #0094fa;
  border: 1px solid #0094fa;
  color: #fff;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form message styles */
.form-message {
  width: 100%;
  flex-basis: 100%;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

.form-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

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

/* Footer */
footer {
  margin-top: 60px;
  padding: 13px 0 40px;
  border-top: 1px solid #0094fa;
  position: relative;
  z-index: 1;
}

/* Footer Nav Menu */
.footer-nav {
  margin-bottom: 28px;
  justify-content: center;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 70px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-transform: capitalize;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #0094fa;
}

.footer-nav li.current-menu-item a {
  color: #fff;
  text-decoration: underline;
  text-underline-position: from-font;
  font-weight: 600;
}

.footer-nav a.highlight {
  color: #0094fa;
}

@media (max-width: 480px) {
  footer {
    margin-top: 0;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 68px;
  justify-items: center;
}

.logo__footer {
  position: static;
}

/* .logo__footer img {
  width: auto;
  height: auto;
} */

.footer-left,
.footer-center,
.footer-right {
  display: flex;
  align-items: center;
}

.footer-left {
  justify-content: flex-start;
  justify-self: start;
}

.footer-center {
  justify-content: center;
  justify-self: center;
}

.footer-right {
  justify-content: flex-end;
  justify-self: end;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #0094fa;
  border-radius: 5px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 40px;
  box-sizing: border-box;
  user-select: none;
}

.language-switcher:hover {
  background-color: transparent;
  border: 1px solid #0094fa;
}

.language-switcher.open .language-arrow {
  transform: rotate(180deg);
}

.language-switcher.open .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher.selected {
  background-color: #0094fa;
  border: 1px solid #0094fa;
}

.language-switcher.selected .language-arrow {
  transform: rotate(0deg);
}

.language-text {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.25px;
  color: #fff;
}

.language-arrow {
  width: 12px;
  height: 8px;
  transition: transform 0.3s ease;
}

.language-arrow path {
  stroke: #fff;
}

/* Language Dropdown */
.language-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background-color: #000;
  border: 1px solid #fff;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  overflow: hidden;
}

.language-dropdown:hover {
  border-color: #0094fa;
}

.language-option {
  display: block;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.25px;
  color: #fff;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.language-option:hover {
  border-color: #0094fa;
}

.social-icons {
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 28px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
  line-height: 0;
}

.social-icons a:hover {
  opacity: 0.8;
}

.social-icons a:active img,
.social-icons a:focus img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(100%) saturate(2000%)
    hue-rotate(200deg) brightness(1.2);
}

.social-icons a:focus-visible {
  outline: 2px solid #0094fa;
  outline-offset: 4px;
  border-radius: 6px;
}

.social-icons img {
  width: auto;
  height: 40px;
  display: block;
  transition: filter 0.2s ease;
}

.social-icon--email img {
  height: 38px;
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

/* Hide mobile-only elements on desktop */
.footer-meta-lang,
.footer-meta-socials {
  display: none;
}

.footer-bottom {
  text-align: center;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.25px;
  margin: 0;
  flex: 0 1 auto;
  grid-column: 2;
  justify-self: center;
}

.apple-digital-masters {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  grid-column: 3;
  justify-self: end;
  transform: translateY(-2px);
}

.apple-digital-masters img {
  display: block;
  width: 111px;
  height: 25px;
}

/* Waves Background */
.waves {
  position: absolute;
  left: -84px;
  right: 0;
  bottom: 0;
  height: 624px;
  width: 100%;
  min-height: 656px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .waves {
    display: none;
  }
}
.waves img {
  width: 100%;
  height: 100%;
}

/* Responsive Design */
@media (max-width: 1440px) {
  .container {
    padding: 0 120px;
  }

  .hero-bg {
    max-width: calc(100% - 240px);
  }

  .hero-content {
    max-width: 100%;
  }

  nav ul {
    gap: 30px;
  }
}

/* Logo shrinks at 1350px (was 1024px) */
@media (max-width: 1350px) {
  .logo__header {
    max-width: 150px;
  }

  .logo__header img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 80px;
  }

  .header-content {
    gap: 15px;
  }

  nav ul {
    gap: 25px;
  }

  nav a {
    font-size: 18px;
  }

  .order-btn {
    padding: 14px 32px;
    font-size: 16px;
  }

  .desktop-nav {
    flex: 0 1 auto;
  }

  /* About Engineer - Tablet */
  .about-engineer .container {
    gap: 40px;
  }

  .engineer-photo {
    width: 400px;
    height: 420px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 60px;
  }

  .hero-bg {
    max-width: calc(100% - 120px);
  }

  .hero-content {
    max-width: 100%;
  }

  .header-content {
    gap: 12px;
  }

  nav ul {
    gap: 20px;
  }

  nav a {
    font-size: 16px;
  }

  .order-btn {
    padding: 12px 28px;
    font-size: 15px;
  }

  .desktop-nav {
    flex: 0 1 auto;
    min-width: 0;
  }

  .services-wrapper {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card {
    width: 100%;
    max-width: 465px;
    margin: 0 auto;
  }

  .testimonials-swiper {
    width: 100%;
  }

  .testimonial-card {
    width: 100%;
    max-width: 342px;
    margin: 0 auto;
  }

  .testimonial-text,
  .testimonial-author,
  .testimonial-location {
    width: 100%;
  }

  .before-after-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .genre-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .sample-btn {
    width: 100%;
    margin: 10px 0;
  }

  .volume-control {
    margin-left: 0;
  }

  .engineer-title {
    font-size: 40px;
    line-height: 36px;
    margin-bottom: 30px;
  }

  .about-engineer .container {
    flex-direction: column;
    gap: 40px;
  }

  .engineer-name {
    font-size: 20px;
  }

  .engineer-bio {
    font-size: 18px;
    line-height: 24px;
  }

  .engineer-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 465 / 489;
    margin: 0 auto;
    order: unset;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form .form-group {
    width: 100%;
    max-width: 100%;
  }

  .subscribe-form .submit-btn {
    width: 100%;
    max-width: 100%;
  }
}

/* Mobile header: hamburger menu at 1280px (fixes menu breaking) */
@media (max-width: 1280px) {
  .header-content {
    display: flex;
    grid-template-columns: none;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    order: 1;
  }

  .logo__header {
    order: 2;
    flex: 1;
    justify-content: center;
    display: flex;
    flex-shrink: 0;
  }

  .header-actions {
    order: 3;
    gap: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: auto;
    min-width: auto;
    justify-content: flex-end;
  }

  .user-icon {
    display: none !important;
  }

  .cart-icon {
    flex-shrink: 0;
    margin-right: 0;
  }

  /* Mobile nav overlay - must work when hamburger is shown */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #000;
    z-index: 9999;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav.active {
    display: block;
  }

  .mobile-nav ul {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    padding: 80px 30px 30px;
    list-style: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  .mobile-nav li {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
  }

  .mobile-nav a {
    font-size: 24px;
    padding: 10px 0;
    margin: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    line-height: 1.5;
    text-decoration: none;
  }

  .mobile-nav a.active,
  .mobile-nav li.current-menu-item > a {
    color: #0094fa;
    text-decoration: underline;
    text-underline-position: from-font;
    font-weight: 600;
  }

  .mobile-nav-account {
    /* Match .mobile-nav ul horizontal padding so Account aligns with nav links */
    padding: 0 30px 40px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  .mobile-nav .user-dropdown-popup {
    position: static;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    box-shadow: none;
  }

  .mobile-nav .user-dropdown-popup::before {
    display: none;
  }

  .mobile-nav-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .mobile-nav-account-link:hover {
    opacity: 0.9;
    color: #ffffff;
  }

  .mobile-nav-waves {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    max-width: 60%;
    max-height: 60vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 30px;
  }

  .hero .container {
    padding: 0 30px;
    min-height: 650px;
  }

  .hero-bg {
    max-width: 100%;
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 0;
    /* min-height: 650px; */
  }

  .hero-content {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 60px);
    max-width: 100%;
  }

  header {
    padding-top: 30px;
  }

  .header-content {
    min-height: auto;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .logo__header {
    max-width: 120px;
    flex-shrink: 0;
  }

  .logo__header img {
    max-height: 40px;
    max-width: 100%;
  }

  .header-actions {
    flex-shrink: 0;
  }

  /* Ensure header elements don't overlap mobile menu */
  /* header {
    z-index: 100;
  } */

  /* When mobile menu is active, ensure all content stays below menu */
  .mobile-nav.active ~ * {
    z-index: 100;
  }

  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #000;
    z-index: 9999;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-waves {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    max-width: 60%;
    max-height: 60vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
  }

  .mobile-nav.active {
    display: block;
  }

  /* Mobile nav content wrapper */
  .mobile-nav ul {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    padding: 80px 30px 30px;
    list-style: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  .mobile-nav li {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
  }

  .mobile-nav a {
    font-size: 24px;
    padding: 10px 0;
    margin: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    line-height: 1.5;
    text-decoration: none;
  }

  .mobile-nav a.active,
  .mobile-nav li.current-menu-item > a {
    color: #0094fa;
    text-decoration: underline;
    text-underline-position: from-font;
    font-weight: 600;
  }

  .header-actions {
    gap: 16px;
    /* z-index: 20; */
  }

  /* Ensure close icon is visible when menu is open */
  .mobile-nav.active {
    z-index: 9999;
  }

  /* Mobile waves decoration */
  .mobile-nav-waves {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    max-width: 60%;
    max-height: 60vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
  }

  .order-btn {
    padding: 12px 20px;
    font-size: 14px;
    display: inline-flex;
  }

  .hero-title {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .hero-description p {
    margin-bottom: 10px;
  }

  .hero-btn {
    margin-bottom: 15px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 20px;
  }

  .service-title {
    font-size: 28px;
    bottom: 40%;
  }

  .subscribe-title {
    font-size: 36px;
  }

  .subscribe-subtitle {
    font-size: 20px;
  }

  /* Footer – tablet & mobile layout matching Figma design */

  footer .container {
    display: flex;
    flex-direction: column;
  }

  /* Logo at top center on mobile */
  .footer-content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .footer-left {
    display: none; /* Hide language switcher from this position */
  }

  .footer-center {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
  }

  .footer-logo img {
    max-width: 171px;
    height: auto;
  }

  .footer-right {
    display: none; /* Hide socials from this position */
  }

  /* Show footer nav on mobile */
  .footer-nav {
    display: block;
    order: 2;
    margin-bottom: 20px;
  }

  .footer-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    column-gap: 20px;
    row-gap: 0;
    justify-content: space-between;
    align-items: start;
    padding: 0;
    margin: 0;
  }

  /* Left column – main menu items (1-3) */
  .footer-nav li:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .footer-nav li:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-nav li:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  /* Right column – highlighted links (Account + File Upload Area) */
  .footer-nav li:nth-child(4) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .footer-nav li:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }

  .footer-nav li {
    text-align: left;
  }

  .footer-nav a {
    font-size: 16px;
    line-height: 23px;
    white-space: nowrap;
  }

  /* Footer meta row: EN | Apple logo | Socials */
  .footer-meta {
    order: 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 15px;
    margin-top: 10px;
  }

  /* Show mobile-only elements */
  .footer-meta-lang {
    display: flex;
    grid-column: 1;
    grid-row: 1;
  }

  .footer-meta-lang .language-switcher {
    padding: 5px 10px;
    height: 30px;
    gap: 6px;
  }

  .footer-meta-lang .language-text {
    font-size: 14px;
    font-weight: 700;
  }

  .footer-meta-lang .language-arrow {
    width: 7px;
    height: 11px;
    transform: rotate(-90deg);
  }

  .footer-meta-socials {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .footer-meta-socials .social-icons {
    gap: 12px;
  }

  .footer-meta-socials .social-icons img {
    height: 20px;
  }

  .footer-meta-socials .social-icon--email img {
    height: 18px;
  }

  /* Override hero apple-logo positioning for footer */
  footer .apple-logo,
  .footer-meta .apple-logo {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 0;
  }

  .footer-meta .apple-digital-masters {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    transform: translateY(-1px);
  }

  .footer-meta .apple-digital-masters img {
    width: 67px;
    height: 15px;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
    text-align: left;
    line-height: 1.4;
  }

  /* About Engineer - Mobile Layout */
  .about-engineer {
    margin-top: 60px;
  }

  .engineer-title {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 20px;
  }

  .about-engineer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Flatten layout on mobile so we can reorder photo between name and bio */
  .engineer-copy {
    display: contents;
  }

  .engineer-text {
    display: contents;
  }

  .engineer-name {
    font-size: 14px;
    order: 1;
  }

  .engineer-line {
    width: 102px;
    order: 2;
    margin-bottom: 15px;
  }

  .engineer-photo {
    width: 100%;
    max-width: 100%;
    height: 218px;
    order: 3;
    margin: 0 auto;
  }

  .engineer-bio {
    font-size: 16px;
    line-height: 20px;
    order: 4;
  }

  .engineer-bio p {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  header {
    padding: 20px 0 20px;
  }

  .header-content {
    gap: 21px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .logo__header {
    max-width: 180px;
    flex-shrink: 0;
  }

  .logo__header img {
    max-height: 35px;
    max-width: 100%;
  }

  .header-actions {
    flex-shrink: 0;
    gap: 21px;
  }

  .order-btn {
    padding: 8px;
  }

  .cart-icon img {
    width: 22px;
    height: 18px;
  }

  header.scrolled .order-btn {
    display: block;
    padding: 8px;
  }

  .mobile-menu-toggle {
    width: 28px;
    height: 28px;
    padding: 6px;
    flex-shrink: 0;
  }

  .mobile-nav {
    z-index: 9999;
  }

  .mobile-nav-waves {
    max-width: 70%;
    max-height: 50vh;
  }

  .mobile-nav ul {
    padding: 80px 20px 20px;
    gap: 30px;
  }

  .mobile-nav-account {
    padding-left: 20px;
    padding-right: 20px;
  }

  .engineer-line {
    margin-bottom: 0;
  }
  .engineer-name {
    margin-bottom: 5px;
  }
  .mobile-nav a {
    font-size: 20px;
    padding: 10px;
  }

  .services-wrapper {
    margin-top: 50px;
  }

  .hero {
    position: relative;
    margin-top: 0;
  }

  .hero .container {
    padding: 0;
    min-height: 286px;
  }

  .hero-bg {
    max-width: 100%;
    /* height: 286px; */
    /* min-height: 286px; */
    /* background-image: url(../images/main-gb.png); */
    background-position: 60% 70%;
  }

  .hero-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    position: absolute;
    top: 79px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 358px;
    padding: 0;
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 0.25px;
    margin: 0;
  }

  .hero-description {
    position: absolute;
    top: 141px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 376px;
    padding: 0;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0.16px;
    margin: 0;
  }

  .hero-btn {
    position: absolute;
    top: 234px;
    left: 50%;
    transform: translateX(-50%);
    width: 136px;
    height: 30px;
    padding: 0;
    font-size: 14px;
    line-height: 30px;
    font-weight: 500;
    letter-spacing: 0.14px;
  }

  .service-card {
    height: 204px;
  }

  /* Apple logo in hero section only */
  .hero .apple-logo {
    position: absolute;
    left: 17px;
    top: 11px;
    margin-top: 0;
  }

  .hero .apple-logo img {
    width: 56px;
    height: 12px;
  }

  /* About Engineer - Small Mobile */
  .about-engineer {
    margin-top: 40px;
  }

  .engineer-title {
    font-size: 25px;
    line-height: 30px;
  }

  .engineer-photo {
    height: auto;
    aspect-ratio: 400 / 218;
  }

  .engineer-bio {
    font-size: 16px;
    line-height: 20px;
  }
}

/* Responsive adjustments for Audio Player */
@media (max-width: 1024px) {
  .sample-btn {
    padding: 0 30px;
    font-size: 16px;
  }

  .waveform-bar {
    min-width: 5px;
    max-width: 5px;
    width: 5px;
  }

  .volume-slider {
    width: 80px;
  }
}

@media (max-width: 768px) {
  .before-after {
    margin-top: 60px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .before-after-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .before-after-toggle {
    align-self: center;
  }

  .genre-buttons {
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .genre-btn {
    padding: 6px 16px;
    font-size: 14px;
    height: 36px;
    min-width: auto;
  }

  .audio-player {
    margin-top: 20px;
  }

  .waveform-container {
    height: 80px;
  }

  .waveform-bar {
    min-width: 3px;
    max-width: 3px;
    width: 3px;
    gap: 2px;
  }

  .waveform {
    gap: 2px;
  }

  .progress-slider-container {
    margin: 10px 0 20px;
  }

  .progress-slider {
    height: 4px;
  }

  .progress-handle {
    width: 20px;
    height: 20px;
  }

  /* Mobile player controls layout */
  .player-controls {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
  }

  .player-controls .play-btn {
    order: 1;
  }

  .player-controls .volume-control {
    order: 2;
  }

  .player-controls .sample-btn {
    order: 3;
    width: 100%;
    margin-top: 10px;
  }

  .play-btn {
    width: 40px;
    height: 40px;
  }

  .time-display {
    font-size: 12px;
    min-width: 35px;
  }

  .sample-btn {
    padding: 0 24px;
    font-size: 14px;
    height: 45px;
  }

  .volume-slider {
    width: 160px;
  }

  /* Testimonials slider - 1 slide on mobile/tablet */
  .testimonials-swiper .swiper-slide {
    width: 100% !important;
  }

  .testimonial-card {
    width: 100%;
    max-width: 100%;
  }

  .testimonial-text {
    font-size: 16px;
    width: 100%;
  }

  .testimonial-author {
    font-size: 12px;
    width: 100%;
  }

  .testimonial-location {
    font-size: 12px;
    width: 100%;
  }
  .progress-fill {
    top: 1px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding-top: 82px;
  }
  .section-title {
    margin-bottom: 0;
    font-size: 25px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .genre-btn {
    padding: 4px 12px;
    font-size: 12px;
    height: 32px;
  }

  .toggle-label {
    font-size: 14px;
  }

  .toggle-switch {
    width: 60px;
    height: 22px;
  }

  .waveform-bar {
    min-width: 2px;
    max-width: 2px;
    width: 2px;
  }

  .waveform {
    gap: 1px;
  }

  .sample-btn {
    padding: 0 20px;
    font-size: 13px;
    height: 42px;
  }
  .testimonials {
    margin-top: 50px;
  }
  .testimonials-swiper {
    margin-top: 30px;
  }

  /* Testimonials slider - ensure 1 slide on mobile */
  .testimonials-swiper .swiper-slide {
    width: 100% !important;
  }

  .testimonial-card {
    width: 100%;
    max-width: 100%;
  }

  .testimonial-text,
  .testimonial-author,
  .testimonial-location {
    width: 100%;
    max-width: 100%;
  }

  /* Subscribe form - mobile styles matching Figma */
  .subscribe {
    margin: 0;
    padding: 40px 0;
  }

  .subscribe-title {
    font-size: 25px;
    line-height: 64px;
    margin-bottom: 0;
  }

  .subscribe-subtitle {
    font-size: 14px;
    line-height: 36px;
    margin-bottom: 20px;
  }

  .subscribe-form {
    flex-direction: column;
    gap: 10px;
  }

  .subscribe-form .form-group {
    width: 100%;
    max-width: 100%;
    height: 30px;
  }

  .form-input {
    height: 30px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 30px;
    border-radius: 5px;
  }

  .form-label {
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    left: 10px;
  }

  .submit-btn {
    width: 100%;
    height: 30px;
    padding: 0;
    font-size: 14px;
    line-height: 28px;
  }

  .footer {
    padding: 20px 0 40px;
    margin: 0;
  }
  .page-template-page-contact .subscribe-form {
    gap: 20px;
  }
}
