/* =================================================================
   Section Styles
   Mobile-first. Base rules = smallest screens (≤ 479 px).
   Breakpoints: sm 480 | md 768 | lg 1024
   ================================================================= */

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__underline {
  position: relative;
  display: inline-block;
}

.hero__underline svg {
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 0.75rem;
}

.hero__subtitle {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.hero__buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}

.hero__buttons .btn-primary,
.hero__buttons .btn-outline {
  width: 100%;
  justify-content: center;
}

/* ---- Showcase card ---- */
.showcase {
  position: relative;
}

.showcase__inner {
  position: relative;
  max-width: 100%;
}

/* Peek cards behind main card */
.peek-card {
  position: absolute;
  width: 5rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background-color: oklch(0.22 0.02 250 / 80%);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  outline: 1px solid rgba(255, 255, 255, 0.05);
  display: none;
}

.peek-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.peek-card--left {
  left: 0;
  top: 1.5rem;
  height: calc(100% - 3rem);
  transform: translateX(-55%) rotate(-4deg);
}

.peek-card--right {
  right: 0;
  top: 2rem;
  height: calc(100% - 4rem);
  transform: translateX(55%) rotate(4deg);
}

/* Main listing card */
.listing-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background-color: var(--foreground);
  padding: 0.625rem;
  color: white;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  outline: 1px solid rgba(255, 255, 255, 0.1);
}

.listing-card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
}

.listing-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.listing-card__body {
  padding: 0.75rem 0.25rem 0.25rem;
}

.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.listing-card__plate {
  border-radius: var(--radius-md);
  background-color: var(--highlight);
  padding: 0.2rem 0.5rem;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: black;
}

.listing-card__location {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.listing-card__title {
  margin-top: 0.625rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.listing-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.625rem;
}

.listing-card__tag {
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  outline: 1px solid rgba(255, 255, 255, 0.1);
}

.listing-card__stats {
  margin-top: 1rem;
  display: flex;
  gap: 1.25rem;
  border-left: 3px solid var(--primary);
  padding-left: 0.875rem;
}

.listing-card__stat-value {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.listing-card__stat-label {
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   BRAND LOGOS — infinite marquee
   ================================================================ */
.brands {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--foreground);
}

.brands__inner {
  padding: 3rem 0;
  text-align: center;
  overflow: hidden;
}

.brands h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: white;
}

.brands h2 span {
  color: #f5c518;
}

/* ---- Marquee container ---- */
.marquee {
  margin-top: 2rem;
  width: 100%;
  overflow: hidden;
  /* mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  ); */
}

/* ---- Scrolling track ---- */
.marquee__track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: marquee-scroll 20s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ---- Logos ---- */
.marquee__track img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.marquee__track img:hover {
  opacity: 1;
}

/* ---- Keyframes ---- */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================================================================
   BENEFITS
   ================================================================ */
.benefits {
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.benefits__inner {
  padding: 3rem 0;
}

.benefits h2 {
  max-width: 48rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.benefits h2 span {
  color: var(--primary);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-2xl);
  background-color: oklch(0.78 0.14 175 / 15%);
  color: var(--primary);
}

.benefit__title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.benefit__body {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ================================================================
   HOW IT WORKS (STEPS)
   ================================================================ */
.how-it-works {
  background-color: var(--background);
}

.how-it-works__inner {
  padding: 3rem 0;
}

.how-it-works h2 {
  max-width: 48rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.how-it-works h2 span {
  color: var(--primary);
}

.how-it-works__intro {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.steps {
  position: relative;
  margin-top: 2.5rem;
}

/* Vertical connecting line — hidden on mobile */
.steps__line {
  display: none;
  position: absolute;
  left: 2.25rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--primary),
    oklch(0.78 0.14 175 / 40%),
    transparent
  );
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.875rem;
}

.step + .step {
  margin-top: 2rem;
}

.step__number-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__number {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px oklch(0.78 0.14 175 / 0.3);
}

.step__card {
  min-width: 0;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background-color: var(--surface);
  padding: 1rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: box-shadow 0.15s;
}

.step__card:hover {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.step__label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.step__card h3 {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.step__body {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.step__bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.step__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: var(--radius-xl);
  background-color: oklch(0.78 0.14 175 / 5%);
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
}

.step__bullet svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

/* ================================================================
   FAQS
   ================================================================ */
.faqs {
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.faqs__inner {
  padding: 3rem 0;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.faqs__header {
  text-align: center;
}

.faqs h2 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.faqs h2 span {
  color: var(--primary);
}

.faqs__subtitle {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.faqs__list {
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background-color: var(--background);
}

.faq {
  padding: 1rem 1.25rem;
}

.faq + .faq {
  border-top: 1px solid var(--border);
}

.faq summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  display: none;
  content: "";
}

.faq summary h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.faq__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background-color: oklch(0.78 0.14 175 / 15%);
  color: var(--primary);
  transition: transform 0.2s;
}

.faq[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.cta {
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.cta__inner {
  padding: 3.5rem 0;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta h2 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.cta h2 span {
  color: var(--primary);
}

.cta__subtitle {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.cta__buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.cta__buttons .btn-primary,
.cta__buttons .btn-outline {
  width: 100%;
  justify-content: center;
}

/* ================================================================
   RESPONSIVE — sm 480 px+
   ================================================================ */
@media (min-width: 480px) {
  /* Hero */
  .hero__grid {
    padding: 3rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero__subtitle {
    margin-top: 1.5rem;
    font-size: 1rem;
  }

  .hero__buttons {
    margin-top: 1.75rem;
  }

  .hero__buttons .btn-primary,
  .hero__buttons .btn-outline {
    width: auto;
  }

  .listing-card {
    padding: 0.75rem;
  }

  .listing-card__body {
    padding: 1rem 0.5rem 0.25rem;
  }

  .listing-card__title {
    font-size: 1.25rem;
  }

  /* Brands */
  .brands__inner {
    padding: 3.5rem 0;
  }

  .brands h2 {
    font-size: 1.75rem;
  }

  .marquee {
    margin-top: 2.5rem;
  }

  .marquee__track {
    gap: 5rem;
  }

  .marquee__track img {
    height: 3rem;
  }

  /* Benefits */
  .benefits__inner {
    padding: 3.5rem 0;
  }

  .benefits h2 {
    font-size: 2rem;
  }

  /* Steps */
  .how-it-works__inner {
    padding: 3.5rem 0;
  }

  .how-it-works h2 {
    font-size: 2rem;
  }

  .step__card {
    padding: 1.25rem;
  }

  .step__card h3 {
    font-size: 1.25rem;
  }

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

  /* FAQs */
  .faqs__inner {
    padding: 3.5rem 0;
  }

  .faqs h2 {
    font-size: 2rem;
  }

  .faq {
    padding: 1.25rem 1.5rem;
  }

  /* CTA */
  .cta__inner {
    padding: 4rem 0;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta__buttons .btn-primary,
  .cta__buttons .btn-outline {
    width: auto;
  }
}

/* ================================================================
   RESPONSIVE — md 768 px+
   ================================================================ */
@media (min-width: 768px) {
  /* Hero */
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 5rem 0 7rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero__subtitle {
    margin-top: 1.75rem;
    font-size: 1.125rem;
  }

  .hero__buttons {
    margin-top: 2.25rem;
  }

  .showcase__inner {
    max-width: none;
  }

  .peek-card {
    display: block;
  }

  .listing-card {
    padding: 1rem;
  }

  .listing-card__body {
    padding: 1rem 0.5rem 0.25rem;
  }

  .listing-card__title {
    font-size: 1.5rem;
  }

  /* Brands */
  .brands__inner {
    padding: 5rem 0;
  }

  .brands h2 {
    font-size: 2.25rem;
  }

  .marquee {
    margin-top: 3rem;
  }

  .marquee__track {
    gap: 6rem;
  }

  .marquee__track img {
    height: 170px;
  }

  /* Benefits */
  .benefits__inner {
    padding: 7rem 0;
  }

  .benefits h2 {
    font-size: 3rem;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
  }

  /* Steps */
  .how-it-works__inner {
    padding: 7rem 0;
  }

  .how-it-works h2 {
    font-size: 3.75rem;
  }

  .steps {
    margin-top: 4rem;
  }

  .steps__line {
    display: block;
  }

  .step + .step {
    margin-top: 4rem;
  }

  .step__number {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.5rem;
  }

  .step__card {
    padding: 2.5rem;
  }

  .step__card h3 {
    font-size: 1.875rem;
  }

  .step__bullets {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  /* FAQs */
  .faqs__inner {
    padding: 7rem 0;
  }

  .faqs h2 {
    font-size: 3rem;
  }

  .faq {
    padding: 1.5rem 2rem;
  }

  .faq summary h3 {
    font-size: 1.125rem;
  }

  .faq__icon {
    width: 2rem;
    height: 2rem;
  }

  /* CTA */
  .cta__inner {
    padding: 7rem 0;
  }

  .cta h2 {
    font-size: 3rem;
  }
}

/* ================================================================
   RESPONSIVE — lg 1024 px+
   ================================================================ */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.25rem;
  }

  .hero__grid {
    gap: 4rem;
  }

  .benefits__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .step {
    gap: 2.5rem;
  }
}
