/* Shockwave Models — mobile-first styles (no framework, no build step). */
:root {
  --ink: #0f1020;
  --ink-soft: #3a3b52;
  --muted: #6b6c82;
  --line: #e7e7ef;
  --bg: #f7f7fb;
  --card: #ffffff;
  --accent: #6d28d9;
  --accent-2: #db2777;
  --grad: linear-gradient(120deg, #6d28d9 0%, #db2777 100%);
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(15, 16, 32, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 16, 32, 0.16);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
.container { width: 100%; max-width: 560px; margin: 0 auto; padding: 20px; }
/* Landing uses a wider column so cards feel substantial on desktop. */
.container.landing { max-width: 880px; }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: 960px; margin: 0 auto;
}
.brand { font-weight: 800; letter-spacing: -0.02em; font-size: 20px; }
.brand .spark { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 700; padding: 14px 22px; border-radius: 999px;
  border: 0; cursor: pointer; width: 100%; transition: transform .06s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-light { background: #fff; color: var(--accent); border: 1.5px solid var(--line); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; }
.btn-row .btn { width: auto; flex: 1; }

/* Hero (landing) */
.hero { text-align: center; padding: 28px 0 8px; }
.hero .pill {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent);
  background: #f1e9fe; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 42px; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; }
.hero h1 .spark { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 20px; color: var(--ink-soft); margin: 0 auto 16px; max-width: 480px; }
.hero .btn-row { max-width: 440px; margin: 0 auto; }
.hero .btn { font-size: 17px; padding: 16px 24px; }
@media (min-width: 600px) { .hero h1 { font-size: 50px; } }

/* Service examples + social proof (instant 'what is this') */
.svc-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin: 0 0 18px; font-weight: 700; font-size: 15px; color: var(--accent); }
.svc-examples .dot { color: var(--line); }
.social-proof { color: var(--muted); font-size: 14px; max-width: 440px; margin: 0 auto 22px; }

/* How it works (trust section) */
.how { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin: 34px 0; }
.how h2 { margin: 0 0 18px; font-size: 22px; text-align: center; letter-spacing: -0.02em; }
.how ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.how li { display: flex; gap: 14px; align-items: center; font-size: 16px; font-weight: 600; }
.how li .n { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; font-size: 14px; }

.features { display: grid; gap: 14px; margin: 34px 0; }
.feature { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.feature .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f1e9fe; flex: none; font-size: 20px; }
.feature h3 { margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.note-free { text-align:center; color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Fee-policy card (differentiator + support-ticket reducer) */
.fee-policy { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 34px 0; }
.fee-policy h2 { margin: 0 0 16px; font-size: 22px; text-align: center; letter-spacing: -0.02em; }
.fee-policy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fee-policy li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.fee-policy li::before { content: "\2714"; color: var(--ok); font-weight: 800; flex: none; }

/* Desktop: use the wider column with 2-up grids */
@media (min-width: 720px) {
  .features { grid-template-columns: 1fr 1fr; }
  .how ol { grid-template-columns: 1fr 1fr; }
  .fee-policy ul { grid-template-columns: 1fr 1fr; }
}

/* Card / wizard */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0 22px; }
.progress > span { display: block; height: 100%; background: var(--grad); width: 0; transition: width .3s ease; }
/* Segmented step indicator — clearer 'which step of 6' than a single bar. */
.steps-dots { display: flex; gap: 6px; margin: 4px 0 6px; }
.steps-dots i { flex: 1; height: 6px; border-radius: 999px; background: var(--line); transition: background .3s ease; }
.steps-dots i.done { background: var(--grad); }
.steps-dots i.current { background: var(--accent); }
.wiz-head { display: flex; align-items: baseline; justify-content: space-between; }
.wiz-head .lbl { font-size: 13px; font-weight: 700; color: var(--accent); }
.wiz-head .pct { font-size: 12px; color: var(--muted); font-weight: 600; }
.step { display: none; }
.step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 6px; }
.step .sub { color: var(--muted); margin: 0 0 20px; }
.step-count { font-size: 13px; font-weight: 700; color: var(--accent); }

/* Forms */
label.field { display: block; margin-bottom: 16px; }
label.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=date], select, textarea {
  width: 100%; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(109,40,217,.12); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.err { color: #dc2626; font-size: 13px; margin: 6px 0 0; }

/* Chip multiselect */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; background:#fff;
}
.chip input:checked + span { border-color: var(--accent); background: #f1e9fe; color: var(--accent); }

/* Photo upload tiles */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ptile {
  position: relative; aspect-ratio: 3/4; border: 2px dashed var(--line); border-radius: 14px;
  display: grid; place-items: center; text-align: center; overflow: hidden; cursor: pointer; background: #fafafe;
}
.ptile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ptile .ph { color: var(--muted); font-size: 13px; padding: 8px; }
.ptile .ph .big { font-size: 26px; display: block; margin-bottom: 4px; }
.ptile img { width: 100%; height: 100%; object-fit: cover; }
.ptile.filled { border-style: solid; border-color: var(--accent); }
.ptile.filled::after { content: "\2713"; position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; box-shadow: 0 2px 6px rgba(15,16,32,.25); }
.ptile.req:not(.filled) { border-color: #d6bcfa; background: #faf7ff; }
.ptile .lbl { position: absolute; top: 6px; left: 6px; background: rgba(15,16,32,.7); color:#fff; font-size: 11px; padding: 3px 8px; border-radius: 999px; text-transform: capitalize; }
.expiry-note { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: 13px; padding: 12px 14px; border-radius: 12px; margin-top: 14px; }

/* Fee explainer (Screen 6) */
.fee-box { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 16px; margin-bottom: 12px; background: #fff; }
.fee-box h4 { margin: 0 0 6px; font-size: 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fee-box p { margin: 0; color: var(--muted); font-size: 14px; }
.fee-box .amt { font-weight: 800; color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.fee-box.free { border-left-color: var(--ok); }
.fee-box.free .amt { background: var(--ok); }
.consent-box { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 6px; cursor: pointer; }
.consent-box input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.consent-box.checked { border-color: var(--accent); background: #f1e9fe; }
.consent-box span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }

/* Public profile */
.vp-head { text-align: center; padding: 8px 0 18px; }
.vp-head .av { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; box-shadow: var(--shadow); }
.vp-head h1 { margin: 0; font-size: 26px; letter-spacing: -0.02em; }
.vp-head .loc { color: var(--muted); }
.tier { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-top: 8px; text-transform: uppercase; letter-spacing: .04em; }
.tier.fresh { background: #dcfce7; color: #166534; }
.tier.active { background: #e0e7ff; color: #3730a3; }
.tier.stale { background: #fee2e2; color: #991b1b; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.attrs { display: grid; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.attr { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: #fff; }
.attr .k { color: var(--muted); font-size: 14px; }
.attr .v { font-weight: 600; font-size: 14px; text-align: right; }
.open-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.open-list .o { font-size: 13px; font-weight: 600; color: var(--ok); background: #dcfce7; padding: 6px 12px; border-radius: 999px; }
.photo-stamp { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0; }
.privacy { text-align:center; color: var(--muted); font-size: 12px; margin-top: 18px; }

/* Success */
.success { text-align: center; padding: 10px 0; }
.success .big { font-size: 46px; }
.url-box { display: flex; gap: 8px; margin: 16px 0; }
.url-box input { font-size: 14px; }

.section-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 22px 0 10px; }
.center { text-align: center; }
.mt { margin-top: 16px; }

/* ---- Demand side (pros, gigs, applicants) ---- */
.nav { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--ink-soft); }
.nav a.navbtn { color: var(--accent); border: 1.5px solid var(--line); padding: 8px 14px; border-radius: 999px; }

.flash { background: #dcfce7; border: 1px solid #86efac; color: #166534; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }

.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dash-head h1 { letter-spacing: -.02em; }

.filter-row { display: flex; gap: 10px; margin-bottom: 18px; }
.filter-row input { flex: 1; }
.back-link { display: inline-block; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 12px; }

/* Gig cards */
.gig-list { display: grid; gap: 12px; }
.gig-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; color: inherit; transition: box-shadow .2s ease, transform .06s ease; }
.gig-card:active { transform: translateY(1px); }
.gig-card:hover { box-shadow: var(--shadow-lg); }
.gig-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; letter-spacing: -.01em; }
.gig-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--muted); align-items: center; }
.gig-meta .price { color: var(--accent); font-weight: 700; }
.gig-side { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.gig-side .price.big { font-size: 18px; font-weight: 800; color: var(--accent); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); background: #f1e9fe; padding: 3px 10px; border-radius: 999px; }
.appcount { font-size: 12px; color: var(--muted); font-weight: 600; }
.status { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.status.s-open { background: #dcfce7; color: #166534; }
.status.s-booked { background: #e0e7ff; color: #3730a3; }
.status.s-completed { background: #f1e9fe; color: #5b21b6; }
.status.s-cancelled, .status.s-expired { background: #fee2e2; color: #991b1b; }

/* Applicant cards */
.app-list { display: grid; gap: 14px; }
.app-card { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.app-card.selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(109,40,217,.18), var(--shadow); }
.app-photo { width: 84px; height: 112px; border-radius: 12px; object-fit: cover; flex: none; }
.app-photo.ph { display: grid; place-items: center; background: #f1f1f7; color: var(--muted); font-size: 12px; }
.app-body { flex: 1; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.app-top strong { font-size: 16px; }
.app-attrs { font-size: 14px; color: var(--ink-soft); }
.app-attrs.muted { color: var(--muted); font-size: 13px; margin-top: 2px; }
.app-note { font-size: 13px; color: var(--ink-soft); font-style: italic; margin: 8px 0 0; }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.app-actions .btn { font-size: 14px; padding: 10px 16px; }
.selected-badge { font-size: 14px; font-weight: 700; color: var(--ok); }

/* Gig cost breakdown */
.cost-box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cost-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-size: 15px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.cost-row.total { font-weight: 800; color: var(--ink); background: #f1e9fe; border-bottom: 0; }
.cost-note { padding: 10px 16px; font-size: 13px; color: var(--muted); background: #fafafe; }
