/* Motorcycle Trackers V2 Design System */

:root {
  --mt-black: #14171b;
  --mt-charcoal: #252a30;
  --mt-red: #d62828;
  --mt-white: #ffffff;
  --mt-light: #f5f6f8;
  --mt-muted: #626a73;
}

body {
  background: var(--mt-white);
  color: var(--mt-black);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.primary-button {
  background: var(--mt-red);
  border-radius: 6px;
  font-weight: 700;
}

.primary-button:hover {
  background: #ad2020;
}

/* V2 Premium Homepage */
.v2-hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg,
      rgba(12,15,19,.88) 0%,
      rgba(12,15,19,.60) 48%,
      rgba(12,15,19,.12) 100%),
    url("../images/motorcycle-hero.jpg")
    center / cover no-repeat;
}

.v2-hero-content {
  max-width: 660px;
  padding: 90px 0;
}

.v2-hero h1 {
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 20px 0;
}

.v2-hero-content > p:not(.eyebrow) {
  font-size: 19px;
  color: #e5e7eb;
  max-width: 550px;
}

.v2-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.v2-secondary-button {
  display: inline-block;
  padding: 15px 25px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.v2-finder-intro {
  padding: 85px 0;
  text-align: center;
}

.v2-finder-intro h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.v2-finder-placeholder {
  max-width: 720px;
  margin: 35px auto 0;
  padding: 35px;
  background: #f5f6f8;
  border-radius: 14px;
}

@media(max-width:650px) {
  .v2-hero { min-height: 510px; }
  .v2-hero-content { padding: 65px 0; }
  .v2-hero h1 { letter-spacing: -1px; }
}

/* V2 Premium Homepage */
.v2-hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg,
      rgba(12,15,19,.88) 0%,
      rgba(12,15,19,.60) 48%,
      rgba(12,15,19,.12) 100%),
    url("../images/motorcycle-hero.jpg")
    center / cover no-repeat;
}

.v2-hero-content {
  max-width: 660px;
  padding: 90px 0;
}

.v2-hero h1 {
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 20px 0;
}

.v2-hero-content > p:not(.eyebrow) {
  font-size: 19px;
  color: #e5e7eb;
  max-width: 550px;
}

.v2-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.v2-secondary-button {
  display: inline-block;
  padding: 15px 25px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.v2-finder-intro {
  padding: 85px 0;
  text-align: center;
}

.v2-finder-intro h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.v2-finder-placeholder {
  max-width: 720px;
  margin: 35px auto 0;
  padding: 35px;
  background: #f5f6f8;
  border-radius: 14px;
}

@media(max-width:650px) {
  .v2-hero { min-height: 510px; }
  .v2-hero-content { padding: 65px 0; }
  .v2-hero h1 { letter-spacing: -1px; }
}

/* Interactive Tracker Finder */
.finder-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 25px;
}

.finder-choices button {
  background: #ffffff;
  color: #17191d;
  border: 2px solid #dce0e5;
  border-radius: 10px;
  padding: 22px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.finder-choices button:hover,
.finder-choices button:focus-visible {
  border-color: #d62828;
  background: #fff5f5;
}

.finder-result:not([hidden]) {
  display: block;
  margin-top: 25px;
  padding: 28px;
  background: #17191d;
  color: #ffffff;
  border-radius: 12px;
}

.finder-result h3 {
  color: #ffffff;
  font-size: 26px;
}

.finder-result p {
  color: #e5e7eb;
}

@media (max-width: 650px) {
  .finder-choices {
    grid-template-columns: 1fr;
  }
}

/* V2 hero layout refinement */
.v2-hero-content {
  max-width: 570px;
}

.v2-hero h1 {
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.v2-hero {
  background-position: 58% center;
}

@media (max-width: 650px) {
  .v2-hero-content {
    max-width: 100%;
  }

  .v2-hero h1 {
    font-size: clamp(36px, 9vw, 48px);
  }
}

/* V2 Featured Product Cards */
.v2-products {
  padding: 85px 0;
  background: #f5f6f8;
}

.v2-products h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 12px 0;
}

.v2-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.v2-product-card {
  background: #fff;
  padding: 32px;
  border: 1px solid #e2e5e9;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}

.v2-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

.v2-product-type {
  color: #c92323;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.v2-product-card h3 {
  font-size: 27px;
  margin: 16px 0;
}

.v2-product-card p {
  color: #555d66;
  line-height: 1.7;
}

.v2-product-card a {
  color: #c92323;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 850px) {
  .v2-product-grid {
    grid-template-columns: 1fr;
  }
}

/* V2 Editorial Product Grid */
.v2-products {
  background: #f3f4f6;
  padding: 90px 0;
}

.v2-products .container > h2 {
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.15;
  max-width: 750px;
}

.v2-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.v2-product-card {
  display: flex;
  flex-direction: column;
  min-height: 265px;
  border-top: 4px solid #d62828;
}

.v2-product-card h3 {
  font-size: 27px;
  line-height: 1.2;
}

.v2-product-card p {
  flex-grow: 1;
}

.v2-product-card a {
  font-size: 15px;
}

.v2-catalog-link {
  text-align: center;
  margin-top: 40px;
}

.v2-catalog-link a {
  color: #c92323;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .v2-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .v2-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Product image placeholders */
.v2-product-image {
  min-height: 175px;
  background: linear-gradient(145deg,#252a30,#393f47);
  color: #aeb7c1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 24px;
  border-radius: 5px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.v2-image-icon {
  font-size: 48px;
  color: #d62828;
  line-height: 1;
}

/* Tracker Finder button refinement */
#mt-tracker-finder .finder-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

#mt-tracker-finder .finder-choices button {
  display: block;
  width: 100%;
  min-height: 76px;
  padding: 18px 20px;
  background: #252a30;
  color: #fff;
  border: 2px solid #454c55;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

#mt-tracker-finder .finder-choices button:hover,
#mt-tracker-finder .finder-choices button:focus-visible {
  background: #353c45;
  border-color: #d62828;
}

@media (max-width: 650px) {
  #mt-tracker-finder .finder-choices {
    grid-template-columns: 1fr;
  }
}

/* Motorcycle GPS comparison table */
.v2-comparison {
  background: #fff;
  padding: 75px 0 85px;
  color: #252a30;
}

.v2-comparison h2 {
  font-size: clamp(30px, 4vw, 43px);
  margin: 10px 0 15px;
  color: #171b20;
}

.v2-table-scroll {
  overflow-x: auto;
  margin-top: 32px;
  border: 1px solid #dce0e5;
  border-radius: 8px;
}

.v2-tracker-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
}

.v2-tracker-table thead {
  background: #20252b;
  color: #fff;
}

.v2-tracker-table th,
.v2-tracker-table td {
  padding: 19px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e8ec;
}

.v2-tracker-table thead th {
  color: #fff;
  font-weight: 700;
}

.v2-tracker-table tbody tr:nth-child(even) {
  background: #f5f6f8;
}

.v2-tracker-table tbody th {
  font-weight: 700;
}

.v2-tracker-table a {
  color: #c82228;
  font-weight: 700;
  text-decoration: none;
}

.v2-tracker-table a:hover {
  text-decoration: underline;
}

.v2-table-note {
  margin-top: 18px;
  font-size: 13px;
  color: #626a73;
}
