/* ==========================================================================
   SECTION 10 — FINAL CTA: CINEMATIC VEHICLE SHOWCASE
   Background: High-resolution cinematic render of E-DADDY electric van and
   X7 motorcycle on glowing curved highway with Dubai skyline sunset and
   illuminated brand chevrons.
   ========================================================================== */

.tbx-s10 {
  position: relative;
  background-color: #050606;
  min-height: clamp(620px, 86vh, 920px);
  display: flex;
  align-items: center;
  padding: clamp(5rem, 8vh, 7.5rem) 0;
  overflow: hidden;
}

/* Background image layer */
.tbx-s10-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.tbx-s10-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform-origin: right center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Atmospheric legibility overlay on the left, keeping vehicles and city on right razor-sharp & vibrant */
.tbx-s10-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #050606 0%, transparent 5%),
    linear-gradient(0deg, #0A0B0D 0%, rgba(10, 11, 13, 0.85) 7%, transparent 24%),
    linear-gradient(90deg, rgba(5, 6, 6, 0.96) 0%, rgba(5, 6, 6, 0.88) 32%, rgba(5, 6, 6, 0.15) 50%, transparent 62%);
  pointer-events: none;
}

.tbx-s10-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.tbx-s10-content {
  position: relative;
  z-index: 3;
}

.tbx-s10-headline {
  font-family: 'Venera', 'Venara', sans-serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.7vw, 2.85rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.tbx-s10-line {
  display: block;
  overflow: hidden;
}

.tbx-s10-line > * {
  display: inline-block;
}

.tbx-s10-headline .tbx-s10-line {
  opacity: 0;
  transform: translateY(100%);
}

.tbx-s10-line--accent {
  color: #C58A4B;
  background: linear-gradient(90deg, #e0916a, #f5be98 55%, #e0916a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tbx-s10-desc {
  margin-top: 1.1rem;
  color: #cfc7c2;
  font-family: var(--font-lausanne, 'Lausanne', sans-serif);
  font-size: clamp(0.95rem, 1vw, 1.1rem);
  line-height: 1.65;
  max-width: 36rem;
  opacity: 0;
  transform: translateY(16px);
  text-wrap: pretty;
}

.tbx-s10-ctas {
  margin-top: 1.85rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tbx-s10-cta-primary,
.tbx-s10-cta-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0.6rem 0.85rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(10px);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tbx-s10-cta-primary {
  color: #0D0F12;
  background: #fff;
  padding-right: 0.4rem;
}

.tbx-s10-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.tbx-s10-cta-arrow {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #C58A4B;
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease;
}

.tbx-s10-cta-primary:hover .tbx-s10-cta-arrow {
  background: #B3856D;
  transform: translateX(2px);
}

.tbx-s10-cta-arrow svg {
  width: 1rem;
  height: 1rem;
}

.tbx-s10-cta-secondary {
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: 0.85rem 1.6rem;
  background: rgba(18, 20, 24, 0.28);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.35);
}

.tbx-s10-cta-secondary::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 38%, transparent 62%);
  pointer-events: none;
}

.tbx-s10-cta-secondary > * {
  position: relative;
  z-index: 1;
}

.tbx-s10-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.tbx-s10-indicators {
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-start;
}

.tbx-s10-indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0 1.25rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #D1D5DB;
  opacity: 0;
  transform: translateY(10px);
}

.tbx-s10-indicator:first-child {
  padding-left: 0;
}

.tbx-s10-indicator + .tbx-s10-indicator {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.tbx-s10-indicator svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  color: #C58A4B;
}

/* Stage placeholder to keep the grid balanced and vehicle area open */
.tbx-s10-stage {
  min-height: 420px;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .tbx-s10 {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }

  .tbx-s10-inner {
    grid-template-columns: 1fr;
  }

  .tbx-s10-stage {
    min-height: 280px;
    order: -1;
  }

  .tbx-s10-bg-img {
    object-position: center top;
  }

  .tbx-s10-bg-overlay {
    background:
      linear-gradient(180deg, #050606 0%, transparent 12%, rgba(5, 6, 6, 0.85) 45%, rgba(8, 9, 11, 0.8) 88%, #0A0B0D 100%);
  }

  .tbx-s10-indicators {
    flex-wrap: wrap;
    gap: 1rem 0;
  }
}

@media (max-width: 640px) {
  .tbx-s10-indicators {
    flex-direction: column;
    gap: 1rem;
  }

  .tbx-s10-indicator + .tbx-s10-indicator {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tbx-s10-bg-img {
    transform: none !important;
    transition: none !important;
  }

  .tbx-s10-headline .tbx-s10-line,
  .tbx-s10-desc,
  .tbx-s10-cta-primary,
  .tbx-s10-cta-secondary,
  .tbx-s10-indicator {
    opacity: 1 !important;
    transform: none !important;
  }
}
