@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

.main--home {
  max-width: none;
  padding: 0;
  margin-top: calc(-1 * var(--header-h));
}

.page--home:not(.view--hidden) {
  display: flex;
  flex-direction: column;
}

/* ── Scroll reveal (clean, no blur) ── */
[data-reveal],
[data-reveal-child] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible,
[data-reveal-child].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero — centered, no dead space ── */
.home-hero {
  position: relative;
  padding: calc(56px + var(--header-h)) clamp(24px, 5vw, 48px) 48px;
  overflow: hidden;
}

.home-hero__mesh {
  position: absolute;
  top: calc(-1 * var(--header-h));
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(155, 48, 255, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(106, 13, 173, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(155, 48, 255, 0.25);
  background: rgba(155, 48, 255, 0.06);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #d4b3ff;
  margin-bottom: 28px;
}

.home-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dffb2;
  box-shadow: 0 0 10px rgba(125, 255, 178, 0.9);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

.home-hero h1 {
  font-family: 'Syne', 'Segoe UI', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.home-title-line {
  display: block;
}

.home-hero__logo {
  margin: 8px auto 32px;
  max-width: min(520px, 88vw);
}

.home-hero__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 32px rgba(155, 48, 255, 0.35));
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.btn--lg {
  padding: 14px 26px;
  font-size: 0.88rem;
  border-radius: 12px;
}

.btn--glow {
  box-shadow: 0 0 28px rgba(155, 48, 255, 0.3);
}

.home-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.home-trust strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.home-trust__sep {
  opacity: 0.3;
  margin: 0 4px;
}

/* ── Bridge between hero → featured ── */
.home-bridge {
  height: 1px;
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(155, 48, 255, 0.35) 20%, rgba(224, 170, 255, 0.5) 50%, rgba(155, 48, 255, 0.35) 80%, transparent);
  box-shadow: 0 0 24px rgba(155, 48, 255, 0.2);
}

/* ── Featured section ── */
.home-section {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}

.home-featured {
  padding-top: 48px;
  padding-bottom: 72px;
  scroll-margin-top: 24px;
}

.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.home-section__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9b30ff;
  margin-bottom: 8px;
}

.home-section__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-section__link {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-section__link:hover {
  color: #e0aaff;
}

/* ── Spotlight cards (original large layout) ── */
.spotlight-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(155, 48, 255, 0.35),
    0 0 40px rgba(155, 48, 255, 0.32),
    0 0 80px rgba(106, 13, 173, 0.2),
    0 20px 56px rgba(106, 13, 173, 0.18);
}

.spotlight-card__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.spotlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.spotlight-card:hover .spotlight-card__media img {
  transform: scale(1.04);
}

.spotlight-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(12, 0, 22, 0.85) 100%);
}

.spotlight-card--reverse .spotlight-card__media {
  order: 2;
}

.spotlight-card--reverse .spotlight-card__body {
  order: 1;
}

.spotlight-card--reverse .spotlight-card__media::after {
  background: linear-gradient(270deg, transparent 50%, rgba(12, 0, 22, 0.85) 100%);
}

.spotlight-card--reverse .spotlight-card__tag {
  left: auto;
  right: 20px;
}

.spotlight-card__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(155, 48, 255, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.spotlight-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-card__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #9b30ff;
  margin-bottom: 10px;
}

.spotlight-card__body h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.spotlight-card__desc {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.spotlight-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.spotlight-card__price {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #e0aaff;
}

.spotlight-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── CTA ── */
.home-cta {
  margin-bottom: 80px;
  padding: 48px 0;
  text-align: center;
}

.home-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 22px;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 48px;
  }

  .home-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-card__media {
    order: -1;
  }

  .spotlight-card--reverse .spotlight-card__body {
    order: 0;
  }

  .spotlight-card__media::after,
  .spotlight-card--reverse .spotlight-card__media::after {
    background: linear-gradient(0deg, rgba(12, 0, 22, 0.9) 0%, transparent 50%);
  }

  .spotlight-card--reverse .spotlight-card__tag {
    left: 20px;
    right: auto;
  }

  .spotlight-card__body {
    padding: 24px 20px;
  }

  .spotlight-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .spotlight-card__buttons {
    flex-direction: column;
  }

  .spotlight-card__buttons .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-child] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
