/* ==========================================================================
   SI FIT - 3D Luxury Rose Gold Design System
   Nutrition | Training | Follow-up
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Metallic Rose Gold & Bronze Palette */
  --rose-gold-50: #FCF7F5;
  --rose-gold-100: #F8EFEB;
  --rose-gold-200: #EEDBD3;
  --rose-gold-300: #DFC1B5;
  --rose-gold-400: #CBA293;
  --rose-gold-500: #B77965; /* Primary Brand Rose Gold */
  --rose-gold-600: #9F5F4C;
  --rose-gold-700: #814636;
  --rose-gold-800: #653225;
  --rose-gold-900: #482117;

  /* Ambient & Backgrounds */
  --bg-porcelain: #FAF7F5;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FDFBF9;
  --text-main: #2A1E1B;
  --text-muted: #7A6964;
  --text-subtle: #A3938E;

  /* 3D Depth & Shadows */
  --shadow-3d-button: 
    0 10px 25px -4px rgba(183, 121, 101, 0.45),
    0 4px 8px -2px rgba(129, 70, 54, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -2px 5px rgba(101, 50, 37, 0.35);

  --shadow-3d-button-pressed:
    0 4px 10px -2px rgba(183, 121, 101, 0.35),
    inset 0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 -1px 2px rgba(255, 255, 255, 0.5);

  --shadow-3d-card:
    0 14px 34px -8px rgba(129, 70, 54, 0.08),
    0 4px 12px -2px rgba(0, 0, 0, 0.03),
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.95);

  --shadow-3d-card-hover:
    0 18px 40px -8px rgba(183, 121, 101, 0.22),
    0 6px 16px -3px rgba(129, 70, 54, 0.1),
    inset 0 1.5px 0.5px rgba(255, 255, 255, 1);

  --shadow-3d-selected:
    0 16px 36px -6px rgba(183, 121, 101, 0.28),
    0 4px 12px -2px rgba(183, 121, 101, 0.15),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(183, 121, 101, 0.2);

  /* Gradients */
  --grad-metallic: linear-gradient(135deg, #E6C2B4 0%, #B77965 52%, #814636 100%);
  --grad-metallic-shine: linear-gradient(135deg, #F3DED6 0%, #CFA493 30%, #B77965 70%, #9F5F4C 100%);
  --grad-card-selected: linear-gradient(145deg, #FFF9F7 0%, #F8ECE7 100%);
  --grad-pearl: linear-gradient(180deg, #FFFFFF 0%, #FAF5F2 100%);

  /* Border Tokens */
  --border-subtle: rgba(203, 162, 147, 0.35);
  --border-highlight: rgba(255, 255, 255, 0.85);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
}

/* Reset & Base Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-porcelain);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.5;
}

a, a:hover, a:focus, a:active, a:visited {
  text-decoration: none !important;
}

/* Luxury Background Ambiance */
body::before {
  content: "";
  position: fixed;
  top: -150px;
  right: 50%;
  transform: translateX(50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 194, 180, 0.35) 0%, rgba(250, 247, 245, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Top Floating Admin Link */
.admin-badge-nav {
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 99;
}
.admin-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rose-gold-700);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(129, 70, 54, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-link-btn:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 6px 20px rgba(183, 121, 101, 0.25);
  color: var(--rose-gold-900);
}

/* App Viewport Container */
.app-viewport {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  height: 100dvh;
  min-height: 100dvh;
  width: 100%;
  padding: 0;
}

@media (min-width: 640px) {
  .app-viewport {
    padding: 20px 16px;
    height: auto;
    min-height: 100dvh;
  }
}

/* Mobile Frame (Card App Style) */
.quiz-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(129, 70, 54, 0.15);
}

@media (min-width: 640px) {
  .quiz-container {
    height: calc(100dvh - 40px);
    max-height: 900px;
    border-radius: var(--radius-xl);
    border: 1.5px solid rgba(223, 193, 181, 0.4);
  }
}

/* Header & Progress Bar */
.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(238, 219, 211, 0.4);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-back-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(129, 70, 54, 0.06);
  transition: all 0.2s ease;
  color: var(--rose-gold-800);
}
.nav-back-btn:hover {
  transform: scale(1.05);
  border-color: var(--rose-gold-400);
  background: var(--rose-gold-50);
}
.nav-back-btn:active {
  transform: scale(0.94);
}

.brand-mini-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(183, 121, 101, 0.25));
}

.progress-capsule {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-gold-50);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(223, 193, 181, 0.5);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--rose-gold-700);
}

/* 3D Segmented Progress Line */
.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: var(--rose-gold-100);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-metallic);
  border-radius: 0 4px 4px 0;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(183, 121, 101, 0.5);
}

/* Quiz Steps Content Area */
.quiz-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Step Transition Animations */
.step-pane {
  display: none;
  flex: 1;
  flex-direction: column;
  animation: fadeIn3D 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step-pane.active {
  display: flex;
}

#stepStart {
  flex: 1;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  height: 100%;
  padding: 8px 0 10px;
  box-sizing: border-box;
}
#stepStart.active {
  display: flex;
}

.hero-brand-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-top: 8px;
}

.hero-intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 16px 0;
}

@keyframes fadeIn3D {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   START SCREEN (Hero & Intro) - Balanced Luxury Spacing
   ========================================================================== */
.hero-logo-box {
  position: relative;
  width: 135px;
  height: 135px;
  margin: 4px auto 14px;
  border-radius: 28px;
  padding: 8px;
  background: var(--grad-pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(223, 193, 181, 0.5);
  box-shadow: 
    0 16px 32px -8px rgba(129, 70, 54, 0.18),
    0 4px 10px -2px rgba(0, 0, 0, 0.04),
    inset 0 1.5px 0.5px rgba(255, 255, 255, 1);
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.hero-tagline-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(248, 239, 235, 0.9), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--rose-gold-300);
  border-radius: 999px;
  color: var(--rose-gold-700);
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(183, 121, 101, 0.08);
}

.quiz-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  text-align: center;
}

.quiz-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
  margin-bottom: 18px;
  max-width: 360px;
}

/* 3D Features Stack (Spacious & Luxurious) */
.hero-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 14px;
  margin-bottom: 20px;
}

.mini-feature-3d-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--grad-pearl);
  border: 1.5px solid rgba(223, 193, 181, 0.45);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(129, 70, 54, 0.08);
  position: relative;
  overflow: hidden;
  text-align: right;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mini-feature-3d-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(183, 121, 101, 0.16);
}
.mini-feature-3d-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-metallic);
}

.mini-feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #F3DED6 0%, #E6C2B4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-gold-800);
  box-shadow: 
    0 5px 12px -2px rgba(183, 121, 101, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1.5px 2px rgba(129, 70, 54, 0.2);
  flex-shrink: 0;
}
.mini-feature-icon-badge svg {
  width: 20px;
  height: 20px;
}

.mini-feature-text {
  flex: 1;
}
.mini-feature-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.35;
}
.mini-feature-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* 3D Concise Feature Card */
.feature-3d-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--grad-pearl);
  border: 1.5px solid rgba(223, 193, 181, 0.45);
  border-radius: 18px;
  padding: 15px 18px;
  margin-bottom: 0;
  box-shadow: var(--shadow-3d-card);
  position: relative;
  overflow: hidden;
  text-align: right;
}
.feature-3d-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-metallic);
}
.feature-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F3DED6 0%, #E6C2B4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-gold-800);
  box-shadow: 
    0 6px 14px -2px rgba(183, 121, 101, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1.5px 2px rgba(129, 70, 54, 0.2);
  flex-shrink: 0;
}
.feature-icon-badge svg {
  width: 22px;
  height: 22px;
}
.feature-info h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0;
}

.step-start-cta-wrap {
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: max(14px, env(safe-area-inset-bottom, 14px));
}

.quiz-step-action-bar {
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
  width: 100%;
}

/* 3D Trust Badges Row (Clean Icons & Titles Only) */
.trust-badges-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #F3DED6 0%, #E6C2B4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-gold-800);
  box-shadow: 
    0 8px 16px -2px rgba(183, 121, 101, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1.5px 2px rgba(129, 70, 54, 0.2);
  border: 1.5px solid rgba(223, 193, 181, 0.5);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.trust-badge-item:hover .trust-badge-icon {
  transform: translateY(-2px);
}
.trust-badge-icon svg {
  width: 22px;
  height: 22px;
}

.trust-badge-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

/* ==========================================================================
   3D BUTTONS & TACTILE CONTROLS
   ========================================================================== */
.btn-3d-primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--grad-metallic);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-3d-button);
  border-bottom: 3.5px solid var(--rose-gold-800);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn-3d-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 
    0 14px 28px -4px rgba(183, 121, 101, 0.5),
    0 6px 12px -2px rgba(129, 70, 54, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -2px 5px rgba(101, 50, 37, 0.4);
}

.btn-3d-primary:active {
  transform: translateY(3px);
  border-bottom-width: 1px;
  box-shadow: var(--shadow-3d-button-pressed);
}

.btn-3d-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-bottom-width: 1px;
}

.btn-3d-secondary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: #FFFFFF;
  color: var(--rose-gold-800);
  border: 1.5px solid var(--rose-gold-300);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(129, 70, 54, 0.08), inset 0 1px 0 rgba(255,255,255,1);
  border-bottom: 3px solid var(--rose-gold-300);
  transition: all 0.15s ease;
}

.btn-3d-secondary:hover {
  background: var(--rose-gold-50);
  border-color: var(--rose-gold-400);
  transform: translateY(-1.5px);
}

.btn-3d-secondary:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.guarantee-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-subtle);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   3D QUIZ OPTIONS CARDS
   ========================================================================== */
.options-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.option-3d-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1.5px solid rgba(223, 193, 181, 0.35);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-3d-card);
  border-bottom: 3px solid rgba(203, 162, 147, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.option-3d-card:hover {
  transform: translateY(-2px);
  border-color: var(--rose-gold-400);
  box-shadow: var(--shadow-3d-card-hover);
}

.option-3d-card:active {
  transform: translateY(1.5px);
  border-bottom-width: 1.5px;
}

.option-3d-card.selected {
  background: var(--grad-card-selected);
  border-color: var(--rose-gold-500);
  border-bottom: 3.5px solid var(--rose-gold-700);
  box-shadow: var(--shadow-3d-selected);
}

.option-content-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.option-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--rose-gold-50);
  border: 1px solid rgba(223, 193, 181, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(129, 70, 54, 0.08), inset 0 1px 1px #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-icon-box svg {
  width: 22px;
  height: 22px;
  color: var(--rose-gold-700);
  transition: all 0.2s ease;
}

.option-3d-card.selected .option-icon-box {
  background: linear-gradient(135deg, #F3DED6 0%, #E6C2B4 100%);
  border-color: var(--rose-gold-400);
  transform: scale(1.05);
}

.option-3d-card.selected .option-icon-box svg {
  color: var(--rose-gold-900);
}

.option-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.option-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.option-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.option-badge-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(183, 121, 101, 0.12);
  color: var(--rose-gold-700);
  border-radius: 6px;
  margin-top: 2px;
}

/* 3D Check Radio / Pill */
.radio-3d-pill {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--rose-gold-300);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1.5px 2px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-3d-card.selected .radio-3d-pill {
  border-color: var(--rose-gold-600);
  background: var(--grad-metallic);
  box-shadow: 0 2px 6px rgba(183, 121, 101, 0.4);
}

.radio-3d-pill::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.option-3d-card.selected .radio-3d-pill::after {
  opacity: 1;
  transform: scale(1);
}

.popular-ribbon {
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--grad-metallic);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(183, 121, 101, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   3D WHEEL PICKERS (Age, Height, Weight)
   ========================================================================== */
.wheel-picker-3d-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
}

.wheel-display-large {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--grad-pearl);
  padding: 18px 36px;
  border-radius: 28px;
  border: 1.5px solid rgba(223, 193, 181, 0.5);
  box-shadow: 
    0 12px 30px -6px rgba(129, 70, 54, 0.12),
    inset 0 1.5px 0.5px #FFFFFF;
}

.wheel-value-number {
  font-family: 'Outfit', sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: var(--rose-gold-700);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(183, 121, 101, 0.2);
}

.wheel-unit-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
}

.wheel-cylinder {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 180px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  border-radius: var(--radius-md);
  background: rgba(248, 239, 235, 0.3);
}

.wheel-cylinder::-webkit-scrollbar {
  display: none;
}

.wheel-cylinder-center-lens {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 52px;
  border-top: 1.5px solid var(--rose-gold-400);
  border-bottom: 1.5px solid var(--rose-gold-400);
  background: rgba(183, 121, 101, 0.08);
  pointer-events: none;
  border-radius: 12px;
}

.wheel-cylinder-list {
  padding: 64px 0;
  list-style: none;
}

.wheel-item {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-subtle);
  scroll-snap-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wheel-item.selected {
  font-size: 32px;
  font-weight: 800;
  color: var(--rose-gold-700);
  transform: scale(1.1);
}

/* Quick Increment / Decrement 3D Buttons */
.wheel-quick-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  direction: ltr; /* Keeps [ - ] on left and [ + ] on right intuitively */
}

.stepper-btn-3d {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--rose-gold-300);
  border-bottom: 3.5px solid var(--rose-gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--rose-gold-700);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(129, 70, 54, 0.12);
  transition: transform 0.08s ease, background 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.stepper-btn-3d:hover {
  background: var(--rose-gold-50);
  transform: translateY(-1.5px);
}
.stepper-btn-3d:active {
  transform: translateY(2.5px);
  border-bottom-width: 1px;
  box-shadow: 0 2px 6px rgba(129, 70, 54, 0.1);
  background: var(--rose-gold-100);
}

/* Dual Column Height & Weight */
.dual-wheel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.dual-wheel-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--grad-pearl);
  border: 1.5px solid rgba(223, 193, 181, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  box-shadow: var(--shadow-3d-card);
}

.col-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* 3D Live BMI Gauge Widget */
.bmi-3d-widget {
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF5F2 100%);
  border: 1.5px solid rgba(223, 193, 181, 0.5);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 10px;
  box-shadow: var(--shadow-3d-card);
}

.bmi-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.bmi-status-tag {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--rose-gold-100);
  color: var(--rose-gold-800);
  border: 1px solid var(--rose-gold-300);
}
.bmi-val-big {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--rose-gold-700);
}

.bmi-meter-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, #64B5F6 0%, #81C784 35%, #FFB74D 65%, #E57373 100%);
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.bmi-pointer {
  position: absolute;
  top: -4px;
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border: 3px solid var(--rose-gold-800);
  border-radius: 50%;
  transform: translateX(50%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: left 0.3s ease;
}

.bmi-notes {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.45;
}

/* ==========================================================================
   ANALYSIS LOADING SCREEN
   ========================================================================== */
.analysis-loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
  padding: 30px 10px;
}

.pulsing-logo-3d {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: var(--grad-pearl);
  border: 1.5px solid var(--rose-gold-300);
  box-shadow: 
    0 16px 36px -6px rgba(183, 121, 101, 0.4),
    inset 0 1.5px 0 #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {
  0% { transform: scale(1); box-shadow: 0 16px 36px -6px rgba(183, 121, 101, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 22px 46px -4px rgba(183, 121, 101, 0.6); }
  100% { transform: scale(1); box-shadow: 0 16px 36px -6px rgba(183, 121, 101, 0.4); }
}

.pulsing-logo-3d img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 20px;
}

.analysis-status-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.analysis-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  margin: 16px auto 0;
  text-align: right;
}

.analysis-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}
.check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rose-gold-100);
  border: 1px solid var(--rose-gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--rose-gold-700);
}
.check-circle.done {
  background: var(--rose-gold-600);
  color: #fff;
  border-color: var(--rose-gold-700);
}

/* ==========================================================================
   RECOMMENDATION / RESULTS SCREEN
   ========================================================================== */
.result-header-card {
  text-align: center;
  margin-bottom: 20px;
}

.celebration-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-card-selected);
  border: 1px solid var(--rose-gold-300);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--rose-gold-800);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(183, 121, 101, 0.15);
}

/* Key Metrics 3D Dashboard */
.body-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.metric-3d-box {
  background: var(--grad-pearl);
  border: 1.5px solid rgba(223, 193, 181, 0.45);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--shadow-3d-card);
}
.metric-3d-box .metric-num {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--rose-gold-700);
  line-height: 1.2;
}
.metric-3d-box .metric-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Recommended Plan 3D Hero Card */
.plan-hero-3d {
  position: relative;
  background: linear-gradient(145deg, #FFFFFF 0%, #FCF8F5 100%);
  border: 2px solid var(--rose-gold-400);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 22px;
  box-shadow: 
    0 20px 45px -8px rgba(183, 121, 101, 0.28),
    inset 0 2px 1px #FFFFFF;
}

.plan-hero-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--grad-metallic);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(183, 121, 101, 0.4);
  border: 1px solid rgba(255,255,255,0.6);
}

.plan-title-big {
  font-size: 21px;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 6px;
  margin-bottom: 6px;
}

.plan-desc-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

/* Price Box */
.plan-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background: var(--rose-gold-50);
  border: 1px solid rgba(223, 193, 181, 0.6);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.price-main-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-curr-iqd {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--rose-gold-800);
}
.price-curr-unit {
  font-size: 14px;
  font-weight: 800;
  color: var(--rose-gold-700);
}
.price-old-iqd {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--text-subtle);
  text-decoration: line-through;
  margin-right: 8px;
}

.price-secondary-usd {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  direction: ltr;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.plan-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
}

.plan-feat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rose-gold-100);
  border: 1px solid var(--rose-gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--rose-gold-700);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Direct Action Buttons Stack */
.checkout-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.btn-whatsapp-3d {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #25D366 0%, #1EAA51 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 
    0 10px 22px -4px rgba(37, 211, 102, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  border-bottom: 3.5px solid #147D3B;
  transition: all 0.15s ease;
  user-select: none;
  text-decoration: none;
}
.btn-whatsapp-3d:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn-whatsapp-3d:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* ==========================================================================
   3D PAYMENT MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 30, 27, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.modal-overlay.open {
  display: flex;
  animation: fadeInModal 0.25s ease forwards;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-3d-box {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(223, 193, 181, 0.5);
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.3),
    0 10px 20px -5px rgba(183, 121, 101, 0.3);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 20px;
  animation: zoomInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.modal-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--rose-gold-50);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--rose-gold-800);
  font-size: 18px;
  transition: all 0.2s;
}
.modal-close-btn:hover {
  background: var(--rose-gold-100);
  transform: scale(1.08);
}

.modal-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}
.modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Payment Tabs */
.payment-tabs-bar {
  display: flex;
  background: var(--rose-gold-50);
  border: 1px solid var(--rose-gold-200);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
  margin-bottom: 18px;
}
.pay-tab-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.pay-tab-btn.active {
  background: #FFFFFF;
  color: var(--rose-gold-800);
  box-shadow: 0 2px 8px rgba(129, 70, 54, 0.12);
}

.payment-tab-content {
  display: none;
}
.payment-tab-content.active {
  display: block;
}

/* Bank info box with copy buttons */
.bank-copy-box {
  background: var(--rose-gold-50);
  border: 1px solid var(--rose-gold-200);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}
.bank-info-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(223, 193, 181, 0.6);
  font-size: 13px;
}
.bank-info-line:last-child {
  border-bottom: none;
}
.bank-info-label {
  color: var(--text-muted);
  font-weight: 700;
}
.bank-info-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--rose-gold-900);
  direction: ltr;
}
.btn-copy-chip {
  background: #FFFFFF;
  border: 1px solid var(--rose-gold-300);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--rose-gold-700);
  cursor: pointer;
  margin-right: 6px;
  transition: all 0.2s;
}
.btn-copy-chip:hover {
  background: var(--rose-gold-100);
}

/* Card Mockup for Iraq payment */
.card-mockup-3d {
  background: var(--grad-metallic);
  border-radius: 18px;
  padding: 18px 20px;
  color: #FFFFFF;
  box-shadow: 
    0 16px 30px -6px rgba(183, 121, 101, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.card-brand-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
}
.card-chip-sim {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, #FFE082, #FFB300);
  border-radius: 6px;
  border: 1px solid #FFA000;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
.card-mock-num {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 12px;
  direction: ltr;
  text-align: left;
}
.card-holder-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer info */
.quiz-footer-fixed {
  padding: 16px 22px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(238, 219, 211, 0.5);
  position: sticky;
  bottom: 0;
  z-index: 10;
}
