.dsa-curved-cta {
  --dsa-cta-px: 0;
  --dsa-cta-py: 0;
  --dsa-cta-cx: 50%;
  --dsa-cta-cy: 50%;
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(211, 175, 127, 0.1), transparent 26%),
    linear-gradient(145deg, rgba(4, 5, 7, 0.998), rgba(7, 8, 10, 0.98) 46%, rgba(3, 4, 5, 0.998));
  color: #f5f6fb;
}

.dsa-curved-cta__inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 760px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}

.dsa-curved-cta__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.52;
  pointer-events: none;
}

.dsa-curved-cta__glow--left {
  top: 6%;
  left: -4%;
  width: min(22vw, 280px);
  height: min(22vw, 280px);
  background: rgba(255, 255, 255, 0.14);
}

.dsa-curved-cta__glow--right {
  right: -4%;
  bottom: 10%;
  width: min(24vw, 320px);
  height: min(24vw, 320px);
  background: rgba(211, 175, 127, 0.16);
}

.dsa-curved-cta__cursor-glow {
  position: absolute;
  left: var(--dsa-cta-cx);
  top: var(--dsa-cta-cy);
  z-index: 0;
  width: clamp(300px, 34vw, 520px);
  height: clamp(300px, 34vw, 520px);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.05) 28%, rgba(211, 175, 127, 0.05) 52%, transparent 74%);
  filter: blur(72px);
  opacity: 0.46;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 240ms ease;
  mix-blend-mode: screen;
  will-change: left, top;
}

.dsa-curved-cta__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 104px, 104px 100%;
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.72) 18%, rgba(0, 0, 0, 0.72) 82%, transparent 100%);
  opacity: 0.32;
  pointer-events: none;
}

.dsa-curved-cta__grid::before,
.dsa-curved-cta__grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dsa-curved-cta__grid::before {
  background: linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, 0.08) 50%, transparent 56%);
  animation: dsa-curved-cta-scan 22s linear infinite;
}

.dsa-curved-cta__grid::after {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateY(-100%);
  animation: dsa-curved-cta-drift 26s ease-in-out infinite;
}

.dsa-curved-cta__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dsa-curved-cta__beam,
.dsa-curved-cta__orb {
  position: absolute;
  pointer-events: none;
}

.dsa-curved-cta__beam {
  left: 50%;
  position: relative;
  width: 168%;
  height: 108px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  transform-origin: center;
}

.dsa-curved-cta__beam::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
  opacity: 0.36;
}

.dsa-curved-cta__beam--a {
  top: 92px;
  transform: translateX(-50%) rotate(-7deg);
  animation: dsa-curved-cta-beam-a 28s ease-in-out infinite alternate;
}

.dsa-curved-cta__beam--b {
  top: 50%;
  transform: translateX(-50%) rotate(4deg);
  opacity: 0.42;
  animation: dsa-curved-cta-beam-b 36s ease-in-out infinite alternate;
}

.dsa-curved-cta__beam--c {
  bottom: 98px;
  transform: translateX(-50%) rotate(7deg);
  animation: dsa-curved-cta-beam-c 32s ease-in-out infinite alternate;
}

.dsa-curved-cta__beam--d {
  top: 24%;
  transform: translateX(-50%) rotate(-2deg);
  opacity: 0.22;
  animation: dsa-curved-cta-beam-d 40s ease-in-out infinite alternate;
}

.dsa-curved-cta__orb {
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.26;
}

.dsa-curved-cta__orb--a {
  top: 16%;
  left: 8%;
  width: min(22vw, 260px);
  height: min(22vw, 260px);
  background: rgba(255, 255, 255, 0.16);
  animation: dsa-curved-cta-orb-a 18s ease-in-out infinite alternate;
}

.dsa-curved-cta__orb--b {
  right: 6%;
  top: 28%;
  width: min(24vw, 300px);
  height: min(24vw, 300px);
  background: rgba(211, 175, 127, 0.12);
  animation: dsa-curved-cta-orb-b 22s ease-in-out infinite alternate;
}

.dsa-curved-cta__orb--c {
  left: 34%;
  bottom: 10%;
  width: min(20vw, 240px);
  height: min(20vw, 240px);
  background: rgba(255, 255, 255, 0.08);
  animation: dsa-curved-cta-orb-c 24s ease-in-out infinite alternate;
}

.dsa-curved-cta__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
}

.dsa-curved-cta__panel {
  position: relative;
  width: min(820px, 100%);
  padding: clamp(34px, 5vw, 54px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03) 24%, rgba(8, 10, 14, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 26px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.dsa-curved-cta__panel::before,
.dsa-curved-cta__panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dsa-curved-cta__panel::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dsa-curved-cta__panel::after {
  top: 0;
  left: 50%;
  width: min(180px, 38%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: translateX(-50%);
  animation: dsa-curved-cta-pulse 4.4s ease-in-out infinite;
}

.dsa-curved-cta__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #ffffff;
  font-family: Gilroy, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.dsa-curved-cta__heading {
  margin: 0;
  color: #f5f6fb;
  font-family: "Epilogue", Helvetica, Arial, sans-serif;
  font-size: clamp(3rem, 5.1vw, 5.75rem);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.dsa-curved-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  min-width: 188px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid rgba(176, 132, 61, 0.42);
  border-radius: 0;
  background: linear-gradient(180deg, #e0bb82, #cfa15d);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 224, 0.58),
    0 14px 28px rgba(120, 83, 26, 0.16);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  cursor: pointer;
}

.dsa-curved-cta__button:hover,
.dsa-curved-cta__button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(156, 113, 45, 0.58);
  background: linear-gradient(180deg, #e6c58f, #d4a764);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 232, 0.68),
    0 16px 32px rgba(120, 83, 26, 0.2);
}

.dsa-curved-cta__modal[hidden] {
  display: none;
}

.dsa-curved-cta__modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
}

.dsa-curved-cta__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 12, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dsa-curved-cta__modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 24px));
  max-height: min(820px, calc(100vh - 40px));
  padding: 28px 24px 24px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(17, 18, 21, 0.95), rgba(11, 12, 14, 0.92));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.dsa-curved-cta__modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #f5f6fb;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.dsa-curved-cta__modal-body {
  margin-top: 12px;
}

.dsa-curved-cta__modal-body .nf-form-cont {
  margin: 0;
}

.dsa-curved-cta__modal-body .nf-form-layout form {
  margin: 0;
}

.dsa-curved-cta__modal-body .nf-before-form-content,
.dsa-curved-cta__modal-body .nf-after-form-content {
  display: none;
}

@keyframes dsa-curved-cta-scan {
  from {
    transform: translateX(-38%);
  }

  to {
    transform: translateX(38%);
  }
}

@keyframes dsa-curved-cta-drift {
  0%,
  100% {
    transform: translateY(-110%);
    opacity: 0;
  }

  35%,
  65% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes dsa-curved-cta-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-50%) scaleX(0.9);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.06);
  }
}

@keyframes dsa-curved-cta-beam-a {
  from {
    transform: translateX(-54%) rotate(-7deg) translateY(0);
  }

  to {
    transform: translateX(-46%) rotate(-7deg) translateY(-12px);
  }
}

@keyframes dsa-curved-cta-beam-b {
  from {
    transform: translateX(-51%) rotate(4deg) translateY(-10px);
  }

  to {
    transform: translateX(-48%) rotate(4deg) translateY(12px);
  }
}

@keyframes dsa-curved-cta-beam-c {
  from {
    transform: translateX(-53%) rotate(7deg) translateY(10px);
  }

  to {
    transform: translateX(-47%) rotate(7deg) translateY(-8px);
  }
}

@keyframes dsa-curved-cta-beam-d {
  from {
    transform: translateX(-49%) rotate(-2deg) scaleX(0.96);
  }

  to {
    transform: translateX(-51%) rotate(-2deg) scaleX(1.02);
  }
}

@keyframes dsa-curved-cta-orb-a {
  from {
    transform: translate3d(-10px, -8px, 0) scale(0.96);
  }

  to {
    transform: translate3d(14px, 10px, 0) scale(1.05);
  }
}

@keyframes dsa-curved-cta-orb-b {
  from {
    transform: translate3d(10px, -6px, 0) scale(0.94);
  }

  to {
    transform: translate3d(-12px, 12px, 0) scale(1.04);
  }
}

@keyframes dsa-curved-cta-orb-c {
  from {
    transform: translate3d(-8px, 8px, 0) scale(0.96);
  }

  to {
    transform: translate3d(10px, -10px, 0) scale(1.05);
  }
}

@media (max-width: 980px) {
  .dsa-curved-cta__inner {
    min-height: 700px;
  }

  .dsa-curved-cta__beam {
    width: 182%;
    height: 92px;
  }

  .dsa-curved-cta__beam--a {
    top: 84px;
  }

  .dsa-curved-cta__beam--c {
    bottom: 88px;
  }

  .dsa-curved-cta__panel {
    width: min(760px, 100%);
  }
}

@media (max-width: 767px) {
  .dsa-curved-cta__inner {
    min-height: 680px;
  }

  .dsa-curved-cta__beam {
    width: 210%;
    height: 78px;
  }

  .dsa-curved-cta__beam--a {
    top: 62px;
  }

  .dsa-curved-cta__beam--c {
    bottom: 70px;
  }

  .dsa-curved-cta__content {
    padding: 78px 14px;
  }

  .dsa-curved-cta__panel {
    padding: 28px 20px;
  }

  .dsa-curved-cta__panel::before {
    inset: 12px;
  }

  .dsa-curved-cta__eyebrow {
    margin-bottom: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }

  .dsa-curved-cta__heading {
    font-size: clamp(2.3rem, 10.5vw, 3.45rem);
    line-height: 0.96;
  }

  .dsa-curved-cta__button {
    margin-top: 24px;
    min-width: 176px;
    min-height: 52px;
    font-size: 1rem;
  }

  .dsa-curved-cta__modal-dialog {
    width: min(100%, calc(100% - 12px));
    padding: 22px 16px 18px;
    max-height: calc(100vh - 12px);
  }

  .dsa-curved-cta__modal {
    padding: 6px;
  }

  .dsa-curved-cta__modal-body .nf-form-content .list-wrap,
  .dsa-curved-cta__modal-body .nf-form-content input:not([type="button"]),
  .dsa-curved-cta__modal-body .nf-form-content textarea {
    width: 100% !important;
  }

  .dsa-curved-cta__modal-body .nf-form-content .nf-field-container {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dsa-curved-cta,
  .dsa-curved-cta__glow,
  .dsa-curved-cta__grid,
  .dsa-curved-cta__ambient,
  .dsa-curved-cta__cursor-glow {
    transform: none !important;
  }
}
