/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(219, 69%, 56%);
  --first-color-alt: hsl(219, 69%, 52%);
  --title-color: hsl(219, 8%, 95%);
  --text-color: hsl(219, 8%, 75%);
  --text-color-light: hsl(219, 4%, 55%);
  --white-color: #fff;
  --body-color: hsl(219, 4%, 4%);
  --container-color: hsl(219, 4%, 7%);
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Avenir Next", "Segoe UI", sans-serif;
  --mercedes-font: "Times New Roman", Times, serif;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

.form-status--demo {
  color: hsl(219, 69%, 71%);
  background: hsla(219, 69%, 52%, .1);
}



/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  text-align: center;
  margin-bottom: 2.5rem;
}

.main {
  overflow: hidden;
}

.shape {
  background-color: rgba(55, 74, 109, 0.5);
  filter: blur(112px);
  border-radius: 50%;
}

.shape__big {
  width: 400px;
  height: 400px;
}

.shape__small {
  width: 300px;
  height: 300px;
}

.shape__smaller {
  width: 180px;
  height: 180px;
  filter: blur(64px);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo, .nav__toggle {
  color: var(--title-color);
  display: inline-flex;
}

.nav__logo-img {
    max-width: 150px; /* Adjust the size */
    height: auto; /* Maintain aspect ratio */
}

.nav__logo {
  align-items: center;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8); /* Shadow subtil */
  column-gap: .25rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav__logo i {
  font-size: 1.25rem;
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  font-size: 1.25rem;
  cursor: pointer;
}

.nav__toggle,
.nav__close {
  border: 0;
  padding: 0;
  background: transparent;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.1);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(96px);
    transition: .3s;
  }
}

.nav__list {
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8); /* Shadow subtil */
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 3rem;
  padding-top: 9rem;
}

.nav__link {
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8); /* Shadow subtil */
  text-transform: uppercase;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding-top: 1.5rem;
  color: var(--text-color-light);
  font-size: .72rem;
  font-weight: var(--font-medium);
  letter-spacing: .08em;
}

.nav__lang-btn {
  border: 0;
  padding: .3rem .2rem;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: .55;
  transition: color .2s ease, opacity .2s ease;
}

.nav__lang-btn:hover,
.nav__lang-btn:focus-visible,
.nav__lang-btn.active-lang {
  color: var(--first-color);
  opacity: 1;
}

.nav__lang-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: .25rem;
}

.nav__close {
  font-size: 2rem;
  color: var(--white-color);
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  border-radius: 0 0 1rem 1rem;
  background-color: var(--body-color);
  box-shadow: 0 2px 4px #030303;
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.home {
  position: relative;
  overflow: hidden;
}

.home__container {
  position: relative;
  padding-top: 2.5rem;
  row-gap: 2rem;
}

.home__data {
  text-align: center;
}

.home__title {
  font-size: var(--h1-font-size);
  margin-bottom: 1rem;
}

.home__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: .25rem;
}

.home__elec {
  font-size: var(--small-font-size);
  font-weight: 400;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
}

.home__elec i {
  color: var(--first-color);
}

.home__img {
  width: min(94vw, 480px);
  justify-self: center;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .45));
}

.home__car {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 4rem;
  margin-bottom: 2rem;
}

.home__car-name {
  font-size: .625rem;
  font-weight: 400;
  color: var(--text-color-light);
}

.home__car-data {
  text-align: center;
}

.home__car-number {
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  margin-bottom: .25rem;
}

.home__car-icon {
  background-color: var(--container-color);
  border-radius: 50%;
  padding: .376rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: .875rem;
  margin-bottom: .75rem;
}

.home__button {
  position: relative;
  border: 2px solid #08915f;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  font-size: var(--small-font-size);
  color: var(--white-color);
  font-weight: var(--font-medium);
}

.home__button::before {
  content: '';
  border: 2px solid #02d98a;
  width: 90px;
  height: 90px;
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 12px #02d98a;
  transition: .3s;
  animation: button 3s infinite;
}

.home .shape__big,
.home .shape__small {
  position: absolute;
}

.home .shape__big {
  left: -9rem;
  top: -4rem;
}

.home .shape__small {
  right: -10rem;
  bottom: 3rem;
}

/* Button animate */
@keyframes button {
  0% {
    box-shadow: 0 0 12px #02d98a;
  }
  50% {
    box-shadow: 0 0 24px #02d98a;
  }
}

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: .25rem;
  font-size: var(--normal-font-size);
  transition: .3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 6rem;
}

.about__group {
  position: relative;
}

.about__img {
  width: 310px;
  border-radius: .5rem;
}

.about__card {
  width: 180px;
  position: absolute;
  right: 0;
  bottom: -2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  padding: 1rem .75rem;
  text-align: center;
  border-radius: 1.25rem;
}

.about__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

.about__card-description {
  font-size: var(--smaller-font-size);
}

.about__title {
  text-align: initial;
  margin-bottom: 2rem;
}

.about__description {
  margin-bottom: 2rem;
}

/*=============== POPULAR ===============*/
.popular__container {
  padding-top: 1rem;
}

.popular__card {
  position: relative;
  width: 228px;
  background-color: var(--container-color);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 3.5rem;
  overflow: hidden;
}

.popular__card:hover .popular__img {
  transform: translateY(-0.25rem);
}

.popular__card .shape__smaller {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
}

.popular__title, .popular__subtitle, .popular__img {
  position: relative;
}

.popular__title {
  font-size: var(--h2-font-size);
  margin-bottom: .25rem;
}

.popular__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: 400;
}

.popular__img {
  width: 160px;
  margin: .75rem 0 1.25rem 1.5rem;
  transition: .3s;
}

.popular__data {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: .5rem 1.25rem;
  margin-bottom: 2rem;
}

.popular__data-group {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--smaller-font-size);
  color: var(--white-color);
}

.popular__data i {
  font-size: 1rem;
}

.popular__price {
  font-size: var(--h3-font-size);
}

.popular__button {
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 1rem 0 1rem 0;
  cursor: pointer;
}

.popular__button i {
  font-size: 1.25rem;
}

/* Swiper class */
.swiper-pagination-bullet {
  background: var(--text-color);
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

/*=============== FEATURES ===============*/
.features {
  overflow: hidden;
  position: relative;
}

.features__container {
  padding-top: 2rem;
  grid-template-columns: 285px;
  justify-content: center;
}

.features__group {
  display: grid;
  position: relative;
  z-index: 10;
}

.features__img {
  width: 150px;
  justify-self: center;
}

.features__card {
  width: 112px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 1.25rem;
  padding: .75rem 2rem;
  text-align: center;
  color: var(--title-color);
  position: absolute;
}

.features__card-1 {
  top: 4rem;
  left: 1.5rem;
}

.features__card-2 {
  top: 8rem;
  right: 1rem;
}

.features__card-3 {
  left: 1.5rem;
  bottom: 2rem;
}

.features__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: .25rem;
}

.features__card-description {
  font-size: var(--smaller-font-size);
}

.features__map {
  max-width: initial;
  width: 450px;
  position: absolute;
  top: 8rem;
  left: -3rem;
  margin: auto;
  transform: rotate(-22deg);
}

/*=============== FEATURED ===============*/
.featured__container {
  margin-top: 2rem; /* Redu spațierea de sus */
  padding-top: 1rem;
}

.featured__filters {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  margin-bottom: 3.5rem;
}

.featured__item {
  width: 48px;
  height: 48px;
  border: none;
  outline: none;
  padding: .75rem;
  border-radius: .75rem;
  background-color: var(--container-color);
  color: var(--white-color);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: .3s;
}

.featured__item img {
  width: 1.5rem;
}

.featured__item span,
.featured__item img {
  opacity: .3;
  transition: .3s;
}

.featured__item:hover {
  background-color: var(--first-color);
}

.featured__item:hover span,
.featured__item:hover img {
  opacity: 1;
}

.featured__content {
  grid-template-columns: 228px;
  row-gap: 2.5rem;
  justify-content: center;
}

.featured__card {
  position: relative;
  background-color: var(--container-color);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 1rem;
}

.featured__card:hover .featured__img {
  transform: translateX(-0.25rem);
}

.featured__card .shape__smaller {
  position: absolute;
  inset: 0;
  margin: auto;
}

.featured__title, .featured__subtitle, .featured__img {
  position: relative;
}

.featured__title {
  font-size: var(--h2-font-size);
  margin-bottom: .25rem;
}

.featured__card.mercedes .featured__title {
  font-family: var(--mercedes-font);
  font-weight: 400;
  letter-spacing: .01em;
}

.featured__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: 400;
}

.featured__img {
  width: 180px;
  margin: 1.5rem 0;
  transition: .3s;
}

.featured__price {
  font-size: var(--h3-font-size);
}

.featured__button {
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 1rem 0 1rem 0;
  cursor: pointer;
}

.featured__button i {
  font-size: 1.25rem;
}

/* Active link featured */
.active-featured {
  background-color: var(--first-color);
}

.active-featured span,
.active-featured img {
  opacity: 1;
}

/*=============== OFFER ===============*/
.offer {
  position: relative;
}

.offer__container {
  grid-template-rows: max-content 224px;
}

.offer__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer__data {
  position: relative;
  text-align: center;
}

.offer__title {
  margin-bottom: 2rem;
}

.offer__description {
  margin-bottom: 3rem;
}

.offer__img {
  position: absolute;
  max-width: initial;
  width: 400px;
  bottom: 2rem;
  right: -5.5rem;
}



/*=============== FOOTER ===============*/
.footer {
  position: relative;
  overflow: hidden;
  padding: 1.5rem; /* Reduce spațiul general */

}

.footer .shape__big,
.footer .shape__small {
  position: absolute;
}

.footer .shape__big {
  width: 300px;
  height: 300px;
  left: -12rem;
  top: 6rem;
}

.footer .shape__small {
  right: -13rem;
  bottom: -6rem;
}

.footer__container {
  row-gap: 2.5rem;
  position: relative;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.25rem;
  transition: .3s;
}

.footer__logo i {
  font-size: 1.5rem;
  font-weight: 500;
}

.footer__logo:hover {
  color: var(--first-color);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
}

.footer__link, .footer__social-link {
  color: var(--text-color);
  transition: .3s;
}

.footer__link:hover, .footer__social-link:hover {
  color: var(--title-color);
}

.footer__social {
  display: flex;
  column-gap: 1.5rem;
}

.footer__social-link {
  font-size: 1.25rem;
}

.footer__copy {
  display: block;
  margin-top: 4.5rem;
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
    display: block;
    margin-top: 2rem; /* Reduce de la 4.5rem la 2rem */
    text-align: center;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}


/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background-color: #27282a;
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb {
  background-color: #3b3c40;
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #4e5155;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  display: inline-flex;
  padding: .45rem;
  border-radius: .5rem;
  font-size: 1.15rem;
  color: var(--white-color);
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover {
  transform: translateY(-0.25rem);
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .home__car {
    column-gap: 2rem;
  }
  .about__card {
    width: 150px;
  }
  .offer__container {
    grid-template-rows: max-content 180px;
  }
  .offer__img {
    width: 340px;
  }
  .logos__container {
    gap: 2.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .about__group {
    width: 350px;
    justify-self: center;
  }
  .features__map {
    left: 0;
    right: 0;
  }
  .featured__content {
    grid-template-columns: repeat(2, 228px);
  }
  .offer__container {
    grid-template-rows: initial;
    grid-template-columns: .5fr;
    justify-content: center;
  }
  .offer__img {
    position: relative;
    bottom: initial;
    right: initial;
  }
  .offer__data {
    margin-bottom: 4rem;
  }
}

@media screen and (min-width: 767px) {
  .section {
    padding: 7rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__toggle, .nav__close {
    display: none;
  }
  .nav__menu {
    display: flex;
    align-items: center;
    column-gap: clamp(.65rem, 1.6vw, 1.5rem);
  }
  .nav__list {
    flex-direction: row;
    column-gap: clamp(.65rem, 1.6vw, 1.5rem);
    padding-top: 0;
  }
  .nav__link {
    font-size: var(--normal-font-size);
    text-transform: initial;
  }
  .nav__lang {
    flex: 0 0 auto;
    padding-top: 0;
  }
  .about__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .logos__container {
    gap: 4rem 8rem;
  }
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For large devices */
@media screen and (min-width: 1040px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .shape__big {
    width: 500px;
    height: 500px;
  }
  .shape__small {
    width: 400px;
    height: 400px;
  }
  .home__container {
    padding-top: 1.5rem;
    row-gap: 1.5rem;
  }
  .home__img {
    width: min(68vw, 780px);
  }
  .home__car {
    column-gap: 7rem;
  }
  .home__car-icon {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  .about__container {
    column-gap: 6rem;
    align-items: center;
  }
  .about__group, .about__img {
    width: 480px;
  }
  .about__card {
    width: 198px;
    padding: 1rem 1.25rem;
  }
  .about__description {
    padding-right: 4rem;
    margin-bottom: 3rem;
  }
  .popular__container {
    width: 875px;
    padding-top: 3rem;
  }
  .popular__card {
    width: 258px;
    border-radius: 1.25rem;
    margin-bottom: 5rem;
  }
  .popular__img {
    width: 180px;
    margin: .75rem 0 1.25rem 2rem;
  }
  .features__container {
    padding: 2rem 0 3rem;
  }
  .features__img {
    width: 200px;
  }
  .features__card {
    width: 127px;
    padding: .75rem 2.5rem;
  }
  .features__card-1 {
    left: -1rem;
  }
  .features__card-2 {
    right: -2.5rem;
  }
  .features__card-3 {
    bottom: 7rem;
    left: -1rem;
  }
  .features__map {
    width: 650px;
    top: 11rem;
  }
  .featured__container {
    padding-bottom: 2.5rem;
  }
  .featured__filters {
    column-gap: 2rem;
    margin-bottom: 4.5rem;
  }
  .featured__item {
    width: 52px;
    height: 52px;
  }
  .featured__item img {
    width: 2rem;
  }
  .featured__content {
    grid-template-columns: repeat(3, 248px);
    gap: 4rem;
  }
  .offer__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5rem;
    align-items: center;
    padding-bottom: 2rem;
  }
  .offer__data, .offer__title {
    text-align: initial;
  }
  .offer__data {
    margin-bottom: 0;
  }
  .offer__description {
    padding-right: 6rem;
  }
  .offer__img {
    width: 450px;
  }
  .logos__container {
    grid-template-columns: repeat(6, max-content);
  }
  .logos__img {
    width: 50px;
  }
  .footer__container {
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
  }
  .footer__logo {
    column-gap: .5rem;
  }
  .footer__logo i {
    font-size: 2rem;
  }
  .footer__title {
    margin-bottom: 1.5rem;
  }
  .footer__links {
    row-gap: .75rem;
  }
  .footer__social-link {
    font-size: 1.5rem;
  }
  .footer__copy {
    margin-top: 8rem;
    padding-bottom: 1rem;
  }
  .scrollup {
    right: 3rem;
  }
}

/*=============== CINEMATIC TAYCAN HERO ===============*/
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.hero-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f4f3f7;
  background:
    radial-gradient(circle at 50% 50%, rgba(75, 75, 112, .14), transparent 34%),
    #030405;
}

.hero-loader[hidden] {
  display: none;
}

.hero-loader__inner {
  width: min(28rem, calc(100vw - 3rem));
  transform-origin: center;
}

.hero-loader__logo {
  display: block;
  width: min(22rem, 70vw);
  margin: 0 auto;
  filter: drop-shadow(0 0 28px rgba(119, 119, 255, .1));
}

.hero-loader__label {
  margin: 1rem 0 2rem;
  color: #666270;
  font-size: .58rem;
  letter-spacing: .34em;
  text-align: center;
  text-transform: uppercase;
}

.hero-loader__track {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.hero-loader__track i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #55e6d2, #7777ff);
  box-shadow: 0 0 14px rgba(85, 230, 210, .55);
}

.hero-loader__meta {
  display: flex;
  justify-content: space-between;
  margin-top: .75rem;
  color: #77727e;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-loader__count {
  color: #aaa5b2;
  font-variant-numeric: tabular-nums;
}

.home-page {
  background: #050505;
}

.home-page .home {
  --hero-accent: #55e6d2;
  --hero-violet: #7777ff;
  width: 100%;
  min-height: clamp(640px, calc(100svh - 2rem), 880px);
  margin: 0;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 52%, rgba(105, 70, 142, .2), transparent 42%),
    linear-gradient(118deg, #0c1017 0%, #0c0c12 43%, #171021 100%);
}

.home-page .home::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 42%, rgba(85, 45, 112, .08));
  z-index: 0;
}

.home-page .home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.home-page .home__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: inherit;
  margin: 0;
  padding: clamp(7rem, 17vh, 10rem) clamp(2rem, 6vw, 7rem) 3rem 62%;
  display: grid;
  align-content: center;
  row-gap: clamp(1.2rem, 3vh, 2.4rem);
  overflow: hidden;
}

.home-page .home__data,
.home-page .home__car,
.home-page .home__actions {
  position: relative;
  z-index: 2;
}

.home-page .home__data {
  text-align: left;
}

.home-page .home__eyebrow {
  margin-bottom: .55rem;
  color: #a9a0b8;
  font-size: clamp(.65rem, 1.25vw, 1.15rem);
  font-weight: var(--font-medium);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-page .home__title {
  margin-bottom: .85rem;
  color: #d7d0df;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: .95;
  white-space: nowrap;
}

.home-page .home__elec {
  color: #928a9f;
  font-size: clamp(.75rem, 1.25vw, 1.2rem);
}

.home-page .home__visual {
  position: absolute;
  z-index: 1;
  top: clamp(6.5rem, 14vh, 8rem);
  left: calc(-1 * clamp(160px, 24vw, 330px));
  width: clamp(470px, 78vw, 1050px);
  max-width: none;
  transform-origin: 52% 55%;
  will-change: transform, clip-path;
}

.home-page .home__img {
  display: block;
  width: 100%;
  max-width: none;
  filter: drop-shadow(28px 32px 34px rgba(0, 0, 0, .55));
  will-change: transform, filter;
}

.home-page .home__headlight {
  position: absolute;
  z-index: 2;
  top: 39%;
  width: 19%;
  height: 18%;
  border-radius: 50%;
  pointer-events: none;
  transform-origin: center;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .86) 0 7%, rgba(116, 236, 255, .36) 19%, rgba(72, 156, 255, .12) 42%, transparent 70%);
  filter: blur(7px);
  mix-blend-mode: screen;
}

.home-page .home__headlight--left {
  left: 2.6%;
}

.home-page .home__headlight--right {
  right: 2.6%;
}

.home-page .home__scan {
  position: absolute;
  z-index: 3;
  inset: 6% auto 3% -14%;
  width: 18%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-10deg);
  background: linear-gradient(90deg, transparent, rgba(153, 238, 255, .27), rgba(255, 255, 255, .54), transparent);
  filter: blur(12px);
}

.home-page .home__car {
  justify-content: flex-start;
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
  margin: 0;
}

.home-page .home__car-data {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: .6rem;
  text-align: left;
}

.home-page .home__car-icon {
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  padding: .6rem;
  color: #b5acc2;
  background: rgba(255, 255, 255, .035);
}

.home-page .home__car-number {
  margin: 0;
  color: #cfc7d8;
  font-size: clamp(.65rem, 1.15vw, 1.1rem);
}

.home-page .home__car-name {
  color: #645d70;
  font-size: clamp(.42rem, .58vw, .58rem);
}

.home-page .home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.home-page .home__tech-copy {
  position: absolute;
  z-index: 4;
  top: 31%;
  left: clamp(2rem, 6vw, 7rem);
  width: min(34rem, 43vw);
  pointer-events: none;
  opacity: 0;
}

.home-page .home__tech-kicker {
  margin-bottom: .75rem;
  color: var(--hero-accent);
  font-size: clamp(.62rem, .85vw, .82rem);
  font-weight: var(--font-medium);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-page .home__tech-title {
  color: #f2eff7;
  font-size: clamp(2.6rem, 4.35vw, 5.35rem);
  line-height: .88;
  letter-spacing: -.055em;
}

.home-page .home__tech-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.55rem;
  color: #8b8397;
  font-size: clamp(.58rem, .75vw, .74rem);
  letter-spacing: .12em;
}

.home-page .home__tech-meta span {
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--hero-accent), transparent);
}

.home-page .home__motion-hud {
  position: absolute;
  z-index: 4;
  right: clamp(2rem, 6vw, 7rem);
  bottom: 2rem;
  left: clamp(2rem, 6vw, 7rem);
  display: grid;
  grid-template-columns: auto minmax(5rem, 1fr) auto;
  align-items: center;
  gap: 1rem;
  color: #696273;
  font-size: .56rem;
  font-weight: var(--font-medium);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-page .home__motion-line {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .11);
}

.home-page .home__motion-line i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--hero-accent), var(--hero-violet));
  box-shadow: 0 0 12px var(--hero-accent);
}

.home-page .home__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-size: clamp(.52rem, .7vw, .68rem);
  font-weight: var(--font-medium);
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.home-page .home__cta:hover {
  transform: translateY(-2px);
}

.home-page .home__cta--primary {
  color: #b8d9d5;
  background: linear-gradient(135deg, #225d5d, #347b70);
  box-shadow: 0 10px 30px rgba(41, 125, 112, .2);
}

.home-page .home__cta--primary:hover {
  box-shadow: 0 12px 42px rgba(74, 228, 202, .3), inset 0 0 0 1px rgba(183, 255, 243, .18);
}

.home-page .home__cta--secondary {
  color: #c9c2d5;
  border: 1px solid #5e62c8;
  background: rgba(32, 29, 52, .7);
  box-shadow: 0 0 18px rgba(80, 83, 205, .24);
}

.home-page .nav__link {
  position: relative;
}

.home-page .nav__link::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -.45rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, var(--hero-accent), var(--hero-violet));
  transition: transform .35s cubic-bezier(.2, .75, .25, 1);
}

.home-page .nav__link:hover::after,
.home-page .nav__link.active-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-page .home .shape {
  opacity: .25;
}

@media screen and (min-width: 560px) and (max-width: 900px) {
  .home-page .home__container {
    padding: 10.375rem 1rem 2rem 68%;
    align-content: start;
    row-gap: 1.1rem;
  }

  .home-page .home__visual {
    top: 5.5rem;
  }

  .home-page .home__car {
    column-gap: .7rem;
    margin-top: 1rem;
  }

  .home-page .home__car-icon {
    padding: .42rem;
  }

  .home-page .home__actions {
    flex-wrap: nowrap;
    gap: .55rem;
    margin-top: 1.1rem;
  }

  .home-page .home__cta {
    min-height: 2.35rem;
    padding: .65rem .72rem;
    font-size: .45rem;
    white-space: nowrap;
  }
}

@media screen and (max-width: 559px) {
  .home-page .home {
    min-height: 780px;
  }

  .home-page .home__container {
    padding: 6.5rem 1.25rem 2.5rem;
    align-content: start;
  }

  .home-page .home__data {
    position: relative;
    z-index: 4;
    text-align: center;
  }

  .home-page .home__title {
    white-space: normal;
  }

  .home-page .home__visual {
    position: relative;
    top: auto;
    left: 50%;
    width: min(138%, 560px);
    margin: 1.5rem 0 .5rem;
    transform: translateX(-50%);
    z-index: 3;
  }

  .home-page .home__img {
    filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .55));
  }

  .home-page .home__car,
  .home-page .home__actions {
    position: relative;
    z-index: 4;
    justify-content: center;
  }

  .home-page .home__motion-hud {
    right: 1.25rem;
    bottom: 1rem;
    left: 1.25rem;
  }
}

@media screen and (max-width: 900px) {
  .home-page .home__tech-copy {
    display: none;
  }

  .home-page .home__motion-hud {
    font-size: .48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-loader {
    display: none;
  }

  .home-page .home__visual,
  .home-page .home__img,
  .home-page .home__headlight,
  .home-page .home__scan,
  .home-page .home__data,
  .home-page .home__car-data,
  .home-page .home__actions,
  .home-page .home__motion-hud {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .home-page .home__headlight,
  .home-page .home__scan,
  .home-page .home__tech-copy {
    display: none;
  }
}

/* LOGO SWIPER SUS ALA CU MASINI */
/* LOGO SWIPER SUS ALA CU MASINI */
.logos__container {
    display: flex;
    justify-content: center; /* Centrează containerul */
}

.swiper {
    width: 100%;
    max-width: 1200px; /* Setează o lățime maximă pentru slider */
    margin: 0 auto; /* Centrează slider-ul */
}

/* LOGOS IMG - STILURI PENTRU LOGOURI */
.logos__img {
    width: 60px; /* Dimensiunea implicită a logo-urilor */
    opacity: 0.9; /* Ajustează transparența */
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease; /* Tranziție lină pentru toate efectele */
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3)); /* Glow subtil implicit */
}

.logos__img:hover {
    transform: scale(1.2); /* Mărire la hover */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)); /* Glow alb intens în jurul imaginii */
    opacity: 1; /* Setează transparența completă */
}

/* CONFIGURARE PENTRU CONTAINERUL LOGO-URILOR */
.logos__container {
    display: flex;
    justify-content: center; /* Centrează containerul */
    padding-top: 3rem; /* Adaugă mai mult spațiu deasupra */
    padding-bottom: 2rem; /* Adaugă spațiu dedesubt */
    gap: 2rem; /* Spațiere între logo-uri */
}


/* LOGO SWIPER CONFIGURAȚIE GENERALĂ */
.logos-swiper {
    display: flex;
    justify-content: center; /* Centrează containerul */
}

.logos-swiper .swiper {
    width: 100%;
    max-width: 1200px; /* Setează o lățime maximă pentru slider */
    margin: 0 auto; /* Centrează slider-ul */
}

.logos-swiper .swiper-wrapper {
    display: flex;
    transition-timing-function: linear; /* Derulare liniară fără întreruperi */
}

.logos-swiper .swiper-slide {
    flex-shrink: 0; /* Slide-urile nu se micșorează */
    width: auto; /* Ajustează automat lățimea fiecărui slide */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
        max-width: 300px; /* Adjust logo size to fit smaller title */
        height: auto;
        grid-gap: 10px
        vertical-align: middle;
    }
/* Accessible keyboard navigation */
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: .75rem 1rem;
  border-radius: .5rem;
  color: #0a0a0b;
  background: #fff;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid hsl(219, 69%, 56%);
  outline-offset: 4px;
}
html,
body {
  overflow-x: hidden;
}
