/* ============================================================
   Outfits Check AI — Custom CSS
   Complements Tailwind CSS (loaded via CDN)
   Theme: Vibrant Orange (Matching Logo) + Dark & Light Modes
   ============================================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS Custom Properties (Light Mode Default)
   ============================================================ */
:root {
  --brand-primary:       #f97316;
  --brand-primary-hover: #ea580c;
  --brand-secondary:     #ea580c;
  --brand-accent:        #fb923c;
  --brand-light:         #fdba74;
  --brand-glow:          rgba(249, 115, 22, 0.28);
  --brand-gradient:      linear-gradient(135deg, #fb923c 0%, #f97316 55%, #ea580c 100%);
  --text-primary:        #0f172a;
  --text-secondary:      #475569;
  --text-muted:          #94a3b8;
  --bg-card:             #ffffff;
  --bg-page:             #f8fafc;
  --border-subtle:       #e2e8f0;
  --border-hover:        #cbd5e1;
  --shadow-card:         0 1px 3px rgba(0,0,0,0.06), 0 4px 14px rgba(0,0,0,0.04);
  --shadow-card-hover:   0 8px 30px rgba(249,115,22,0.15), 0 4px 12px rgba(0,0,0,0.05);
  --radius-card:         1rem;
  --radius-btn:          0.625rem;
}

/* ============================================================
   Dark Mode Custom Properties
   ============================================================ */
.dark {
  --brand-primary:       #fb923c;
  --brand-primary-hover: #f97316;
  --brand-secondary:     #f97316;
  --brand-accent:        #fdba74;
  --brand-light:         #fed7aa;
  --brand-glow:          rgba(251, 146, 60, 0.32);
  --brand-gradient:      linear-gradient(135deg, #fdba74 0%, #fb923c 50%, #f97316 100%);
  --text-primary:        #f8fafc;
  --text-secondary:      #94a3b8;
  --text-muted:          #64748b;
  --bg-card:             #131d31;
  --bg-page:             #0b1120;
  --border-subtle:       #24324d;
  --border-hover:        #334155;
  --shadow-card:         0 1px 3px rgba(0,0,0,0.4), 0 4px 14px rgba(0,0,0,0.3);
  --shadow-card-hover:   0 8px 30px rgba(249,115,22,0.22), 0 4px 14px rgba(0,0,0,0.35);
}

/* ============================================================
   Base Reset & Typography
   ============================================================ */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  transition: background-color 0.25s, color 0.25s;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s, color 0.25s;
}

/* ============================================================
   Brand Gradient Utilities
   ============================================================ */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-brand-gradient { background: var(--brand-gradient); }

/* ============================================================
   Brand Buttons
   ============================================================ */
.btn-brand {
  background: var(--brand-gradient);
  color: white !important;
  border: none;
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 4px 14px var(--brand-glow);
}
.btn-brand:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(249,115,22,0.45);
}
.btn-brand:active { transform: translateY(0); }
.btn-brand:disabled,
.btn-brand[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-btn);
  padding: 0.6875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(249,115,22,0.08);
  transform: translateY(-1px);
}

/* ============================================================
   Upload Drop Zone
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  background: var(--bg-card);
  position: relative;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--brand-primary);
  background: rgba(249,115,22,0.04);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.1);
}
.dark .upload-zone:hover,
.dark .upload-zone.drag-over {
  background: rgba(249,115,22,0.08);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.15);
}
.upload-zone.has-file {
  border-color: #10b981;
  border-style: solid;
  background: rgba(16,185,129,0.04);
}
.dark .upload-zone.has-file {
  background: rgba(16,185,129,0.08);
}
/* Hidden real file input inside drop zone */
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* ============================================================
   Step Cards & Containers
   ============================================================ */
.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s, background-color 0.25s;
  border: 1px solid var(--border-subtle);
}
.step-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--brand-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--brand-glow);
}

/* ============================================================
   Score Circle (conic-gradient gauge)
   ============================================================ */
.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(
    var(--brand-primary) calc(var(--score, 0) * 1%),
    var(--border-subtle) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  transition: background 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.score-circle::before {
  content: '';
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--bg-card);
  position: absolute;
}
.score-circle .score-value {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

/* ============================================================
   Score Bars
   ============================================================ */
.score-bar {
  height: 8px;
  border-radius: 9999px;
  background: var(--border-subtle);
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--brand-gradient);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   Loading Spinner
   ============================================================ */
.spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(249,115,22,0.2);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
.spinner-sm {
  width: 1.25rem;
  height: 1.25rem;
  border-width: 2px;
}
.spinner-lg {
  width: 3rem;
  height: 3rem;
  border-width: 4px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Progress Steps (generation wizard)
   ============================================================ */
.progress-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color 0.3s;
}
.progress-step.active { color: var(--brand-primary); font-weight: 600; }
.progress-step.done   { color: #10b981; }

.progress-step .step-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
.progress-step.active .step-icon {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}
.progress-step.done .step-icon {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

/* ============================================================
   AI Generation Animation (Virtual Try-On progress stage)
   ============================================================ */
.gen-stage {
  position: relative;
  width: 260px;
  margin: 16px auto 24px;
}
.gen-stage-inner {
  position: relative;
  width: 260px;
  height: 320px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  background: linear-gradient(160deg, rgba(249,115,22,0.14) 0%, rgba(251,146,60,0.06) 45%, rgba(255,255,255,0.04) 100%);
  animation: gen-glow 2.4s ease-in-out infinite;
}
@keyframes gen-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.30), 0 8px 30px rgba(249,115,22,0.14); }
  50%      { box-shadow: 0 0 0 12px rgba(249,115,22,0), 0 8px 34px rgba(249,115,22,0.28); }
}
.gen-user-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(0.95);
}
.gen-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.25rem;
  color: var(--brand-primary);
  opacity: 0.45;
}
/* Sweeping shimmer across the photo */
.shimmer-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.30) 50%, transparent 68%);
  background-size: 250% 250%;
  animation: gen-shimmer 1.9s linear infinite;
}
@keyframes gen-shimmer {
  0%   { background-position: 135% 0; }
  100% { background-position: -135% 0; }
}
/* Vertical AI scan beam */
.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 56px;
  top: -60px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(249,115,22,0) 0%, rgba(249,115,22,0.28) 65%, rgba(249,115,22,0.55) 100%);
  border-bottom: 2px solid var(--brand-primary);
  box-shadow: 0 0 20px rgba(249,115,22,0.55);
  animation: gen-scan 2.3s ease-in-out infinite;
}
@keyframes gen-scan {
  0%   { top: -60px; }
  50%  { top: calc(100% - 4px); }
  100% { top: -60px; }
}
/* Floating sparkles */
.sparkle {
  position: absolute;
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251,191,36,0.85);
  opacity: 0;
  pointer-events: none;
  animation: gen-sparkle 2.4s ease-in-out infinite;
}
.sparkle-1 { top: 12%;    left: 10%;  font-size: 1rem;     animation-delay: 0s;    }
.sparkle-2 { top: 20%;    right: 11%; font-size: 1.45rem;  animation-delay: .55s;  }
.sparkle-3 { bottom: 16%; left: 15%;  font-size: .85rem;   animation-delay: 1.15s; }
@keyframes gen-sparkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1.15) rotate(18deg); }
}
/* Outfit chip + "AI Generating" badge */
.gen-outfit-chip {
  position: absolute;
  bottom: -16px;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.3rem 0.85rem 0.3rem 0.35rem;
  box-shadow: var(--shadow-card);
  animation: gen-float 3s ease-in-out infinite;
}
.gen-outfit-chip img {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: cover;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}
.gen-outfit-chip-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-primary);
  white-space: nowrap;
}
.gen-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(249,115,22,0.45);
  white-space: nowrap;
  animation: gen-float 3s ease-in-out infinite 0.4s;
}
.gen-badge .spinner {
  width: 0.9rem;
  height: 0.9rem;
  border-width: 2px;
  border-color: rgba(255,255,255,0.45);
  border-top-color: #fff;
}
@keyframes gen-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
/* Progress bar with animated stripes */
.gen-progress-track {
  height: 10px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--border-subtle);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
.gen-progress-fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: var(--brand-gradient);
  transition: width 0.45s ease-out;
  overflow: hidden;
}
.gen-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg,
    rgba(255,255,255,0.28) 25%, transparent 25%, transparent 50%,
    rgba(255,255,255,0.28) 50%, rgba(255,255,255,0.28) 75%, transparent 75%);
  background-size: 1rem 1rem;
  animation: gen-stripes 0.8s linear infinite;
}
@keyframes gen-stripes {
  from { background-position: 0 0; }
  to   { background-position: 1rem 0; }
}

@media (max-width: 480px) {
  .gen-stage       { width: 220px; }
  .gen-stage-inner { width: 220px; height: 275px; }
}

/* ============================================================
   Glassmorphism Card
   ============================================================ */
.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.dark .glass-card {
  background: rgba(19, 29, 49, 0.85);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ============================================================
   Credit Badge
   ============================================================ */
.credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(249,115,22,0.1);
  color: var(--brand-primary);
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  border: 1px solid rgba(249,115,22,0.25);
  text-decoration: none;
  white-space: nowrap;
}
.credit-badge:hover { background: rgba(249,115,22,0.18); }
.dark .credit-badge {
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.35);
  color: #fb923c;
}

/* ============================================================
   Navigation Links
   ============================================================ */
.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.nav-link:hover   { color: var(--brand-primary); background: rgba(249,115,22,0.08); }
.nav-link.active  { color: var(--brand-primary); font-weight: 600; }
.dark .nav-link:hover { background: rgba(249,115,22,0.15); }

/* ============================================================
   Theme Toggle Button
   ============================================================ */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.theme-toggle-btn:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  background: rgba(249,115,22,0.08);
}

/* ============================================================
   Image Preview Card
   ============================================================ */
.image-preview-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Pricing Cards
   ============================================================ */
.pricing-card {
  border-radius: 1.25rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.15);
}
.pricing-card .popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px var(--brand-glow);
}

/* ============================================================
   Feature List Items
   ============================================================ */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.feature-item .check {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-item .cross {
  color: #94a3b8;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   Hero Gradient Background
   ============================================================ */
.hero-gradient {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 40%, #fffbeb 100%);
}
.dark .hero-gradient {
  background: linear-gradient(135deg, #0b1120 0%, #171b29 50%, #1c1917 100%);
}

/* ============================================================
   Connectors (between upload boxes)
   ============================================================ */
.plus-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--brand-primary);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.equals-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.equals-connector span {
  display: block;
  width: 1.25rem;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 9999px;
  opacity: 0.6;
}

.step-arrow {
  color: var(--brand-primary);
  opacity: 0.4;
  font-size: 1.5rem;
  text-align: center;
  margin: 0.5rem 0;
}

/* ============================================================
   Notice / Alert Boxes
   ============================================================ */
.notice-box {
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.notice-box.info    { background: rgba(249,115,22,0.08);  color: #c2410c; border: 1px solid rgba(249,115,22,0.22); }
.dark .notice-box.info { background: rgba(249,115,22,0.12); color: #fdba74; border-color: rgba(249,115,22,0.3); }

.notice-box.success { background: rgba(16,185,129,0.08);  color: #065f46; border: 1px solid rgba(16,185,129,0.2); }
.dark .notice-box.success { background: rgba(16,185,129,0.12); color: #6ee7b7; border-color: rgba(16,185,129,0.25); }

.notice-box.warning { background: rgba(245,158,11,0.08);  color: #92400e; border: 1px solid rgba(245,158,11,0.2); }
.dark .notice-box.warning { background: rgba(245,158,11,0.12); color: #fcd34d; border-color: rgba(245,158,11,0.25); }

.notice-box.error   { background: rgba(239,68,68,0.08);   color: #991b1b; border: 1px solid rgba(239,68,68,0.2); }
.dark .notice-box.error { background: rgba(239,68,68,0.12); color: #fca5a5; border-color: rgba(239,68,68,0.25); }

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-primary);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--brand-primary); }
.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ============================================================
   Custom Scrollbar
   ============================================================ */
::-webkit-scrollbar             { width: 6px; height: 6px; }
::-webkit-scrollbar-track       { background: transparent; }
::-webkit-scrollbar-thumb       { background: var(--border-subtle); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   Result Card (Premium Output)
   ============================================================ */
.result-card {
  background: var(--bg-card);
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px var(--brand-glow), 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(249,115,22,0.2);
  overflow: hidden;
}
.result-image-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  aspect-ratio: 3/4;
  max-width: 360px;
  margin: 0 auto;
}
.result-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Sample Preset Buttons (Quick Try)
   ============================================================ */
.sample-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.sample-pill:hover,
.sample-pill.active {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(249,115,22,0.08);
}
.dark .sample-pill:hover,
.dark .sample-pill.active {
  background: rgba(249,115,22,0.16);
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes pulse-brand {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
.animate-pulse-brand { animation: pulse-brand 1.5s ease-in-out infinite; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.4s ease forwards; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-in { animation: fadeIn 0.35s ease forwards; }

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.animate-scale-in { animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

/* ============================================================
   Mobile Overrides
   ============================================================ */
@media (max-width: 640px) {
  .step-card           { padding: 1.25rem; }
  .pricing-card        { padding: 1.5rem; }

  .score-circle        { width: 110px; height: 110px; }
  .score-circle::before{ width: 84px;  height: 84px;  }
  .score-circle .score-value { font-size: 1.5rem; }

  .result-image-wrap   { max-width: 100%; }

  .btn-brand,
  .btn-outline         { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .upload-zone         { padding: 1.25rem 1rem; }
  .glass-card          { border-radius: 0.75rem; }
}
