/* ==========================================================================
   MOTIQ — Section Styles
   Hero, homepage sections, footer
   ========================================================================== */

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-graphite);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero__glass {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px) saturate(120%);
  -webkit-backdrop-filter: blur(2px) saturate(120%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-16)) var(--container-padding) var(--space-16);
  max-width: 960px;
  margin: 0 auto;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-6);
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: var(--radius-round);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--font-weight-black);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__title-accent {
  color: var(--color-red);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  margin-bottom: var(--space-16);
}

/* Hero stats */
.hero__stats {
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

/* ── Featured Brands ────────────────────────────────────────────────────── */
.brands-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

/* ── Featured Motorcycles ───────────────────────────────────────────────── */
.section__header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__header-row .section__header {
  text-align: left;
  margin-bottom: 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ── Categories ─────────────────────────────────────────────────────────── */
.categories-section {
  background: var(--bg-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* ── Features (Why Choose) ──────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

/* ── Financing Preview ──────────────────────────────────────────────────── */
.financing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.financing-preview__info {
  max-width: 480px;
}

.financing-preview__info h2 {
  margin-bottom: var(--space-4);
}

.financing-preview__info p {
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.financing-preview__card {
  padding: var(--space-8);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.financing-preview__amount {
  text-align: center;
  margin-bottom: var(--space-6);
}

.financing-preview__amount-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-2);
}

.financing-preview__amount-value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-weight-black);
  color: var(--color-red);
}

.financing-preview__amount-suffix {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-regular);
  color: var(--text-tertiary);
}

.financing-preview__slider-group {
  margin-bottom: var(--space-5);
}

.financing-preview__slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.financing-preview__slider-value {
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

/* ── Sell Your Bike CTA ─────────────────────────────────────────────────── */
.sell-cta {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.sell-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sell-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sell-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.sell-cta__content {
  position: relative;
  z-index: 2;
  padding: var(--space-16) var(--container-padding);
  max-width: 600px;
}

.sell-cta__content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.sell-cta__content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.sell-cta__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.sell-cta__feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.sell-cta__feature svg {
  width: 16px;
  height: 16px;
  color: var(--color-red);
}

/* ── Buyer Protection ───────────────────────────────────────────────────── */
.protection-section {
  background: var(--bg-secondary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

/* ── Testimonials ───────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ── Blog ───────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ── Newsletter ─────────────────────────────────────────────────────────── */
.newsletter-section {
  background: var(--bg-secondary);
  text-align: center;
}

.newsletter-section .section__title {
  margin-bottom: var(--space-3);
}

.newsletter-section .section__subtitle {
  margin-bottom: var(--space-8);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--color-graphite);
  color: var(--color-silver);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--font-weight-black);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__logo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-red);
  border-radius: var(--radius-round);
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-steel);
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-steel);
  transition: var(--transition-base);
}

.footer__social-link:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__column-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-steel);
  transition: var(--transition-base);
}

.footer__link:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-steel);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer__bottom-link {
  font-size: var(--text-xs);
  color: var(--color-steel);
  transition: color var(--duration-normal) ease;
}

.footer__bottom-link:hover {
  color: var(--color-white);
}

.footer__maple {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-steel);
}

.footer__maple svg {
  width: 14px;
  height: 14px;
  fill: var(--color-red);
}
