:root {
  color-scheme: light;
  --black: #050505;
  --ink: #111318;
  --graphite: #4d535d;
  --muted: #777f8c;
  --line: rgba(10, 12, 16, 0.12);
  --soft: #f4f6f8;
  --white: #ffffff;
  --blue: #0a84ff;
  --blue-soft: #eaf4ff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.rtl {
  direction: rtl;
}

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

button,
select,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--white);
  color: var(--black);
  padding: 12px 16px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 48px);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.solid,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.brand,
.brand-mark,
.header-actions,
.main-nav,
.nav-toggle,
.icon-button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  font-size: 1.05rem;
}

.brand-mark {
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
}

.main-nav {
  justify-content: center;
  gap: clamp(12px, 1.8vw, 26px);
  font-size: 0.82rem;
  color: inherit;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover,
.main-nav a:focus {
  opacity: 1;
  color: var(--blue);
}

.header-actions {
  justify-content: flex-end;
  gap: 8px;
}

.select-shell select {
  min-width: 86px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 8px 30px 8px 12px;
  font-size: 0.78rem;
}

.site-header.solid select,
.site-header.menu-open select {
  color: var(--ink);
}

.icon-button,
.nav-toggle {
  justify-content: center;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
}

.cart-icon {
  width: 14px;
  height: 12px;
  border: 1.8px solid currentColor;
  border-top: 0;
  display: block;
  position: relative;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -7px;
  width: 8px;
  height: 8px;
  border: 1.8px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-count {
  position: absolute;
  right: -3px;
  top: -3px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  width: 16px;
  height: 1px;
  background: currentColor;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  position: relative;
  background: #050505;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(10, 132, 255, 0.26), transparent 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.78));
  z-index: 2;
}

.road-lines,
.world-riders {
  position: absolute;
  inset: 0;
}

.road-lines {
  background:
    linear-gradient(120deg, transparent 0 47%, rgba(255, 255, 255, 0.28) 47.2% 47.5%, transparent 47.8%),
    linear-gradient(100deg, transparent 0 58%, rgba(10, 132, 255, 0.24) 58.1% 58.35%, transparent 58.55%);
  transform: scale(1.2);
  animation: drift 12s linear infinite;
}

.world-riders {
  background:
    linear-gradient(20deg, transparent 0 44%, rgba(255, 255, 255, 0.12) 44.2% 44.5%, transparent 44.7%),
    radial-gradient(ellipse at 50% 70%, rgba(255, 255, 255, 0.14), transparent 32%);
}

.bike-line {
  position: absolute;
  width: min(68vw, 780px);
  height: 280px;
  right: 6vw;
  bottom: 18vh;
  opacity: 0.92;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 58px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.hero h1,
.product-hero h1 {
  font-size: clamp(3.4rem, 10vw, 8.8rem);
  line-height: 0.88;
  max-width: 900px;
  margin: 0;
  letter-spacing: 0;
}

.hero p,
.product-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.ghost-action {
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 720;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.primary-action {
  background: var(--blue);
  color: var(--white);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.ghost-action {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.full {
  width: 100%;
}

section {
  padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 48px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-kicker {
  font-size: 0.84rem;
  color: var(--blue);
  font-weight: 780;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.section-title {
  font-size: clamp(2.35rem, 5vw, 5.25rem);
  line-height: 0.98;
  max-width: 840px;
  margin: 0;
}

.section-copy {
  color: var(--graphite);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
  max-width: 720px;
}

.story-grid,
.split-grid,
.checkout-grid,
.dealer-layout,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.story-points {
  display: grid;
  gap: 14px;
}

.story-point,
.feature-tile,
.testimonial,
.dealer-card,
.faq-item,
.spec-row,
.model-card,
.cms-card,
.summary-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.story-point {
  padding: 22px;
}

.story-point strong {
  display: block;
  margin-bottom: 6px;
}

.story-point p,
.model-card p,
.feature-tile p,
.testimonial p,
.dealer-card p,
.faq-item p,
.cms-card p,
.contact-card p {
  color: var(--graphite);
  line-height: 1.55;
  margin: 0;
}

.dark-section {
  background: var(--black);
  color: var(--white);
}

.dark-section .section-copy,
.dark-section .model-card p,
.dark-section .feature-tile p,
.dark-section .testimonial p {
  color: rgba(255, 255, 255, 0.72);
}

.dark-section .model-card,
.dark-section .feature-tile,
.dark-section .testimonial,
.dark-section .summary-card {
  background: #101114;
  border-color: rgba(255, 255, 255, 0.12);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.model-card {
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.model-visual {
  min-height: 230px;
  display: grid;
  place-items: end center;
  padding: 28px 18px;
  background: linear-gradient(160deg, #f7f9fb, #dce4ed);
}

.dark-section .model-visual {
  background: linear-gradient(160deg, #1c1e22, #0b0b0d);
}

.product-bike {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 2 / 1;
}

.model-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.model-body h3 {
  font-size: 1.55rem;
  margin: 0;
}

.price {
  font-weight: 780;
  color: var(--blue);
  margin-top: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.feature-tile {
  padding: 22px;
  min-height: 158px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.map-shell {
  margin-top: 46px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #dfe7f1);
  min-height: 480px;
  position: relative;
}

.world-map {
  width: 100%;
  height: 480px;
  display: block;
}

.region-dot {
  cursor: pointer;
}

.region-dot circle {
  fill: var(--blue);
  filter: drop-shadow(0 0 10px rgba(10, 132, 255, 0.7));
}

.region-dot text {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 720;
}

.testimonials-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial {
  padding: 24px;
}

.testimonial strong {
  display: block;
  margin-top: 18px;
}

.product-hero {
  min-height: 94vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: #050505;
  position: relative;
  overflow: hidden;
}

.product-hero .bike-line {
  bottom: 24vh;
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 820px;
}

.metric {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.metric strong {
  display: block;
  font-size: 1.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 16px;
  margin-top: 42px;
}

.gallery-tile {
  min-height: 280px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f3f6f9, #d6e1ec);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gallery-tile.large {
  min-height: 576px;
}

.spec-table {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  margin-top: 34px;
  overflow: hidden;
  border-radius: var(--radius);
}

.comparison th,
.comparison td {
  border: 1px solid var(--line);
  padding: 15px;
  text-align: left;
}

.comparison th {
  background: var(--soft);
}

.dealer-filters,
.checkout-form,
.support-form {
  display: grid;
  gap: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.dealer-results {
  display: grid;
  gap: 12px;
}

.dealer-card,
.cms-card,
.contact-card,
.faq-item,
.summary-card {
  padding: 22px;
}

.dealer-map {
  min-height: 440px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, transparent 20%, rgba(10, 132, 255, 0.12) 20.5% 21%, transparent 21.5%),
    linear-gradient(30deg, #f6f8fa, #d9e2ec);
  border: 1px solid var(--line);
  position: sticky;
  top: 96px;
  overflow: hidden;
}

.pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 10px rgba(10, 132, 255, 0.13);
}

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

.summary-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.summary-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.summary-card .grand {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
}

.cms-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 760;
}

.faq-item p {
  display: none;
  margin-top: 12px;
}

.faq-item.open p {
  display: block;
}

footer {
  background: var(--black);
  color: var(--white);
  padding: 72px clamp(16px, 4vw, 48px);
}

footer input {
  background: #101114;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}

.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.cart-panel {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 240ms ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.rtl .cart-panel {
  right: auto;
  left: 0;
  transform: translateX(-105%);
}

.cart-panel.open {
  transform: translateX(0);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: var(--radius);
}

.mini-bike {
  height: 48px;
  background: var(--soft);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  border: 0;
  background: #25d366;
  color: var(--white);
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 780;
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.28);
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes drift {
  from {
    transform: translateX(-4%) scale(1.18);
  }
  to {
    transform: translateX(4%) scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    padding: 18px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .main-nav.open {
    display: flex;
  }

  .models-grid,
  .features-grid,
  .cms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    grid-template-columns: auto auto;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }

  .select-shell {
    flex: 1;
  }

  .select-shell select {
    width: 100%;
  }

  .main-nav {
    top: 116px;
  }

  .hero h1,
  .product-hero h1 {
    font-size: clamp(3rem, 18vw, 5.3rem);
  }

  .bike-line {
    width: 92vw;
    right: -8vw;
    bottom: 26vh;
  }

  .story-grid,
  .split-grid,
  .checkout-grid,
  .dealer-layout,
  .footer-grid,
  .gallery,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .models-grid,
  .features-grid,
  .testimonials-grid,
  .cms-grid,
  .product-metrics {
    grid-template-columns: 1fr;
  }

  .map-shell,
  .world-map {
    min-height: 360px;
    height: 360px;
  }

  .gallery-tile.large {
    min-height: 360px;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }
}
