/* ============================================
   ZOGOFY MART — Home Page
   ============================================ */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 255, 136, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.15), transparent),
    radial-gradient(ellipse 50% 30% at 50% 80%, rgba(0, 255, 136, 0.08), transparent);
  animation: mesh-shift 15s ease infinite;
  background-size: 200% 200%;
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.hero__text {
  max-width: 600px;
}

.hero__headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero__headline .word-sound {
  color: var(--text-primary);
  display: block;
}

.hero__headline .word-that {
  display: block;
}

.hero__headline .word-hits {
  display: block;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrap {
  position: relative;
  transition: transform 0.15s ease-out;
}

.hero__image {
  width: min(100%, 420px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), var(--shadow-green);
  filter: drop-shadow(0 20px 40px rgba(0, 255, 136, 0.2));
}

.hero__badge {
  position: absolute;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.hero__badge--1 {
  top: 10%;
  left: -5%;
}

.hero__badge--2 {
  top: 50%;
  right: -10%;
}

.hero__badge--3 {
  bottom: 15%;
  left: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  z-index: 2;
}

.hero__scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--green-primary);
  border-bottom: 2px solid var(--green-primary);
  transform: rotate(45deg);
}

/* Stats */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--purple-primary), var(--green-primary)) 1;
  padding-block: clamp(2rem, 5vw, 3rem);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 0.25rem;
}

.stat-item__label {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2rem);
}

.product-card {
  position: relative;
  padding: 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 0;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-green), var(--shadow-card);
  border-color: var(--border-green);
}

.product-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  margin-bottom: 0.75rem;
}

.product-card__pricing {
  margin-bottom: 0.5rem;
}

.product-card__save {
  margin-bottom: 0.75rem;
}

.product-card__stars {
  margin-bottom: 1.25rem;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-card__actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Why choose us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.feature-card:hover {
  border-left-color: var(--purple-primary);
  background: var(--bg-secondary);
  transform: translateX(4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--green-glow);
  border: 1px solid var(--border-green);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Deal banner */
.deal-banner {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--purple-primary) 0%, #5b21b6 40%, var(--green-secondary) 100%);
  text-align: center;
  overflow: hidden;
}

.deal-banner__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.deal-banner__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1.5rem;
}

.deal-banner__title strong {
  color: var(--green-primary);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.countdown__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.countdown__label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 1.75rem;
  position: relative;
}

.testimonial-card__quote {
  font-size: 2.5rem;
  color: var(--purple-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.testimonial-card__text {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    max-width: none;
  }

  .hero__sub {
    margin-inline: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__badge--1 {
    left: 5%;
  }

  .hero__badge--2 {
    right: 5%;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero__badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .countdown__item {
    min-width: 56px;
    padding: 0.75rem 0.5rem;
  }
}
