.offer-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 62rem;
  padding: 10px;
  border-radius: 26px;
  background: linear-gradient(135deg, #202633 0%, #0d1016 52%, #07080b 100%);
  box-shadow:
    0 30px 70px -36px rgb(0 0 0 / 0.9),
    0 0 0 1px rgb(255 255 255 / 0.08);
  animation: offer-card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(520px circle at 88% 10%, rgb(255 106 0 / 0.22), transparent 62%);
  pointer-events: none;
}

.offer-card__inner {
  display: grid;
  gap: 30px;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(180deg, rgb(13 16 22 / 0.96), rgb(7 8 11 / 0.99));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.offer-card__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.offer-card__eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff8a24;
}

.offer-card__badge {
  border-radius: 999px;
  padding: 5px 12px;
  background: rgb(255 106 0 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(255 106 0 / 0.32);
  color: #ffb27a;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card__count {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
}

.offer-card__count > span:first-child {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #fff;
}

.offer-card__count-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.offer-card__title {
  margin-top: 24px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.offer-card__desc {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #94a3b8;
}

.offer-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.offer-card__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offer-card__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #34d399;
}

.offer-card__model {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 8px 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(52 211 153 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(52 211 153 / 0.28);
  color: #a7f3d0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-card__model::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgb(52 211 153 / 0.2) 50%, transparent 82%);
  transform: translateX(-120%);
  animation: model-sweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

.offer-card__model i {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 999px;
  background: #34d399;
  animation: model-pulse 2s ease-out infinite;
}

.offer-card__model span { position: relative; }

@keyframes model-sweep {
  0%, 25% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

@keyframes model-pulse {
  0% { box-shadow: 0 0 0 0 rgb(52 211 153 / 0.55); }
  70% { box-shadow: 0 0 0 8px rgb(52 211 153 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(52 211 153 / 0); }
}

.offer-card__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-top: 26px;
}

.offer-card__price {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
}

.offer-card__price span {
  margin-left: 6px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #94a3b8;
}

.offer-card__price-note {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff8a24;
}

.offer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 66px;
  border-radius: 999px;
  padding: 8px 9px 8px 26px;
  background: #ff6a00;
  color: #07080b;
  box-shadow:
    0 20px 44px -20px rgb(255 106 0 / 0.8),
    inset 0 0 0 1px rgb(255 255 255 / 0.24);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.offer-cta:hover {
  transform: translateY(-2px);
  background: #ff8a24;
  box-shadow:
    0 26px 52px -22px rgb(255 106 0 / 0.9),
    inset 0 0 0 1px rgb(255 255 255 / 0.3);
}

.offer-cta:active { transform: translateY(0); }

.offer-cta:focus-visible {
  outline: 2px solid #ffb27a;
  outline-offset: 4px;
}

.offer-cta__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgb(7 8 11 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(7 8 11 / 0.18);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-cta:hover .offer-cta__icon { transform: translateX(3px); }

@keyframes offer-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 768px) {
  .offer-card__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }

  .offer-card__action {
    align-self: stretch;
    justify-content: center;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 0.1);
    padding: 10px 0 10px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card { animation: none; }
  .offer-card__model::before,
  .offer-card__model i { animation: none; }
  .offer-cta,
  .offer-cta__icon { transition: none; }
  .offer-cta:hover { transform: none; }
  .offer-cta:hover .offer-cta__icon { transform: none; }
}
