:host {
  --brand: #E33DCF;
  --text: #111214;
  --muted: rgba(17, 18, 20, 0.70);
  --radius-xl: 22px;
  --radius-lg: 16px;

  display: block;
}

/* ✅ CARD PRINCIPAL */
.feature-card {
  position: relative;
  overflow: hidden;
  width: 365px;
  min-height: 175px;
  padding: 18px 18px 16px 18px;
  border-radius: 18px;
  cursor: default;

  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(227, 61, 207, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px rgba(17, 18, 20, 0.10);

  display: flex;
  flex-direction: column;
  gap: 10px;

  transform: translateZ(0);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;

  /* borda interna sutil */
  &::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 17px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.65);
    opacity: 0.75;
  }

  /* efeito “radial” suave no fundo */
  &::after {
    content: '';
    position: absolute;
    inset: -80px;
    pointer-events: none;
    background:
      radial-gradient(380px 200px at 20% 10%, rgba(227, 61, 207, 0.16), transparent 60%),
      radial-gradient(320px 180px at 85% 70%, rgba(227, 61, 207, 0.10), transparent 60%);
    opacity: 0.85;
  }

  /* ================================
     📱 RESPONSIVIDADE
     ================================ */
  @media (min-width: 1200px) and (max-width: 1399.98px) {
    width: 330px;
    min-height: 170px;
  }

  @media (max-width: 1024px) {
    width: 330px;
    min-height: 170px;
  }

  @media (max-width: 768px) {
    width: 300px;
    min-height: 170px;
  }

  @media (max-width: 480px) {
    width: 95%;
    min-height: 170px;
  }

  @media (max-width: 360px) {
    width: 95%;
    min-height: 165px;
    padding: 16px;
  }
}

/* ✅ HOVER PREMIUM (sem “cinza chapado”) */
.feature-card.hover-state {
  transform: translateY(-4px);
  border-color: rgba(227, 61, 207, 0.32);
  box-shadow: 0 26px 52px rgba(17, 18, 20, 0.14);
  background: rgba(255, 255, 255, 0.90);
}

/* brilho animado (fica bem SaaS) */
.shine {
  position: absolute;
  inset: -40%;
  pointer-events: none;
  transform: translateX(-120%) rotate(12deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0.0;
  transition: opacity 200ms ease;
  z-index: 1;
}

.feature-card.hover-state .shine {
  opacity: 1;
  animation: shine 1.25s ease-in-out 1;
}

/* header */
.card-head {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center; /* seu layout atual é centralizado */
}

/* ícone no estilo do mock */
.icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  background: rgba(227, 61, 207, 0.10);
  border: 1px solid rgba(227, 61, 207, 0.22);

  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.feature-card.hover-state .icon-wrap {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 12px 24px rgba(227, 61, 207, 0.18);
  background: rgba(227, 61, 207, 0.14);
}

/* ícone */
.card-icon {
  font-size: 18px;
  color: var(--brand);
}

/* título */
.card-title {
  position: relative;
  z-index: 2;

  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 950;
  color: var(--text);
  letter-spacing: -0.2px;

  transition: transform 180ms ease, color 180ms ease;
}

.feature-card.hover-state .card-title {
  transform: translateY(-1px);
}

/* descrição */
.card-description {
  position: relative;
  z-index: 2;

  margin: 0;
  padding: 0 6px;

  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);

  /* deixa mais “SaaS” e menos apertado */
  @media (max-width: 480px) {
    font-size: 13.5px;
    padding: 0 2px;
  }
}

.card-description strong {
  font-weight: 900;
  color: #111214;
}

/* linha decorativa inferior */
.card-accent {
  position: relative;
  z-index: 2;

  margin-top: auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(227, 61, 207, 0.12);
  border: 1px solid rgba(227, 61, 207, 0.18);
  overflow: hidden;

  &::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-60%);
    background: linear-gradient(90deg, transparent, rgba(227, 61, 207, 0.28), transparent);
    opacity: 0.0;
    transition: opacity 180ms ease;
  }
}

.feature-card.hover-state .card-accent::after {
  opacity: 1;
  animation: sweep 1.2s ease-in-out 1;
}

/* acessibilidade: reduz animações */
@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .icon-wrap,
  .card-title {
    transition: none !important;
  }
  .feature-card.hover-state {
    transform: none;
  }
  .feature-card.hover-state .shine,
  .feature-card.hover-state .card-accent::after {
    animation: none !important;
  }
}

/* animações */
@keyframes shine {
  0%   { transform: translateX(-120%) rotate(12deg); }
  100% { transform: translateX(120%) rotate(12deg); }
}

@keyframes sweep {
  0%   { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}
