.afv-flow-modal-root {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.afv-flow-modal-root.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.afv-flow-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 3, 30, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.afv-flow-card {
  position: relative;
  width: min(520px, 100%);
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(74, 63, 141, 0.25);
  border: 1px solid rgba(106, 77, 252, 0.25);
  z-index: 2;
  font-family: 'DM Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.afv-flow-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.8);
  width: 32px;
  height: 32px;
  border-radius: 12px;
  font-size: 1.5rem;
  color: #6a4dfc;
  cursor: pointer;
}

.afv-flow-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6a4dfc;
  margin: 0;
}

.afv-flow-title {
  margin: 0;
  font-size: 1.8rem;
  color: #1f1953;
  line-height: 1.3;
}

.afv-flow-subtitle,
.afv-flow-body {
  margin: 0;
  color: #3b317f;
  font-size: 1rem;
  line-height: 1.6;
}

.afv-flow-bullets {
  margin: 0;
  padding-left: 1.25rem;
  text-align: left;
  display: grid;
  gap: 0.4rem;
  color: #2d2b4f;
  font-size: 0.95rem;
}

.afv-flow-bullets li::marker {
  color: #6a4dfc;
}

.afv-flow-pricing {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 1rem;
  color: #4a5568;
}

.afv-flow-price-from {
  font-size: 0.95rem;
  color: #6a4dfc;
  font-weight: 600;
}

.afv-flow-price-to {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f1953;
}

.afv-flow-primary,
.afv-flow-secondary {
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.afv-flow-primary {
  background: linear-gradient(135deg, #6a4dfc 0%, #4abfff 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(74, 63, 141, 0.35);
}

.afv-flow-primary:hover {
  transform: translateY(-2px);
}

.afv-flow-secondary {
  background: rgba(106, 77, 252, 0.08);
  color: #6a4dfc;
  border: 1px solid rgba(106, 77, 252, 0.4);
}

body.afv-modal-lock-scroll {
  overflow: hidden;
}

@media (max-width: 560px) {
  .afv-flow-card {
    padding: 1.5rem;
  }
  .afv-flow-title {
    font-size: 1.5rem;
  }
  .afv-flow-pricing {
    flex-direction: column;
  }
}
