/**
 * Annual Plan Promo Banner - Estilos
 * Visual inspirado em docs/adsx-dashboard-with-promo-banner/components/AnnualPlanBanner.tsx
 */

.annual-plan-banner-componente {
  position: relative;
  width: 100%;
  min-height: 192px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #27272a;
  color: #ffffff;
  background-color: #09090b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: border-color 200ms ease;
}

/* Theme lock: o banner anual deve manter a mesma paleta em light/dark. */
.annual-plan-banner-componente .annual-plan-banner-componente__title,
.annual-plan-banner-componente .annual-plan-banner-componente__subtitle,
.annual-plan-banner-componente .annual-plan-banner-componente__feature,
.annual-plan-banner-componente .annual-plan-banner-componente__download,
.annual-plan-banner-componente  {
  color: #ffffff !important;
}

.annual-plan-banner-componente:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

@media (min-width: 1024px) {
  .annual-plan-banner-componente {
    min-height: 256px;
  }
}

.annual-plan-banner-componente__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #18181b 0%, rgba(6, 78, 59, 0.35) 52%, #000000 100%);
  background-size: cover;
  background-position: center;
  transition: transform 1000ms ease;
}

.annual-plan-banner-componente:hover .annual-plan-banner-componente__bg {
  transform: scale(1.05);
}

.annual-plan-banner-componente__bg--image {
  background-color: #18181b;
  background-size: cover;
  background-position: center;
}

.annual-plan-banner-componente__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.annual-plan-banner-componente__overlay--lr {
  background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
}

.annual-plan-banner-componente__overlay--bt {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.annual-plan-banner-componente__download-wrap {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  opacity: 0;
  transition: opacity 200ms ease;
}

.annual-plan-banner-componente:hover .annual-plan-banner-componente__download-wrap {
  opacity: 1;
}

.annual-plan-banner-componente__download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.5rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.annual-plan-banner-componente__download:hover {
  background: #059669;
  border-color: #6ee7b7;
}

.annual-plan-banner-componente__download-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.annual-plan-banner-componente .banner-componente__content {
  padding: .9rem 2.5rem;
  min-height: 256px;
}

@media (min-width: 1024px) {
  .annual-plan-banner-componente .banner-componente__content {
    min-height: 256px;
  }
}

.annual-plan-banner-componente__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.annual-plan-banner-componente__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: #10b981;
  color: #000000 !important;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.annual-plan-banner-componente__badge-icon {
  font-size: 12px;
  width: 12px;
  height: 12px;
}

.annual-plan-banner-componente__header-icons {
  display: inline-flex;
  align-items: center;
}

.annual-plan-banner-componente__icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -4px;
  border: 1px solid;
}

.annual-plan-banner-componente__icon-circle:first-child {
  margin-left: 0;
}

.annual-plan-banner-componente__icon-circle .material-symbols-outlined {
  font-size: 12px;
  width: 12px;
  height: 12px;
}

.annual-plan-banner-componente__icon-circle--emerald {
  background-color: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.annual-plan-banner-componente__icon-circle--green {
  background-color: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.annual-plan-banner-componente__icon-circle--lime {
  background-color: rgba(132, 204, 22, 0.2);
  border-color: rgba(132, 204, 22, 0.3);
  color: #a3e635;
}

.plan-banner-componente__title,
.annual-plan-banner-componente__title {
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
  max-width: 40rem;
  font-size: 1.5rem;
  font-weight: 900;
}

@media (min-width: 1024px) {
  .plan-banner-componente__title,
  .annual-plan-banner-componente__title {
    font-size: 2.25rem;
  }
}

.annual-plan-banner-componente__title-highlight {
  color: transparent;
  -webkit-text-fill-color: transparent !important;
  background: linear-gradient(90deg, #34d399 0%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.annual-plan-banner-componente__subtitle {
  margin: 0.5rem 0 0;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
  max-width: 40rem;
  opacity: 0.92;
  display: none;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .annual-plan-banner-componente__subtitle {
    display: block;
  }
}

@media (min-width: 1024px) {
  .annual-plan-banner-componente__subtitle {
    font-size: 1rem;
  }
}

.annual-plan-banner-componente__actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.annual-plan-banner-componente__cta {
  position: relative;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  overflow: hidden;
  border: none;
  color: #000000 !important;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease;
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.2), 0 8px 10px -6px rgba(16, 185, 129, 0.2);
}

.annual-plan-banner-componente__cta:hover {
  transform: scale(1.05);
}

.annual-plan-banner-componente__cta:active {
  transform: scale(0.98);
}

.annual-plan-banner-componente__cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #34d399, #22c55e);
  transition: transform 400ms ease;
}

.annual-plan-banner-componente__cta:hover .annual-plan-banner-componente__cta-bg {
  transform: scale(1.08);
}

.annual-plan-banner-componente__cta-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #000000 !important;
}

.annual-plan-banner-componente__cta-icon {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  transition: transform 200ms ease;
}

.annual-plan-banner-componente__cta:hover .annual-plan-banner-componente__cta-icon {
  transform: translateX(4px);
}

.annual-plan-banner-componente__features {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .annual-plan-banner-componente__features {
    display: flex;
  }
}

.annual-plan-banner-componente__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.annual-plan-banner-componente__feature-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.annual-plan-banner-componente__feature--emerald {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.annual-plan-banner-componente__feature--green {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.annual-plan-banner-componente__feature--lime {
  background-color: rgba(132, 204, 22, 0.1);
  border: 1px solid rgba(132, 204, 22, 0.1);
}

.annual-plan-banner-componente__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.annual-plan-banner-componente__glow--emerald {
  top: -96px;
  right: -96px;
  background-color: rgba(16, 185, 129, 0.1);
}

.annual-plan-banner-componente__glow--green {
  bottom: -96px;
  left: -96px;
  background-color: rgba(34, 197, 94, 0.1);
}

