:root {
  --navy: #0A1744;
  --navy-light: #182860;
  --orange: #FF7A59;
  --orange-light: #FF9C7D;
  --white: #FFFFFF;
  --light-gray: #F5F5F7;
  --error-red: #dc3545;
  --success-green: #28a745;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

p {
  margin-bottom: 1.5rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--orange-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--navy);
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  z-index: 1002;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
  background-color: rgba(10, 23, 68, 0.95);
  padding: clamp(0.5rem, 1.5vw, 1rem) 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--white);
}

.logo-text span {
  color: var(--orange);
  transition: color 0.3s ease;
}

a.logo:hover .logo-text span {
  color: var(--orange-light);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
  z-index: 1003;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: clamp(1rem, 3vw, 2rem);
}

nav ul li a {
  color: var(--white);
  font-weight: 600;
  position: relative;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.hero {
  padding: clamp(8rem, 15vw, 10rem) 0 clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--orange);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.2rem, 3vw, 1.8rem);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-align: center;
  min-width: 150px;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white) !important;
}

.btn-primary:hover {
  background-color: var(--orange-light);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(255, 122, 89, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(255, 255, 255, 0.2);
}

.hero-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.1) 0%, rgba(255, 122, 89, 0.2) 100%);
  z-index: 0;
}

.features,
.how-it-works,
.pricing-preview,
.testimonials,
.pricing-section,
.samples-section,
.sample-request-section,
.legal-section,
.faq-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--orange);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.feature-card {
  background-color: var(--navy-light);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background-color: var(--orange);
  opacity: 0.2;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s ease;
}

.feature-card:hover::before {
  transform: scale(7);
  opacity: 0.1;
}

.feature-icon {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
}

.how-it-works {
  background-color: var(--navy-light);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  position: relative;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 0 auto 1.5rem;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  right: 0;
  width: calc(50% - 25px);
  height: 2px;
  background-color: var(--orange);
}

.step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  width: calc(50% - 25px);
  height: 2px;
  background-color: var(--orange);
}

.pricing-preview {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.pricing-cta {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.pricing-section {
  padding: clamp(8rem, 15vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
}

.pricing-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.pricing-card {
  background-color: var(--navy-light);
  border-radius: 15px;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  width: clamp(280px, 30vw, 300px);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
  border: 2px solid var(--orange);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 15px;
  right: -25px;
  background: var(--orange);
  color: white;
  font-size: 0.8rem;
  padding: 5px 25px;
  transform: rotate(45deg);
  font-weight: 600;
}

.pricing-name {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.pricing-languages {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  opacity: 0.7;
}

.pricing-description {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--orange);
  position: absolute;
  left: 0;
}

.pricing-calculation {
  margin-top: clamp(3rem, 6vw, 4rem);
  background-color: var(--navy-light);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: 15px;
}

.pricing-footnote {
  text-align: center; 
  margin-top: 2rem;   
  font-size: clamp(0.8rem, 1.5vw, 0.9rem); 
  color: rgba(255, 255, 255, 0.7); 
  max-width: 600px; 
  margin-left: auto; 
  margin-right: auto;
  padding: 0 1rem; 
}

.calculation-title {
  margin-bottom: 2rem;
  text-align: center;
}

.calculation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calculation-row:last-child {
  border-bottom: none;
}

.calculation-row.highlight {
  font-weight: 700;
  color: var(--orange);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.testimonials {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background-color: var(--navy-light);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.testimonial-quote {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-position {
  color: var(--orange);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--orange);
}

.faq-section {
  background-color: var(--navy-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 1rem;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.samples-section {
  padding: clamp(8rem, 15vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
}

.samples-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.samples-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  padding-top: clamp(8rem, 15vw, 10rem);
}

.audio-samples {
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  min-height: auto;
}

.original-column {
  position: sticky;
  top: 120px;
  height: fit-content;
  align-self: start;
}

.translations-column {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.sample-card {
  background-color: var(--navy-light);
  border-radius: 15px;
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(1rem, 2vw, 2rem);
  transition: all 0.3s ease;
}

.sample-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sample-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sample-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.sample-language {
  background-color: var(--orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.sample-description {
  margin-bottom: 1.5rem;
}

.flag-icon {
  width: clamp(80px, 15vw, 120px);
  height: clamp(53px, 10vw, 80px);
  margin-right: 10px;
  border: none;
  object-fit: cover;
}

.audio-container {
  background: var(--navy-light);
  border-radius: 12px;
  padding: clamp(1rem, 2vw, 1.5rem);
  margin-top: 1rem;
}

.audio-player {
  width: 100%;
  margin-bottom: 1rem;
}

.audio-visualizer {
  width: 100%;
  height: clamp(40px, 8vw, 60px);
  background-color: rgba(255, 122, 89, 0.1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audio-visualizer.visible {
  opacity: 1;
}

.visualizer {
  height: clamp(60px, 12vw, 80px);
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 1rem;
  padding: 0 5px;
  border-radius: 8px;
  background: rgba(255, 122, 89, 0.1);
}

.visualizer-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  padding: 0 5px;
}

.viz-bar {
  flex: 1;
  background: var(--orange);
  transition: height 0.1s ease;
  min-height: 2px;
  border-radius: 2px 2px 0 0;
}

.bar {
  width: 3px;
  background-color: var(--orange);
  border-radius: 3px 3px 0 0;
  animation: visualize 1.3s infinite ease-in-out;
}

@keyframes visualize {
  0%, 100% {
      height: 15%;
  }
  50% {
      height: 70%;
  }
}

.player-controls {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  margin-top: 1rem;
}

.play-btn {
  width: clamp(35px, 8vw, 40px);
  height: clamp(35px, 8vw, 40px);
  border-radius: 50%;
  background: var(--orange);
  border: none;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
  font-size: clamp(0.8rem, 2vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn:hover {
  background: var(--orange-light);
}

.progress-container {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--orange);
  width: 0%;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: 0;
  right: 0;
  z-index: 2;
}

.time-display {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--orange);
  min-width: clamp(40px, 8vw, 60px);
  text-align: right;
}

.sample-request-section {
  padding: clamp(8rem, 15vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
}

.sample-request-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
}

.request-process {
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  counter-reset: step;
}

.process-step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(35px, 7vw, 40px);
  height: clamp(35px, 7vw, 40px);
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1rem;
}

.sample-form-container {
  background-color: var(--navy-light);
  border-radius: 15px;
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 700px;
  margin: 0 auto;
}

.direct-email {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  background-color: rgba(255, 122, 89, 0.1);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.mail-icon {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  margin-bottom: 1rem;
}

.email-address {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-input,
.form-select {
  width: 100%;
  padding: clamp(0.6rem, 2vw, 0.8rem) clamp(0.8rem, 2vw, 1rem);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--orange);
  background-color: rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input.error,
.form-select.error {
  border-color: var(--error-red);
  background-color: rgba(220, 53, 69, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 1rem) center;
  padding-right: 2.5rem;
}

.form-select option {
  color: var(--navy);
  background-color: var(--white);
}

.form-select:hover,
.form-select:focus {
  border-color: var(--orange);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.form-file {
  display: block;
  margin-top: 0.5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-top: 0.3rem;
}

.form-btn {
  width: 100%;
  padding: clamp(0.8rem, 2vw, 1rem);
  border-radius: 5px;
  background-color: var(--orange);
  color: var(--white);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-btn:hover {
  background-color: var(--orange-light);
  color: var(--white); 
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: clamp(0.5rem, 1vw, 0.75rem);
  margin: 1rem 0;
}

.language-grid.error {
  border: 2px solid var(--error-red);
  border-radius: 8px;
  padding: 1rem;
}

.language-grid input[type="checkbox"] {
  display: none;
}

.language-btn {
  display: block;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.6rem, 1.5vw, 1rem);
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  user-select: none;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.language-btn:hover {
  background-color: rgba(255, 122, 89, 0.2);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 89, 0.2);
}

.language-grid input[type="checkbox"]:checked + .language-btn {
  background-color: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  font-weight: 600;
}

.language-grid input[type="checkbox"]:checked + .language-btn:hover {
  background-color: var(--orange-light);
  border-color: var(--orange-light);
}

.audio-file-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.audio-file-input-wrapper .form-file {
  flex-grow: 1;
  min-width: 200px;
}

.remove-file-btn {
  background-color: var(--error-red);
  color: white;
  border: none;
  border-radius: 4px;
  padding: clamp(6px, 1.5vw, 8px) clamp(8px, 2vw, 12px);
  cursor: pointer;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1;
  transition: background-color 0.2s ease;
}

.remove-file-btn:hover {
  background-color: #c82333;
}

.btn-add {
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  padding: clamp(8px, 2vw, 10px) clamp(12px, 2.5vw, 15px);
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.btn-add:hover {
  background-color: #5a6268;
}

.btn-small {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  padding: clamp(6px, 1.5vw, 8px) clamp(8px, 2vw, 12px);
}

.success-modal,
.error-modal,
.validation-error-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.success-modal.show,
.error-modal.show,
.validation-error-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--navy-light);
  border-radius: 15px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.success-modal.show .modal-content,
.error-modal.show .modal-content,
.validation-error-modal.show .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header i {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.modal-content.success .modal-header i {
  color: var(--success-green);
}

.modal-content.error .modal-header i,
.modal-content.validation-error .modal-header i {
  color: var(--error-red);
}

.modal-header h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.modal-body {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.modal-body p {
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.modal-body ul {
  margin: 1rem 0;
  padding-left: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
  color: var(--error-red);
}

.request-id {
  background-color: rgba(255, 122, 89, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--orange);
}

.request-summary {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.request-summary h4 {
  margin-bottom: 0.5rem;
  color: var(--orange);
}

.request-summary ul {
  list-style: none;
  padding: 0;
}

.request-summary li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.request-summary li:last-child {
  border-bottom: none;
}

.modal-footer {
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-progress-container {
  margin: 1rem 0;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.upload-progress-fill {
  height: 100%;
  background-color: var(--orange);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 4px;
}

.upload-progress-text {
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.upload-progress-details {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  opacity: 0.8;
}

.legal-section {
  padding: clamp(8rem, 15vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
}

.legal-content {
  background-color: var(--navy-light);
  border-radius: 15px;
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.legal-section h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.legal-section h2:first-child {
  margin-top: 0;
}

.legal-section h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section p {
  margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-section a {
  color: var(--orange);
  text-decoration: underline;
}

.legal-section a:hover {
  color: var(--orange-light);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.legal-links a {
  padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1rem, 2vw, 1.5rem);
  background-color: var(--navy-light);
  border-radius: 5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.legal-links a:hover {
  background-color: var(--orange);
  color: var(--white);
}

.cta-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--orange);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

footer {
  background-color: var(--navy);
  padding: clamp(3rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-column h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--orange);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: var(--white);
  opacity: 0.8;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--orange);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--orange);
  transform: translateY(-3px);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-shape {
    width: 50%;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .original-column {
    position: static;
    margin-bottom: 2rem;
  }
  
  .translations-column {
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 992px) {
  .step:not(:last-child)::after,
  .step:not(:first-child)::before {
      display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--navy);
    padding: 5rem 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 1rem 0;
    margin-left: 0;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    min-width: 200px;
  }
  
  .hero-shape {
    display: none;
  }
  
  .steps {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .sample-form-container {
    padding: clamp(1rem, 3vw, 1.5rem);
  }
  
  .sample-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .audio-file-input-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .audio-file-input-wrapper .form-file {
    min-width: auto;
    margin-bottom: 0.5rem;
  }
  
  .language-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
    gap: 0.5rem;
  }
  
  .language-btn {
    padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(0.6rem, 1.5vw, 0.8rem);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }
  
  .btn {
    min-width: 100%;
  }
  
  .player-controls {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .progress-container {
    order: 3;
    flex-basis: 100%;
    margin-top: 0.5rem;
  }
  
  .language-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.3rem;
  }
  
  .language-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
}

@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/playfair-display-v39-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/playfair-display-v39-latin-700.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/montserrat-v30-latin-300.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v30-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v30-latin-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v30-latin-700.woff2') format('woff2');
}
