* { font-family: 'IBM Plex Sans Arabic', sans-serif; }

body {
  background-image: radial-gradient(circle at 20% 0%, #fef3c7 0%, transparent 40%),
                    radial-gradient(circle at 90% 100%, #dbeafe 0%, transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
}

.num-ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

.card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.05);
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

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

.tier-bar {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to left, #16a34a 0%, #84cc16 25%, #eab308 50%, #f97316 75%, #dc2626 100%);
  position: relative;
}

.tier-marker {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: white;
  border: 3px solid #0f172a;
  transform: translateX(50%);
  transition: right 0.5s ease;
}

.chip {
  transition: all 0.15s ease;
}
.chip:hover { transform: translateY(-1px); }

.q-option {
  transition: all 0.15s ease;
}
.q-option:hover {
  border-color: #f59e0b;
  background: #fffbeb;
}
.q-option.selected {
  border-color: #f59e0b;
  background: #fef3c7;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.reveal {
  animation: reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.spec-row:hover {
  background: #fafaf9;
}

.upload-area {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(245, 158, 11, 0.05) 12px,
    rgba(245, 158, 11, 0.05) 24px
  );
}

.recommended-badge {
  background: linear-gradient(135deg, #f59e0b, #dc2626);
}
