/* ====================================================
   FRAYVO — AWWWARDS / APPLE STUDIO GRADE LUXURY UI
   ==================================================== */

:root {
  --bg-dark: #050609;
  --bg-surface: rgba(14, 17, 25, 0.76);
  --bg-surface-hover: rgba(20, 25, 37, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.075);
  --border-highlight: rgba(255, 255, 255, 0.15);
  --border-active: rgba(79, 107, 255, 0.55);

  --gold: #4f6bff;
  --gold-light: #93a5ff;
  --emerald: #10b981;
  --rose: #f43f5e;
  --cyan: #06b6d4;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;

  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-ar);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Hide native cursor on desktop devices for custom studio cursor */
@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}

.hidden {
  display: none !important;
}

/* ====================================================
   CUSTOM INTERACTIVE STUDIO CURSOR & CLICK RIPPLES
   ==================================================== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--gold-light), 0 0 24px var(--gold);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(147, 165, 255, 0.45);
  background: rgba(79, 107, 255, 0.03);
  border-radius: 99px;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    border-radius 0.25s ease;
}

.cursor-label {
  font-family: var(--font-ar);
  font-size: 0.68rem;
  font-weight: 800;
  color: #050609;
  opacity: 0;
  white-space: nowrap;
  transform: scale(0.7);
  transition: all 0.22s ease;
}

/* Hover State on Interactive Elements */
body.cursor-hover .cursor-dot {
  width: 0px;
  height: 0px;
}

body.cursor-hover .cursor-ring {
  width: auto;
  min-width: 72px;
  height: 32px;
  padding: 0 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(79, 107, 255, 0.45);
}

body.cursor-hover .cursor-label {
  opacity: 1;
  transform: scale(1);
}

body.cursor-down .cursor-ring {
  transform: translate(-50%, -50%) scale(0.86);
}

/* Click Shockwave Ripple */
.click-ripple {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%) scale(0.5);
  animation: rippleBurst 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rippleBurst {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5.5);
  }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ====================================================
   AMBIENT STUDIO LIGHTING & GRID
   ==================================================== */
.ambient-glow {
  position: fixed;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 560px;
  background: radial-gradient(circle, rgba(79, 107, 255, 0.13) 0%, rgba(16, 185, 129, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(45px);
  transition: background 0.6s ease;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 25%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ====================================================
   RAZOR-THIN TOP APP PROGRESS LINE
   ==================================================== */
.top-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 150;
}

.top-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--emerald));
  box-shadow: 0 0 14px rgba(79, 107, 255, 0.6);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ====================================================
   MINIMAL APP-LIKE TOP BAR (AIRY, NO CLUTTER)
   ==================================================== */
.app-topbar-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 28px;
  pointer-events: none;
}

.app-topbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1120px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 12px;
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.tb-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Brand Identity */
.ih-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px;
  border-radius: 99px;
  transition: transform 0.25s ease;
}

.ih-brand:hover {
  transform: scale(1.02);
}

.brand-emblem {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-word {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1.8px;
  color: #fff;
}

.ai-companion-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 5px 13px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #cbd5e1;
}

/* Left Controls */
.ih-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ih-curr-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  height: 40px;
  padding: 0 13px;
  border-radius: 99px;
  font-family: var(--font-ar);
  font-size: 0.78rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.ih-curr-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.ih-wallet-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(79, 107, 255, 0.14), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(79, 107, 255, 0.4);
  height: 42px;
  padding: 0 15px 0 12px;
  border-radius: 99px;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease;
}

.ih-wallet-pill:hover {
  border-color: var(--gold-light);
}

.ih-wallet-pill.bump {
  transform: scale(1.08);
  border-color: var(--gold-light);
  box-shadow: 0 0 24px rgba(79, 107, 255, 0.35);
}

.wallet-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-icon svg {
  width: 18px;
  height: 18px;
}

.wallet-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.w-lbl {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.w-val {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.w-val strong {
  font-family: var(--font-en);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--gold-light);
}

.w-val small {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-light);
}

.ih-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.ih-icon-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

/* Sound EQ Bars */
.eq-bars {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
}

.eq-bars span {
  display: block;
  width: 2px;
  height: 5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: 0.2s;
}

.sound-active .eq-bars span {
  background: var(--gold-light);
  animation: eqWave 0.6s infinite ease-in-out alternate;
}

.sound-active .eq-bars span:nth-child(1) { animation-delay: 0s; }
.sound-active .eq-bars span:nth-child(2) { animation-delay: 0.15s; }
.sound-active .eq-bars span:nth-child(3) { animation-delay: 0.3s; }
.sound-active .eq-bars span:nth-child(4) { animation-delay: 0.1s; }

@keyframes eqWave {
  0% { height: 4px; }
  100% { height: 14px; }
}

/* ====================================================
   SHARED SVG ICON UTILITIES
   ==================================================== */
.ico-xs {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ico-sm {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.gold-ico { color: var(--gold-light); }
.emerald-ico { color: var(--emerald); }

/* ====================================================
   SPOTLIGHT GLOW EFFECT ON CARDS
   ==================================================== */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(147, 165, 255, 0.085),
    transparent 45%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* ====================================================
   VIEWPORT STAGE & CHOREOGRAPHED PAGE TRANSITIONS
   ==================================================== */
.viewport-stage {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: 108px 24px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  display: none;
  width: 100%;
}

.screen.active {
  display: block;
}

/* Smooth Outgoing Page Animation */
.screen.exiting {
  display: block;
  pointer-events: none;
  animation: pageExit 0.24s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes pageExit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
  to {
    opacity: 0;
    transform: translateY(-14px) scale(0.985);
    filter: blur(6px);
  }
}

/* Staggered Element Reveal inside Active Screen */
.screen.active [style*="--stagger"] {
  opacity: 0;
  animation: staggerEnter 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--stagger) * 65ms);
}

@keyframes staggerEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.center-container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

/* ====================================================
   SCREEN 0: HERO & INTERACTIVE COMPARISON TOY
   ==================================================== */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero-copy-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(79, 107, 255, 0.1);
  border: 1px solid rgba(79, 107, 255, 0.28);
  padding: 6px 15px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.main-headline {
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.gold-text {
  background: linear-gradient(95deg, #ccd5ff, #4f6bff, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-headline {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 32px;
  max-width: 500px;
}

.btn-primary-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #050609;
  border: none;
  padding: 16px 34px;
  border-radius: 15px;
  font-family: var(--font-ar);
  font-size: 1.06rem;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(79, 107, 255, 0.28);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.btn-primary-hero:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 42px rgba(79, 107, 255, 0.42);
}

.btn-primary-hero:active {
  transform: scale(0.98);
}

.btn-primary-hero.full-w {
  width: 100%;
}

.arrow-svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.btn-primary-hero:hover .arrow-svg {
  transform: translateX(-5px);
}

.mini-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}

.mg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Interactive Comparison Card */
.interactive-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

.isc-toggle-bar {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 6px;
  background: rgba(0, 0, 0, 0.48);
  padding: 5px;
  border-radius: 16px;
  margin-bottom: 14px;
}

.isc-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: 12px;
  font-family: var(--font-ar);
  font-size: 0.81rem;
  font-weight: 800;
  transition: all 0.25s ease;
}

.isc-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#tab-frayvo.active {
  background: linear-gradient(135deg, rgba(79, 107, 255, 0.22), rgba(16, 185, 129, 0.15));
  border-color: rgba(79, 107, 255, 0.45);
  color: var(--gold-light);
}

.motion-stage-box {
  position: relative;
  height: 410px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 45%, rgba(79, 107, 255, 0.16), #080a10 72%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: 0.4s;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(79, 107, 255, 0.22);
  animation: spinSlow 18s linear infinite;
}

.ring.r1 { width: 230px; height: 230px; }
.ring.r2 { width: 310px; height: 310px; animation-direction: reverse; border-style: solid; border-color: rgba(255, 255, 255, 0.04); }

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

.ms-hook-pill {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 8, 14, 0.88);
  border: 1px solid rgba(79, 107, 255, 0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 99px;
  transition: 0.35s;
}

.status-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-led.pos {
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.status-led.neg {
  background: var(--rose);
  box-shadow: 0 0 10px var(--rose);
}

.ms-product-wrap {
  position: relative;
  z-index: 4;
  width: 190px;
  height: 215px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg-art {
  width: 100%;
  height: 100%;
  animation: smoothFloat 3.4s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.75));
  transition: 0.4s;
}

@keyframes smoothFloat {
  0%, 100% { transform: translateY(0px) rotate(-1.5deg); }
  50% { transform: translateY(-12px) rotate(2deg) scale(1.03); }
}

.ms-float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 16, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.35s ease;
}

.ms-float-tag.t-right {
  top: 22%;
  right: -72px;
}

.ms-float-tag.t-left {
  bottom: 18%;
  left: -72px;
}

.ms-result-bar {
  position: relative;
  z-index: 4;
  width: 100%;
  background: rgba(6, 8, 14, 0.86);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.msr-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.msr-item span {
  color: var(--text-secondary);
}

.msr-item strong.pos {
  color: var(--emerald);
}

.msr-item strong.neg {
  color: var(--rose);
}

.msr-divider {
  width: 1px;
  height: 20px;
  background: var(--border-subtle);
}

/* Boring Mode State */
.motion-stage-box.mode-boring {
  background: #0b0d13;
}

.motion-stage-box.mode-boring .hero-svg-art {
  animation: none;
  filter: grayscale(0.92) opacity(0.45);
  transform: scale(0.86);
}

.motion-stage-box.mode-boring .ms-float-tag,
.motion-stage-box.mode-boring .ms-rings {
  opacity: 0;
  transform: scale(0.8);
}

/* ====================================================
   STEPS 1, 2, 3, 4 SHARED CLEAN LAYOUT
   ==================================================== */
.step-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.narrow-layout {
  max-width: 760px;
}

.step-header {
  text-align: center;
  margin-bottom: 36px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 5px 14px;
  border-radius: 99px;
  font-family: var(--font-ar);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.back-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(3px);
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(79, 107, 255, 0.12);
  border: 1px solid rgba(79, 107, 255, 0.3);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.step-badge.success {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
}

.step-header h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.step-header p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Step 1: 4 Category Cards with Custom Vector Icons */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

.select-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 26px 22px;
  text-align: right;
  color: var(--text-primary);
  font-family: var(--font-ar);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.select-card:hover {
  transform: translateY(-7px);
  background: var(--bg-surface-hover);
  border-color: var(--border-active);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
}

.sc-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.select-card:hover .sc-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

.sc-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.gold-tint { background: rgba(79, 107, 255, 0.1); color: var(--gold-light); border-color: rgba(79, 107, 255, 0.28); }
.rose-tint { background: rgba(244, 63, 94, 0.1); color: #fb7185; border-color: rgba(244, 63, 94, 0.28); }
.cyan-tint { background: rgba(6, 182, 212, 0.1); color: #22d3ee; border-color: rgba(6, 182, 212, 0.28); }
.emerald-tint { background: rgba(16, 185, 129, 0.1); color: #34d399; border-color: rgba(16, 185, 129, 0.28); }

.select-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.select-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 20px;
  flex: 1;
}

.sc-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--gold-light);
}

.select-card:hover .sc-action svg {
  transform: translateX(-4px);
}

.sc-action svg {
  transition: transform 0.25s ease;
}

/* Step 2: 3 Clean Apple-Style Package Cards */
.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  align-items: stretch;
}

.pkg-card {
  position: relative;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 26px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.pkg-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
}

.pkg-card.featured {
  background: linear-gradient(180deg, rgba(79, 107, 255, 0.1) 0%, rgba(14, 17, 25, 0.94) 100%);
  border-color: rgba(79, 107, 255, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #050609;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
  z-index: 3;
}

.pkg-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pkg-icon-badge.gold {
  background: rgba(79, 107, 255, 0.14);
  border-color: rgba(79, 107, 255, 0.35);
  color: var(--gold-light);
}

.pkg-icon-badge svg {
  width: 22px;
  height: 22px;
}

.pkg-tag {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 700;
  display: block;
}

.pkg-tag.gold {
  color: var(--gold-light);
}

.pkg-top h3 {
  font-size: 1.28rem;
  font-weight: 900;
  margin: 6px 0 4px;
}

.pkg-duration {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pkg-price-box {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pkg-price-box strong {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.pkg-card.featured .pkg-price-box strong {
  color: var(--gold-light);
}

.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.pkg-features li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.chk-svg {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  position: relative;
  flex-shrink: 0;
}

.chk-svg::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 6px;
  width: 4px;
  height: 7px;
  border: solid var(--emerald);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pkg-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 13px;
  border-radius: 13px;
  font-family: var(--font-ar);
  font-size: 0.94rem;
  font-weight: 800;
  transition: 0.22s;
}

.pkg-btn.primary,
.pkg-card:hover .pkg-btn {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #050609;
  border-color: transparent;
}

/* Step 3: Add-ons Stack */
.addons-clean-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 26px;
}

.addon-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  padding: 18px 20px;
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.addon-row:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
}

.addon-row.active {
  border-color: var(--gold-light);
  background: rgba(79, 107, 255, 0.08);
}

.ar-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.25s;
}

.addon-row.active .ar-icon {
  background: rgba(79, 107, 255, 0.18);
  border-color: rgba(79, 107, 255, 0.45);
}

.ar-icon svg {
  width: 22px;
  height: 22px;
}

.ar-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ar-info strong {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.ar-info span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.ar-price {
  font-weight: 800;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.ar-check {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  transition: 0.22s;
}

.addon-row.active .ar-check {
  background: var(--gold-light);
  color: #050609;
  border-color: transparent;
}

.step-bottom-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 18px 24px;
  border-radius: 22px;
}

.sbb-summary span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: block;
}

.sbb-summary strong {
  font-family: var(--font-en);
  font-size: 1.55rem;
  color: var(--gold-light);
}

/* ====================================================
   SCREEN 4: FINAL CLEAN CHECKOUT
   ==================================================== */
.checkout-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
}

.receipt-card,
.client-action-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  padding: 28px;
}

.rc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.rc-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.rc-header strong {
  color: var(--gold-light);
  font-size: 0.92rem;
}

.rc-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.rc-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.rc-roi-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #d1fae5;
  margin-bottom: 18px;
}

.rc-pay-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.rpt-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-subtle);
  padding: 12px;
  border-radius: 14px;
  color: #fff;
  font-family: var(--font-ar);
  text-align: right;
  transition: 0.2s;
}

.rpt-btn.active {
  border-color: var(--gold-light);
  background: rgba(79, 107, 255, 0.1);
}

.rpt-btn strong {
  display: block;
  font-size: 0.86rem;
}

.rpt-btn span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.rc-total-due {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(79, 107, 255, 0.12);
  border: 1px solid rgba(79, 107, 255, 0.4);
  padding: 16px 20px;
  border-radius: 16px;
}

.rc-total-due span {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
}

.rc-total-due small {
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.rc-big-num strong {
  font-family: var(--font-en);
  font-size: 1.85rem;
  color: var(--gold-light);
}

/* Client Form Card */
.client-action-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.client-action-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.clean-inputs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.clean-inputs label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #cbd5e1;
}

.clean-inputs input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-ar);
  font-size: 0.92rem;
  transition: border-color 0.2s ease;
}

.clean-inputs input:focus {
  outline: none;
  border-color: var(--gold-light);
}

.closing-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-pay-direct {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #050609;
  border: none;
  padding: 15px;
  border-radius: 15px;
  font-family: var(--font-ar);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 28px rgba(79, 107, 255, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-pay-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(79, 107, 255, 0.42);
}

.bpd-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  font-weight: 900;
}

.btn-pay-direct small {
  font-size: 0.74rem;
  opacity: 0.85;
}

.btn-wa-direct {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(37, 211, 102, 0.12);
  border: 1.5px solid #25d366;
  color: #fff;
  padding: 14px;
  border-radius: 15px;
  font-family: var(--font-ar);
  font-size: 0.94rem;
  font-weight: 800;
  transition: 0.22s;
}

.btn-wa-direct:hover {
  background: #25d366;
  color: #050609;
}

.guarantee-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ====================================================
   MODALS
   ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.82);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #0e111a;
  border: 1px solid rgba(79, 107, 255, 0.4);
  border-radius: 26px;
  padding: 28px;
  animation: staggerEnter 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
}

.modal-due-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(79, 107, 255, 0.12);
  border: 1px solid rgba(79, 107, 255, 0.4);
  padding: 14px 18px;
  border-radius: 14px;
  margin: 16px 0;
}

.modal-due-box strong {
  font-family: var(--font-en);
  font-size: 1.4rem;
  color: var(--gold-light);
}

.modal-step-box {
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.copy-account-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 10px;
  margin-top: 8px;
}

.copy-account-bar code {
  font-family: var(--font-en);
  color: var(--gold-light);
}

.copy-account-bar button {
  background: var(--gold-light);
  color: #050609;
  border: none;
  padding: 5px 12px;
  border-radius: 7px;
  font-family: var(--font-ar);
  font-weight: 800;
}

#modal-tx-input {
  width: 100%;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 11px 14px;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-ar);
}

/* ====================================================
   SCREEN 2: MONTHLY SALES SIMULATOR (VISUAL MATH)
   ==================================================== */
.reward-status-txt {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 800;
}

.goal-simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  width: 100%;
  align-items: stretch;
}

.gs-controls-card,
.gs-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gs-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.gs-label-row span {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-weight: 700;
}

.gs-big-val {
  font-family: var(--font-en);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold-light);
}

.gs-mid-val {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald);
}

.luxury-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  margin-bottom: 14px;
}

.luxury-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 3px solid #050609;
  box-shadow: 0 0 16px rgba(147, 165, 255, 0.7);
  transition: transform 0.2s ease;
}

.luxury-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.luxury-slider.emerald-slider::-webkit-slider-thumb {
  background: var(--emerald);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.7);
}

.quick-target-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.qt-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 6px;
  border-radius: 10px;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.qt-pill.active,
.qt-pill:hover {
  background: rgba(79, 107, 255, 0.16);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.gsv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.daily-orders-hero {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.doh-pre {
  display: block;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.doh-pre strong {
  color: #fff;
}

.doh-number-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.doh-number-wrap strong {
  font-family: var(--font-en);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold-light);
  text-shadow: 0 0 28px rgba(147, 165, 255, 0.35);
}

.doh-unit {
  display: flex;
  flex-direction: column;
}

.doh-unit span {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

.doh-unit small {
  font-size: 0.8rem;
  color: var(--emerald);
  font-weight: 700;
}

.visual-orders-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
  min-height: 36px;
}

.order-cube {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(79, 107, 255, 0.14);
  border: 1px solid rgba(79, 107, 255, 0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popCube 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.order-cube svg {
  width: 15px;
  height: 15px;
}

@keyframes popCube {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.ai-strategy-insight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(79, 107, 255, 0.1), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(79, 107, 255, 0.3);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #e2e8f0;
}

.asi-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(79, 107, 255, 0.2);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.asi-icon svg {
  width: 18px;
  height: 18px;
}

/* ====================================================
   SCREEN 3: VOICE STUDIO & AI STORE SCANNER
   ==================================================== */
.psych-question-highlight {
  background: rgba(79, 107, 255, 0.08);
  border: 1px solid rgba(79, 107, 255, 0.25);
  color: #f8fafc !important;
  padding: 12px 18px;
  border-radius: 14px;
  margin-top: 8px;
  font-weight: 700;
  line-height: 1.65;
}

.psych-question-highlight strong {
  color: var(--gold-light);
}

.voice-studio-card {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.vs-recommend-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #d1fae5;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: eqWave 0.9s infinite alternate;
}

.mic-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 0 10px;
}

.mega-mic-btn {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #050609;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(79, 107, 255, 0.4);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}

.mega-mic-btn:hover {
  transform: scale(1.07);
}

.mega-mic-btn.recording {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  box-shadow: 0 0 45px rgba(244, 63, 94, 0.6);
}

.mic-rings span {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(147, 165, 255, 0.35);
  animation: micPulse 2.2s infinite ease-out;
  pointer-events: none;
}

.mic-rings span:nth-child(2) {
  animation-delay: 0.7s;
}

.mega-mic-btn.recording .mic-rings span {
  border-color: rgba(244, 63, 94, 0.55);
  animation-duration: 1.1s;
}

@keyframes micPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.48); opacity: 0; }
}

.mic-svg {
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 2;
}

.mic-status-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mic-status-info strong {
  font-size: 0.98rem;
}

.mic-status-info span {
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 700;
}

.voice-wave-canvas {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 6px 12px;
}

.recorded-audio-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 10px 18px;
  border-radius: 99px;
}

.rab-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #d1fae5;
}

.btn-re-record {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  font-family: var(--font-ar);
  font-size: 0.76rem;
  font-weight: 700;
}

.vs-alternatives {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ais-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.ais-input-row {
  display: flex;
  gap: 8px;
}

.ais-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 11px 14px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-ar);
  font-size: 0.88rem;
}

.ais-input-row input:focus {
  outline: none;
  border-color: var(--gold-light);
}

.btn-ai-scan {
  background: rgba(79, 107, 255, 0.16);
  border: 1px solid rgba(79, 107, 255, 0.45);
  color: var(--gold-light);
  padding: 0 18px;
  border-radius: 12px;
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: 0.85rem;
  transition: 0.2s;
}

.btn-ai-scan:hover {
  background: var(--gold-light);
  color: #050609;
}

.ai-scan-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 11px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.82rem;
  color: #d1fae5;
}

.scan-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--emerald);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spinSlow 0.8s linear infinite;
}

.text-fallback-wrap {
  text-align: center;
}

.btn-toggle-text {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-ar);
  font-size: 0.8rem;
  text-decoration: underline;
}

.text-fallback-box {
  margin-top: 10px;
}

.text-fallback-box textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  color: #fff;
  font-family: var(--font-ar);
  font-size: 0.88rem;
}

/* ====================================================
   SCREEN 4: 3-AD TASTING & RATING GAME
   ==================================================== */
.ad-tasting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-bottom: 24px;
}

.tasting-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.25s ease;
}

.tasting-card.rated {
  border-color: rgba(79, 107, 255, 0.55);
}

.tc-preview-stage {
  position: relative;
  height: 220px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.tc-preview-stage.style-viral {
  background: radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.22), #080a11 75%);
}

.tc-preview-stage.style-luxury {
  background: radial-gradient(circle at 50% 50%, rgba(79, 107, 255, 0.24), #080a11 75%);
}

.tc-preview-stage.style-closer {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.22), #080a11 75%);
}

.tc-style-badge {
  align-self: flex-start;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fda4af;
  padding: 4px 10px;
  border-radius: 99px;
  z-index: 3;
}

.tc-style-badge.gold { color: var(--gold-light); }
.tc-style-badge.emerald { color: #34d399; }

.tc-motion-scene {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.viral-kinetic-text {
  position: absolute;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 2px;
  animation: pulseFast 1.4s infinite;
}

.closer-offer-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--emerald);
  color: #050609;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: 99px;
}

.tc-mini-product {
  width: 82px;
  height: 98px;
  z-index: 2;
  animation: smoothFloat 2.4s infinite ease-in-out;
}

.tc-mini-product.float-slow {
  animation-duration: 4s;
}

.tc-scene-tag {
  margin-top: auto;
  background: rgba(5, 7, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  color: #cbd5e1;
  z-index: 3;
}

.tc-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tc-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.tc-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.star-rating-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sr-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #cbd5e1;
}

.stars-row {
  display: flex;
  gap: 4px;
}

.star-btn {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.18);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.star-btn:hover {
  transform: scale(1.25);
  color: var(--gold-light);
}

.star-btn.lit {
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(147, 165, 255, 0.55);
}

.tasting-unlock-bar {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tasting-unlock-bar.unlocked {
  border-color: var(--emerald);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(79, 107, 255, 0.08));
}

.tub-status {
  display: block;
  font-size: 0.96rem;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.tub-info p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Compact Add-ons on Offer Screen */
.old-strike {
  font-family: var(--font-en);
  font-size: 1.05rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.65;
}

.offer-addons-section {
  width: 100%;
  margin-top: 28px;
}

.oas-title {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  text-align: center;
}

.oas-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.addon-row.compact {
  padding: 12px 14px;
  border-radius: 16px;
  gap: 10px;
}

.addon-row.compact .ar-info strong {
  font-size: 0.82rem;
}

.addon-row.compact .ar-info span {
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.78rem;
}

/* AI Voice/Text Analysis Card */
.ai-insight-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), rgba(79, 107, 255, 0.07));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 6px;
  text-align: right;
  animation: staggerEnter 0.4s ease forwards;
}

.aic-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--emerald);
  margin-bottom: 6px;
}

.aic-body {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.65;
}

.aic-body .aic-quote {
  display: block;
  background: rgba(0, 0, 0, 0.35);
  border-right: 3px solid var(--gold-light);
  padding: 7px 12px;
  border-radius: 8px;
  margin: 6px 0;
  color: var(--gold-light);
  font-weight: 700;
}

/* Discreet Owner FAB & DB Stats */
.owner-fab {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0.45;
  transition: all 0.25s ease;
}

.owner-fab:hover {
  opacity: 1;
  color: var(--gold-light);
  border-color: rgba(79, 107, 255, 0.4);
}

.db-stats-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: #cbd5e1;
  max-height: 150px;
  overflow-y: auto;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 980px) {
  .ai-companion-pill {
    display: none;
  }
  .hero-layout,
  .goal-simulator-grid,
  .ad-tasting-grid,
  .checkout-two-cols {
    grid-template-columns: 1fr;
  }
  .cards-grid-4,
  .oas-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid-3 {
    grid-template-columns: 1fr;
  }
  .ih-steps {
    display: none;
  }
  .tasting-unlock-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .cards-grid-4,
  .oas-pills-grid,
  .rc-pay-toggle,
  .quick-target-pills {
    grid-template-columns: 1fr;
  }
  .step-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .w-lbl {
    display: none;
  }
}
