/* Creation. Show Finder — Styles */
/* Brand: #111111 black | #E2FF8C lime | #FFFFFF white | #1A1E22 card | #8A9BA8 secondary */

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

:root {
  --black: #111111;
  --lime: #E2FF8C;
  --white: #FFFFFF;
  --card: #1A1E22;
  --border: rgba(255,255,255,0.08);
  --dark-grey: #2B3338;
  --mid-grey: #8A9BA8;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  /* Replace 'DM Sans' with 'Area Normal' if self-hosting the font */
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #111111;
  color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
}

/* ── LAYOUT ─────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ─────────────────────────────────────────── */

.site-header {
  background: var(--black);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--lime);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.header-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid-grey);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-left: 1px solid var(--border);
  padding-left: 20px;
  flex: 1;
}

.btn-back-site {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: var(--lime);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-back-site:hover { opacity: 0.85; }

/* ── HERO ───────────────────────────────────────────── */

.hero {
  background: var(--black);
  padding: 80px 0 72px;
  color: var(--white);
}

.overline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--mid-grey);
  max-width: 520px;
  line-height: 1.6;
}

/* ── STEP NAV ───────────────────────────────────────── */

#app {
  padding-top: 48px;
  padding-bottom: 80px;
}

.steps-nav {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  background: #111111;
  overflow-x: auto;
  scrollbar-width: none;
}

.steps-nav::-webkit-scrollbar { display: none; }

.step-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px 14px 0;
  margin-right: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid-grey);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.step-dot span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.5;
}

.step-dot.active {
  color: var(--white);
  border-bottom-color: var(--lime);
}

.step-dot.active span { opacity: 1; }

.step-dot.completed { color: var(--white); }
.step-dot.completed span { opacity: 0.7; }

/* ── STEPS ──────────────────────────────────────────── */

.step { display: none; }

.step.active {
  display: block;
  animation: stepIn 0.3s ease forwards;
}

.step-header {
  margin-bottom: 36px;
}

.step-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
  color: var(--white);
}

.step-header p {
  font-size: 16px;
  color: var(--mid-grey);
}

/* ── ANIMATIONS ─────────────────────────────────────── */

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

@keyframes stepIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── SECTOR GROUPS ───────────────────────────────────── */

.sector-groups {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}

.sector-group-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.sector-group-label:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.24);
}

.sector-group-label .group-icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
}

.sector-group-label .group-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sector-group-label .group-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.sector-group-label .group-subtitle {
  font-size: 12px;
  color: var(--mid-grey);
  line-height: 1.3;
}

.sector-group-label .group-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sector-group-label .group-selected-count {
  display: none;
  font-size: 11px;
  font-weight: 700;
  background: var(--lime);
  color: var(--black);
  border-radius: 20px;
  padding: 3px 9px;
}

.sector-group-label .group-selected-count.visible {
  display: inline-block;
}

.sector-group-label .group-toggle {
  font-size: 22px;
  font-weight: 300;
  color: var(--mid-grey);
  line-height: 1;
  width: 24px;
  text-align: center;
  transition: color 0.15s;
}

.sector-group.open .sector-group-label {
  background: var(--lime);
  border-color: var(--lime);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.sector-group.open .sector-group-label .group-icon {
  background: rgba(0,0,0,0.12);
}

.sector-group.open .sector-group-label .group-title { color: var(--black); }
.sector-group.open .sector-group-label .group-subtitle { color: rgba(0,0,0,0.55); }
.sector-group.open .sector-group-label .group-toggle { color: var(--black); }

.sector-group-cards {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1.5px solid var(--lime);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  background: #141618;
}

.sector-group.open .sector-group-cards {
  display: grid;
}

.sector-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  user-select: none;
}

.sector-card input[type="checkbox"] { display: none; }

.sector-card .icon { font-size: 24px; line-height: 1; }

.sector-card .label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}

.sector-card:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.sector-card.selected {
  background: var(--lime);
  border-color: var(--lime);
}

.sector-card.selected .label { color: var(--black); }

/* ── OPTION LIST (radio) ────────────────────────────── */

.option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 600px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.option-card input[type="radio"] { display: none; }

.option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.option-content strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.option-content span {
  font-size: 13px;
  color: var(--mid-grey);
}

.option-card:hover { border-color: rgba(255,255,255,0.25); }

.option-card.selected {
  background: var(--lime);
  border-color: var(--lime);
}

.option-card.selected .option-content strong { color: var(--black); }
.option-card.selected .option-content span { color: rgba(0,0,0,0.6); }

/* ── STEP FOOTER ────────────────────────────────────── */

.step-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── STICKY NEXT BAR ────────────────────────────────── */

.sticky-next {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.sticky-next.visible {
  transform: translateY(0);
}

.sticky-next-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
}

.sticky-next-label strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.validation-hint {
  font-size: 13px;
  color: var(--mid-grey);
}

/* ── BUTTONS ────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: var(--lime);
  color: var(--black);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.3); }

/* ── RESULTS LAYOUT ─────────────────────────────────── */

.results-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 820px) {
  .results-layout {
    grid-template-columns: 1fr;
  }
  .shortlist-sidebar {
    order: -1;
  }
}

/* ── SHOW CARDS ─────────────────────────────────────── */

#results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.show-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.15s, transform 0.15s;
  animation: fadeSlideUp 0.4s ease both;
}

.show-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }

.show-card.in-shortlist {
  border-color: var(--lime);
  background: rgba(226,255,140,0.04);
}

.show-card:nth-child(1)  { animation-delay: 0.05s; }
.show-card:nth-child(2)  { animation-delay: 0.10s; }
.show-card:nth-child(3)  { animation-delay: 0.15s; }
.show-card:nth-child(4)  { animation-delay: 0.20s; }
.show-card:nth-child(5)  { animation-delay: 0.25s; }
.show-card:nth-child(6)  { animation-delay: 0.30s; }
.show-card:nth-child(7)  { animation-delay: 0.35s; }
.show-card:nth-child(8)  { animation-delay: 0.40s; }
.show-card:nth-child(9)  { animation-delay: 0.45s; }
.show-card:nth-child(10) { animation-delay: 0.50s; }
.show-card:nth-child(11) { animation-delay: 0.55s; }
.show-card:nth-child(12) { animation-delay: 0.60s; }
.show-card:nth-child(13) { animation-delay: 0.65s; }
.show-card:nth-child(14) { animation-delay: 0.70s; }
.show-card:nth-child(15) { animation-delay: 0.75s; }

.show-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.show-card-title {
  flex: 1;
}

.show-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--white);
}

.show-meta {
  font-size: 13px;
  color: var(--mid-grey);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.show-meta span { display: flex; align-items: center; gap: 4px; }

.show-organiser { font-size: 12px; color: #8A9BA8; margin-top: 4px; }

.show-why {
  font-size: 13px;
  color: #C8D4DA;
  line-height: 1.5;
  padding: 12px 14px;
  background: rgba(226,255,140,0.05);
  border-left: 2px solid var(--lime);
  border-radius: 0 8px 8px 0;
  margin: 8px 0;
}

.match-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.match-bar-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
  width: 0;
}

.match-score {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}

.match-pct {
  font-size: 22px;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.badge-crm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--black);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.show-description {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.55;
}

.show-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.show-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: var(--mid-grey);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}

.show-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.show-budget {
  font-size: 13px;
  color: var(--mid-grey);
}

.show-budget strong { color: var(--white); font-weight: 700; }

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn-add:hover { opacity: 0.82; }

.btn-add.added {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

.no-results {
  padding: 48px 32px;
  text-align: center;
  background: var(--card);
  border-radius: 16px;
  border: 1.5px solid var(--border);
}

.no-results h3 { font-size: 20px; margin-bottom: 10px; color: var(--white); }
.no-results p { color: var(--mid-grey); }

.restart-btn { margin-top: 8px; }

/* ── SHORTLIST SIDEBAR ──────────────────────────────── */

.shortlist-sidebar {
  background: #0D0F11;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 90px;
  color: var(--white);
}

.shortlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.shortlist-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.shortlist-count {
  font-size: 12px;
  font-weight: 600;
  background: var(--dark-grey);
  color: var(--lime);
  padding: 3px 10px;
  border-radius: 100px;
}

.shortlist-empty {
  padding: 20px 0;
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.5;
}

.shortlist-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.shortlist-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.shortlist-item:last-child { border-bottom: none; padding-bottom: 0; }

.shortlist-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.shortlist-item-meta {
  font-size: 11px;
  color: var(--mid-grey);
  margin-top: 2px;
}

.btn-remove {
  background: none;
  border: none;
  color: var(--mid-grey);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}

.btn-remove:hover { color: var(--white); }

/* ── CAPTURE STEP ───────────────────────────────────── */

.capture-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 900px;
}

@media (max-width: 720px) {
  .capture-layout { grid-template-columns: 1fr; }
  .capture-right { display: none; }
}

.capture-right {
  position: sticky;
  top: 90px;
}

.capture-preview {
  background: #0D0F11;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

.capture-preview-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}

.blurred-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.blur-card {
  height: 72px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  opacity: 0.7;
}

.blur-card:nth-child(2) { opacity: 0.5; }
.blur-card:nth-child(3) { opacity: 0.3; }

.capture-preview-hint {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.5;
}

/* ── FORM ───────────────────────────────────────────── */

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.req { color: var(--lime); }

.form-row input {
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 15px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s;
  color: var(--white);
}

.form-row input:focus { border-color: var(--lime); }
.form-row input::placeholder { color: rgba(138,155,168,0.6); }

.form-note {
  font-size: 12px;
  color: var(--mid-grey);
  margin-top: 12px;
  line-height: 1.5;
  text-align: center;
}

.form-error {
  font-size: 13px;
  color: #FF6B6B;
  margin-top: 8px;
  text-align: center;
}

/* ── SUCCESS ────────────────────────────────────────── */

.form-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--lime);
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.form-success p {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.55;
}

/* ── FOOTER ─────────────────────────────────────────── */

.site-footer {
  background: #0D0F11;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: auto;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--mid-grey);
}

.site-footer a {
  color: var(--mid-grey);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer a:hover { color: var(--lime); }

/* ── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .sector-group-cards { grid-template-columns: repeat(2, 1fr); }
  .step-footer { flex-wrap: wrap; }
  .modal { padding: 28px 24px; }
  .show-card-top { flex-direction: column; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
