    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --navy: #0B1D33;
      --navy-deep: #060f1a;
      --navy-light: #122a45;
      --navy-glass: rgba(11, 29, 51, 0.72);
      --orange: #FF6B00;
      --orange-bright: #FF8534;
      --orange-glow: rgba(255, 107, 0, 0.5);
      --orange-soft: rgba(255, 107, 0, 0.12);
      --cream: #E8E4D9;
      --cream-muted: rgba(232, 228, 217, 0.62);
      --star: #FFD54F;
      --star-mars: #FF9E5C;
      --star-dust: rgba(232, 228, 217, 0.45);
      --error: #FF4757;
      --success: #2ED573;
      --radius: 14px;
      --radius-icon: 12px;
      --radius-orbit: 14px;
      --radius-lg: 22px;
      --radius-xl: 28px;
      --safe-top: env(safe-area-inset-top, 0px);
      --safe-bottom: env(safe-area-inset-bottom, 0px);
      --safe-left: env(safe-area-inset-left, 0px);
      --safe-right: env(safe-area-inset-right, 0px);
    }

    html {
      font-size: 16px;
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }

    body {
      background: var(--navy-deep);
      color: var(--cream);
      min-height: 100dvh;
      min-height: 100svh;
      overflow-x: hidden;
      line-height: 1.75;
    }

    /* ── Space background ── */
    .space-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      background:
        radial-gradient(ellipse 90% 45% at 50% 105%, rgba(255, 90, 20, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 55% 35% at 12% 78%, rgba(255, 107, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 45% 30% at 88% 22%, rgba(255, 140, 60, 0.05) 0%, transparent 48%),
        radial-gradient(ellipse 75% 55% at 50% -8%, rgba(255, 107, 0, 0.11) 0%, transparent 52%),
        linear-gradient(175deg, #0c1f35 0%, var(--navy-deep) 50%, #050c14 100%);
    }

    .space-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 40%, transparent 0%, rgba(6, 15, 26, 0.55) 100%);
      pointer-events: none;
    }

    /* Static distant starfield — lightweight, no DOM */
    .space-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.55;
      background-image:
        radial-gradient(1px 1px at  8% 12%, rgba(255,200,140,0.55), transparent),
        radial-gradient(1px 1px at 18% 28%, rgba(255,255,240,0.35), transparent),
        radial-gradient(1px 1px at 32%  7%, rgba(255,170,90,0.45), transparent),
        radial-gradient(1px 1px at 45% 18%, rgba(255,255,240,0.3), transparent),
        radial-gradient(1px 1px at 58%  9%, rgba(255,190,110,0.5), transparent),
        radial-gradient(1px 1px at 72% 22%, rgba(255,255,240,0.28), transparent),
        radial-gradient(1px 1px at 85% 11%, rgba(255,160,80,0.42), transparent),
        radial-gradient(1px 1px at 93% 35%, rgba(255,255,240,0.32), transparent),
        radial-gradient(1px 1px at  5% 48%, rgba(255,255,240,0.25), transparent),
        radial-gradient(1px 1px at 22% 55%, rgba(255,180,100,0.4), transparent),
        radial-gradient(1px 1px at 38% 42%, rgba(255,255,240,0.22), transparent),
        radial-gradient(1px 1px at 52% 58%, rgba(255,200,130,0.38), transparent),
        radial-gradient(1px 1px at 67% 45%, rgba(255,255,240,0.26), transparent),
        radial-gradient(1px 1px at 78% 62%, rgba(255,170,90,0.44), transparent),
        radial-gradient(1px 1px at 91% 52%, rgba(255,255,240,0.24), transparent),
        radial-gradient(1px 1px at 14% 72%, rgba(255,190,110,0.36), transparent),
        radial-gradient(1px 1px at 28% 85%, rgba(255,255,240,0.2), transparent),
        radial-gradient(1px 1px at 44% 78%, rgba(255,160,80,0.42), transparent),
        radial-gradient(1px 1px at 56% 88%, rgba(255,255,240,0.22), transparent),
        radial-gradient(1px 1px at 70% 75%, rgba(255,200,140,0.35), transparent),
        radial-gradient(1px 1px at 82% 82%, rgba(255,255,240,0.28), transparent),
        radial-gradient(1px 1px at 96% 68%, rgba(255,180,100,0.4), transparent),
        radial-gradient(1.5px 1.5px at 35% 32%, rgba(255,220,180,0.5), transparent),
        radial-gradient(1.5px 1.5px at 62% 38%, rgba(255,240,220,0.45), transparent),
        radial-gradient(1.5px 1.5px at 48% 68%, rgba(255,200,130,0.48), transparent);
    }

    .stars {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    .star {
      position: absolute;
      border-radius: 50%;
    }

    .star--dust {
      background: var(--star-dust);
      opacity: var(--op, 0.3);
      animation: twinkleSlow var(--dur, 6s) ease-in-out infinite alternate;
    }

    .star--mars {
      background: var(--star-mars);
      opacity: 0.3;
      box-shadow: 0 0 3px rgba(255, 107, 0, 0.2);
    }

    .star--mars-twinkle {
      background: var(--star-mars);
      animation: marsTwinkle var(--dur, 1.8s) ease-in-out infinite;
      animation-delay: var(--delay, 0s);
      will-change: opacity, transform;
    }

    .star--bright {
      background: #FFF8E7;
      box-shadow:
        0 0 3px rgba(255, 248, 231, 0.7),
        0 0 8px rgba(255, 107, 0, 0.2);
      animation: twinkle var(--dur, 4s) ease-in-out infinite alternate;
    }

    @keyframes marsTwinkle {
      0%, 100% {
        opacity: 0;
        transform: scale(0.3);
        box-shadow: 0 0 0 transparent;
      }
      15%, 85% {
        opacity: 0.05;
        transform: scale(0.5);
        box-shadow: 0 0 2px rgba(255, 107, 0, 0.1);
      }
      50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow:
          0 0 6px rgba(255, 158, 92, 0.95),
          0 0 14px rgba(255, 107, 0, 0.5);
      }
    }

    @keyframes twinkle {
      from { opacity: 0.25; transform: scale(0.85); }
      to   { opacity: 0.85; transform: scale(1.15); }
    }

    @keyframes twinkleSlow {
      from { opacity: calc(var(--op, 0.3) * 0.6); }
      to   { opacity: calc(var(--op, 0.3) * 1.2); }
    }

    /* ── Hero ── */
    .hero {
      margin-bottom: clamp(1.35rem, 4vw, 1.65rem);
      text-align: right;
    }

    .hero-name-row {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      margin-bottom: 0.65rem;
    }

    .hero-product-icon {
      width: clamp(1.85rem, 5.5vw, 2.15rem);
      height: clamp(1.85rem, 5.5vw, 2.15rem);
      flex-shrink: 0;
      border-radius: 0.45rem;
      object-fit: contain;
    }

    .hero-product-icon[hidden] {
      display: none;
    }

    .hero-names {
      flex: 1;
      min-width: 0;
    }

    .hero-title {
      font-size: clamp(1.15rem, 3.8vw, 1.4rem);
      font-weight: 800;
      line-height: 1.35;
      color: var(--cream);
      margin: 0;
    }

    .hero-title-en {
      margin: 0.15rem 0 0;
      font-size: clamp(0.72rem, 2.2vw, 0.8rem);
      font-weight: 500;
      line-height: 1.35;
      color: rgba(232, 228, 217, 0.45);
      direction: ltr;
      unicode-bidi: plaintext;
      text-align: right;
      letter-spacing: 0.02em;
    }

    .hero-subtitle {
      margin: 0 0 0.85rem;
      font-size: clamp(0.78rem, 2.4vw, 0.84rem);
      font-weight: 400;
      color: var(--cream-muted);
      line-height: 1.65;
    }

    .hero-divider {
      border: none;
      height: 1px;
      background: rgba(232, 228, 217, 0.1);
      margin: 0 0 1.25rem;
    }

    /* ── Layout ── */
    .app {
      position: relative;
      z-index: 1;
      min-height: 100dvh;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: safe center;
      padding:
        calc(1.25rem + var(--safe-top))
        calc(1rem + var(--safe-right))
        calc(5.75rem + var(--safe-bottom))
        calc(1rem + var(--safe-left));
    }

    body[data-product-slug] .app {
      justify-content: flex-start;
      padding-bottom: calc(1.25rem + var(--safe-bottom));
    }

    .step-container {
      width: 100%;
      max-width: 440px;
    }

    .step-container.in-flow {
      max-width: 400px;
    }

    .step {
      display: block;
    }

    .step.hidden {
      display: none;
    }

    @keyframes fadeSlideIn {
      from { opacity: 0; transform: translateY(20px) scale(0.98); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50%      { transform: translateY(-8px); }
    }

    /* ── Glass card ── */
    .glass {
      position: relative;
      background: linear-gradient(
        145deg,
        rgba(18, 42, 69, 0.75) 0%,
        rgba(11, 29, 51, 0.55) 100%
      );
      backdrop-filter: blur(24px) saturate(1.4);
      -webkit-backdrop-filter: blur(24px) saturate(1.4);
      border: 1px solid rgba(232, 228, 217, 0.1);
      border-radius: var(--radius-xl);
      box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 20px 50px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
      overflow: hidden;
    }

    .glass::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(
        145deg,
        rgba(255, 107, 0, 0.25) 0%,
        transparent 40%,
        rgba(232, 228, 217, 0.05) 100%
      );
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    /* ── Journey (how it works) ── */
    .journey {
      margin-bottom: 0;
    }

    .step-container.in-flow .hero-divider {
      margin-bottom: 1.35rem;
    }

    .step-container.in-flow .journey {
      margin-bottom: 0.65rem;
    }

    .journey-cta {
      margin-top: 1.15rem;
    }

    .journey-cta .journey-cta-divider {
      margin: 1.15rem 0 0;
    }

    .journey-cta.is-hidden {
      display: none;
    }

    .journey-card {
      padding: 1.1rem 0.85rem 1.15rem;
      border-radius: var(--radius-lg);
    }

    .journey-card.glass::before {
      border-radius: inherit;
    }

    .journey-list {
      list-style: none;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      width: 100%;
      --journey-cycle: 10.5s;
    }

    .journey-item {
      flex: 1;
      min-width: 0;
      max-width: 32%;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.45rem;
      opacity: 0;
      animation: journeyIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .journey-item:nth-child(1) { animation-delay: 0.05s; }
    .journey-item:nth-child(3) { animation-delay: 0.12s; }
    .journey-item:nth-child(5) { animation-delay: 0.19s; }

    @keyframes journeyIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .journey-icon-wrap {
      position: relative;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius-icon);
      border: 1px solid rgba(232, 228, 217, 0.1);
      background: rgba(232, 228, 217, 0.05);
      color: var(--cream-muted);
    }

    .journey-orbit {
      position: absolute;
      inset: -4px;
      width: calc(100% + 8px);
      height: calc(100% + 8px);
      pointer-events: none;
      opacity: 0;
      overflow: visible;
    }

    .journey-orbit-track {
      fill: none;
      stroke: rgba(232, 228, 217, 0.08);
      stroke-width: 1.5;
    }

    .journey-orbit-light {
      fill: none;
      stroke: #FF8534;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-dasharray: 14 86;
      filter: drop-shadow(0 0 4px rgba(255, 107, 0, 0.75));
      animation: journeyOrbitTrace 1.1s linear infinite;
    }

    @keyframes journeyOrbitTrace {
      to { stroke-dashoffset: -100; }
    }

    .journey-icon {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .journey-icon svg {
      width: 18px;
      height: 18px;
      display: block;
    }

    .journey-list.is-locked .journey-item .journey-icon-wrap,
    .journey-list.is-locked .journey-item .journey-orbit,
    .journey-list.is-locked .journey-item .journey-label,
    .journey-list.is-locked .journey-bridge-fill,
    .journey-list.is-locked .journey-bridge-beam {
      animation: none !important;
    }

    .journey-icon-wrap.is-active {
      border-color: rgba(255, 107, 0, 0.45);
      background: rgba(255, 107, 0, 0.12);
      color: var(--orange-bright);
      box-shadow: 0 0 16px rgba(255, 107, 0, 0.28);
    }

    .journey-icon-wrap.is-done {
      border-color: rgba(46, 213, 115, 0.32);
      background: rgba(46, 213, 115, 0.1);
      color: var(--success);
      box-shadow: none;
    }

    .journey-icon-wrap.is-done .journey-orbit {
      opacity: 0 !important;
      visibility: hidden;
    }

    .journey-icon-wrap.is-done .journey-icon {
      opacity: 0;
      visibility: hidden;
    }

    .journey-done-mark {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: none;
      align-items: center;
      justify-content: center;
      color: var(--success);
    }

    .journey-icon-wrap.is-done .journey-done-mark {
      display: flex;
    }

    .journey-done-mark svg {
      width: 18px;
      height: 18px;
      display: block;
      filter: drop-shadow(0 0 6px rgba(46, 213, 115, 0.35));
    }

    .journey-orbit.is-active {
      opacity: 1;
    }

    .journey-label.is-active {
      color: var(--cream);
    }

    .journey-label.is-done {
      color: var(--cream-muted);
    }

    .journey-bridge.is-filled .journey-bridge-fill {
      width: 100%;
      opacity: 0.35;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(1) .journey-icon-wrap {
      animation: journeyStep1 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(3) .journey-icon-wrap {
      animation: journeyStep2 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(5) .journey-icon-wrap {
      animation: journeyStep3 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(1) .journey-orbit {
      animation: journeyOrbit1 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(3) .journey-orbit {
      animation: journeyOrbit2 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(5) .journey-orbit {
      animation: journeyOrbit3 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(1) .journey-label {
      animation: journeyLabel1 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(3) .journey-label {
      animation: journeyLabel2 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-item:nth-child(5) .journey-label {
      animation: journeyLabel3 var(--journey-cycle) infinite;
    }

    @keyframes journeyStep1 {
      0%, 26% {
        border-color: rgba(255, 107, 0, 0.45);
        background: rgba(255, 107, 0, 0.12);
        color: var(--orange-bright);
        box-shadow: 0 0 16px rgba(255, 107, 0, 0.28);
      }
      32%, 100% {
        border-color: rgba(232, 228, 217, 0.1);
        background: rgba(232, 228, 217, 0.05);
        color: var(--cream-muted);
        box-shadow: none;
      }
    }

    @keyframes journeyStep2 {
      0%, 30% {
        border-color: rgba(232, 228, 217, 0.1);
        background: rgba(232, 228, 217, 0.05);
        color: var(--cream-muted);
        box-shadow: none;
      }
      34%, 60% {
        border-color: rgba(255, 107, 0, 0.45);
        background: rgba(255, 107, 0, 0.12);
        color: var(--orange-bright);
        box-shadow: 0 0 16px rgba(255, 107, 0, 0.28);
      }
      66%, 100% {
        border-color: rgba(232, 228, 217, 0.1);
        background: rgba(232, 228, 217, 0.05);
        color: var(--cream-muted);
        box-shadow: none;
      }
    }

    @keyframes journeyStep3 {
      0%, 64% {
        border-color: rgba(232, 228, 217, 0.1);
        background: rgba(232, 228, 217, 0.05);
        color: var(--cream-muted);
        box-shadow: none;
      }
      68%, 94% {
        border-color: rgba(255, 107, 0, 0.45);
        background: rgba(255, 107, 0, 0.12);
        color: var(--orange-bright);
        box-shadow: 0 0 16px rgba(255, 107, 0, 0.28);
      }
      100% {
        border-color: rgba(232, 228, 217, 0.1);
        background: rgba(232, 228, 217, 0.05);
        color: var(--cream-muted);
        box-shadow: none;
      }
    }

    @keyframes journeyOrbit1 {
      0%, 26% { opacity: 1; }
      32%, 100% { opacity: 0; }
    }

    @keyframes journeyOrbit2 {
      0%, 30% { opacity: 0; }
      34%, 60% { opacity: 1; }
      66%, 100% { opacity: 0; }
    }

    @keyframes journeyOrbit3 {
      0%, 64% { opacity: 0; }
      68%, 94% { opacity: 1; }
      100% { opacity: 0; }
    }

    @keyframes journeyLabel1 {
      0%, 26% { color: var(--cream); }
      32%, 100% { color: var(--cream-muted); }
    }

    @keyframes journeyLabel2 {
      0%, 30% { color: var(--cream-muted); }
      34%, 60% { color: var(--cream); }
      66%, 100% { color: var(--cream-muted); }
    }

    @keyframes journeyLabel3 {
      0%, 64% { color: var(--cream-muted); }
      68%, 94% { color: var(--cream); }
      100% { color: var(--cream-muted); }
    }

    .journey-bridge {
      flex: 1 1 auto;
      min-width: 2.15rem;
      height: 40px;
      position: relative;
      display: flex;
      align-items: center;
      align-self: flex-start;
      list-style: none;
    }

    .journey-bridge-track {
      position: relative;
      width: 100%;
      height: 1px;
      background: rgba(232, 228, 217, 0.1);
      border-radius: 1px;
      overflow: hidden;
    }

    .journey-bridge-fill {
      position: absolute;
      top: 0;
      right: 0;
      height: 100%;
      width: 0%;
      background: linear-gradient(270deg, rgba(255, 133, 52, 0.85), rgba(255, 107, 0, 0.15));
      border-radius: 1px;
    }

    .journey-bridge-beam {
      position: absolute;
      top: 50%;
      left: 0;
      width: 14px;
      height: 14px;
      margin-top: -7px;
      border-radius: 50%;
      background: radial-gradient(circle, #FF8534 0%, rgba(255, 107, 0, 0.4) 55%, transparent 72%);
      box-shadow: 0 0 10px rgba(255, 107, 0, 0.75);
      opacity: 0;
      pointer-events: none;
    }

    .journey-list:not(.is-locked) .journey-bridge:nth-child(2) .journey-bridge-fill {
      animation: journeyFill1 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-bridge:nth-child(2) .journey-bridge-beam {
      animation: journeyBeam1 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-bridge:nth-child(4) .journey-bridge-fill {
      animation: journeyFill2 var(--journey-cycle) infinite;
    }

    .journey-list:not(.is-locked) .journey-bridge:nth-child(4) .journey-bridge-beam {
      animation: journeyBeam2 var(--journey-cycle) infinite;
    }

    @keyframes journeyFill1 {
      0%, 24% { width: 0%; opacity: 0.4; }
      30% { width: 100%; opacity: 1; }
      34%, 100% { width: 100%; opacity: 0.25; }
    }

    @keyframes journeyFill2 {
      0%, 58% { width: 0%; opacity: 0.4; }
      64% { width: 100%; opacity: 1; }
      68%, 100% { width: 100%; opacity: 0.25; }
    }

    @keyframes journeyBeam1 {
      0%, 23% { left: 100%; opacity: 0; }
      25% { left: calc(100% - 7px); opacity: 1; }
      31% { left: -7px; opacity: 1; }
      33%, 100% { left: -7px; opacity: 0; }
    }

    @keyframes journeyBeam2 {
      0%, 57% { left: 100%; opacity: 0; }
      59% { left: calc(100% - 7px); opacity: 1; }
      65% { left: -7px; opacity: 1; }
      67%, 100% { left: -7px; opacity: 0; }
    }

    .journey-label {
      margin: 0;
      font-size: 0.7rem;
      font-weight: 400;
      color: var(--cream-muted);
      line-height: 1.3;
      width: 100%;
      text-align: center;
      white-space: nowrap;
      letter-spacing: -0.01em;
    }

    .journey-accent {
      color: var(--orange-bright);
      font-weight: 700;
    }

    /* ── Checkout flow ── */
    .gpt-flow {
      display: none;
      margin-top: 1.15rem;
    }

    .gpt-flow.is-open {
      display: block;
      animation: fadeSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .flow-panel {
      display: none;
    }

    .flow-panel.active {
      display: block;
      animation: fadeSlideIn 0.45s ease forwards;
    }

    /* ── Buttons ── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      width: 100%;
      min-height: 52px;
      padding: 0.9rem 1.5rem;
      font-family: inherit;
      font-size: clamp(0.9rem, 2.8vw, 1rem);
      font-weight: 700;
      border: none;
      border-radius: var(--radius-lg);
      cursor: pointer;
      transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                  box-shadow 0.25s ease,
                  opacity 0.2s;
      position: relative;
      overflow: hidden;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
      user-select: none;
    }

    .btn::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 60%
      );
      transform: translateX(-120%);
      transition: transform 0.6s ease;
    }

    .btn:hover:not(:disabled)::after {
      transform: translateX(120%);
    }

    .btn:active:not(:disabled) {
      transform: scale(0.97);
    }

    .btn:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--orange-bright) 0%, var(--orange) 50%, #E05500 100%);
      color: var(--navy-deep);
      box-shadow:
        0 4px 20px var(--orange-glow),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    }

    .btn-primary:hover:not(:disabled) {
      box-shadow:
        0 8px 36px var(--orange-glow),
        0 0 0 3px rgba(255, 107, 0, 0.18);
      transform: translateY(-2px);
    }

    .btn-primary.launching {
      animation: launchPulse 0.65s ease forwards;
    }

    @keyframes launchPulse {
      0%   { transform: scale(1); }
      35%  { transform: scale(1.03); box-shadow: 0 0 56px var(--orange-glow); }
      100% { transform: scale(0.96); opacity: 0.75; }
    }

    .btn-secondary {
      background: rgba(232, 228, 217, 0.08);
      color: var(--cream);
      border: 1px solid rgba(232, 228, 217, 0.15);
    }

    .btn-secondary:hover:not(:disabled) {
      background: rgba(232, 228, 217, 0.12);
    }

    .btn-success {
      background: linear-gradient(135deg, #2ED573 0%, #1DB954 100%);
      color: var(--navy);
      box-shadow: 0 4px 20px rgba(46, 213, 115, 0.35);
    }

    .btn-error {
      background: linear-gradient(135deg, var(--error) 0%, #C0392B 100%);
      color: var(--cream);
      box-shadow: 0 4px 20px rgba(255, 71, 87, 0.35);
    }

    .btn-group {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    /* ── Step 1: Checkout ── */
    .btn-zibal {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      width: 100%;
      min-height: 56px;
      padding: 0.95rem 1.1rem;
      border: 1px solid rgba(120, 190, 255, 0.28);
      border-radius: var(--radius-lg);
      background: linear-gradient(135deg, #16325f 0%, #2563a8 48%, #1a4f94 100%);
      color: #fff;
      font-family: inherit;
      cursor: pointer;
      box-shadow:
        0 4px 22px rgba(37, 99, 168, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
      transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                  box-shadow 0.25s ease;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
      user-select: none;
      position: relative;
      overflow: hidden;
    }

    .btn-zibal::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 60%
      );
      transform: translateX(-120%);
      transition: transform 0.6s ease;
    }

    .btn-zibal:hover:not(:disabled)::after {
      transform: translateX(120%);
    }

    .btn-zibal:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow:
        0 8px 32px rgba(37, 99, 168, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .btn-zibal:active:not(:disabled) {
      transform: scale(0.98);
    }

    .btn-zibal:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .btn-zibal.is-loading,
    .btn-zibal.is-success,
    .btn-zibal.is-failed {
      opacity: 1;
      cursor: default;
      transform: none;
    }

    .btn-zibal.is-failed {
      cursor: pointer;
    }

    .btn-zibal.is-loading:hover::after,
    .btn-zibal.is-success:hover::after,
    .btn-zibal.is-failed:hover::after {
      transform: translateX(-120%);
    }

    .btn-zibal.is-success {
      background: linear-gradient(135deg, #1a5c38 0%, #2ed573 52%, #27ae60 100%);
      border-color: rgba(46, 213, 115, 0.45);
      box-shadow:
        0 4px 22px rgba(46, 213, 115, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .btn-zibal.is-failed {
      background: linear-gradient(135deg, #8b1e2d 0%, #ff4757 52%, #c0392b 100%);
      border-color: rgba(255, 71, 87, 0.45);
      box-shadow:
        0 4px 22px rgba(255, 71, 87, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .pay-crypto-wrap {
      margin-top: 0.65rem;
      display: grid;
      gap: 0.55rem;
    }

    .btn-crypto {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      width: 100%;
      min-height: 56px;
      padding: 0.95rem 1.1rem;
      border: 1px solid rgba(46, 200, 180, 0.32);
      border-radius: var(--radius-lg);
      background: linear-gradient(135deg, #0f3d45 0%, #1a8f8a 48%, #16806f 100%);
      color: #fff;
      font-family: inherit;
      cursor: pointer;
      box-shadow:
        0 4px 22px rgba(26, 143, 138, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
      transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                  box-shadow 0.25s ease;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
      user-select: none;
      position: relative;
      overflow: hidden;
    }

    .btn-crypto::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 60%
      );
      transform: translateX(-120%);
      transition: transform 0.6s ease;
    }

    .btn-crypto:hover:not(:disabled)::after {
      transform: translateX(120%);
    }

    .btn-crypto:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow:
        0 8px 32px rgba(26, 143, 138, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .btn-crypto:active:not(:disabled) {
      transform: scale(0.98);
    }

    .btn-crypto:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .btn-crypto.is-loading {
      opacity: 1;
      cursor: default;
      transform: none;
    }

    .btn-crypto.is-loading:hover::after {
      transform: translateX(-120%);
    }

    .btn-crypto-icons {
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 0;
      position: relative;
      z-index: 1;
    }

    .btn-crypto-icons svg,
    .btn-crypto-mark {
      width: 24px;
      height: 24px;
      display: block;
      overflow: visible;
    }

    .btn-crypto-text {
      flex: 1;
      min-width: 0;
      text-align: right;
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
      position: relative;
      z-index: 1;
    }

    .btn-crypto-title {
      font-size: clamp(1rem, 3.5vw, 1.08rem);
      font-weight: 800;
      line-height: 1.35;
      letter-spacing: -0.01em;
    }

    .btn-crypto-gateway {
      font-size: 0.72rem;
      font-weight: 500;
      opacity: 0.82;
      letter-spacing: 0.02em;
    }

    .btn-crypto-arrow {
      flex-shrink: 0;
      font-size: 1.1rem;
      opacity: 0.9;
      position: relative;
      z-index: 1;
    }

    .btn-crypto.is-loading .btn-crypto-gateway,
    .btn-crypto.is-loading .btn-crypto-arrow {
      opacity: 0.55;
    }

    .btn-crypto-dots {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      min-height: 1.2em;
      vertical-align: middle;
    }

    .btn-crypto-dots i {
      width: 0.42rem;
      height: 0.42rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.92);
      animation: cryptoDots 1s ease-in-out infinite;
    }

    .btn-crypto-dots i:nth-child(2) {
      animation-delay: 0.15s;
    }

    .btn-crypto-dots i:nth-child(3) {
      animation-delay: 0.3s;
    }

    @keyframes cryptoDots {
      0%,
      80%,
      100% {
        opacity: 0.28;
        transform: translateY(0);
      }
      40% {
        opacity: 1;
        transform: translateY(-2px);
      }
    }

    .crypto-network-sheet {
      display: none;
    }

    .crypto-pay-sheet {
      border: 1px solid rgba(232, 228, 217, 0.12);
      border-radius: var(--radius-md, 12px);
      background: rgba(10, 16, 26, 0.98);
      padding: 0.9rem 0.9rem 1rem;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    }

    .crypto-pay-sheet-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.85rem;
    }

    .crypto-pay-sheet-title {
      margin: 0;
      font-size: 0.92rem;
      font-weight: 800;
      color: #e8e4d9;
    }

    .crypto-pay-sheet-usd {
      margin: 0.2rem 0 0;
      font-size: 0.95rem;
      color: rgba(232, 228, 217, 0.55);
    }

    .crypto-pay-sheet-usd strong {
      color: #6ee7c5;
      font-weight: 800;
      letter-spacing: 0.01em;
    }

    .crypto-pay-sheet-close {
      width: 2rem;
      height: 2rem;
      border-radius: 999px;
      border: 1px solid rgba(232, 228, 217, 0.14);
      background: transparent;
      color: #e8e4d9;
      font-size: 1.2rem;
      line-height: 1;
      cursor: pointer;
      flex-shrink: 0;
    }

    .crypto-pay-step-label {
      display: none;
    }

    .crypto-pay-back {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      margin: 0 0 0.7rem;
      padding: 0;
      border: 0;
      background: none;
      color: rgba(110, 231, 197, 0.95);
      font: inherit;
      font-size: 0.8rem;
      font-weight: 700;
      cursor: pointer;
    }

    .crypto-option-list {
      display: grid;
      gap: 0.4rem;
    }

    .crypto-option-group {
      display: grid;
      gap: 0.35rem;
    }

    .crypto-option-networks {
      display: grid;
      gap: 0.3rem;
      padding: 0.15rem 0.15rem 0.2rem 0.55rem;
      border-right: 2px solid rgba(110, 231, 197, 0.28);
      margin-right: 0.35rem;
    }

    .crypto-option-networks[hidden] {
      display: none;
    }

    .crypto-option-card {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      width: 100%;
      min-height: 3.15rem;
      padding: 0.65rem 0.85rem;
      border-radius: 12px;
      border: 1px solid rgba(232, 228, 217, 0.1);
      background: rgba(255, 255, 255, 0.03);
      color: inherit;
      font: inherit;
      text-align: right;
      cursor: pointer;
      transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    }

    .crypto-option-card:hover {
      border-color: rgba(110, 231, 197, 0.4);
      background: rgba(26, 143, 138, 0.1);
      transform: translateY(-1px);
    }

    .crypto-option-card--expandable.is-expanded {
      border-color: rgba(110, 231, 197, 0.42);
      background: rgba(26, 143, 138, 0.12);
      transform: none;
    }

    .crypto-option-expand {
      width: 0.45rem;
      height: 0.45rem;
      border-right: 2px solid rgba(232, 228, 217, 0.55);
      border-bottom: 2px solid rgba(232, 228, 217, 0.55);
      transform: rotate(45deg);
      margin-inline-start: 0.15rem;
      flex-shrink: 0;
      transition: transform 0.18s ease;
    }

    .crypto-option-card--expandable.is-expanded .crypto-option-expand {
      transform: rotate(-135deg);
      border-color: rgba(110, 231, 197, 0.9);
    }

    .crypto-option-card--network {
      min-height: 2.75rem;
      padding: 0.55rem 0.75rem;
      background: rgba(255, 255, 255, 0.025);
    }

    .crypto-option-card.is-dimmed {
      opacity: 0.4;
      pointer-events: none;
      transform: none;
    }

    .crypto-option-card.is-loading {
      justify-content: flex-start;
      gap: 0.75rem;
      border-color: rgba(110, 231, 197, 0.45);
      background: rgba(26, 143, 138, 0.14);
      cursor: default;
      transform: none;
      pointer-events: none;
    }

    .crypto-option-card.is-loading:hover {
      transform: none;
      border-color: rgba(110, 231, 197, 0.45);
      background: rgba(26, 143, 138, 0.14);
    }

    .crypto-option-card.is-loading .btn-zibal-spinner {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      border-color: rgba(255, 255, 255, 0.28);
      border-top-color: #fff;
    }

    .crypto-option-loading-text {
      flex: 1;
      min-width: 0;
      font-size: 0.88rem;
      font-weight: 800;
      line-height: 1.35;
      color: #e8e4d9;
      text-align: right;
    }

    .crypto-pay-sheet.is-busy .crypto-pay-sheet-close,
    .crypto-pay-sheet.is-busy .crypto-pay-back {
      pointer-events: none;
      opacity: 0.45;
    }

    .pay-cartbecart-wrap {
      margin-top: 0.65rem;
    }

    #btn-pay-zibal.checkout-pay-locked,
    #btn-pay-crypto.checkout-pay-locked,
    #btn-pay-cartbecart.checkout-pay-locked,
    body.checkout-pay-in-progress #btn-pay-zibal,
    body.checkout-pay-in-progress #btn-pay-crypto,
    body.checkout-pay-in-progress #btn-pay-cartbecart {
      opacity: 0.45;
      pointer-events: none;
      cursor: not-allowed;
      filter: grayscale(0.2);
    }

    body.checkout-pay-in-progress #btn-pay-zibal,
    body.checkout-pay-in-progress #btn-pay-crypto,
    body.checkout-pay-in-progress #btn-pay-cartbecart {
      /* Beat :disabled / is-failed styles that re-enable pointer cursor */
      pointer-events: none !important;
    }

    .btn-zibal:disabled,
    .btn-crypto:disabled,
    .btn-cartbecart:disabled {
      pointer-events: none;
    }

    .btn-cartbecart {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      width: 100%;
      min-height: 56px;
      padding: 0.95rem 1.1rem;
      border: 1px solid rgba(148, 168, 198, 0.34);
      border-radius: var(--radius-lg);
      background: linear-gradient(135deg, #141c2e 0%, #2f4570 48%, #1e2f4d 100%);
      color: #f3f6fb;
      font-family: inherit;
      cursor: pointer;
      box-shadow:
        0 4px 22px rgba(28, 42, 72, 0.42),
        inset 0 1px 0 rgba(210, 220, 238, 0.14);
      transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                  box-shadow 0.25s ease;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
      user-select: none;
      position: relative;
      overflow: hidden;
    }

    .btn-cartbecart::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(210, 220, 238, 0.14) 50%,
        transparent 60%
      );
      transform: translateX(-120%);
      transition: transform 0.6s ease;
    }

    .btn-cartbecart:hover:not(:disabled)::after {
      transform: translateX(120%);
    }

    .btn-cartbecart:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow:
        0 8px 28px rgba(28, 42, 72, 0.52),
        inset 0 1px 0 rgba(210, 220, 238, 0.2);
    }

    .btn-cartbecart:active:not(:disabled) {
      transform: translateY(0);
    }

    .btn-cartbecart:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .btn-cartbecart.is-loading {
      opacity: 1;
      cursor: default;
      transform: none;
    }

    .btn-cartbecart.is-loading:hover::after {
      transform: translateX(-120%);
    }

    .btn-cartbecart-icon {
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 0;
      position: relative;
      z-index: 1;
      color: #c8d4e8;
    }

    .btn-cartbecart-mark {
      width: 24px;
      height: 24px;
      display: block;
      color: inherit;
    }

    .btn-cartbecart-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.15rem;
      flex: 1;
      min-width: 0;
      text-align: right;
      position: relative;
      z-index: 1;
    }

    .btn-cartbecart-title {
      font-size: clamp(1rem, 3.5vw, 1.08rem);
      font-weight: 800;
      line-height: 1.35;
      letter-spacing: -0.01em;
    }

    .btn-cartbecart-gateway {
      font-size: 0.72rem;
      font-weight: 500;
      opacity: 0.82;
      letter-spacing: 0.02em;
    }

    .btn-cartbecart-arrow {
      flex-shrink: 0;
      font-size: 1.1rem;
      opacity: 0.75;
      line-height: 1;
      position: relative;
      z-index: 1;
    }

    .btn-cartbecart.is-loading .btn-cartbecart-gateway,
    .btn-cartbecart.is-loading .btn-cartbecart-arrow {
      display: none;
    }

    .cartbecart-pay-sheet {
      margin-top: 0.65rem;
      padding: 1rem 1.05rem 1.1rem;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 168, 198, 0.26);
      background: linear-gradient(180deg, rgba(24, 32, 48, 0.97) 0%, rgba(12, 16, 26, 0.98) 100%);
      display: grid;
      gap: 0.75rem;
    }

    .cartbecart-pay-sheet[hidden] {
      display: none !important;
    }

    .cartbecart-pay-sheet-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .cartbecart-pay-sheet-heading {
      min-width: 0;
      flex: 1;
    }

    .cartbecart-pay-sheet-title {
      margin: 0;
      font-size: 1rem;
      font-weight: 800;
      color: #f3f6fb;
    }

    .cartbecart-pay-sheet-sub {
      margin: 0.2rem 0 0;
      font-size: 0.78rem;
      color: rgba(190, 204, 226, 0.78);
    }

    .cartbecart-pay-timer-box {
      flex-shrink: 0;
      margin-inline-start: auto;
      padding: 0.45rem 0.65rem;
      border-radius: 10px;
      border: 1px solid rgba(148, 168, 198, 0.28);
      background: rgba(0, 0, 0, 0.28);
      text-align: center;
    }

    .cartbecart-pay-timer {
      margin: 0;
      font-size: 0.78rem;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      color: #d5e0f0;
      white-space: nowrap;
    }

    .cartbecart-pay-card {
      padding: 0.85rem 0.9rem;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.22);
    }

    .cartbecart-pay-card--amount {
      border-color: rgba(148, 168, 198, 0.32);
      background: rgba(47, 69, 112, 0.22);
    }

    .cartbecart-pay-label {
      margin: 0 0 0.45rem;
      font-size: 0.75rem;
      color: rgba(210, 220, 238, 0.7);
    }

    .cartbecart-pay-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.65rem;
    }

    .cartbecart-pay-value {
      font-size: 1.05rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      color: #fff;
      word-break: break-all;
    }

    .cartbecart-copy-btn,
    .cartbecart-check-btn {
      flex-shrink: 0;
      border: 1px solid rgba(148, 168, 198, 0.28);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.06);
      color: #f3f6fb;
      font-family: inherit;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      padding: 0.4rem 0.7rem;
    }

    .cartbecart-check-btn {
      width: 100%;
      min-height: 44px;
      margin-top: 0.15rem;
      background: linear-gradient(135deg, #141c2e 0%, #2f4570 55%, #1e2f4d 100%);
      border-color: rgba(148, 168, 198, 0.36);
      font-size: 0.92rem;
    }

    .cartbecart-check-feedback {
      margin: 0.15rem 0 0;
      min-height: 1.2em;
      font-size: 0.8rem;
      line-height: 1.45;
      color: rgba(210, 220, 238, 0.88);
      text-align: center;
      transition: opacity 0.25s ease;
    }

    .cartbecart-check-feedback[hidden] {
      display: none !important;
    }

    .cartbecart-check-feedback.is-visible {
      opacity: 1;
    }

    .cartbecart-pay-owner {
      margin: 0.45rem 0 0;
      font-size: 0.78rem;
      color: rgba(190, 204, 226, 0.82);
    }

    .crypto-option-logo {
      width: 2rem;
      height: 2rem;
      border-radius: 999px;
      object-fit: cover;
      flex-shrink: 0;
      background: rgba(255, 255, 255, 0.06);
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .crypto-option-logo--fallback {
      display: inline-grid;
      place-items: center;
      font-weight: 800;
      font-size: 0.85rem;
    }

    .crypto-option-name {
      flex: 1;
      min-width: 0;
      font-size: 0.95rem;
      font-weight: 800;
      color: #e8e4d9;
      letter-spacing: 0;
      text-align: right;
    }

    .crypto-option-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.18rem;
      min-width: 0;
      flex: 1;
      text-align: right;
    }

    .crypto-option-card--network .crypto-option-name {
      flex: 0 1 auto;
      width: 100%;
    }

    .crypto-option-amount {
      flex-shrink: 0;
      font-size: 0.92rem;
      font-weight: 800;
      color: #6ee7c5;
      font-variant-numeric: tabular-nums;
    }

    .crypto-option-side {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.12rem;
      flex-shrink: 0;
    }

    .crypto-option-meta,
    .crypto-option-title,
    .crypto-option-sym,
    .crypto-option-usd,
    .crypto-option-chevron {
      display: none;
    }

    .crypto-network-badge {
      display: inline-grid;
      place-items: center;
      min-width: 3.35rem;
      height: 1.85rem;
      padding: 0 0.4rem;
      border-radius: 8px;
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      flex-shrink: 0;
    }

    .crypto-network-badge--trx {
      background: rgba(255, 60, 60, 0.16);
      color: #ff8f8f;
      border: 1px solid rgba(255, 100, 100, 0.28);
    }

    .crypto-network-badge--bsc {
      background: rgba(240, 185, 11, 0.14);
      color: #f0c84a;
      border: 1px solid rgba(240, 185, 11, 0.28);
    }

    .crypto-network-badge--ton {
      background: rgba(0, 136, 204, 0.16);
      color: #6ec8f0;
      border: 1px solid rgba(0, 136, 204, 0.3);
    }

    .crypto-network-badge--generic {
      background: rgba(255, 255, 255, 0.06);
      color: rgba(232, 228, 217, 0.8);
      border: 1px solid rgba(232, 228, 217, 0.14);
    }

    .crypto-pay-empty {
      margin: 0;
      font-size: 0.85rem;
      color: rgba(232, 228, 217, 0.65);
    }

    .crypto-network-sheet-title {
      margin: 0 0 0.55rem;
      font-size: 0.82rem;
      font-weight: 700;
      color: rgba(232, 228, 217, 0.72);
    }

    .crypto-network-list {
      display: grid;
      gap: 0.4rem;
    }

    .crypto-network-btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      width: 100%;
      min-height: 2.6rem;
      padding: 0.55rem 0.75rem;
      border-radius: 10px;
      border: 1px solid rgba(232, 228, 217, 0.1);
      background: rgba(255, 255, 255, 0.03);
      color: inherit;
      font: inherit;
      cursor: pointer;
    }

    .crypto-network-btn:hover {
      border-color: rgba(255, 107, 0, 0.4);
      background: rgba(255, 107, 0, 0.08);
    }

    .crypto-network-name {
      font-size: 0.88rem;
      font-weight: 700;
    }

    .crypto-network-fee {
      font-size: 0.75rem;
      opacity: 0.7;
    }

    .btn-zibal.is-failed:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow:
        0 8px 28px rgba(255, 71, 87, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .btn-zibal-spinner {
      display: block;
      width: 22px;
      height: 22px;
      border: 2px solid rgba(255, 255, 255, 0.25);
      border-top-color: #fff;
      border-radius: 50%;
      animation: paySpin 0.7s linear infinite;
    }

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

    .btn-zibal-icon {
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 0;
    }

    .btn-zibal-icon svg {
      width: 24px;
      height: 24px;
      display: block;
    }

    .btn-zibal-text {
      flex: 1;
      min-width: 0;
      text-align: right;
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }

    .btn-zibal-title {
      font-size: clamp(1rem, 3.5vw, 1.08rem);
      font-weight: 800;
      line-height: 1.35;
      letter-spacing: -0.01em;
    }

    .btn-zibal-gateway {
      font-size: 0.72rem;
      font-weight: 500;
      opacity: 0.82;
      letter-spacing: 0.02em;
    }

    .btn-zibal-arrow {
      flex-shrink: 0;
      font-size: 1.1rem;
      opacity: 0.75;
      line-height: 1;
    }

    .btn-zibal.is-loading .btn-zibal-gateway,
    .btn-zibal.is-success .btn-zibal-gateway,
    .btn-zibal.is-failed .btn-zibal-gateway,
    .btn-zibal.is-loading .btn-zibal-arrow,
    .btn-zibal.is-success .btn-zibal-arrow,
    .btn-zibal.is-failed .btn-zibal-arrow {
      display: none;
    }

    /* ── Error state ── */
    .error-panel {
      display: none;
      text-align: center;
      padding: 1.5rem;
      margin-top: 0.75rem;
      background: rgba(255, 71, 87, 0.1);
      border: 1px solid rgba(255, 71, 87, 0.3);
      border-radius: var(--radius);
      animation: shake 0.5s ease;
    }

    .error-panel.visible {
      display: block;
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      20%      { transform: translateX(-8px); }
      40%      { transform: translateX(8px); }
      60%      { transform: translateX(-4px); }
      80%      { transform: translateX(4px); }
    }

    .error-icon {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
    }

    .error-msg {
      font-size: 0.9rem;
      color: var(--error);
      font-weight: 600;
    }

    /* ── Step 2: Session ── */
    body.is-session-step .site-brand,
    body.is-session-step .seo-breadcrumb--header,
    body.is-session-step .site-footer {
      display: none;
    }

    body.is-session-step .app {
      justify-content: flex-start;
      padding:
        calc(1rem + var(--safe-top))
        calc(1rem + var(--safe-right))
        calc(1rem + var(--safe-bottom))
        calc(1rem + var(--safe-left));
    }

    body.is-session-step .hero-subtitle,
    body.is-flow-complete .hero-subtitle {
      display: none;
    }

    body.is-session-step .hero-divider {
      margin-bottom: 1.15rem;
    }

    body.is-session-step .hero {
      margin-bottom: 0.35rem;
    }

    body.is-session-step .journey {
      margin-bottom: 0.65rem;
    }

    body.is-session-step .gpt-flow.is-open {
      margin-top: 0;
    }

    body.is-session-step #btn-activate {
      position: sticky;
      bottom: calc(0.65rem + var(--safe-bottom));
      z-index: 5;
      margin-top: 0.85rem;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    }

    .token-field-head {
      margin-bottom: 0.55rem;
    }

    .token-field-label {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--cream);
    }

    .session-guide-panel {
      display: block;
      margin-bottom: 0.75rem;
      border-radius: var(--radius-lg);
      background: rgba(0, 0, 0, 0.22);
      border: 1px solid rgba(232, 228, 217, 0.08);
      overflow: hidden;
    }

    .session-guide-media-btn {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      margin: 0;
      padding: 0.32rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 107, 0, 0.45);
      background: rgba(255, 107, 0, 0.12);
      color: #ffb07a;
      font-family: inherit;
      font-size: 0.68rem;
      font-weight: 700;
      line-height: 1.2;
      white-space: nowrap;
      cursor: pointer;
      transition: background 0.15s ease, border-color 0.15s ease;
    }

    .session-guide-media-btn:hover {
      background: rgba(255, 107, 0, 0.2);
      border-color: rgba(255, 107, 0, 0.65);
    }

    .session-guide-media-btn svg {
      width: 0.85rem;
      height: 0.85rem;
      flex-shrink: 0;
    }

    .session-guide-media-btn:focus-visible {
      outline: 2px solid rgba(255, 107, 0, 0.75);
      outline-offset: 2px;
    }

    .guide-image-modal {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: grid;
      place-items: center;
      padding: max(0.75rem, var(--safe-top)) max(0.75rem, var(--safe-right))
        max(0.75rem, var(--safe-bottom)) max(0.75rem, var(--safe-left));
    }

    .guide-image-modal[hidden] {
      display: none !important;
    }

    .guide-image-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(4, 8, 14, 0.88);
      backdrop-filter: blur(4px);
    }

    .guide-image-modal-panel {
      position: relative;
      z-index: 1;
      width: min(100%, 56rem);
      max-height: min(94dvh, calc(100vh - 1.5rem));
      display: grid;
      grid-template-rows: auto auto minmax(0, 1fr) auto;
      gap: 0.55rem;
      padding: 0.85rem;
      border-radius: var(--radius-lg);
      background: linear-gradient(165deg, rgba(18, 42, 69, 0.98), rgba(11, 29, 51, 0.98));
      border: 1px solid rgba(232, 228, 217, 0.14);
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
      overflow: hidden;
    }

    .guide-image-modal-title {
      margin: 0;
      padding-inline-end: 2rem;
      font-size: 0.92rem;
      font-weight: 800;
      color: var(--cream);
    }

    .guide-image-modal-toolbar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
    }

    .guide-image-modal-zoom-btn {
      min-width: 2.35rem;
      min-height: 2.35rem;
      padding: 0.35rem 0.65rem;
      border-radius: 999px;
      border: 1px solid rgba(232, 228, 217, 0.14);
      background: rgba(232, 228, 217, 0.06);
      color: var(--cream);
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 800;
      line-height: 1;
      cursor: pointer;
    }

    .guide-image-modal-zoom-btn--reset {
      min-width: 3.6rem;
      font-size: 0.72rem;
      font-weight: 700;
    }

    .guide-image-modal-zoom-btn:hover {
      background: rgba(255, 107, 0, 0.14);
      border-color: rgba(255, 107, 0, 0.35);
    }

    .guide-image-modal-close {
      position: absolute;
      top: 0.55rem;
      inset-inline-end: 0.55rem;
      width: 2rem;
      height: 2rem;
      border: 0;
      border-radius: 999px;
      background: rgba(232, 228, 217, 0.08);
      color: var(--cream);
      font-size: 1.35rem;
      line-height: 1;
      cursor: pointer;
      z-index: 2;
    }

    .guide-image-modal-viewport {
      position: relative;
      overflow: hidden;
      touch-action: none;
      cursor: zoom-in;
      min-height: min(62vh, 30rem);
      border-radius: calc(var(--radius-lg) - 4px);
      border: 1px solid rgba(232, 228, 217, 0.1);
      background: #0a0f18;
    }

    .guide-image-modal-viewport.is-zoomed {
      cursor: grab;
    }

    .guide-image-modal-viewport.is-grabbing {
      cursor: grabbing;
    }

    .guide-image-modal-img {
      display: block;
      width: 100%;
      height: auto;
      max-height: none;
      margin: 0 auto;
      transform-origin: center center;
      will-change: transform;
      user-select: none;
      -webkit-user-drag: none;
      pointer-events: none;
    }

    .guide-image-modal-hint {
      margin: 0;
      text-align: center;
      font-size: 0.68rem;
      line-height: 1.45;
      color: rgba(232, 228, 217, 0.55);
    }

    @media (max-width: 640px) {
      .guide-image-modal {
        padding: 0;
      }

      .guide-image-modal-panel {
        width: 100%;
        max-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
        padding:
          max(0.75rem, var(--safe-top))
          max(0.75rem, var(--safe-right))
          max(0.75rem, var(--safe-bottom))
          max(0.75rem, var(--safe-left));
      }

      .guide-image-modal-viewport {
        min-height: 0;
      }
    }

    body.guide-image-modal-open {
      overflow: hidden;
    }

    .guide-video-modal {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: grid;
      place-items: center;
      padding: max(0.75rem, var(--safe-top)) max(0.75rem, var(--safe-right))
        max(0.75rem, var(--safe-bottom)) max(0.75rem, var(--safe-left));
    }

    .guide-video-modal[hidden] {
      display: none !important;
    }

    .guide-video-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(4, 8, 14, 0.88);
      backdrop-filter: blur(4px);
    }

    .guide-video-modal-panel {
      position: relative;
      z-index: 1;
      width: min(100%, 44rem);
      display: grid;
      gap: 0.55rem;
      padding: 0.85rem;
      border-radius: var(--radius-lg);
      background: linear-gradient(165deg, rgba(18, 42, 69, 0.98), rgba(11, 29, 51, 0.98));
      border: 1px solid rgba(232, 228, 217, 0.14);
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    }

    .guide-video-modal-title {
      margin: 0;
      padding-inline-end: 2rem;
      font-size: 0.92rem;
      font-weight: 800;
      color: var(--cream);
    }

    .guide-video-modal-hint {
      margin: 0;
      font-size: 0.72rem;
      color: rgba(232, 228, 217, 0.55);
    }

    .guide-video-modal-close {
      position: absolute;
      top: 0.55rem;
      inset-inline-end: 0.55rem;
      width: 2rem;
      height: 2rem;
      border: 0;
      border-radius: 999px;
      background: rgba(232, 228, 217, 0.08);
      color: var(--cream);
      font-size: 1.35rem;
      line-height: 1;
      cursor: pointer;
      z-index: 2;
    }

    .guide-video-modal-frame-wrap {
      border-radius: calc(var(--radius-lg) - 4px);
      border: 1px solid rgba(232, 228, 217, 0.1);
      background: #0a0f18;
      overflow: hidden;
    }

    .guide-video-modal-frame {
      position: relative;
      width: 100%;
      padding-top: 57%;
      background: #000;
    }

    .guide-video-modal-frame iframe,
    .guide-video-modal-frame .guide-video-aparat-host,
    .guide-video-modal-frame .h_iframe-aparat_embed_frame {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
      background: #000;
    }

    .guide-video-modal-frame .h_iframe-aparat_embed_frame {
      padding: 0 !important;
    }

    .guide-video-modal-frame .h_iframe-aparat_embed_frame > span {
      display: none !important;
    }

    .guide-video-modal-frame .h_iframe-aparat_embed_frame iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .guide-video-loading {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: grid;
      place-content: center;
      justify-items: center;
      gap: 0.55rem;
      background: #0a0f18;
      color: rgba(232, 228, 217, 0.78);
      pointer-events: none;
    }

    .guide-video-loading-spinner {
      width: 1.55rem;
      height: 1.55rem;
      border-radius: 999px;
      border: 2px solid rgba(232, 228, 217, 0.18);
      border-top-color: #ff8534;
      animation: guide-video-spin 0.7s linear infinite;
    }

    .guide-video-loading-text {
      font-size: 0.78rem;
      font-weight: 600;
    }

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

    .guide-video-modal-external {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
      color: #ffb07a;
      text-decoration: none;
    }

    .guide-video-modal-external:hover {
      text-decoration: underline;
    }

    @media (max-width: 640px) {
      .guide-video-modal {
        padding: 0;
        align-items: end;
      }

      .guide-video-modal-panel {
        width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding:
          max(0.75rem, var(--safe-top))
          max(0.75rem, var(--safe-right))
          max(0.85rem, var(--safe-bottom))
          max(0.75rem, var(--safe-left));
      }
    }

    body.guide-video-modal-open {
      overflow: hidden;
    }

    .session-guide-panel-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.55rem;
      padding: 0.55rem 0.75rem 0.5rem 0.7rem;
      border-bottom: 1px solid rgba(232, 228, 217, 0.08);
    }

    .session-guide-panel-title {
      margin: 0;
      padding: 0;
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--cream);
      flex: 1 1 auto;
      min-width: 0;
    }

    .session-guide-video-soon {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      margin: 0;
      padding: 0.32rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(232, 228, 217, 0.12);
      background: rgba(232, 228, 217, 0.03);
      color: rgba(232, 228, 217, 0.55);
      font-size: 0.68rem;
      font-weight: 600;
      line-height: 1.2;
      white-space: nowrap;
      user-select: none;
      pointer-events: none;
      cursor: default;
    }

    .session-guide-video-soon svg {
      width: 0.85rem;
      height: 0.85rem;
      flex-shrink: 0;
      opacity: 0.75;
    }

    .session-guide {
      padding: 0.95rem 0.95rem 1rem;
    }

    @media (max-width: 420px) {
      .session-guide-panel-head {
        flex-wrap: wrap;
        align-items: flex-start;
      }

      .session-guide-video-soon {
        white-space: normal;
        max-width: 100%;
      }
    }

    .session-steps {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .session-steps li {
      display: flex;
      align-items: flex-start;
      gap: 0.45rem;
      font-size: clamp(0.76rem, 2.3vw, 0.82rem);
      line-height: 1.65;
      color: var(--cream-muted);
    }

    .session-steps li + li {
      margin-top: 0.55rem;
    }

    .session-step-num {
      flex-shrink: 0;
      width: 1.15rem;
      font-weight: 800;
      color: var(--orange-bright);
      text-align: center;
    }

    .session-steps a {
      color: var(--orange-bright);
      text-decoration: underline;
      text-underline-offset: 2px;
      word-break: break-all;
    }

    .token-field {
      margin-bottom: 1.25rem;
    }

    .contact-field {
      margin-top: 1.1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(232, 228, 217, 0.08);
    }

    .contact-field--pay {
      margin: 0 0 0.95rem;
      padding: 0;
      border-top: 0;
    }

    .pay-contact-error {
      margin: 0.55rem 0 0;
      min-height: 1.1em;
      color: #ff8f9a;
      font-size: 0.82rem;
      font-weight: 600;
      text-align: center;
    }

    .pay-contact-error:empty {
      display: none;
    }

    .contact-type-toggle {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.45rem;
      margin: 0.55rem 0 0.7rem;
    }

    .contact-type-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      min-height: 2.55rem;
      padding: 0.45rem 0.7rem;
      border-radius: 12px;
      border: 1px solid rgba(232, 228, 217, 0.12);
      background: rgba(0, 0, 0, 0.18);
      color: var(--cream-muted);
      font-family: inherit;
      font-size: 0.82rem;
      font-weight: 700;
      cursor: pointer;
      transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
      -webkit-tap-highlight-color: transparent;
    }

    .contact-type-btn svg {
      width: 1rem;
      height: 1rem;
      flex-shrink: 0;
    }

    .contact-type-btn.is-active {
      color: var(--cream);
      border-color: rgba(255, 107, 0, 0.45);
      background: rgba(255, 107, 0, 0.12);
    }

    .contact-input-wrap {
      position: relative;
    }

    .contact-input-icon {
      position: absolute;
      top: 50%;
      right: 0.85rem;
      transform: translateY(-50%);
      display: inline-flex;
      color: var(--orange-bright);
      pointer-events: none;
    }

    .contact-input-icon svg {
      width: 1.05rem;
      height: 1.05rem;
    }

    .contact-input {
      width: 100%;
      min-height: 3rem;
      padding: 0.85rem 2.6rem 0.85rem 0.95rem;
      font-family: inherit;
      font-size: 0.95rem;
      line-height: 1.4;
      direction: ltr;
      text-align: left;
      background: rgba(0, 0, 0, 0.28);
      border: 1px solid rgba(232, 228, 217, 0.1);
      border-radius: var(--radius-lg);
      color: var(--cream);
      -webkit-appearance: none;
    }

    .contact-input--phone {
      direction: rtl;
      text-align: right;
      font-family: inherit;
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.02em;
      font-weight: 600;
    }

    .contact-input--telegram {
      direction: ltr;
      text-align: left;
      font-family: inherit;
    }

    .contact-input:focus {
      outline: none;
      border-color: rgba(255, 107, 0, 0.5);
      box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
    }

    .token-field-wrap {
      position: relative;
    }

    .token-input {
      width: 100%;
      padding: clamp(0.85rem, 2.5vw, 1rem);
      padding-left: 3.4rem;
      font-family: 'SF Mono', 'Courier New', Courier, monospace;
      font-size: clamp(0.78rem, 2.4vw, 0.85rem);
      line-height: 1.6;
      direction: ltr;
      text-align: left;
      unicode-bidi: plaintext;
      background: rgba(0, 0, 0, 0.28);
      border: 1px solid rgba(232, 228, 217, 0.1);
      border-radius: var(--radius-lg);
      color: var(--cream);
      resize: vertical;
      min-height: clamp(68px, 18vw, 84px);
      max-height: 120px;
      transition: border-color 0.2s, box-shadow 0.2s;
      -webkit-appearance: none;
      user-select: text;
    }

    .token-input:focus {
      outline: none;
      border-color: rgba(255, 107, 0, 0.5);
      box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
    }

    .session-preview {
      display: none;
      margin-top: 0.85rem;
      padding: 0.85rem 0.95rem;
      border-radius: 14px;
      border: 1px solid rgba(255, 107, 0, 0.22);
      background: rgba(255, 107, 0, 0.07);
    }

    .session-preview.visible {
      display: block;
      animation: fadeSlideIn 0.35s ease forwards;
    }

    .session-preview.is-verified {
      border-color: rgba(46, 213, 115, 0.28);
      background: rgba(46, 213, 115, 0.08);
    }

    .session-preview-head {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      margin-bottom: 0.35rem;
    }

    .session-preview-check {
      display: none;
      width: 20px;
      height: 20px;
      border-radius: 999px;
      align-items: center;
      justify-content: center;
      font-size: 0.72rem;
      font-weight: 800;
      color: #0b1d33;
      background: var(--success);
      flex-shrink: 0;
    }

    .session-preview.is-verified .session-preview-check {
      display: inline-flex;
    }

    .session-preview-lead {
      margin: 0;
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--cream);
    }

    .session-preview-email {
      margin: 0;
      font-family: 'SF Mono', 'Courier New', Courier, monospace;
      font-size: clamp(0.78rem, 2.4vw, 0.86rem);
      line-height: 1.5;
      color: rgba(255, 210, 170, 0.95);
      word-break: break-all;
      text-align: left;
    }

    .session-preview.is-verified .session-preview-email {
      color: rgba(190, 255, 210, 0.95);
    }

    .token-input::placeholder {
      color: rgba(232, 228, 217, 0.28);
      direction: rtl;
      text-align: right;
      unicode-bidi: plaintext;
    }

    .token-paste-btn {
      position: absolute;
      top: 0.45rem;
      left: 0.45rem;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 0.18rem;
      padding: 0.18rem 0.38rem;
      border: 1px solid rgba(255, 107, 0, 0.28);
      border-radius: 6px;
      background: rgba(255, 107, 0, 0.1);
      color: var(--orange-bright);
      font-family: inherit;
      font-size: 0.58rem;
      font-weight: 700;
      line-height: 1;
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
      -webkit-tap-highlight-color: transparent;
    }

    .token-paste-btn:hover {
      background: rgba(255, 107, 0, 0.18);
      border-color: rgba(255, 107, 0, 0.42);
    }

    .token-paste-btn:active {
      transform: scale(0.96);
    }

    .token-paste-btn.is-waiting {
      border-color: rgba(255, 107, 0, 0.55);
      background: rgba(255, 107, 0, 0.22);
      box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.12);
    }

    .token-paste-btn svg {
      width: 10px;
      height: 10px;
      flex-shrink: 0;
    }

    @media (pointer: coarse) {
      .token-paste-btn {
        top: 0.35rem;
        left: 0.35rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
        padding: 0.28rem 0.42rem;
        font-size: 0.62rem;
      }

      .token-paste-btn svg {
        width: 12px;
        height: 12px;
      }
    }

    .token-error {
      display: none;
      margin: 0.55rem 0 0;
      padding: 0.65rem 0.75rem;
      border-radius: var(--radius);
      background: rgba(255, 71, 87, 0.1);
      border: 1px solid rgba(255, 71, 87, 0.28);
      color: #ff8a96;
      font-size: 0.74rem;
      line-height: 1.6;
    }

    .token-error.visible {
      display: block;
    }

    /* ── Loading overlay ── */
    .loading-overlay {
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;
      padding: 2.5rem 1rem;
      text-align: center;
    }

    .loading-overlay.visible {
      display: flex;
    }

    /* ── Payment success modal ── */
    .payment-success-overlay {
      position: fixed;
      inset: 0;
      z-index: 120;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.25rem;
      background: rgba(6, 15, 26, 0.78);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .payment-success-overlay.is-open {
      display: flex;
    }

    .payment-success-modal {
      width: 100%;
      max-width: 400px;
      padding: 2rem 1.5rem 1.75rem;
      border-radius: var(--radius-xl);
      background: linear-gradient(145deg, rgba(18, 42, 69, 0.95) 0%, rgba(11, 29, 51, 0.92) 100%);
      border: 1px solid rgba(232, 228, 217, 0.12);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
      text-align: center;
    }

    .payment-success-mark {
      width: 68px;
      height: 68px;
      margin: 0 auto 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 14px;
      border: 1px solid rgba(46, 213, 115, 0.4);
      background: rgba(46, 213, 115, 0.1);
      color: var(--success);
      box-shadow: 0 0 22px rgba(46, 213, 115, 0.22);
    }

    .payment-success-mark svg {
      width: 34px;
      height: 34px;
      display: block;
    }

    .payment-success-mark.is-failed {
      border-color: rgba(255, 107, 107, 0.4);
      background: rgba(255, 107, 107, 0.1);
      color: #ff6b6b;
      box-shadow: 0 0 22px rgba(255, 107, 107, 0.18);
    }

    .payment-success-title.is-failed {
      color: #ff6b6b;
    }

    .payment-success-title {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--success);
      margin-bottom: 1rem;
    }

    .payment-success-summary {
      text-align: right;
      margin-bottom: 1.35rem;
      padding: 0.9rem 1rem;
      border-radius: 16px;
      background: rgba(0, 0, 0, 0.2);
      border: 1px solid rgba(46, 213, 115, 0.15);
    }

    .payment-success-summary .summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      font-size: 0.88rem;
    }

    .payment-success-summary .summary-row + .summary-row {
      margin-top: 0.65rem;
      padding-top: 0.65rem;
      border-top: 1px solid rgba(232, 228, 217, 0.08);
    }

    .payment-success-summary .summary-label {
      color: var(--cream-muted);
      flex-shrink: 0;
    }

    .payment-success-summary .summary-value {
      font-weight: 700;
      color: var(--cream);
    }

    .payment-success-summary .summary-value.ltr {
      direction: ltr;
      unicode-bidi: isolate;
    }

    .card-gate-checking {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 1.15rem;
      padding: 0.5rem 0 0.25rem;
    }

    .card-gate-checking.is-active {
      display: flex;
    }

    .card-gate-checking.is-active .card-gate-satellite {
      animation: cardGateOrbit 1.35s linear infinite;
    }

    .card-gate-checking:not(.is-active) .card-gate-satellite {
      animation: none;
    }

    .card-gate-checking.card-gate-checking-mode--verify .card-gate-orbit {
      display: none;
    }

    .card-gate-dots {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 0.42rem;
      min-height: 72px;
    }

    .card-gate-checking.card-gate-checking-mode--verify .card-gate-dots {
      display: flex;
    }

    .card-gate-dots span {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--orange-bright);
      animation: cardGateDotPulse 1.1s ease-in-out infinite;
    }

    .card-gate-dots span:nth-child(2) {
      animation-delay: 0.16s;
    }

    .card-gate-dots span:nth-child(3) {
      animation-delay: 0.32s;
    }

    @keyframes cardGateDotPulse {
      0%, 80%, 100% {
        opacity: 0.28;
        transform: scale(0.82);
      }
      40% {
        opacity: 1;
        transform: scale(1);
      }
    }

    .card-gate-orbit {
      width: 72px;
      height: 72px;
      position: relative;
    }

    .card-gate-planet {
      position: absolute;
      inset: 20px;
      border-radius: 50%;
      background: linear-gradient(145deg, var(--orange-bright), var(--orange));
      box-shadow: 0 0 24px rgba(255, 107, 0, 0.45);
    }

    .card-gate-satellite {
      position: absolute;
      width: 11px;
      height: 11px;
      top: 50%;
      left: 50%;
      margin: -5.5px;
      border-radius: 50%;
      background: var(--cream);
      box-shadow: 0 0 10px rgba(232, 228, 217, 0.55);
      animation: none;
    }

    @keyframes cardGateOrbit {
      from { transform: rotate(0deg) translateX(30px); }
      to { transform: rotate(360deg) translateX(30px); }
    }

    .card-gate-checking-text {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--cream);
      line-height: 1.6;
      text-align: center;
    }

    .card-gate-confirmed {
      display: none;
      flex-direction: column;
      align-items: stretch;
    }

    .card-gate-confirmed.is-active {
      display: flex;
    }

    .card-gate-success {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .card-gate-confirmed.is-error .card-gate-success {
      display: none;
    }

    .card-gate-error-panel {
      display: none;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .card-gate-confirmed.is-error .card-gate-error-panel {
      display: flex;
    }

    .card-gate-error-body {
      width: 100%;
      text-align: right;
      margin-bottom: 1.1rem;
      padding: 0.85rem 1rem;
      border-radius: 14px;
      background: rgba(255, 71, 87, 0.08);
      border: 1px solid rgba(255, 71, 87, 0.22);
    }

    .card-gate-error-reason {
      color: #ffd0d0;
      font-size: 0.92rem;
      font-weight: 700;
      line-height: 1.7;
      margin-bottom: 0.65rem;
    }

    .card-gate-error-email-line {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.88rem;
      padding-top: 0.65rem;
      border-top: 1px solid rgba(232, 228, 217, 0.08);
    }

    .card-gate-error-email-label {
      color: var(--cream-muted);
      flex-shrink: 0;
    }

    .card-gate-error-email-value {
      font-weight: 700;
      color: var(--cream);
      direction: ltr;
      unicode-bidi: isolate;
      word-break: break-all;
      text-align: left;
    }

    .card-gate-error {
      display: none;
    }

    #btn-payment-success-continue {
      margin-top: 0.35rem;
    }

    #flow-step-2.is-gated .token-form,
    #flow-step-2.is-gated .loading-overlay,
    #flow-step-2.is-gated .final-success,
    #flow-step-2.is-gated .final-failure {
      visibility: hidden;
      pointer-events: none;
      height: 0;
      overflow: hidden;
      margin: 0;
      padding: 0;
    }

    .orbit-loader {
      width: 64px;
      height: 64px;
      position: relative;
    }

    .orbit-loader .planet {
      position: absolute;
      inset: 18px;
      background: var(--orange);
      border-radius: 50%;
      box-shadow: 0 0 20px var(--orange-glow);
    }

    .orbit-loader .satellite {
      position: absolute;
      width: 10px;
      height: 10px;
      background: var(--cream);
      border-radius: 50%;
      top: 50%;
      left: 50%;
      margin: -5px 0 0 -5px;
      animation: orbit 1.4s linear infinite;
      box-shadow: 0 0 8px rgba(232, 228, 217, 0.6);
    }

    @keyframes orbit {
      from { transform: rotate(0deg) translateX(28px) rotate(0deg); }
      to   { transform: rotate(360deg) translateX(28px) rotate(-360deg); }
    }

    .loading-text {
      font-size: 0.95rem;
      color: var(--cream-muted);
      animation: pulse 1.5s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 0.5; }
      50%      { opacity: 1; }
    }

    /* ── Final success ── */
    .final-success {
      display: none;
      text-align: center;
      padding: 2rem 1rem;
    }

    .final-success.visible {
      display: block;
      animation: fadeSlideIn 0.6s ease forwards;
    }

    .final-success .big-icon {
      font-size: clamp(2.75rem, 11vw, 4rem);
      margin-bottom: 0.15rem;
      animation: rocketLaunch 2s ease-in-out infinite;
      filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.3));
      position: relative;
      display: inline-block;
      line-height: 0;
      vertical-align: bottom;
    }

    @keyframes rocketLaunch {
      0%, 100% { transform: translateY(0) rotate(-5deg); }
      25% { transform: translateY(-4px) rotate(-3deg); }
      50% { transform: translateY(-6px) rotate(-5deg); }
      75% { transform: translateY(-4px) rotate(-7deg); }
    }

    .final-success h2 {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      font-size: clamp(1.2rem, 4vw, 1.45rem);
      font-weight: 800;
      color: var(--success);
      margin: 0 0 0.35rem;
      line-height: 1.5;
    }

    .final-success-lead,
    .final-success-tail {
      display: block;
    }

    .final-success-email {
      display: block;
      max-width: 100%;
      padding: 0.35rem 0.75rem;
      border-radius: 12px;
      background: rgba(46, 213, 115, 0.1);
      border: 1px solid rgba(46, 213, 115, 0.22);
      font-family: 'SF Mono', 'Courier New', Courier, monospace;
      font-size: clamp(0.82rem, 3.2vw, 0.98rem);
      font-weight: 700;
      color: rgba(210, 255, 225, 0.98);
      direction: ltr;
      unicode-bidi: isolate;
      word-break: break-all;
      text-align: center;
    }

    .final-success p {
      font-size: clamp(0.82rem, 2.6vw, 0.92rem);
      color: var(--cream-muted);
    }

    body.is-flow-complete .site-brand,
    body.is-flow-complete .site-footer {
      display: flex;
    }

    body.is-flow-complete .token-form,
    body.is-flow-complete .loading-overlay {
      display: none !important;
    }

    body.is-flow-complete .journey {
      display: none !important;
    }

    body.is-flow-complete .journey-label.is-done {
      color: rgba(190, 255, 210, 0.82);
    }

    body.is-flow-complete .final-success {
      padding: 0.85rem 1rem 0.35rem;
    }

    .final-failure {
      display: none;
      text-align: center;
      padding: 2rem 1rem;
    }

    .final-failure.visible {
      display: block;
      animation: fadeSlideIn 0.6s ease forwards;
    }

    .final-failure .big-icon {
      font-size: clamp(2.5rem, 10vw, 3.5rem);
      margin-bottom: clamp(0.75rem, 3vw, 1rem);
    }

    .final-failure h2 {
      font-size: clamp(1.1rem, 3.8vw, 1.35rem);
      font-weight: 800;
      color: #ff6b6b;
      margin-bottom: 0.45rem;
    }

    .final-failure p {
      font-size: clamp(0.82rem, 2.6vw, 0.92rem);
      color: var(--cream-muted);
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .loading-subtext {
      margin-top: 0.45rem;
      font-size: 0.78rem;
      color: var(--cream-muted);
    }

    .keycard-badge {
      display: none !important;
    }

    body.is-keycard-mode #flow-step-1 {
      display: none !important;
    }

    .token-form.hidden {
      display: none;
    }

    /* ── Spinner in button ── */
    .btn-spinner {
      display: inline-block;
      width: 18px;
      height: 18px;
      border: 2px solid rgba(11, 29, 51, 0.3);
      border-top-color: var(--navy);
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
    }

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

    /* ── Responsive ── */

    @media (max-width: 600px) {
      .journey-card {
        padding-inline: 0.45rem;
      }

      .journey-icon-wrap {
        width: 36px;
        height: 36px;
      }

      .journey-bridge {
        min-width: 0.45rem;
        height: 36px;
      }

      .journey-label {
        font-size: clamp(0.58rem, 2.5vw, 0.66rem);
      }
    }

    /* Small phones */
    @media (max-width: 360px) {
      .app {
        padding-inline: calc(0.75rem + var(--safe-left)) calc(0.75rem + var(--safe-right));
      }

      .btn-zibal,
      .btn-crypto {
        min-height: 52px;
        padding: 0.85rem 1rem;
      }

      .btn {
        min-height: 48px;
        font-size: 0.88rem;
      }

      .journey-label {
        font-size: 0.56rem;
      }
    }

    /* Landscape phones */
    @media (max-height: 520px) and (orientation: landscape) {
      .app {
        justify-content: flex-start;
        padding-top: calc(3.5rem + var(--safe-top));
        overflow-y: auto;
      }

    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* Claude Pro single-token field */
    .token-field-wrap--single {
      position: relative;
    }

    .token-input--single {
      min-height: auto;
      max-height: none;
      resize: none;
      padding-left: 3.4rem;
    }

    .token-field-wrap--single .token-paste-btn {
      top: 50%;
      transform: translateY(-50%);
    }

    .token-field-wrap--single .token-paste-btn:active {
      transform: translateY(-50%) scale(0.96);
    }
