/*
  Features 10 — standalone HTML/CSS/JS implementation.
  No build step, no framework, no external dependency: copy these three
  files into any project and open index.html as-is.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.5;
}

.features {
  padding: clamp(4rem, 3.5rem + 2vw, 6rem) clamp(1rem, 0.3rem + 3vw, 2rem);
}

.showcase {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  min-height: 26rem;
  overflow: hidden;
  border-radius: 1.5rem;
}

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

.overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.4) 55%, transparent);
}

.content {
  position: relative;
  display: flex;
  min-height: 26rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.heading {
  margin: 0.75rem 0 0;
  max-width: 26rem;
  font-weight: 600;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

.lede {
  margin: 0.75rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.chip {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1rem;
}

.chip__value {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.chip__label {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 2rem;
  border-radius: 999px;
  background-color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
  text-decoration: none;
  transition: background-color 200ms ease;
}

.cta:hover {
  background-color: #e2e8f0;
}

.cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .showcase {
    min-height: 30rem;
  }

  .content {
    min-height: 30rem;
    padding: 2.5rem;
  }
}

/* Motion — disabled entirely under reduced motion; everything already
   renders at its final, fully visible state outside this media query. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes al-features10-wipe {
    from {
      clip-path: inset(0 100% 0 0);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }

  @keyframes al-features10-card {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .showcase.wipe {
    animation: al-features10-wipe 900ms cubic-bezier(0.65, 0, 0.35, 1) both;
  }

  .content.card {
    animation: al-features10-card 600ms 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
