/* ===== HOME: HERO SLIDER ===== */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden
}

.hero__slides {
  position: relative;
  height: 600px;
  overflow: hidden
}

@media(min-width:768px) {
  .hero__slides {
    height: 680px
  }
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease-in-out;
  pointer-events: none
}

.hero__slide.active {
  opacity: 1;
  pointer-events: auto
}

.hero__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 15, 20, .75), rgba(15, 15, 20, .45), transparent)
}

.hero__overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(15, 15, 20, .8), transparent)
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2
}

.hero__content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%
}

.hero__inner {
  max-width: 560px
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 24px
}

.hero__badge svg {
  color: var(--red)
}

.hero__badge-text {
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
  font-weight: 500
}

.hero__title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em
}

@media(min-width:768px) {
  .hero__title {
    font-size: 52px
  }
}

.hero__title .gradient-text {
  background: linear-gradient(to right, var(--red), #ff4d6d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 32px;
  line-height: 1.6
}

@media(min-width:768px) {
  .hero__desc {
    font-size: 18px
  }
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: 120px;
  /* Space for features */
}

.hero__stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em
}

@media(min-width:768px) {
  .hero__stat-value {
    font-size: 28px
  }
}

.hero__stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin-top: 2px
}

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s
}

.hero__nav:hover {
  background: rgba(255, 255, 255, .25)
}

.hero__nav--prev {
  left: 16px
}

.hero__nav--next {
  right: 16px
}

@media(min-width:768px) {
  .hero__nav--prev {
    left: 24px
  }

  .hero__nav--next {
    right: 24px
  }
}

.hero__dots {
  position: absolute;
  bottom: 110px;
  /* Above features grid */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
  transition: all .3s;
  border: none;
  cursor: pointer;
  flex-shrink: 0
}

.hero__dot.active {
  width: 32px;
  background: var(--red)
}

/* ===== HOME: FEATURES ===== */
.features {
  background: #fff;
  padding-bottom: 60px;
  position: relative;
  z-index: 20;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  margin-top: -60px;
  /* Overlap hero naturally */
  position: relative;
  z-index: 25;
}

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

@media(min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: -80px;
  }
}

.feature-card {
  background: #fff;
  padding: 40px 24px;
  border-radius: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  width: 72px;
  height: 72px;
  background: #fff5f5;
  /* Soft pink/red background */
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s;
}

.feature-card:hover .feature-card__icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.1);
}

.feature-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== HOME: CATEGORIES ===== */
.categories {
  padding: 64px 0
}

.categories__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

@media(min-width:768px) {
  .categories__grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block
}

.cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s
}

.cat-card:hover .cat-card__img {
  transform: scale(1.1)
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .2), transparent)
}

.cat-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px
}

.cat-card__name {
  color: #fff;
  font-size: 18px;
  font-weight: 700
}

.cat-card__desc {
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  margin-top: 2px
}

.cat-card__more {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  transition: gap .3s
}

.cat-card:hover .cat-card__more {
  gap: 8px
}

/* ===== HOME: FEATURED PRODUCTS ===== */
.featured {
  background: linear-gradient(to bottom, rgba(245, 245, 247, .5), var(--bg));
  padding: 64px 0
}

.featured__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px
}

.featured__more {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  transition: gap .3s
}

.featured__more:hover {
  gap: 12px
}

@media(min-width:768px) {
  .featured__more {
    display: flex
  }
}

.featured__more-mobile {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red)
}

@media(min-width:768px) {
  .featured__more-mobile {
    display: none
  }
}

/* ===== HOME: PRICE TABLE ===== */
.price-preview {
  padding: 64px 0
}

/* ===== HOME: TESTIMONIAL ===== */
.testimonial {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  padding: 64px 0;
  position: relative;
  overflow: hidden
}

.testimonial__glow1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background: rgba(220, 20, 60, .05);
  border-radius: 50%;
  filter: blur(60px)
}

.testimonial__glow2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 288px;
  height: 288px;
  background: rgba(220, 20, 60, .05);
  border-radius: 50%;
  filter: blur(60px)
}

.testimonial__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  text-align: center
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px
}

.testimonial__stars svg {
  color: #fbbf24;
  fill: #fbbf24
}

.testimonial__quote {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: italic
}

@media(min-width:768px) {
  .testimonial__quote {
    font-size: 24px
  }
}

.testimonial__author {
  font-weight: 600;
  color: #fff
}

.testimonial__role {
  color: rgba(255, 255, 255, .4);
  font-size: 13px;
  margin-top: 4px
}

/* ===== HOME: CTA ===== */
.cta {
  position: relative;
  overflow: hidden
}

.cta__inner {
  background: linear-gradient(to right, var(--red), var(--red-darker));
  padding: 64px 0;
  position: relative
}

.cta__glow1 {
  position: absolute;
  top: 0;
  left: 25%;
  width: 256px;
  height: 256px;
  background: #fff;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .1
}

.cta__glow2 {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 384px;
  height: 384px;
  background: #fff;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .1
}

.cta__content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative
}

.cta__title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.02em
}

@media(min-width:768px) {
  .cta__title {
    font-size: 36px
  }
}

.cta__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 32px;
  max-width: 512px;
  margin-left: auto;
  margin-right: auto
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap
}