/* ============================================================
   PRICING
   ============================================================ */

/* But the most-recent lens always to the absolute front */

@keyframes chromaRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes chromaShimmer {
  0%, 100% { filter: blur(2px); opacity: 0.7; }
  50%      { filter: blur(4px); opacity: 0.95; }
}

/* Progress bar bottom — minimal */

.setup-progress-dot.is-current {
  background: #818CF8;
  width: 22px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(129,140,248,0.6);
}

/* Background ambient blob behind sticky to give liquid-glass something to refract */

.pricing-section {
  position: relative;
  height: 360vh;
  z-index: 3;
  padding-bottom: 40px;
}

.pricing-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Soft ambient mesh — gives backdrop-filter something to chew on */

.pricing-sticky::before {
  content: '';
  position: absolute;
  top: 30%; left: 20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,132,252,0.5) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: blobFloat1 14s ease-in-out infinite;
}

.pricing-sticky::after {
  content: '';
  position: absolute;
  bottom: 20%; right: 15%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,197,253,0.55) 0%, transparent 60%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: blobFloat2 18s ease-in-out infinite;
}

/* Header — consistent with site typography */

.pricing-sticky-header {
  position: relative;
  z-index: 4; /* Lower than cards so cards can overlap headline visually */
  padding-top: 8vh;
  text-align: center;
  width: 100%;
  max-width: 920px;
  padding-left: 60px;
  padding-right: 60px;
}

/* Toggle-Wrap z-index ist in /* Toggle */

Block weiter unten definiert */
.pricing-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: #818CF8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.pricing-h-stick {
  font-size: 64px;
  font-weight: 600;
  color: #111;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.pricing-sub-stick {
  font-size: 22px;
  font-weight: 400;
  color: #666;
  line-height: 1.3;
  letter-spacing: -0.005em;
  max-width: 520px;
  margin: 0 auto 32px;
  font-style: italic;
}

/* Toggle */

.pricing-mode-toggle-wrap {
  position: relative;
  z-index: 30; /* Über den Karten — damit Klicks auf Tabs durchgehen */
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
}

.pricing-mode-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(255,255,255,0.6);
  border-radius: 100px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 4px 16px rgba(40,25,80,0.06);
}

.mode-tab {
  position: relative;
  z-index: 2;
  padding: 11px 32px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  border-radius: 100px;
  transition: color 0.3s ease;
  user-select: none;
  white-space: nowrap;
}

.mode-tab.is-active {
  color: white;
}

.mode-tab:not(.is-active):hover {
  color: #4F46E5;
}

.mode-tab-indicator {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: 100px;
  background: linear-gradient(135deg, #818CF8 0%, #C084FC 100%);
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(129,140,248,0.35);
  transition: left 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
              width 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.toggle-tagline {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 0px;
  transition: opacity 0.3s ease;
}

/* Stage — pulled UP so cards overlap header */

.pricing-stage {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
  margin-top: -120px; /* OVERLAP: Karten ragen in den Headline-Bereich für Glas-Refraktion */
  z-index: 6;
  pointer-events: none; /* Stage selbst lässt Klicks durch... */
}

/* Progress dots — konsistent mit "Wie es funktioniert" */

.pricing-progress {
  position: absolute;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 5;
}

.pricing-progress-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(129,140,248,0.35);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-progress-dot.is-current {
  background: #818CF8;
  width: 22px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(129,140,248,0.6);
}

.pricing-footnote-stick {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 880px;
  font-size: 13px;
  color: #888;
  line-height: 1.4;
  padding: 0 60px;
  z-index: 5;
}
