/* ============================================================
   RC-Start — Main Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #0B0B0D;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- CSS Variables ---------- */
:root {
  --bg:          #0B0B0D;
  --bg2:         #1a1a2e;
  --blue:        #3b82f6;
  --blue-hover:  #2563eb;
  --blue-dark:   #1e3a8a;
  --purple:      #8b5cf6;
  --purple-hover:#7c3aed;
  --white:       #ffffff;
  --gray-300:    #d1d5db;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --border:      rgba(255,255,255,0.10);
  --border-blue: rgba(59,130,246,0.50);
  --max-w:       1350px;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Section Headings ---------- */
.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 20px;
  text-align: center;
}

.btn-sm  { padding: 0.5rem 1rem;    font-size: 0.875rem; }
.btn-md  { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
.btn-lg  { padding: 1rem 2rem;      font-size: 1.05rem; }
.btn-xl  { padding: 1.25rem 2.5rem; font-size: 1.1rem; }

.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

.btn-white {
  background: #fff;
  color: #2563eb;
}
.btn-white:hover { background: #f1f5f9; transform: scale(1.04); }

.btn-purple {
  background: var(--purple);
  color: #fff;
}
.btn-purple:hover { background: var(--purple-hover); }

.btn-disabled {
  background: #374151;
  color: #6b7280;
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
  justify-content: center;
}


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,13,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo-link { display: flex; align-items: center; }
.logo-img  { height: 40px; width: auto; }

/* Desktop navigation */
.nav-desktop {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--gray-300);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }

/* Right side (desktop) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 20px;
}

/* Currency switcher (header desktop) */
.curr-wrap { position: relative; }

.curr-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.curr-btn:hover { color: var(--white); }

.curr-btn .chevron {
  transition: transform 0.2s;
}
.curr-wrap.open .chevron {
  transform: rotate(180deg);
}

.curr-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: #1a1a2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  overflow: hidden;
  min-width: 60px;
  z-index: 50;
}
.curr-wrap.open .curr-dropdown { display: block; }

.curr-opt {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  text-align: left;
  color: var(--gray-300);
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}
.curr-opt:hover  { background: rgba(255,255,255,0.08); color: var(--white); }
.curr-opt.active { background: var(--blue); color: var(--white); }

/* Language selector */
.lang-wrap { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.lang-btn:hover { color: var(--white); }

.lang-btn .chevron {
  transition: transform 0.2s;
}
.lang-wrap.open .chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: #1a1a2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  overflow: hidden;
  min-width: 148px;
  z-index: 50;
}
.lang-wrap.open .lang-dropdown { display: block; }

.lang-opt {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  text-align: left;
  color: var(--gray-300);
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}
.lang-opt:hover   { background: rgba(255,255,255,0.08); color: var(--white); }
.lang-opt.active  { background: var(--blue); color: var(--white); }

/* Cart */
.cart-link {
  color: var(--white);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.cart-link:hover { color: var(--blue); }

/* Mobile right side */
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.burger-btn {
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 0.25rem;
  transition: color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .burger-btn:hover { color: var(--blue); }
}

.icon-close { display: none; }

.header.menu-open .icon-burger { display: none; }
.header.menu-open .icon-close  { display: block; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 68px;
  background: rgba(0,0,0,0.45);
  z-index: 99;
}
.header.menu-open .mobile-menu { display: block; }

.mobile-menu-inner {
  position: absolute;
  right: 0;
  top: 0;
  width: 280px;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  color: var(--gray-300);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--white); }

.mobile-lang-section {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-lang-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mobile-lang-opt {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  text-align: left;
  color: var(--gray-300);
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}
.mobile-lang-opt:hover  { background: rgba(255,255,255,0.08); color: var(--white); }
.mobile-lang-opt.active { background: var(--blue); color: var(--white); }

/* Currency switcher (mobile menu) */
.mobile-curr-section {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-curr-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-curr-switcher {
  display: flex;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 4px;
  gap: 3px;
}

.mobile-curr-opt {
  flex: 1;
  padding: 0.5rem 0;
  border-radius: 7px;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}
.mobile-curr-opt:hover  { color: var(--white); }
.mobile-curr-opt.active { background: var(--blue); color: var(--white); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--bg), var(--bg2));
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.30;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 auto 3rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 6rem 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--gray-300);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.order-1 { order: 1; }
.order-2 { order: 2; }

/* Gallery / Carousel */
.about-gallery {
  position: relative;
}

.carousel-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.carousel {
  width: 100%;
  overflow: hidden;
  background: #0d1117;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.office-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0d1117;
  overflow: hidden;
}

.office-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.office-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.4);
}

.carousel-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: background 0.2s;
  line-height: 1;
}
.carousel-btn:hover { background: var(--blue); border-color: var(--blue); }

.carousel-dots {
  display: flex;
  gap: 0.4rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.carousel-dot.active { background: var(--blue); }

.about-glow {
  display: block;
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(59,130,246,0.2);
  border-radius: 50%;
  filter: blur(3rem);
  pointer-events: none;
}


/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  padding: 4rem 0 6rem;
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.08);
  padding: 2rem;
  transition: transform 0.3s ease;
}
.product-card:hover { transform: scale(1.025); }

.product-card--featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.product-badge--blue { background: var(--blue); color: var(--white); }
.product-badge--gray { background: #4b5563; color: var(--white); }

.product-img {
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.product-img--placeholder { background: #0d1117; }

.product-img-placeholder {
  width: 100%;
  height: 100%;
}
.product-img-placeholder svg { width: 100%; height: 100%; }

.product-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.product-price--gray { color: var(--gray-500); }
.product-price--out  { color: #f87171; font-weight: 600; }
.product-price--soon { color: #34d399; font-weight: 600; }

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray-300);
  font-size: 0.9rem;
}
.check {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}


/* ============================================================
   FEATURE CARDS (Monitoring + Remote Control)
   ============================================================ */
.monitoring {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg2));
}

.remote-control {
  padding: 6rem 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.45);
  transform: scale(1.03);
}

.feature-card--blue {
  background: linear-gradient(135deg, rgba(59,130,246,0.07), rgba(139,92,246,0.07));
  border-color: rgba(59,130,246,0.18);
}
.feature-card--blue:hover { border-color: rgba(59,130,246,0.55); }

.feature-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a0f1a;
}
.feature-img svg { width: 100%; height: 100%; display: block; }

/* For unsplash images in remote control */
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-img img { transform: scale(1.08); }

.feature-body {
  padding: 1.5rem;
}
.feature-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.feature-body p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-dot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover .feature-dot { opacity: 1; }

/* Remote control hover overlay */
.feature-card--blue::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59,130,246,0.18), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card--blue:hover::after { opacity: 1; }


/* ============================================================
   SUPPORTED CARS
   ============================================================ */
.supported-cars {
  padding: 4rem 0 6rem;
  background: var(--bg);
}

.brands-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.brand-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 180px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--gray-300);
}
.brand-btn:hover {
  border-color: var(--border-blue);
  background: rgba(255,255,255,0.08);
}
.brand-btn:hover .brand-logo-wrap svg path,
.brand-btn:hover .brand-logo-wrap svg text,
.brand-btn:hover .brand-logo-wrap svg ellipse { opacity: 1; }

.brand-logo-wrap {
  /*width: 80px;*/
  height: 60px;
  margin-bottom: 0.75rem;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-btn:hover .brand-logo-wrap { transform: scale(1.1); }

.brand-logo-wrap img,
.brand-logo-wrap svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-btn span { font-size: 0.875rem; font-weight: 500; }

.cars-cta-box {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cars-cta-box p {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.7;
}
.highlight {
  color: #60a5fa;
  font-weight: 600;
}

.models-header {
  margin-bottom: 2rem;
}
.back-to-brands {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.back-to-brands:hover { background: rgba(255,255,255,0.1); }

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.model-card {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.model-card:hover { border-color: var(--border-blue); }

.model-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0d1117;
}
.model-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.model-card:hover .model-img img { transform: scale(1.06); }

.model-info {
  padding: 1.25rem;
}
.model-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.model-info p {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.mt-8 { margin-top: 2rem; }


/* ============================================================
   WHERE TO BUY
   ============================================================ */
.where-to-buy {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg2), var(--bg));
}

.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.buy-col h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.buy-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.buy-icon-wrap--blue   { background: rgba(59,130,246,0.18); color: #60a5fa; }
.buy-icon-wrap--purple { background: rgba(139,92,246,0.18); color: #c084fc; }

.marketplace-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.marketplace-card {
  width: 120px;
  padding: 1.25rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.marketplace-card:hover {
  border-color: var(--border-blue);
  transform: scale(1.05);
  background: rgba(255,255,255,0.08);
}
.marketplace-card svg { width: 100%; height: auto; }

.buy-service-desc {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  margin-top: -0.5rem;
  line-height: 1.65;
}

.link-blue { color: #60a5fa; font-weight: 600; }
.link-blue:hover { color: var(--blue); text-decoration: underline; }


/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 50%, #1e40af 100%);
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M10 0L0 0 0 10' fill='none' stroke='white' stroke-width='1' opacity='0.08'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.final-cta-content h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.final-cta-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.65;
}

.final-cta-glow {
  position: absolute;
  width: 10rem;
  height: 10rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  filter: blur(3rem);
  pointer-events: none;
}
.final-cta-glow--left  { top: 50%; left: 2.5rem; transform: translateY(-50%); }
.final-cta-glow--right { bottom: 2.5rem; right: 2.5rem; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer .container {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-brand-desc {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray-400);
  font-size: 0.875rem;
}
.footer-contacts li svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-contact-link {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color 0.2s;
  cursor: pointer;
  text-underline-offset: 3px;
}
.footer-contact-link:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-contact-link--accent {
  color: #60a5fa;
  font-weight: 600;
}
.footer-contact-link--accent:hover {
  color: #93c5fd;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.social-link {
  color: var(--gray-400);
  transition: color 0.2s;
}
.social-link:hover { color: var(--white); }

.footer-copy {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
  padding-top: 1rem;
}


/* ============================================================
   IMAGE MODAL (global — used on cars, help, and other pages)
   ============================================================ */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.img-modal.open { display: flex; }

.img-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}

.img-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border: none;
}
.img-modal-close:hover { background: rgba(255,255,255,0.1); }

.img-modal-inner {
  position: relative;
  z-index: 5;
  max-width: 90vw;
  max-height: 85vh;
}

.img-modal-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: contain;
}


/* ============================================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Header */
  .nav-desktop { display: none; }
  .nav-right    { display: none; }
  .nav-mobile-right { display: flex; }

  .logo-img { height: 28px; }

  /* Hero */
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .hero-btns  { flex-direction: column; align-items: center; }

  /* About */
  .about { padding: 3rem 0; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .order-1 { order: 1; }
  .order-2 { order: 2; }
  .about-glow { display: none; }

  /* Products */
  .products { padding: 3rem 0; }
  .products-grid { grid-template-columns: 1fr; }

  /* Features */
  .monitoring,
  .remote-control { padding: 3rem 0; }
  .features-grid  { grid-template-columns: 1fr; }

  /* Cars */
  .supported-cars { padding: 3rem 0; }
  .brands-row { gap: 1rem; }
  .brand-btn  { width: 140px; padding: 1rem; }
  .models-grid { grid-template-columns: 1fr; }

  /* Where to Buy */
  .where-to-buy { padding: 3rem 0; }
  .buy-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* CTA */
  .final-cta { padding: 5rem 0; }
  .final-cta-content p { font-size: 1rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Section head */
  .section-head { margin-bottom: 2.5rem; }
  .section-head h2 { font-size: 1.75rem; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .marketplace-row { grid-template-columns: repeat(3, 1fr); }
  .brands-row { flex-direction: column; align-items: center; }
  .brand-btn  { width: 100%; max-width: 240px; }
}
