/* ==========================================================================
   HOME PAGE - Specific Styles
   ========================================================================== */

.home-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2a2f10;
  overflow: hidden;
}

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

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

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(26, 28, 20, 0.7) 0%,
    rgba(26, 28, 20, 0.4) 50%,
    rgba(26, 28, 20, 0.75) 100%
  );
}

.home-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: var(--container-md);
  padding: var(--space-4xl) var(--space-lg);
}

.home-hero__badge {
  display: inline-block;
  padding: 0.4em 1.2em;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-secondary-light);
  border: 1px solid color-mix(in oklch, var(--clr-secondary), transparent 60%);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.home-hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  color: #faf8f3;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.home-hero__title em {
  font-style: italic;
  color: var(--clr-secondary-light);
}

.home-hero__description {
  font-size: var(--fs-lg);
  color: color-mix(in oklch, #faf8f3, transparent 15%);
  line-height: var(--lh-body);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.home-hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: color-mix(in oklch, #faf8f3, transparent 40%);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  text-decoration: none;
  animation: bounceDown 2s ease infinite;
}

.home-hero__scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== About Preview Section ===== */
.home-about {
  background-color: var(--clr-bg);
}

.home-about .split__image {
  position: relative;
}

.home-about .split__image::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--clr-secondary);
  border-radius: var(--radius-xl);
  z-index: -1;
}

/* ===== Features Section ===== */
.home-features {
  background-color: var(--clr-surface);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.feature-card .card__icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-full);
  i {
    font-size: 1.9rem;
    color: var(--clr-primary);
  }
}

.feature-card .card__icon svg {
  width: 28px;
  height: 28px;
}

/* ===== Product Preview Section ===== */
.home-product {
  background-color: var(--clr-bg);
}

.product-formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .product-formats {
    grid-template-columns: repeat(1, 1fr);
  }
}

.format-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.format-card:hover {
  border-color: var(--clr-secondary);
  box-shadow: var(--shadow-md);
}

.format-card__weight {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
}

.format-card__weight span {
  font-size: var(--fs-sm);
  font-family: var(--ff-body);
  font-weight: 400;
}

.format-card__info {
  flex: 1;
}

.format-card__title {
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--clr-text);
  margin-bottom: var(--space-xs);
}

.format-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

/* ===== CTA Home ===== */
.home-cta {
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: color-mix(in oklch, var(--clr-secondary), transparent 85%);
  border-radius: 50%;
  filter: blur(80px);
}
