/* Home page hero slider + featured sections */

.home-hero {
  position: relative;
  background: var(--gradient-mesh), var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-overlay);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}

/* Floating decorative blobs */
.home-hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  top: -200px;
  right: -140px;
  background: radial-gradient(circle, rgba(160, 107, 255, 0.15), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: float-blob 14s ease-in-out infinite;
}

.home-hero .device-carousel {
  position: relative;
  z-index: 1;
  padding: 0 56px;
}

.home-hero .carousel-track {
  align-items: center;
}

.home-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: var(--space-7);
  padding: var(--space-9) 0 var(--space-8);
  width: 100%;
}

@media (max-width: 760px) {
  .home-hero .device-carousel {
    padding: 0 40px;
  }

  .home-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-7) 0 var(--space-6);
  }

  .home-slide__image {
    order: -1;
  }

  .home-slide__image img {
    width: 168px;
    height: 168px;
  }

  .home-slide__image::before {
    width: 220px;
    height: 220px;
  }
}

.home-slide__text h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: var(--space-4);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.home-slide__text p {
  font-size: 1.02rem;
  max-width: 38ch;
}

@media (max-width: 760px) {
  .home-slide__text p { max-width: none; margin-left: auto; margin-right: auto; }
}

.home-slide__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-5) 0;
}

.home-slide__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text);
}

@media (max-width: 760px) {
  .home-slide__list li { justify-content: center; }
}

.home-slide__list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"),
    var(--gradient-accent);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px, cover;
  box-shadow: 0 2px 8px rgba(47, 224, 196, 0.35);
}

.home-slide__image {
  display: flex;
  justify-content: center;
  position: relative;
}

.home-slide__image::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 131, 255, 0.35), rgba(160, 107, 255, 0.18) 45%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
  animation: glow-pulse 5s ease-in-out infinite;
}

.home-slide__image img {
  position: relative;
  z-index: 1;
  width: 232px;
  height: 232px;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  animation: float-y 6s ease-in-out infinite;
}

.home-hero .carousel-dots {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-6);
}

/* ---------- Section headings ---------- */

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.section-heading .eyebrow {
  display: flex;
  justify-content: center;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: var(--space-3);
}

.section-heading p {
  font-size: 1.02rem;
}
