:root {
  --body-bg-color: #000000;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #5e170b;
  --footer-bg-color: #0d0d0d;
  --link-color: #fb2828;
  --box-color: #0d644a;
  --header-bg-color: #000000;
  --font-family: system-ui;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 0, 0, 0.2), transparent 22%),
    radial-gradient(circle at 75% 90%, rgba(90, 0, 0, 0.25), transparent 30%),
    linear-gradient(
      100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.035) 50%,
      transparent 100%
    ),
    linear-gradient(135deg, #010102 0%, #050507 42%, #0d0b10 100%);
  background-size:
    auto,
    auto,
    280px 100%,
    auto;
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.sidebar-search-box {
  width: 279px;
  background: var(--header-bg-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 21px 11px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 15px;
}

.sidebar-search-box h3 {
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--nav-link-color) !important;
}

.sidebar-search-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-search-box input[type="search"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
  color: var(--body-text-color);
  font-size: 0.95rem;
  font-family: var(--font-family);
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.sidebar-search-box input[type="search"]:focus {
  border-color: var(--link-color);
  box-shadow: 0 0 0 4px rgba(176, 54, 54, 0.12);
}

.sidebar-search-box input[type="search"]::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.sidebar-search-box button {
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--box-color);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(59, 104, 91, 0.25);
}

.sidebar-links {
  width: 279px;
  background: var(--header-bg-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 21px 11px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 15px;
}
.sidebar-links h3 {
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--nav-link-color) !important;
}

.sidebar-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-page-list li {
  list-style: none;
}

.sidebar-page-list a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--nav-link-color);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 500;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.sidebar-page-list a:hover {
  background: rgba(176, 54, 54, 0.08);
  color: var(--link-color);
  transform: translateX(4px);
}

.sidebar-page-list a.active {
  background: var(--box-color);
  color: white;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(59, 104, 91, 0.25);
}
.twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}

.error_page {
  min-height: 70vh;
}
.footer {
  position: relative;
  margin-top: 30px !important;
  padding: 26px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1100px, 92vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(225, 6, 0, 0.85),
    rgba(255, 255, 255, 0.35),
    transparent
  );
  box-shadow: 0 0 28px rgba(225, 6, 0, 0.55);
}

.footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.18), transparent 68%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  padding: 34px 28px 22px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.028);
  backdrop-filter: blur(16px);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.footer-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent, rgba(225, 6, 0, 0.1), transparent),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 22px
    );
  opacity: 0.7;
  pointer-events: none;
}

.footer-brand {
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.footer-brand img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(225, 6, 0, 0.25));
}

.footer-brand:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 0 16px rgba(225, 6, 0, 0.42));
}

.footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-links a:hover {
  color: #e10600;
  transform: translateY(-5px);
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(225, 6, 0, 0.24);
}

.footer-copy,
.footer-email,
.footer-terms {
  position: relative;
  z-index: 1;
}

.footer-copy,
.footer-email {
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer a:hover {
  color: #e10600;
  text-shadow: 0 0 18px rgba(225, 6, 0, 0.45);
}

.footer-email i {
  color: #e10600;
}

.footer-terms {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-terms i {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.footer-terms:hover i {
  transform: translateX(4px);
}

.footer-divider {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  border: 0;
  height: 1px;
  opacity: 1;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(225, 6, 0, 0.35),
    rgba(255, 255, 255, 0.18),
    transparent
  );
}

@media (max-width: 767px) {
  .footer-inner {
    padding: 30px 20px 22px;
    border-radius: 24px;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-brand img {
    max-width: 200px;
  }
}
.navbar {
  background-color: transparent !important;
  transition:
    background-color 0.4s ease,
    box-shadow 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 155px 0 60px;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.with-bg {
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6.5px 25px -1px #750b0bbf;
}

.hero-section.with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 30px;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
.navbar-nav {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      rgba(186, 197, 218, 0),
      rgba(186, 197, 218, 0.56),
      rgba(186, 197, 218, 0)
    )
    1;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #e10600, #5d0000);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(225, 6, 0, 0.38);
  overflow: hidden;
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
  animation: scrollCarIdle 2.8s ease-in-out infinite;
}

.scroll-top::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-120%) rotate(18deg);
  animation: scrollCarShine 4s ease-in-out infinite;
}

.scroll-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.scroll-top i {
  position: relative;
  z-index: 1;
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-2px);
}

.scroll-top:hover {
  color: #ffffff;
  transform: translateY(-8px) scale(1.08);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.58),
    0 0 42px rgba(225, 6, 0, 0.58);
}

.scroll-top:hover i {
  animation: carLaunch 0.55s ease;
}

@keyframes scrollCarIdle {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes scrollCarShine {
  0%, 70%, 100% {
    transform: translateX(-120%) rotate(18deg);
  }

  84% {
    transform: translateX(120%) rotate(18deg);
  }
}

@keyframes carLaunch {
  0% {
    transform: translateY(-2px) scale(1);
  }

  45% {
    transform: translateY(-10px) scale(1.08);
  }

  100% {
    transform: translateY(-2px) scale(1);
  }
}

@media (max-width: 768px) {
  .scroll-top {
    right: 16px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }

  .scroll-top i {
    font-size: 1.3rem;
  }
}
.history {
  margin: 30px auto;
  color: var(--body-text-color);
}

.history h2 {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.history h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 3px;
  background: linear-gradient(90deg, #e10600, transparent);
  border-radius: 999px;
}

.history p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.85;
}

.history .pints {
  margin-top: 28px;
  margin-bottom: 14px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.history ul {
  max-width: 720px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.history li {
  position: relative;
  padding: 14px 18px 14px 46px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  border-left: 1px solid rgba(225, 6, 0, 0.55);
  backdrop-filter: blur(10px);
}

.history li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #e10600;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(225, 6, 0, 0.85);
}

.history li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 18px;
  height: 1px;
  background: rgba(225, 6, 0, 0.7);
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .history {
    margin: 60px auto;
    padding: 0 18px;
  }

  .history h2 {
    margin-bottom: 22px;
  }

  .history p {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .history img {
    float: none !important;
    max-width: 100%;
    width: 100%;
    margin: 22px auto;
  }

  .history ul {
    gap: 10px;
  }

  .history li {
    padding: 13px 16px 13px 42px;
  }
}
.heading {
  position: relative;
  margin: 35px auto 30px;
  padding: 34px 21px;
  color: var(--body-text-color);
  overflow: hidden;
}

.heading::before,
.heading::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  pointer-events: none;
}

.heading::before {
  top: 0;
  left: 0;
  border-top: 2px solid rgba(225, 6, 0, 0.9);
  border-left: 2px solid rgba(225, 6, 0, 0.9);
  box-shadow: -10px -10px 35px rgba(225, 6, 0, 0.18);
}

.heading::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid rgba(225, 6, 0, 0.9);
  border-bottom: 2px solid rgba(225, 6, 0, 0.9);
  box-shadow: 10px 10px 35px rgba(225, 6, 0, 0.18);
}

.heading h2 {
  position: relative;
  margin: 0 auto 24px;
  max-width: 900px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  isolation: isolate;
}

.heading h2::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: min(520px, 75%);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(225, 6, 0, 0.15),
    #e10600,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  animation: speedLine 2.8s ease-in-out infinite;
}

.heading h2::after {
  content: "";
  position: absolute;
  inset: -10px -18px;
  z-index: -1;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(225, 6, 0, 0.08),
    transparent
  );
  transform: skewX(-18deg);
  opacity: 0;
  animation: scanGlow 4s ease-in-out infinite;
}

.heading p {
  position: relative;
  max-width: 790px;
  margin: 38px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.85;
}

.heading p::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 8px;
  height: 8px;
  background: #e10600;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 12px rgba(225, 6, 0, 0.9),
    0 0 34px rgba(225, 6, 0, 0.55);
  animation: pulseDot 1.7s ease-in-out infinite;
}

@keyframes speedLine {
  0%,
  100% {
    opacity: 0.45;
    width: min(360px, 55%);
  }

  50% {
    opacity: 1;
    width: min(620px, 86%);
  }
}

@keyframes scanGlow {
  0%,
  72%,
  100% {
    opacity: 0;
    transform: translateX(-45%) skewX(-18deg);
  }

  82% {
    opacity: 1;
  }

  92% {
    opacity: 0;
    transform: translateX(45%) skewX(-18deg);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-50%) scale(0.75);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.25);
  }
}

@media (max-width: 768px) {
  .heading {
    margin: 30px auto 30px;
    padding: 28px 18px;
  }

  .heading::before,
  .heading::after {
    width: 56px;
    height: 56px;
  }

  .heading h2 {
    letter-spacing: -0.04em;
  }

  .heading p {
    margin-top: 34px;
    line-height: 1.7;
  }
}
.spec-section {
  margin-top: 60px;
  margin-bottom: 100px;
}

.spec-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(225, 6, 0, 0.85);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.spec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(225, 6, 0, 0.14),
    transparent
  );
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 0.75s ease;
}

.spec-card::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 2px;
  background: #e10600;
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.85);
  opacity: 0.75;
}

.spec-card:hover {
  transform: translateY(-8px);
  border-color: rgba(225, 6, 0, 0.65);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(225, 6, 0, 0.14);
}

.spec-card:hover::before {
  transform: translateX(120%) skewX(-18deg);
}

.spec-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.spec-card h3::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #e10600;
  box-shadow: 0 0 18px rgba(225, 6, 0, 0.85);
}

.spec-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.8;
}

.spec-card-wide p {
  max-width: 920px;
}

@media (max-width: 768px) {
  .spec-section {
    margin-top: 45px;
    margin-bottom: 75px;
  }

  .spec-card {
    padding: 26px 22px;
    border-radius: 20px;
  }
}
.cust-bg img {
  border-radius: 26px !important;
  box-shadow:
    0 26px 75px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 35px rgba(225, 6, 0, 0.12);
  filter: contrast(1.08) saturate(1.08);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    filter 0.45s ease;
}
.cust-bg {
  position: relative;
  margin: 30px auto;
  padding: 0 24px;
  color: var(--body-text-color);
}

.cust-bg h2 {
  position: relative;
  margin: 50px 0 28px;
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.cust-bg h2::before {
  content: "";
  display: block;
  width: 74px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #e10600;
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.8);
}

.cust-bg h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: min(520px, 85%);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(225, 6, 0, 0.9),
    rgba(255, 255, 255, 0.25),
    transparent
  );
}

.cust-bg h3 {
  position: relative;
  width: fit-content;
  margin: 46px 0 18px;
  padding: 10px 18px 10px 22px;
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  border-left: 3px solid #e10600;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.cust-bg h3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(225, 6, 0, 0.18),
    transparent
  );
  transform: translateX(-120%) skewX(-18deg);
  animation: titleScan 4s ease-in-out infinite;
}

.cust-bg p {
  max-width: 840px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
  line-height: 1.85;
}

.cust-bg img:hover {
  transform: translateY(-8px) scale(1.025);
  filter: contrast(1.14) saturate(1.15);
  box-shadow:
    0 36px 95px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(225, 6, 0, 0.25),
    0 0 45px rgba(225, 6, 0, 0.2);
}

@keyframes titleScan {
  0%,
  70%,
  100% {
    transform: translateX(-120%) skewX(-18deg);
  }

  82% {
    transform: translateX(120%) skewX(-18deg);
  }
}

@media (max-width: 768px) {
  .cust-bg {
    margin: 30px auto;
    padding: 0 18px;
  }

  .cust-bg h2 {
    margin-top: 55px;
    letter-spacing: -0.04em;
  }

  .cust-bg h3 {
    margin-top: 25px;
  }

  .cust-bg p {
    line-height: 1.75;
  }
}
.sidebar {
  gap: 24px;
}

.side-widget {
  width: 100%;
  max-width: 279px;
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border-radius: 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.side-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(225, 6, 0, 0.16),
    transparent
  );
  transform: translateX(-130%) skewX(-18deg);
  animation: widgetScan 5s ease-in-out infinite;
  pointer-events: none;
}

.widget-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #e10600;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.side-widget h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.side-widget p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}

.newsletter-widget form {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.newsletter-widget input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
}

.newsletter-widget input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.newsletter-widget input:focus {
  border-color: rgba(225, 6, 0, 0.75);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.12);
}

.newsletter-widget button {
  height: 44px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e10600, #8b0000);
  box-shadow: 0 14px 34px rgba(225, 6, 0, 0.28);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.newsletter-widget button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(225, 6, 0, 0.38);
}

.pulse-widget {
  text-align: center;
}

.pulse-ring {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(225, 6, 0, 0.95),
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: spinPulse 3.8s linear infinite;
}

.pulse-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(2, 2, 4, 0.96);
}

.pulse-core {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(225, 6, 0, 0.5);
  background:
    radial-gradient(circle, rgba(225, 6, 0, 0.22), transparent 62%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    0 0 26px rgba(225, 6, 0, 0.42),
    inset 0 0 20px rgba(225, 6, 0, 0.16);
  animation: coreBeat 1.4s ease-in-out infinite;
}

.pulse-core span {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.rpm-bars {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 6px;
  height: 42px;
  margin-top: 20px;
}

.rpm-bars span {
  width: 9px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(to top, #7a0000, #e10600);
  box-shadow: 0 0 14px rgba(225, 6, 0, 0.45);
  animation: rpmJump 0.9s ease-in-out infinite;
}

.rpm-bars span:nth-child(2) {
  animation-delay: 0.1s;
}

.rpm-bars span:nth-child(3) {
  animation-delay: 0.2s;
}

.rpm-bars span:nth-child(4) {
  animation-delay: 0.3s;
}

.rpm-bars span:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes widgetScan {
  0%,
  72%,
  100% {
    transform: translateX(-130%) skewX(-18deg);
  }

  84% {
    transform: translateX(130%) skewX(-18deg);
  }
}

@keyframes spinPulse {
  to {
    transform: rotate(360deg);
  }
}

@keyframes coreBeat {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 26px rgba(225, 6, 0, 0.42),
      inset 0 0 20px rgba(225, 6, 0, 0.16);
  }

  50% {
    transform: scale(1.07);
    box-shadow:
      0 0 42px rgba(225, 6, 0, 0.72),
      inset 0 0 28px rgba(225, 6, 0, 0.26);
  }
}

@keyframes rpmJump {
  0%,
  100% {
    height: 14px;
    opacity: 0.45;
  }

  50% {
    height: 40px;
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .sidebar {
    margin-top: 50px;
  }

  .side-widget {
    max-width: 420px;
  }
}
.sidebar-iamge {
  width: 100%;
  max-width: 279px;
  height: auto;
  position: relative;
  margin-top: 24px;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 24px rgba(225, 6, 0, 0.28));
  animation: sidebarCarFloat 4.8s ease-in-out infinite;
  transform-origin: center;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.sidebar-iamge:hover {
  transform: translateY(-10px) scale(1.035) rotate(-1deg);
  filter: drop-shadow(0 42px 60px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 38px rgba(225, 6, 0, 0.45));
}

@keyframes sidebarCarFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(1.2deg);
  }
}
.main-heading {
  position: relative;
  margin: 35px auto 35px;
  padding: 0 18px;
  color: #fff;
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-align: center;
  text-transform: uppercase;
  animation: mainHeadingReveal 0.9s ease both;
}

.main-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: -1;
  width: min(920px, 88vw);
  height: 180px;
  transform: translate(-50%, -50%) skewX(-16deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(225, 6, 0, 0.16),
    rgba(255, 255, 255, 0.06),
    transparent
  );
  filter: blur(28px);
  opacity: 0.8;
  animation: headingGlowDrive 4s ease-in-out infinite;
}

.main-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  width: min(780px, 82%);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(225, 6, 0, 0.35),
    #e10600,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  box-shadow: 0 0 30px rgba(225, 6, 0, 0.7);
  animation: headingLineBoost 2.6s ease-in-out infinite;
}

.main-heading span {
  position: relative;
  display: inline-block;
  padding: 0 0.08em;
  color: transparent;
  letter-spacing: -0.065em;
  background: linear-gradient(
    90deg,
    #ffffff,
    #ff2a20,
    #e10600,
    #ffffff
  );
  background-size: 260%;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 34px rgba(225, 6, 0, 0.28);
  animation: ferrariNameShine 3.2s ease-in-out infinite;
}

.main-heading span::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0.04em;
  height: 0.1em;
  z-index: -1;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.24);
  box-shadow: 0 0 22px rgba(225, 6, 0, 0.55);
  transform: skewX(-18deg);
}

.main-heading span::after {
  content: "";
  position: absolute;
  left: -8%;
  top: 50%;
  width: 116%;
  height: 0.08em;
  transform: translateY(-50%) skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  opacity: 0;
  animation: ferrariSpeedSlash 4s ease-in-out infinite;
}

@keyframes mainHeadingReveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes ferrariNameShine {
  0%, 100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

@keyframes ferrariSpeedSlash {
  0%, 68%, 100% {
    opacity: 0;
    transform: translateX(-35%) translateY(-50%) skewX(-18deg);
  }

  78% {
    opacity: 1;
  }

  88% {
    opacity: 0;
    transform: translateX(35%) translateY(-50%) skewX(-18deg);
  }
}

@keyframes headingGlowDrive {
  0%, 100% {
    opacity: 0.45;
    transform: translate(-50%, -50%) skewX(-16deg) scaleX(0.86);
  }

  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) skewX(-16deg) scaleX(1.08);
  }
}

@keyframes headingLineBoost {
  0%, 100% {
    opacity: 0.45;
    width: min(540px, 62%);
  }

  50% {
    opacity: 1;
    width: min(900px, 88%);
  }
}
.error_page {
  position: relative;
  min-height: 100vh;
  padding: 90px 0;
  overflow: hidden;
  color: #ffffff;
}

.error_page::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 90vw);
  height: min(420px, 60vw);
  transform: translate(-50%, -50%) skewX(-14deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(225, 6, 0, 0.16),
    rgba(255, 255, 255, 0.045),
    transparent
  );
  filter: blur(28px);
  animation: errorGlowDrive 4.5s ease-in-out infinite;
}

.error_page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, 0.025) 49%, transparent 50%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 32px
    );
  pointer-events: none;
}

.error-card {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 6vw, 70px) clamp(22px, 5vw, 54px);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: errorCardReveal 0.9s ease both;
}

.error-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(225, 6, 0, 0.15),
    transparent
  );
  transform: translateX(-130%) skewX(-18deg);
  animation: errorScan 4s ease-in-out infinite;
  pointer-events: none;
}

.error-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 9px 17px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(225, 6, 0, 0.42);
  background: rgba(225, 6, 0, 0.12);
  box-shadow: 0 0 28px rgba(225, 6, 0, 0.18);
}

.error-badge i {
  color: #e10600;
}

.error-number {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  color: transparent;
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 1000;
  line-height: 0.8;
  letter-spacing: -0.12em;
  background: linear-gradient(90deg, #ffffff, #e10600, #ffffff);
  background-size: 240%;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 45px rgba(225, 6, 0, 0.25);
  animation: errorNumberShine 3s ease-in-out infinite;
}

.error-number span {
  display: inline-grid;
  place-items: center;
  width: 0.84em;
  height: 0.84em;
  margin: 0 0.03em;
  color: #ffffff;
  font-size: 0.34em;
  letter-spacing: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #e10600, #5d0000);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(225, 6, 0, 0.42);
  animation: errorCarBounce 1.8s ease-in-out infinite;
}

.error-number i {
  transform: translateY(-1px);
}

.error-card h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.error-card .lead {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
}

.error-actions {
  position: relative;
  z-index: 1;
}

.error-btn-primary,
.error-btn-outline {
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.03em;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}

.error-btn-primary {
  color: #ffffff;
  border: none;
  background: linear-gradient(135deg, #e10600, #7a0000);
  box-shadow: 0 16px 38px rgba(225, 6, 0, 0.28);
}

.error-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(225, 6, 0, 0.42);
}

.error-btn-outline {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.error-btn-outline:hover {
  color: #ffffff;
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.55);
  background: rgba(225, 6, 0, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.error-code {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-code span {
  color: #e10600;
  font-weight: 850;
  text-shadow: 0 0 18px rgba(225, 6, 0, 0.42);
}

@keyframes errorCardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes errorGlowDrive {
  0%, 100% {
    opacity: 0.42;
    transform: translate(-50%, -50%) skewX(-14deg) scaleX(0.86);
  }

  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) skewX(-14deg) scaleX(1.08);
  }
}

@keyframes errorScan {
  0%, 70%, 100% {
    transform: translateX(-130%) skewX(-18deg);
  }

  84% {
    transform: translateX(130%) skewX(-18deg);
  }
}

@keyframes errorNumberShine {
  0%, 100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

@keyframes errorCarBounce {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@media (max-width: 768px) {
  .error_page {
    padding: 70px 0;
  }

  .error-card {
    border-radius: 26px;
  }

  .error-number {
    letter-spacing: -0.1em;
  }

  .error-btn-primary,
  .error-btn-outline {
    width: 100%;
  }
}