/* ============================================
   JARZ — Home Page Styles
   ============================================ */

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--accent-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease forwards;
}

.hero__title {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__title .accent {
  color: var(--accent);
}

.hero__desc {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  max-width: 480px;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s ease 0.4s both;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero__image-wrapper img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  animation: floatSlow 6s ease-in-out infinite;
}

.hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* ---- Materials Section ---- */
.materials {
  background: var(--bg-secondary);
}

.materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

/* ---- Featured Section ---- */
.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.featured__actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-3xl);
}

/* ---- Testimonial Banner ---- */
.banner {
  background: var(--text-primary);
  color: var(--text-inverse);
  text-align: center;
  padding: var(--space-5xl) 0;
}

.banner__quote {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-tight);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.banner__author {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  letter-spacing: var(--letter-spacing-wide);
}

/* ---- Newsletter Section ---- */
.newsletter__form {
  display: flex;
  gap: var(--space-md);
  max-width: 480px;
  margin-top: var(--space-xl);
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.newsletter__input::placeholder {
  color: var(--text-muted);
}

.newsletter__input:focus {
  border-color: var(--accent);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__title {
    font-size: var(--font-size-4xl);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .materials__grid,
  .featured__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .banner__quote {
    font-size: var(--font-size-xl);
  }

  .newsletter__form {
    flex-direction: column;
  }
}
