/* APEX UNICUT — Pricing & Checkout page */

.pricing-body {
  min-height: 100vh;
  background: var(--apex-bg);
  color: var(--apex-text);
}

.pricing-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 2rem) 4rem;
  overflow-x: clip;
  position: relative;
  z-index: 1;
}

.pricing-grid-wrap {
  margin-bottom: 4rem;
  overflow: visible;
  background: transparent;
  padding-top: 14px;
}

.pricing-grid-wrap .pricing-grid {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.pricing-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  overflow: visible;
  position: relative;
}

.pricing-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apex-accent);
  margin: 0 0 0.75rem;
}

.pricing-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--apex-text) 0%, var(--apex-accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  padding: 0 0.25rem;
  background: linear-gradient(135deg, var(--apex-text) 0%, var(--apex-accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-subtitle {
  max-width: 560px;
  margin: 0 auto 2rem;
  padding: 0 0.5rem;
  color: var(--apex-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.billing-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 5px;
  min-width: min(100%, 320px);
  background: rgba(12, 10, 18, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.45),
    0 4px 20px rgba(0, 0, 0, 0.2);
  isolation: isolate;
  overflow: visible;
}

[data-theme="light"] .billing-toggle {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(168, 85, 247, 0.12);
  box-shadow:
    inset 0 2px 8px rgba(20, 16, 24, 0.08),
    0 4px 16px rgba(20, 16, 24, 0.06);
}

.billing-toggle-btn {
  position: relative;
  z-index: 2;
  grid-row: 1;
  width: 100%;
  border: none;
  background: transparent;
  color: #a89bb8;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.22s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

#toggle-monthly {
  grid-column: 1;
}

#toggle-yearly {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1.2;
}

.billing-toggle-btn.is-active {
  color: var(--apex-text);
  transform: scale(1.01);
}

.billing-save {
  display: block;
  margin: 0;
  padding: 0.12rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--apex-accent-light);
  background: rgba(192, 132, 252, 0.15);
  border-radius: 6px;
  line-height: 1.2;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.billing-toggle-btn.is-active .billing-save {
  transform: scale(1.02);
}

/* Liquid Glass pill — iOS / macOS water drop */
.billing-toggle-pill {
  --pill-x: 0px;
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc((100% - 10px) / 2);
  height: calc(100% - 10px);
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(var(--pill-x), 0, 0);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.billing-toggle-pill.is-sliding {
  will-change: transform;
}

.billing-pill-spring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.billing-pill-spring.is-squishing {
  animation: billing-pill-squish 0.52s cubic-bezier(0.34, 1.1, 0.64, 1) forwards;
}

@keyframes billing-pill-squish {
  0% {
    transform: scale3d(1.05, 0.96, 1);
  }
  38% {
    transform: scale3d(0.98, 1.03, 1);
  }
  68% {
    transform: scale3d(1.01, 0.99, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

.billing-pill-glass {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(100, 50, 160, 0.15) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1.5px 3px rgba(255, 255, 255, 0.85),
    inset 0 -3px 6px rgba(30, 8, 55, 0.7),
    0 8px 22px rgba(0, 0, 0, 0.5);
}

.billing-pill-specular {
  position: absolute;
  top: 2px;
  left: 18%;
  width: 64%;
  height: 32%;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.4) 40%,
    transparent 80%
  );
  filter: blur(1.2px);
  transform: translateZ(0);
}

[data-theme="light"] .billing-pill-glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(100, 50, 160, 0.08) 100%
  );
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1.5px 3px rgba(255, 255, 255, 0.95),
    inset 0 -3px 6px rgba(120, 70, 180, 0.16),
    0 8px 22px rgba(20, 16, 24, 0.14);
}

[data-theme="light"] .billing-pill-specular {
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.5) 40%,
    transparent 80%
  );
}

@media (prefers-reduced-motion: reduce) {
  .billing-toggle-pill,
  .billing-pill-spring,
  .billing-toggle-btn,
  .billing-save {
    transition: none;
    animation: none;
  }

  .billing-toggle-btn.is-active {
    transform: none;
  }

  .billing-pill-spring.is-squishing {
    animation: none;
    transform: none;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 4rem;
  overflow: visible;
}

.pricing-grid .glass-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(26, 21, 38, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  overflow: visible;
  transition:
    transform 0.3s ease-out,
    border-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 32px rgba(0, 0, 0, 0.32);
}

.pricing-grid .glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 123, 234, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 48px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(168, 123, 234, 0.16);
  will-change: transform;
}

.pricing-grid .glass-card .glass-card-spotlight {
  display: none;
}

.pricing-card-price-block,
.pricing-card-price,
.pricing-card-period,
.pricing-card-strike {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.pricing-grid .glass-card.is-featured {
  border-color: rgba(168, 123, 234, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(168, 85, 247, 0.22),
    0 0 72px rgba(139, 92, 246, 0.1);
  z-index: 2;
}

.pricing-grid .glass-card.is-featured:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 123, 234, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 56px rgba(0, 0, 0, 0.4),
    0 0 56px rgba(168, 85, 247, 0.32),
    0 0 96px rgba(139, 92, 246, 0.14);
}

[data-theme="light"] .pricing-grid .glass-card {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(168, 85, 247, 0.12);
}

[data-theme="light"] .pricing-grid .glass-card.is-featured {
  border-color: rgba(168, 85, 247, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 32px rgba(20, 16, 24, 0.08),
    0 0 40px rgba(168, 85, 247, 0.12);
}

.pricing-grid .apex-reveal-stagger:nth-child(1) { transition-delay: 0ms; }
.pricing-grid .apex-reveal-stagger:nth-child(2) { transition-delay: 100ms; }
.pricing-grid .apex-reveal-stagger:nth-child(3) { transition-delay: 200ms; }
.pricing-grid .apex-reveal-stagger:nth-child(4) { transition-delay: 300ms; }

.pricing-body .apex-reveal,
.pricing-body .apex-reveal-stagger {
  transition: opacity 0.7s var(--spring-soft), transform 0.7s var(--spring-soft);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  position: relative;
  z-index: 1;
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
}

.pricing-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
}

.pricing-card-head {
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.pricing-card-price-block {
  flex-shrink: 0;
  margin-bottom: 1.75rem;
}

.pricing-card-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.pricing-card-name.featured {
  color: var(--apex-accent);
}

.pricing-card-desc {
  font-size: 0.8rem;
  color: var(--apex-muted);
  margin: 0;
  min-height: 2.6em;
  line-height: 1.45;
}

.pricing-card-price {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.35rem;
}

.pricing-card-period {
  font-size: 0.85rem;
  color: var(--apex-muted);
  margin: 0;
  min-height: 1.25em;
}

.pricing-card-strike {
  text-decoration: line-through;
  opacity: 0.45;
  font-size: 0.9rem;
  margin-right: 0.35rem;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--apex-feature-text);
  margin: 0;
  line-height: 1.45;
}

.pricing-features li span {
  flex: 1;
  min-width: 0;
}

.pricing-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--apex-accent);
  margin-top: 2px;
}

.pricing-card-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.5rem;
}

.pricing-card-footer .apex-btn {
  width: 100%;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.pricing-card-price,
.pricing-card-period {
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.pricing-card.is-selected {
  border-color: var(--apex-accent);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-grid .glass-card,
  .pricing-grid .glass-card:hover,
  .pricing-grid .glass-card.is-featured:hover {
    transform: none;
    transition: none;
  }
}

/* ── Unit packs ── */
.unit-packs-section {
  margin-bottom: 4rem;
  text-align: center;
}

.unit-packs-section[hidden] {
  display: none !important;
}

.unit-packs-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.unit-packs-subtitle {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--apex-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.unit-packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}

.unit-pack-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(26, 21, 38, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: left;
  transition:
    transform 0.3s ease-out,
    border-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 32px rgba(0, 0, 0, 0.32);
}

.unit-pack-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 123, 234, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 48px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(168, 123, 234, 0.16);
}

.unit-pack-card.is-selected {
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 32px rgba(192, 132, 252, 0.2);
}

.unit-pack-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.unit-pack-card-head {
  margin-bottom: 1.25rem;
}

.unit-pack-card-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--apex-accent);
}

.unit-pack-card-price-block {
  margin-bottom: 1.25rem;
}

.unit-pack-card-price {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.35rem;
}

.unit-pack-card-period {
  font-size: 0.85rem;
  color: var(--apex-muted);
  margin: 0;
}

.unit-pack-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.unit-pack-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--apex-muted);
  line-height: 1.45;
}

.unit-pack-features .pricing-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--apex-accent);
}

.unit-pack-card-footer {
  margin-top: auto;
}

.unit-pack-card-footer .apex-btn {
  width: 100%;
}

[data-theme="light"] .unit-pack-card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(168, 85, 247, 0.12);
}

@media (max-width: 1024px) {
  .unit-packs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .unit-packs-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .unit-pack-card,
  .unit-pack-card:hover {
    transform: none;
    transition: none;
  }
}

.pricing-faq {
  max-width: 720px;
  margin: 0 auto;
}

.pricing-faq h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-faq .apex-faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.pricing-faq .apex-faq-item.is-open {
  border-color: rgba(192, 132, 252, 0.28);
  box-shadow: var(--apex-shadow-faq-open);
}

.pricing-footer {
  text-align: center;
  padding: 2rem;
  color: var(--apex-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(192, 132, 252, 0.06);
}

.checkout-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}

.checkout-panel.is-open {
  pointer-events: auto;
  visibility: visible;
}

.checkout-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 10, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s;
}

.checkout-panel.is-open .checkout-panel-backdrop {
  opacity: 1;
}

.checkout-panel-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 420px);
  height: 100%;
  padding: 2rem 1.5rem;
  border-left: 1px solid var(--glass-border);
  box-shadow: -8px 0 48px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.55s var(--spring-bounce);
  overflow-y: auto;
  border-radius: 0;
}

.checkout-panel-sheet:hover {
  transform: translateX(100%);
}

.checkout-panel.is-open .checkout-panel-sheet {
  transform: translateX(0);
}

.checkout-panel.is-open .checkout-panel-sheet:hover {
  transform: translateX(0);
}

@media (max-width: 560px) {
  .checkout-panel-sheet {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 92vh;
    border-left: none;
    border-top: 1px solid rgba(192, 132, 252, 0.15);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .checkout-panel-sheet:hover {
    transform: translateY(100%);
  }

  .checkout-panel.is-open .checkout-panel-sheet {
    transform: translateY(0);
  }

  .checkout-panel.is-open .checkout-panel-sheet:hover {
    transform: translateY(0);
  }
}

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--apex-surface-subtle);
  color: var(--apex-muted);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 10px;
  cursor: pointer;
}

.checkout-panel-sheet h2 {
  font-size: 1.35rem;
  margin: 0 2rem 0.5rem 0;
}

.checkout-plan-summary {
  color: var(--apex-muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.checkout-order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 14px;
}

.checkout-order-total:hover {
  transform: none;
}

.checkout-order-total strong {
  font-size: 1.5rem;
  color: var(--apex-accent-light);
}

.checkout-fieldset {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.checkout-fieldset legend {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--apex-muted);
  margin-bottom: 0.75rem;
}

.pay-method {
  cursor: pointer;
  display: block;
}

.pay-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-method-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(192, 132, 252, 0.12);
  border-radius: 14px;
  background: var(--apex-bg-3);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pay-method.is-selected .pay-method-inner {
  border-color: var(--apex-accent);
  background: var(--apex-accent-soft);
  box-shadow: 0 0 24px rgba(192, 132, 252, 0.15);
}

.pay-method-icons {
  display: flex;
  gap: 0.35rem;
}

.crypto-icon {
  width: 32px;
  height: 32px;
}

.pay-method-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pay-method-text small {
  color: var(--apex-muted);
  font-size: 0.8rem;
}

.checkout-field {
  margin-bottom: 1rem;
}

.checkout-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.checkout-field .optional {
  font-weight: 400;
  color: var(--apex-muted);
}

.checkout-field input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--apex-text);
  background: var(--apex-bg-3);
  border: 1px solid rgba(192, 132, 252, 0.12);
  border-radius: 12px;
  outline: none;
  box-sizing: border-box;
}

.checkout-field input:focus {
  border-color: var(--apex-accent);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}

.checkout-promo-row {
  display: flex;
  gap: 0.5rem;
}

.checkout-promo-row input {
  flex: 1;
}

.checkout-promo-msg.is-ok { color: var(--apex-success); }
.checkout-promo-msg.is-err { color: var(--apex-danger); }

.checkout-error {
  color: var(--apex-danger);
  font-size: 0.85rem;
}

.checkout-proceed {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 14px;
}

.checkout-secure {
  text-align: center;
  font-size: 0.75rem;
  color: var(--apex-muted);
  margin: 1rem 0 0;
}

.crypto-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
  visibility: hidden;
}

.crypto-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.crypto-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--apex-overlay);
  opacity: 0;
  transition: opacity 0.3s;
}

.crypto-modal.is-open .crypto-modal-backdrop {
  opacity: 1;
}

.crypto-modal-card {
  position: relative;
  width: min(100%, 440px);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  transform: scale(0.95) translateY(12px);
  opacity: 0;
  transition: transform 0.55s var(--spring-bounce), opacity 0.45s ease;
}

.crypto-modal-card:hover {
  transform: scale(0.95) translateY(12px);
}

.crypto-modal.is-open .crypto-modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.crypto-modal.is-open .crypto-modal-card:hover {
  transform: scale(1) translateY(0);
}

.crypto-invoice-amount {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  margin-bottom: 1.25rem;
  background: var(--apex-accent-soft);
  border-radius: 14px;
  color: var(--apex-accent-light);
}

.crypto-address-row {
  display: flex;
  gap: 0.5rem;
}

.crypto-address-row code {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.75rem;
  word-break: break-all;
  background: var(--apex-bg-3);
  border: 1px solid rgba(192, 132, 252, 0.1);
  border-radius: 12px;
}

.crypto-status.is-success {
  color: var(--apex-success);
}

#crypto-go-app {
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
