/* ===== ROOT & RESET ===== */
:root {
  --primary: #FF4D6D;
  --primary-hover: #e6354f;
  --primary-light: #ffe0e6;
  --secondary: #7C3AED;
  --accent: #06B6D4;
  --green: #22c55e;
  --bg: #F9F7FF;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.13);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
}
.logo-accent { color: var(--primary); }

.nav-links { display: flex; gap: 8px; }

.nav-link {
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.nav-link:hover { background: var(--bg); color: var(--text); }
.nav-link.active {
  background: var(--primary);
  color: white;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  height: 3px;
  background: var(--border);
  z-index: 99;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 20%;
  transition: width 0.5s ease;
}

/* ===== STEPS ===== */
.step {
  display: none;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 3px);
  animation: fadeSlideIn 0.4s ease;
}
.step.active { display: block; }

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

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px 100px;
}

.center-v {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h) - 3px);
}

/* ===== STEP 1: UPLOAD ===== */
.hero-gradient {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 50vh;
  background: linear-gradient(160deg, #ffe0e6 0%, #f3e8ff 50%, #e0f2fe 100%);
  z-index: -1;
  opacity: 0.6;
}

.hero-copy {
  padding: 48px 0 32px;
  text-align: center;
}
.hero-copy h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--text);
}
.accent-text { color: var(--primary); }
.hero-copy p {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--muted);
}

/* Card */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.upload-card { display: flex; flex-direction: column; gap: 20px; }

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  min-height: 200px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.upload-zone:hover { border-color: var(--primary); background: var(--primary-light); }
.upload-zone.drag-over { border-color: var(--primary); background: var(--primary-light); }

.upload-placeholder { text-align: center; padding: 32px 20px; }
.upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-title { font-weight: 600; font-size: 1rem; color: var(--text); }
.upload-sub { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.preview-wrap { width: 100%; height: 100%; position: relative; }
.preview-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 10px; display: block; }
.preview-remove {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px; height: 28px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.preview-remove:hover { background: rgba(0,0,0,0.85); }

/* Form */
.form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }
.form-label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.input-wrap { position: relative; }

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-input::placeholder { color: #C0BAD4; }

.suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 10;
  display: none;
}
.suggestions.open { display: block; }
.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
  transition: background 0.15s;
}
.suggestion-item:hover { background: var(--bg); }
.suggestion-item span { color: var(--muted); font-size: 0.8rem; }

/* People Counter */
.people-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.counter-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  color: var(--text);
  font-family: inherit;
}
.counter-btn:hover { border-color: var(--primary); color: var(--primary); }
.counter-display { text-align: center; flex: 1; }
.counter-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.counter-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: -0.3px;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,77,109,0.35); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-full { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

.btn-outline {
  background: none;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-outline:hover { background: var(--primary-light); }

/* ===== STEP 2: ANALYSIS ===== */
.analysis-wrap { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }

.orbit-outer {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: orbit 3s linear infinite;
}
.ring-1 {
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  animation-duration: 2s;
}
.ring-2 {
  inset: 14px;
  border-bottom-color: var(--secondary);
  border-left-color: var(--secondary);
  animation-duration: 1.5s;
  animation-direction: reverse;
}
@keyframes orbit { to { transform: rotate(360deg); } }

.orbit-core {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}

.analysis-wrap h2 { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.analysis-wrap p { color: var(--muted); font-size: 0.95rem; }

.dot-loader { display: flex; gap: 8px; }
.dot-loader span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: bounce 1.2s ease-in-out infinite;
}
.dot-loader span:nth-child(2) { animation-delay: 0.2s; }
.dot-loader span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* ===== STEP 3: CONCEPT ===== */
.result-banner {
  margin-top: 32px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.result-ootd { position: relative; flex-shrink: 0; }
.result-thumb {
  width: 100px; height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.detected-badge {
  position: absolute;
  bottom: -10px; right: -10px;
  background: white;
  border-radius: 100px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  display: flex; gap: 4px; align-items: center;
  color: var(--text);
}

.result-info { flex: 1; }
.tag-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.result-info h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.result-info p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

.concept-section { margin-top: 32px; }
.concept-section h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.concept-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }

.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.concept-card {
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s;
  overflow: hidden;
  border: 2.5px solid transparent;
}
.concept-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.concept-card.selected { border-color: white; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.concept-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px; right: 14px;
  background: white;
  color: var(--text);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.concept-card .ai-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.3);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.concept-emoji { font-size: 2rem; display: block; margin-bottom: 8px; }
.concept-name { color: white; font-size: 1.1rem; font-weight: 800; display: block; }
.concept-desc { color: rgba(255,255,255,0.85); font-size: 0.8rem; margin-top: 4px; display: block; }

/* ===== STEP 4: RECOMMENDATIONS ===== */
.rec-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
}
.back-btn {
  background: none;
  border: none;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  padding: 6px 0;
  transition: color 0.2s;
}
.back-btn:hover { color: var(--text); }

.rec-badge-row {
  display: flex; align-items: center; gap: 6px;
  background: var(--card);
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 600;
}
.dot-sep { color: var(--border); }

.cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex-shrink: 0;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted);
  font-family: inherit;
  white-space: nowrap;
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(255,77,109,0.3);
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 100px;
}

.place-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  position: relative;
}
.place-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.place-card.in-basket { border-color: var(--primary); }

.place-card.in-basket .add-btn { background: var(--primary); color: white; }

.place-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #e8d5f5, #ffd6e0);
}
.place-body { padding: 12px; }
.place-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; line-height: 1.3; }
.place-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--muted); margin-bottom: 6px;
}
.place-rating { color: #F59E0B; font-weight: 600; }
.place-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.4; margin-bottom: 8px; }

.place-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.place-tag {
  background: var(--bg);
  color: var(--muted);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 100px;
}

.add-btn {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--text);
}
.add-btn:hover { border-color: var(--primary); color: var(--primary); }

.place-selected-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--primary);
  color: white;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
  display: none;
  align-items: center; justify-content: center;
  font-weight: 700;
}
.place-card.in-basket .place-selected-badge { display: flex; }

/* Basket Bar */
.basket-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  z-index: 80;
}
.basket-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  flex-shrink: 0;
}
.basket-count {
  background: var(--primary);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.basket-chips {
  display: flex; gap: 6px; flex: 1; overflow: hidden;
}
.basket-chip {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== STEP 5: COURSE ===== */
.course-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 24px;
}
.course-topbar h2 { font-size: 1.3rem; font-weight: 800; }

.route-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.route-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.route-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.green-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
.red-dot { background: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

.route-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}
.route-line {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, var(--green), var(--primary));
  margin-left: 6px;
  align-self: flex-start;
  opacity: 0.3;
}

.selected-route-places { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 10px 0; }

.route-place-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  cursor: grab;
}
.route-place-item:active { cursor: grabbing; }
.route-num {
  width: 24px; height: 24px;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.route-place-name { flex: 1; font-size: 0.9rem; font-weight: 600; }
.route-place-cat { font-size: 0.78rem; color: var(--muted); }
.drag-icon { color: var(--border); font-size: 1rem; }

.drag-hint { font-size: 0.85rem; color: var(--muted); text-align: center; margin: 16px 0; }

.final-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
  display: none;
  animation: fadeSlideIn 0.4s ease;
}
.final-section h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }

.course-timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  opacity: 0.2;
  z-index: 0;
}

.timeline-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 1;
}
.timeline-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,77,109,0.35);
}
.timeline-left.start-item .timeline-step-num { background: var(--green); box-shadow: 0 4px 12px rgba(34,197,94,0.35); }
.timeline-left.end-item .timeline-step-num { background: #6366F1; box-shadow: 0 4px 12px rgba(99,102,241,0.35); }

.timeline-content {
  flex: 1;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.timeline-content h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.timeline-content p { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.timeline-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.course-action-btns {
  display: flex; gap: 12px; margin-top: 24px;
}
.course-action-btns .btn-primary,
.course-action-btns .btn-outline { flex: 1; text-align: center; }

/* ===== FITMAP ===== */
.fitmap-header {
  text-align: center;
  padding: 40px 0 28px;
}
.fitmap-header h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 8px; }
.fitmap-header p { color: var(--muted); line-height: 1.6; }

.fitmap-loc-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 4px; margin-bottom: 14px;
  scrollbar-width: none;
}
.fitmap-loc-tabs::-webkit-scrollbar { display: none; }
.loc-tab {
  flex-shrink: 0;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--muted);
}
.loc-tab:hover { border-color: var(--secondary); color: var(--secondary); }
.loc-tab.active { background: var(--secondary); border-color: var(--secondary); color: white; }

.fitmap-vibe-pills {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 4px; margin-bottom: 24px;
  scrollbar-width: none;
}
.fitmap-vibe-pills::-webkit-scrollbar { display: none; }

.vibe-pill {
  flex-shrink: 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--muted);
}
.vibe-pill:hover { border-color: var(--secondary); color: var(--secondary); }
.vibe-pill.active { background: var(--secondary); border-color: var(--secondary); color: white; }

.fitmap-grid {
  columns: 2;
  gap: 12px;
  margin-bottom: 40px;
}

.outfit-card {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
  background: var(--card);
  box-shadow: var(--shadow);
}
.outfit-card:hover { transform: scale(1.02); }

.outfit-img {
  width: 100%;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #e8d5f5, #ffd6e0);
  aspect-ratio: 3/4;
}
.outfit-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 20px 12px 12px;
  color: white;
}
.outfit-vibe-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.outfit-tags { font-size: 0.75rem; opacity: 0.85; }
.outfit-likes { font-size: 0.78rem; opacity: 0.8; margin-top: 2px; }
.outfit-loc-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}

.fitmap-upload-cta {
  margin-top: 40px;
  margin-bottom: 40px;
}
.fitmap-cta-inner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  color: white;
}
.fitmap-cta-inner h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.fitmap-cta-inner p { opacity: 0.85; font-size: 0.9rem; margin-bottom: 20px; }
.fitmap-cta-inner .btn-primary {
  background: white;
  color: var(--primary);
}
.fitmap-cta-inner .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state p { font-size: 0.95rem; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 90px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(26,26,46,0.92);
  color: white;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .concept-grid { grid-template-columns: 1fr; }
  .places-grid { grid-template-columns: 1fr; }
  .fitmap-grid { columns: 2; }
  .result-banner { flex-direction: column; text-align: center; }
  .result-ootd { align-self: center; }
  .hero-copy h1 { font-size: 2rem; }
}

@media (min-width: 600px) {
  .places-grid { grid-template-columns: repeat(3, 1fr); }
  .concept-grid { grid-template-columns: repeat(3, 1fr); }
  .fitmap-grid { columns: 3; }
}
