.hero-section {
  padding: 56px 24px 24px;
}

.hero-grid {
  gap: 1.5rem;
  align-items: center;
}

.hero-visual {
  justify-self: start;
  align-self: center;
  transform: translate(-12px, 10px);
}

.hero-visual img {
  object-position: left center;
}

.hero-copy {
  padding-top: 0.25rem;
}

.hero-copy .tagline {
  margin-bottom: 0.7rem;
}

.hero-copy .display-4 {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.85rem !important;
}

.hero-copy .p {
  margin-bottom: 1rem;
}

.hero-client-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.hero-client-label {
  color: #c5cad6;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-client-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-client-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-client-btn i {
  font-size: 0.9rem;
}

body.lang-ar .hero-client-actions {
  align-items: flex-end;
}

body.lang-ar .hero-client-buttons {
  direction: rtl;
  justify-content: flex-end;
}

body.lang-ar .hero-client-btn {
  unicode-bidi: plaintext;
}

.product-hero .hero-visual {
  min-height: 360px;
}

.product-hero .autocar-hero-visual img {
  object-fit: contain;
  background: #f8fafc;
}

.product-hero .hero-copy h1 {
  color: var(--nx-white);
}

.product-hero .hero-copy .p {
  color: #c5cad6;
  font-size: 1.05rem;
  line-height: 1.75;
}

.product-hero .btn {
  min-width: 168px;
}

.autocar-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-hero + .section-padding .feature-card {
  min-height: 250px;
}

.product-hero + .section-padding .feature-icon i {
  font-size: 1.1rem;
}

.section-padding {
  padding: 64px 0;
}

.section-title h2 {
  margin-bottom: 0.65rem;
}

.section-title + .stacked-cards {
  margin-top: 1.25rem;
}

#personas .d-flex.mb-4,
#solutions .section-title,
#features .section-title,
#devices .section-title {
  margin-bottom: 2.5rem !important;
}

#solutions .autocar-home-visual {
  object-fit: contain;
  background: #f8fafc;
}

.feature-showcase {
  margin-bottom: 1.5rem;
}

.autocar-preview-section {
  background: radial-gradient(circle at top left, rgba(255, 102, 0, 0.11), transparent 34%), #0f1115;
}

.autocar-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.autocar-preview-card {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--nx-shadow-lg);
  overflow: hidden;
}

.autocar-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 12px;
  background: #f8fafc;
}

.autocar-preview-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 4px 2px;
}

.autocar-preview-card figcaption span {
  color: var(--nx-white);
  font-weight: 700;
}

.autocar-preview-card figcaption small {
  color: #c5cad6;
  line-height: 1.6;
}

.autocar-video-section {
  background: radial-gradient(circle at top left, rgba(255, 102, 0, 0.11), transparent 34%), #0f1115;
}

.autocar-video-shell {
  max-width: 980px;
  margin: 0 auto;
}

.autocar-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--nx-shadow-lg);
}

.autocar-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.autocar-solution-visual {
  height: 300px;
  object-fit: contain;
  background: #f8fafc;
}

.stats-section {
  padding: 64px 0;
}

.cta-section {
  padding: 56px 0 80px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 28px 20px 20px;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-visual {
    transform: none;
  }

  .section-padding,
  .stats-section {
    padding: 52px 0;
  }

  .cta-section {
    padding: 48px 0 64px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy .display-4 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.12;
  }

  .hero-client-buttons,
  .hero-client-btn {
    width: 100%;
  }

  .hero-client-btn {
    white-space: normal;
  }

  .product-hero .hero-visual {
    min-height: 280px;
  }

  .product-hero .btn {
    width: 100%;
  }

  .autocar-preview-grid {
    grid-template-columns: 1fr;
  }

  .autocar-preview-card {
    padding: 10px;
    border-radius: 14px;
  }

  .autocar-preview-card img {
    aspect-ratio: 4 / 3;
  }

  .autocar-video-frame {
    border-radius: 14px;
  }

  .autocar-solution-visual {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  #personas .d-flex.mb-4,
  #solutions .section-title,
  #features .section-title,
  #devices .section-title {
    margin-bottom: 2rem !important;
  }
}
