/* Customers Page Styles */

/* Hero Section */
.customers-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  padding: 140px 40px 100px;
}

/* Animated dot grid background */
.customers-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 50px 50px;
  opacity: 1;
  animation: gridMove 25s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.customers-hero-content {
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.customers-hero-title {
  font-family: 'Inter Tight', 'Inter', -apple-system, system-ui, sans-serif;
  font-size: clamp(2rem, 5vw + 0.5rem, 4.8rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 auto;
  color: #fff;

  /* ✨ Crucial fixes for long translated text */
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  hyphens: auto;
  max-width: min(90%, 950px);
}

.customers-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 700px;
}

/* Fix for hero title overflow on smaller widths / long translations */
.customers-hero-content {
  width: 100%;
  max-width: 90vw;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

.customers-hero-title {
  display: inline-block; /* prevent flex from forcing it too wide */
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 auto;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100%;
  width: auto;
  hyphens: auto;
  box-sizing: border-box;
}

/* Tablet/Medium screens */
@media (max-width: 968px) {
  /* clamp() handles responsive sizing */
}

/* Mobile styles for hero */
@media (max-width: 640px) {
  .customers-hero {
    min-height: 100dvh;
    padding: 120px 24px 120px;
  }

  /* Make hero title BIGGER on mobile */
  .customers-hero-title {
    font-size: 2.8rem !important;
  }

  .customers-hero-subtitle {
    font-size: 18px;
  }
}

/* How to Book Section */
.customers-how-section {
  background: #000;
  padding: 120px 40px;
  position: relative;
}

.customers-how-container {
  max-width: 1400px;
  margin: 0 auto;
}

.customers-how-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.customers-how-title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin: 0;
}

.customers-how-tagline {
  font-family: 'Inter Tight', sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 600px;
}

.customers-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  column-gap: 0;
  row-gap: 0;
}

.customers-how-item {
  position: relative;
  background: transparent;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  padding: 32px;
  transition: all 0.3s ease;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.customers-how-item:hover {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(30, 30, 30, 0.3);
}

.customers-how-item::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  background:
    radial-gradient(circle, #fff 4px, transparent 4px) 0 0 / 8px 8px no-repeat,
    radial-gradient(circle, #fff 4px, transparent 4px) 100% 0 / 8px 8px no-repeat,
    radial-gradient(circle, #fff 4px, transparent 4px) 0 100% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 4px, transparent 4px) 100% 100% / 8px 8px no-repeat;
  pointer-events: none;
}

.customers-how-item:hover::before {
  opacity: 1;
}

.customers-how-name {
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.customers-how-description {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Mobile styles for how to book */
@media (max-width: 640px) {
  .customers-how-section {
    padding: 80px 24px;
  }

  .customers-how-title {
    font-size: 12px;
    justify-content: center;
  }

  .customers-how-header {
    text-align: center;
  }

  .customers-how-tagline {
    font-size: 32px;
  }

  .customers-how-grid {
    grid-template-columns: 1fr;
  }

  .customers-how-item::before {
    opacity: 0.4;
  }

  .customers-how-item {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(30, 30, 30, 0.2);
  }
}

/* Supported Platforms Section */
.customers-platforms-section {
  background: #000;
  padding: 120px 40px;
  position: relative;
}

.customers-platforms-container {
  max-width: 1400px;
  margin: 0 auto;
}

.customers-platforms-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.customers-platforms-title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin: 0;
}

.customers-platforms-tagline {
  font-family: 'Inter Tight', sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 600px;
}

.customers-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  column-gap: 0;
  row-gap: 0;
}

.customers-platform-item {
  position: relative;
  background: transparent;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  padding: 32px;
  transition: all 0.3s ease;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.customers-platform-item:hover {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(30, 30, 30, 0.3);
}

.customers-platform-item::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  background:
    radial-gradient(circle, #fff 4px, transparent 4px) 0 0 / 8px 8px no-repeat,
    radial-gradient(circle, #fff 4px, transparent 4px) 100% 0 / 8px 8px no-repeat,
    radial-gradient(circle, #fff 4px, transparent 4px) 0 100% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 4px, transparent 4px) 100% 100% / 8px 8px no-repeat;
  pointer-events: none;
}

.customers-platform-item:hover::before {
  opacity: 1;
}

.customers-platform-description {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Mobile styles for platforms */
@media (max-width: 640px) {
  .customers-platforms-section {
    padding: 80px 24px;
  }

  .customers-platforms-title {
    font-size: 12px;
    justify-content: center;
  }

  .customers-platforms-header {
    text-align: center;
  }

  .customers-platforms-tagline {
    font-size: 32px;
  }

  .customers-platforms-grid {
    grid-template-columns: 1fr;
  }

  .customers-platform-item::before {
    opacity: 0.4;
  }

  .customers-platform-item {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(30, 30, 30, 0.2);
  }
}

/* FAQ Section */
.customers-faq-section {
  background: #000;
  padding: 120px 40px;
}

.customers-faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.customers-faq-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
  margin: 0 0 60px 0;
}

/* Mobile styles for FAQ */
@media (max-width: 640px) {
  .customers-faq-section {
    padding: 80px 24px;
  }

  .customers-faq-title {
    font-size: 32px;
  }
}

/* Create Account Banner */
.customers-banner {
  background: #000;
  padding: 0 40px 120px;
}

.customers-banner-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%),
    url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?w=1200&h=600&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.customers-banner-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.customers-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.customers-banner-content h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.customers-banner-content p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 600px;
}

.customers-banner-cta {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  background: #fff;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.customers-banner-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Mobile styles for banner */
@media (max-width: 640px) {
  .customers-banner {
    padding: 0 24px 80px;
  }

  .customers-banner-wrapper {
    padding: 60px 32px;
    border-radius: 12px;
  }

  .customers-banner-content h2 {
    font-size: 36px;
  }

  .customers-banner-content p {
    font-size: 16px;
  }

  .customers-banner-cta {
    width: 100%;
    max-width: 300px;
  }
}
