.pf-free-trial-banner {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.35rem 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.22), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.14), transparent 38%),
    var(--pf-surface-glass-strong, rgba(17, 33, 56, 0.74));
  box-shadow: var(--pf-shadow-glow, 0 0 22px rgba(59, 130, 246, 0.22));
}

.pf-free-trial-banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #93c5fd);
}

.pf-free-trial-banner[hidden] {
  display: none !important;
}

.pf-free-trial-banner__dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid var(--pf-border, rgba(148, 163, 184, 0.18));
  border-radius: 999px;
  background: rgba(8, 16, 32, 0.45);
  color: var(--pf-text-muted, rgba(168, 186, 214, 0.92));
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.pf-free-trial-banner__dismiss:hover {
  color: var(--pf-text, rgba(238, 245, 255, 0.96));
  border-color: rgba(96, 165, 250, 0.45);
}

.pf-free-trial-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
}

.pf-free-trial-banner__copy {
  min-width: 0;
}

.pf-free-trial-banner__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.65rem;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  font-size: 1rem;
}

.pf-free-trial-banner__headline {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--pf-text, rgba(238, 245, 255, 0.96));
}

.pf-free-trial-banner__lead {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--pf-text-muted, rgba(168, 186, 214, 0.92));
}

.pf-free-trial-banner__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--pf-text, rgba(238, 245, 255, 0.96));
}

.pf-free-trial-banner__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}

.pf-free-trial-banner__check {
  color: #60a5fa;
  font-weight: 700;
  flex-shrink: 0;
}

.pf-free-trial-banner__note {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  color: #93c5fd;
}

.pf-free-trial-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  min-width: min(100%, 220px);
}

.pf-free-trial-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff !important;
  font-weight: 650;
  font-size: 0.9375rem;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.pf-free-trial-banner__cta:hover {
  color: #fff !important;
  filter: brightness(1.06);
}

.pf-free-trial-banner__signin {
  font-size: 0.8125rem;
  color: var(--pf-text-muted, rgba(168, 186, 214, 0.92));
  text-align: center;
  text-decoration: none;
}

.pf-free-trial-banner__signin:hover {
  color: var(--pf-secondary, #60a5fa);
}

.pf-free-trial-banner__followup {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(96, 165, 250, 0.2);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--pf-text-muted, rgba(168, 186, 214, 0.92));
}

@media (max-width: 767px) {
  .pf-free-trial-banner {
    padding: 1rem 1rem 1.1rem;
  }

  .pf-free-trial-banner__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pf-free-trial-banner__benefits {
    grid-template-columns: 1fr;
  }

  .pf-free-trial-banner__actions {
    width: 100%;
    min-width: 0;
  }
}

/* V5 public longhaul shell */
.pf-v5-public-longhaul__banner-slot {
  margin: 0 0 1rem;
}

.pf-v5-public-longhaul__banner-slot .pf-free-trial-banner {
  margin-bottom: 0;
}

html[data-theme="light"] .pf-free-trial-banner {
  border-color: rgba(27, 110, 243, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .pf-free-trial-banner__dismiss {
  background: rgba(255, 255, 255, 0.85);
  color: #64748b;
}

html[data-theme="light"] .pf-free-trial-banner__icon-wrap {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

html[data-theme="light"] .pf-free-trial-banner__note {
  color: #1d4ed8;
}
