/* TemproMail bottom CTA for articles and public content pages */

.tm-bottom-cta {
  max-width: 1120px;
  margin: 56px auto 34px;
  padding: 0 20px;
}

.tm-bottom-cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(49, 211, 238, 0.24);
  background:
    radial-gradient(circle at 8% 0%, rgba(49, 211, 238, 0.20), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(52, 135, 255, 0.20), transparent 36%),
    linear-gradient(145deg, rgba(16, 34, 64, 0.96), rgba(8, 18, 38, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.tm-bottom-cta-inner::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: rgba(49, 211, 238, 0.14);
  pointer-events: none;
}

.tm-bottom-cta-copy {
  position: relative;
  z-index: 1;
}

.tm-bottom-cta-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(49, 211, 238, 0.35);
  background: rgba(49, 211, 238, 0.10);
  color: #7df9ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.tm-bottom-cta h2 {
  margin: 0 0 12px;
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.tm-bottom-cta p {
  margin: 0;
  max-width: 760px;
  color: #a9c9f5;
  font-size: 16px;
  line-height: 1.75;
}

.tm-bottom-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tm-bottom-cta-points span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(7, 18, 37, 0.68);
  color: #eaf4ff;
  font-size: 13px;
  font-weight: 800;
}

.tm-bottom-cta-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  min-width: 230px;
}

.tm-bottom-cta-primary,
.tm-bottom-cta-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.tm-bottom-cta-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #31d3ee 0%, #3487ff 100%);
  box-shadow: 0 16px 42px rgba(49, 211, 238, 0.22);
}

.tm-bottom-cta-secondary {
  color: #eaf4ff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(7, 18, 37, 0.68);
}

.tm-bottom-cta-primary:hover,
.tm-bottom-cta-secondary:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

@media (max-width: 820px) {
  .tm-bottom-cta-inner {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .tm-bottom-cta-actions {
    min-width: 0;
  }

  .tm-bottom-cta-primary,
  .tm-bottom-cta-secondary {
    width: 100%;
  }
}
