@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* skora_super.css */

:root {
  --super-bg: #0D0D1A;
  --super-gradient: linear-gradient(135deg, #FF8C00 0%, #FF3CAC 35%, #7B2FBE 70%, #00B4D8 100%);
  --super-text-primary: #FFFFFF;
  --super-text-secondary: rgba(255, 255, 255, 0.55);
  --super-card-bg: rgba(255, 255, 255, 0.06);
  --super-card-border: rgba(255, 255, 255, 0.10);
  --super-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --super-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --bg-grad-start: #0D0D1A;
  --bg-grad-end: #0D0D1A;
  --first-color: 255, 140, 0;
  --second-color: 255, 60, 172;
  --third-color: 0, 180, 216;
  --fourth-color: 123, 47, 190;
  --fifth-color: 255, 140, 0;
  --pointer-color: 140, 100, 255;
  --bg-size: 80%;
  --blending-value: hard-light;
}

.skora-super-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 9999;
  background: var(--super-bg);
  color: var(--super-text-primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.skora-super-overlay[hidden] {
  display: none !important;
}

/* Background Gradient Animation */
.bg-gradient-container {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: linear-gradient(40deg, var(--bg-grad-start), var(--bg-grad-end));
  z-index: -1;
  pointer-events: none;
}

.bg-gradient-svg-filter {
  display: none;
}

.gradients-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: url(#bgBlurMe) blur(40px);
  opacity: 0.60;
}

.gradients-inner.safari-fallback {
  filter: blur(60px);
}

.gradient-first,
.gradient-second,
.gradient-third,
.gradient-fourth,
.gradient-fifth,
.gradient-interactive {
  position: absolute;
  width: var(--bg-size);
  height: var(--bg-size);
  top: calc(50% - var(--bg-size) / 2);
  left: calc(50% - var(--bg-size) / 2);
  mix-blend-mode: var(--blending-value);
  opacity: 1;
}

.gradient-first {
  background: radial-gradient(circle at center, rgba(var(--first-color), 0.8) 0, rgba(var(--first-color), 0) 50%) no-repeat;
  transform-origin: center center;
  animation: bg-moveInCircle 20s reverse infinite;
}

.gradient-second {
  background: radial-gradient(circle at center, rgba(var(--second-color), 0.8) 0, rgba(var(--second-color), 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: bg-moveInCircle 20s linear infinite;
}

.gradient-third {
  background: radial-gradient(circle at center, rgba(var(--third-color), 0.8) 0, rgba(var(--third-color), 0) 50%) no-repeat;
  transform-origin: calc(50% + 400px);
  animation: bg-moveInCircle 40s linear infinite;
}

.gradient-fourth {
  background: radial-gradient(circle at center, rgba(var(--fourth-color), 0.8) 0, rgba(var(--fourth-color), 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: bg-moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.gradient-fifth {
  background: radial-gradient(circle at center, rgba(var(--fifth-color), 0.8) 0, rgba(var(--fifth-color), 0) 50%) no-repeat;
  transform-origin: calc(50% - 800px) calc(50% + 800px);
  animation: bg-moveInCircle 20s ease infinite;
}

.gradient-interactive {
  background: radial-gradient(circle at center, rgba(var(--pointer-color), 0.8) 0, rgba(var(--pointer-color), 0) 50%) no-repeat;
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  opacity: 0.7;
  transform: translate(0px, 0px);
}

@keyframes bg-moveInCircle {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes bg-moveVertical {
  0% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(50%);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes bg-moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }

  50% {
    transform: translateX(50%) translateY(10%);
  }

  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

@keyframes modalReveal {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.skora-super-overlay:not([hidden]) {
  animation: modalReveal 300ms var(--super-ease-out) forwards;
}

.skora-super-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, #0F172A 30%, rgba(15, 23, 42, 0) 100%);
  z-index: 90;
  pointer-events: none;
  transition: opacity 250ms var(--super-ease-out);
}

.skora-super-overlay.drawer-open::after {
  opacity: 0;
}

.skora-super-close {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms var(--super-ease-out), background 160ms var(--super-ease-out);
  z-index: 100;
}

@media (hover: hover) and (pointer: fine) {
  .skora-super-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
  }
}

.skora-super-close:active {
  transform: scale(0.97);
}

.skora-super-close .material-symbols-outlined {
  font-size: 28px;
}

@keyframes badgePulse {

  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 60, 172, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 14px rgba(123, 47, 190, 0.8));
  }
}

.skora-super-logo-tr {
  position: absolute;
  top: 24px;
  right: 24px;
  height: 40px;
  z-index: 100;
  animation: badgePulse 3s infinite;
  transition: opacity 250ms var(--super-ease-out), visibility 250ms var(--super-ease-out), transform 250ms var(--super-ease-out);
}

.skora-super-logo-tr.hidden-by-drawer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.95);
}

/* Steps and Layout */
.skora-super-container {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 100%;
  /* Ensures absolute children resolve top/bottom correctly in Safari */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.skora-super-step {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Center vertically on desktop */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  padding: 70px 24px 100px;
  transition: opacity 150ms var(--super-ease-out), transform 150ms var(--super-ease-out), filter 150ms var(--super-ease-out);
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
}

.skora-super-step::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.skora-super-step[hidden] {
  display: none !important;
}

.skora-super-step.active {
  transition: opacity 300ms var(--super-ease-out), transform 300ms var(--super-ease-out), filter 300ms var(--super-ease-out);
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0px);
  z-index: 2;
  pointer-events: auto;
  /* Required to allow scrolling inside the step */
}

.skora-super-step.enter {
  opacity: 0;
  transform: translateX(20px) scale(0.98);
  filter: blur(4px);
}

.skora-super-step.exit {
  opacity: 0;
  transform: translateX(-20px) scale(0.98);
  filter: blur(4px);
  z-index: 1;
}

@keyframes staggerFade {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.skora-super-step.active .skora-super-table tr,
.skora-super-step.active .skora-super-timeline-item,
.skora-super-step.active .skora-super-plan-card {
  animation: staggerFade 250ms var(--super-ease-out) forwards;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(2px);
}

.skora-super-step.active .skora-super-table tr:nth-child(1),
.skora-super-step.active .skora-super-timeline-item:nth-child(1),
.skora-super-step.active .skora-super-plan-card:nth-child(1) {
  animation-delay: 50ms;
}

.skora-super-step.active .skora-super-table tr:nth-child(2),
.skora-super-step.active .skora-super-timeline-item:nth-child(2),
.skora-super-step.active .skora-super-plan-card:nth-child(2) {
  animation-delay: 100ms;
}

.skora-super-step.active .skora-super-table tr:nth-child(3),
.skora-super-step.active .skora-super-timeline-item:nth-child(3),
.skora-super-step.active .skora-super-plan-card:nth-child(3) {
  animation-delay: 150ms;
}

.skora-super-step.active .skora-super-table tr:nth-child(4),
.skora-super-step.active .skora-super-timeline-item:nth-child(4),
.skora-super-step.active .skora-super-plan-card:nth-child(4) {
  animation-delay: 200ms;
}

.skora-super-step.active .skora-super-table tr:nth-child(5) {
  animation-delay: 250ms;
}

.skora-super-title {
  font-size: 2.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.2;
  padding-bottom: 8px;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFFFF 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.15));
}

.skora-super-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--super-text-secondary);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: -24px;
  margin-bottom: 32px;
}

/* Paso 1 - Tabla */
.skora-super-table-container {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 5px 5px 0px 0px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 200ms ease;
}

.skora-super-table-container:hover {
  box-shadow: 9px 9px 0px 0px rgba(255, 255, 255, 0.18);
}

.skora-super-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.skora-super-table tbody tr {
  transition: background 160ms var(--super-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .skora-super-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

.skora-super-table th {
  padding: 0 16px 10px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--super-card-border);
}

.skora-super-col-free {
  color: var(--super-text-secondary);
  text-align: center;
  width: 80px;
  border-bottom: 1px solid var(--super-card-border);
}

.skora-super-col-pro {
  text-align: center;
  width: 140px;
  background: var(--super-gradient);
  color: white;
  border-radius: 12px 12px 0 0;
  padding: 8px 16px;
  position: relative;
}

.skora-super-col-pro img {
  height: 24px;
}

.skora-super-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--super-card-border);
  vertical-align: middle;
}

.skora-super-table td.skora-super-col-pro {
  background: rgba(123, 47, 190, 0.2);
  border-left: 1px solid rgba(123, 47, 190, 0.3);
  border-right: 1px solid rgba(123, 47, 190, 0.3);
  border-bottom: 1px solid rgba(123, 47, 190, 0.3);
}

.skora-super-table tr:last-child td.skora-super-col-pro {
  border-radius: 0 0 12px 12px;
}

.skora-super-row-icon {
  margin-right: 12px;
  font-size: 1.2rem;
  vertical-align: middle;
}

.skora-super-check {
  color: #00E676;
  /* Green check */
  font-weight: bold;
}

.skora-super-dash {
  color: var(--super-text-secondary);
}

/* Paso 2 - Recordatorio / Timeline */
.skora-super-layout-2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

@keyframes foxEntrance {
  0% {
    transform: translateY(20px) rotate(-5deg);
    opacity: 0;
  }

  100% {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
}

.skora-super-zorro-anim {
  width: 200px;
  animation: foxEntrance 0.8s var(--super-ease-out) forwards;
  animation-delay: 100ms;
  opacity: 0;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.skora-super-timeline-card {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 5px 5px 0px 0px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex: 1;
  max-width: 400px;
  transition: box-shadow 200ms ease;
}

.skora-super-timeline-card:hover {
  box-shadow: 9px 9px 0px 0px rgba(255, 255, 255, 0.18);
}

.skora-super-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.skora-super-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 20px;
  width: 2px;
  background: var(--super-card-border);
  z-index: 0;
}

.skora-super-timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.skora-super-timeline-item:last-child {
  margin-bottom: 0;
}

.skora-super-timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--super-bg);
  border: 2px solid var(--super-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #00B4D8;
}

.skora-super-timeline-item:last-child .skora-super-timeline-icon {
  background: rgba(123, 47, 190, 0.3);
  border-color: #7B2FBE;
  color: #FFFFFF;
}

.skora-super-timeline-content {
  flex: 1;
}

.skora-super-timeline-content strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.skora-super-timeline-content p {
  color: var(--super-text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

.skora-super-timeline-disclaimer {
  text-align: center;
  color: var(--super-text-secondary);
  font-size: 0.85rem;
  margin-top: 24px;
}

/* Paso 3 - Selección de Plan */
.skora-super-plans {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.skora-super-plan-card {
  background: var(--super-card-bg);
  border: 2px solid var(--super-card-border);
  border-radius: 20px;
  padding: 24px;
  cursor: pointer;
  position: relative;
  transition: transform 160ms var(--super-ease-out), background 160ms var(--super-ease-out), border-color 160ms var(--super-ease-out), box-shadow 160ms var(--super-ease-out);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (hover: hover) and (pointer: fine) {
  .skora-super-plan-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.05);
  }

  .skora-super-plan-card--selected:hover {
    transform: translateY(-2px);
  }
}

.skora-super-plan-card:active {
  transform: scale(0.97);
}

.skora-super-plan-card--selected {
  border-color: transparent;
  background: linear-gradient(var(--super-bg), var(--super-bg)) padding-box,
    var(--super-gradient) border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 60, 172, 0.15);
  transform: translateY(-2px);
}

.skora-super-plan-card--selected:active {
  transform: scale(0.97);
}

.skora-super-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: white;
}

.skora-super-badge--orange {
  background: #FF8C00;
}

.skora-super-badge--green {
  background: #00E676;
  color: #004D00;
}

.skora-super-plan-price {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.skora-super-plan-price span {
  font-size: 1rem;
  font-weight: normal;
  color: var(--super-text-secondary);
}

.skora-super-plan-desc {
  color: var(--super-text-secondary);
  font-size: 0.9rem;
}

.skora-super-plan-check {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: var(--super-card-border);
  transition: color 200ms ease;
}

.skora-super-plan-check .material-symbols-outlined {
  font-size: 28px;
}

.skora-super-plan-card--selected .skora-super-plan-check {
  color: #FF3CAC;
}

.skora-super-legal {
  text-align: center;
  color: var(--super-text-secondary);
  font-size: 0.8rem;
  margin-top: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Footer / CTA */
.skora-super-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.skora-super-footer.hidden {
  display: none !important;
}

.premium-plan-btn-secondary {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--super-ease-out), background 160ms var(--super-ease-out), border-color 160ms var(--super-ease-out), box-shadow 160ms var(--super-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .premium-plan-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  }

  .skora-super-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 60, 172, 0.4);
  }
}

.premium-plan-btn-secondary:active {
  transform: scale(0.97);
}

.skora-super-btn {
  background: var(--super-gradient);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 60, 172, 0.3);
  transition: transform 160ms var(--super-ease-out), box-shadow 160ms var(--super-ease-out);
  width: 320px;
  max-width: 100%;
  margin: 0;
  pointer-events: auto;
}

.skora-super-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 16px rgba(255, 60, 172, 0.2);
}

.skora-super-btn:disabled {
  background: var(--super-card-border);
  color: var(--super-text-secondary);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.skora-super-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Media Queries for Mobile Responsiveness */
@media (max-width: 640px) {
  .skora-super-step {
    justify-content: flex-start;
    padding: 60px 16px 90px;
  }

  .skora-super-title {
    font-size: 1.6rem;
    line-height: 1.2;
    padding-bottom: 8px;
    margin-bottom: 20px;
  }

  /* Slide 1 tweaks */
  .skora-super-table-container {
    padding: 12px;
    border-radius: 16px;
    margin: 0 12px;
  }

  .skora-super-table th,
  .skora-super-table td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .skora-super-col-free {
    display: none;
  }

  .skora-super-table td:nth-child(2) {
    display: none;
  }

  /* Slide 2 tweaks */
  .skora-super-layout-2 {
    flex-direction: column;
    gap: 16px;
  }

  .skora-super-timeline-card {
    padding: 20px 16px;
    border-radius: 16px;
    margin: 0 12px;
  }

  .skora-super-zorro-anim {
    width: 160px;
    margin-bottom: -10px;
  }

  .referral-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .referral-milestone {
    padding: 12px;
    gap: 10px;
  }

  .referral-milestone-icon .material-symbols-outlined {
    font-size: 1.5rem !important;
  }

  .referral-milestone-label {
    font-size: 0.7rem;
  }

  .referral-milestone-reward {
    font-size: 0.8rem;
  }

  .referral-milestone-badge {
    padding: 3px 8px;
    font-size: 0.65rem;
  }

  .skora-super-footer {
    padding: 0.75rem 1.25rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
    background: linear-gradient(to top, rgba(13, 13, 26, 0.95) 60%, transparent 100%);
  }

  .skora-super-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}


.referral-subtitle {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-align: left;
}

.referral-milestones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.referral-milestone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  transition: transform 160ms var(--super-ease-out), background 160ms var(--super-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .referral-milestone:hover {
    background: rgba(255, 255, 255, 0.09);
  }
}

.referral-milestone:active {
  transform: scale(0.97);
}

.referral-milestone-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.referral-milestone-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.referral-milestone-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.referral-milestone-reward {
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}

.referral-milestone-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.badge-tier1 {
  background: rgba(255, 140, 0, 0.2);
  color: #FF8C00;
  border: 1px solid rgba(255, 140, 0, 0.4);
}

.badge-tier2 {
  background: rgba(255, 60, 172, 0.2);
  color: #FF3CAC;
  border: 1px solid rgba(255, 60, 172, 0.4);
}

.badge-tier3 {
  background: rgba(0, 180, 216, 0.2);
  color: #00B4D8;
  border: 1px solid rgba(0, 180, 216, 0.4);
}

.referral-note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.cursor-pointer {
  cursor: pointer;
}

.creative-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.creative-plan-card {
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.creative-plan-card--tilt-left {
  transform: rotate(-1.5deg);
}

.creative-plan-card--tilt-right {
  transform: rotate(1deg) scale(1.04);
}

.creative-plan-card--tilt-left2 {
  transform: rotate(-1deg);
}

.creative-plan-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03) !important;
}

.creative-plan-inner {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 5px 5px 0px 0px rgba(255, 255, 255, 0.12);
  transition: box-shadow 200ms ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.creative-plan-card:hover .creative-plan-inner {
  box-shadow: 9px 9px 0px 0px rgba(255, 255, 255, 0.18);
}

.creative-plan-card--popular .creative-plan-inner {
  border-color: rgba(255, 60, 172, 0.5);
  box-shadow: 5px 5px 0px 0px rgba(255, 60, 172, 0.3);
  background: rgba(255, 60, 172, 0.06);
}

.creative-plan-card--popular:hover .creative-plan-inner {
  box-shadow: 9px 9px 0px 0px rgba(255, 60, 172, 0.4);
}

.creative-plan-popular-badge {
  position: absolute;
  top: -14px;
  right: 16px;
  background: #FF3CAC;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  transform: rotate(3deg);
  z-index: 1;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.creative-plan-icon {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.creative-plan-icon .material-symbols-outlined {
  font-size: 1.3rem;
}

.creative-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.creative-plan-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.creative-plan-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.creative-plan-amount {
  font-size: 1.9rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.creative-plan-period {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.creative-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.creative-plan-features li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}

.creative-plan-features li::before {
  content: '✓';
  color: #00E676;
  font-weight: 800;
  font-size: 0.9rem;
}

.creative-plan-btn {
  width: 100%;
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0px rgba(255, 255, 255, 0.1);
}

.creative-plan-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px rgba(255, 255, 255, 0.15);
}

.creative-plan-btn--highlight {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-color: transparent;
  box-shadow: 3px 3px 0px rgba(236, 72, 153, 0.4);
}

.creative-plan-btn--highlight:hover {
  box-shadow: 5px 5px 0px rgba(236, 72, 153, 0.5);
}

@media (max-width: 640px) {
  .creative-pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 12px;
  }

  .creative-plan-card--tilt-left,
  .creative-plan-card--tilt-right,
  .creative-plan-card--tilt-left2 {
    transform: none;
  }

  .creative-plan-inner {
    padding: 1.25rem 1rem;
  }

  .creative-plan-name {
    font-size: 1.2rem;
  }

  .creative-plan-amount {
    font-size: 1.6rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGO EXITOSO — Payment Success Page
   ═══════════════════════════════════════════════════════════════════════ */

.pago-exitoso-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
}

.pago-exitoso-confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

/* ── Success Card ─────────────────────────────────── */
.pago-exitoso-card {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px 28px 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  animation: pagoCardReveal 500ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
}

@keyframes pagoCardReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Animated Check Circle ─────────────────────────── */
.pago-exitoso-check-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.pago-exitoso-check-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 230, 118, 0.25));
}

.pago-exitoso-check-circle {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: drawCircle 600ms cubic-bezier(0.23, 1, 0.32, 1) 350ms forwards;
}

.pago-exitoso-check-mark {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawCheck 300ms cubic-bezier(0.23, 1, 0.32, 1) 800ms forwards;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

/* ── Typography ────────────────────────────────────── */
.pago-exitoso-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #00E676 0%, #00B4D8 50%, #7B2FBE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pagoTitleGlow 4s ease-in-out infinite alternate;
}

@keyframes pagoTitleGlow {
  0% {
    filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.2));
  }

  100% {
    filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.3));
  }
}

.pago-exitoso-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.pago-exitoso-subtitle strong {
  color: #fff;
  font-weight: 700;
}

/* ── Plan Details ──────────────────────────────────── */
.pago-exitoso-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.pago-exitoso-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  transition: background 200ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 200ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .pago-exitoso-detail-row:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
  }
}

.pago-exitoso-detail-row .material-symbols-outlined {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pago-exitoso-detail-row div {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.pago-exitoso-detail-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 600;
  line-height: 1.2;
}

.pago-exitoso-detail-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

/* ── Active Status Dot ─────────────────────────────── */
.pago-exitoso-status-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00E676 !important;
}

.pago-exitoso-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    box-shadow: 0 0 4px rgba(0, 230, 118, 0.3);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.6);
    opacity: 0.7;
  }
}

/* ── Processing State ─────────────────────────────── */
.pago-exitoso-status-processing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFD700 !important;
}

.pago-exitoso-processing-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 215, 0, 0.25);
  border-top-color: #FFD700;
  border-radius: 50%;
  animation: processingSpinPago 600ms linear infinite;
}

@keyframes processingSpinPago {
  to {
    transform: rotate(360deg);
  }
}

/* ── CTA Button ────────────────────────────────────── */
.pago-exitoso-cta {
  width: 100%;
  margin-bottom: 8px;
  animation: ctaPulse 2.5s ease-in-out 1.5s infinite;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.pago-exitoso-cta:active {
  transform: scale(0.97);
}

@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(255, 60, 172, 0.25);
  }

  50% {
    box-shadow: 0 8px 28px rgba(255, 60, 172, 0.45), 0 0 32px rgba(123, 47, 190, 0.15);
  }
}

.pago-exitoso-note {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  margin: 0;
}

/* ── Mobile Responsive ─────────────────────────────── */
@media (max-width: 480px) {
  .pago-exitoso-card {
    padding: 28px 18px 24px;
    border-radius: 20px;
  }

  .pago-exitoso-title {
    font-size: 1.5rem;
  }

  .pago-exitoso-check-wrapper {
    width: 60px;
    height: 60px;
  }

  .pago-exitoso-detail-row {
    padding: 9px 12px;
    gap: 10px;
  }

  .pago-exitoso-detail-value {
    font-size: 0.82rem;
  }
}

/* ── Reduced Motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  .pago-exitoso-card,
  .pago-exitoso-check-circle,
  .pago-exitoso-check-mark {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }

  .pago-exitoso-cta {
    animation: none;
  }

  .pago-exitoso-status-dot {
    animation: none;
  }
}

/* ══════════════════════════════════════════════════════
   Referral Drawer — Slide-from-right panel
   ══════════════════════════════════════════════════════ */
.referral-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.referral-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.referral-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #0c0c1a;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
}

.referral-drawer.open {
  transform: translateX(0);
}

.referral-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.referral-drawer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.referral-drawer-title .material-symbols-outlined {
  font-size: 20px;
  color: #FF8C00;
}

.referral-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease-out, transform 160ms ease-out;
}

.referral-drawer-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.referral-drawer-close:active {
  transform: scale(0.93);
}

.referral-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.referral-drawer-body::-webkit-scrollbar {
  display: none;
}

/* Individual referral item */
.referral-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(8px);
  animation: refItemIn 300ms ease-out forwards;
}

.referral-item:nth-child(1) {
  animation-delay: 0ms;
}

.referral-item:nth-child(2) {
  animation-delay: 50ms;
}

.referral-item:nth-child(3) {
  animation-delay: 100ms;
}

.referral-item:nth-child(4) {
  animation-delay: 150ms;
}

.referral-item:nth-child(5) {
  animation-delay: 200ms;
}

.referral-item:nth-child(n+6) {
  animation-delay: 250ms;
}

@keyframes refItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.referral-item-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF8C00 0%, #FF3CAC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.referral-item-info {
  flex: 1;
  min-width: 0;
}

.referral-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.referral-item-date {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

.referral-item-status {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.referral-item-status.paid {
  background: rgba(0, 230, 118, 0.15);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.referral-item-status.registered {
  background: rgba(255, 140, 0, 0.12);
  color: #FF8C00;
  border: 1px solid rgba(255, 140, 0, 0.25);
}

/* Empty state */
.referral-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
  opacity: 0;
  animation: refItemIn 400ms ease-out 100ms forwards;
}

.referral-drawer-empty-icon {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.12);
}

.referral-drawer-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.referral-drawer-empty-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
  max-width: 260px;
}

/* "View my referrals" button inside the referral card */
.referral-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}

.referral-view-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.referral-view-btn:active {
  transform: scale(0.97);
}

.referral-view-btn .material-symbols-outlined {
  font-size: 16px;
}

/* Drawer counter badge */
.referral-drawer-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 140, 0, 0.18);
  color: #FF8C00;
  border: 1px solid rgba(255, 140, 0, 0.3);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: 20px;
  padding: 0 6px;
  margin-left: 6px;
}

/* ── Referral Drawer: Mobile bottom-sheet ────────────────────── */
@media (max-width: 600px) {
  .referral-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  }

  .referral-drawer.open {
    transform: translateY(0);
  }

  .referral-drawer-header::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 12px;
  }
}