/* ============================================================
   KODREX — Start a Project (Multi-Step Intake Form)
   ============================================================ */

.start-page {
  min-height: 100vh;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
}

.start-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

/* ── Progress Bar ── */
.start-progress-wrap {
  padding: 28px 5%;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.start-progress-inner {
  max-width: 680px;
  margin: 0 auto;
}

.start-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.start-progress-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.start-progress-count {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.start-progress-count span {
  color: var(--red);
}

.start-progress-bar {
  height: 2px;
  background: var(--bg-4);
  border-radius: 1px;
  overflow: hidden;
}

.start-progress-fill {
  height: 100%;
  background: var(--red);
  border-radius: 1px;
  transition: width 0.5s var(--ease-out);
}

/* ── Step Container ── */
.start-steps-container {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 56px 5%;
}

.start-step {
  display: none;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  animation: step-in 0.4s var(--ease-out);
}

.start-step.active {
  display: block;
}

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

.start-step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.start-step-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--red);
}

.start-step h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.start-step-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ── Text Input ── */
.start-input-group {
  margin-bottom: 20px;
}

.start-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.start-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.start-input::placeholder {
  color: var(--text-muted);
}

.start-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
}

.start-textarea {
  resize: vertical;
  min-height: 100px;
}

/* ── Icon Grid (business type) ── */
.start-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.start-icon-option {
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}

.start-icon-option:hover {
  border-color: var(--border-light);
  background: var(--bg-4);
}

.start-icon-option.selected {
  border-color: var(--red);
  background: var(--red-dim);
  box-shadow: 0 0 0 1px var(--red);
}

.start-icon-option-icon {
  font-size: 24px;
  margin-bottom: 6px;
  display: block;
}

.start-icon-option-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  display: block;
  line-height: 1.3;
}

.start-icon-option.selected .start-icon-option-label {
  color: var(--text-primary);
}

/* ── Card Options (online presence, timeline) ── */
.start-card-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.start-card-option {
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.2s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}

.start-card-option:hover {
  background: var(--bg-4);
  border-color: var(--border-light);
}

.start-card-option.selected {
  border-color: var(--red);
  background: var(--red-dim);
  box-shadow: 0 0 0 1px var(--red);
}

.start-card-option-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.start-card-option-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.start-card-option-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Tag Chips (goals, what you have) ── */
.start-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.start-chip {
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}

.start-chip:hover {
  background: var(--bg-4);
  color: var(--text-primary);
}

.start-chip.selected {
  border-color: var(--red);
  background: var(--red-dim);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--red);
}

.start-chips-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ── Step Footer (navigation) ── */
.start-step-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.start-step-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}

.start-step-back:hover {
  color: var(--text-secondary);
}

.start-step-back:disabled {
  opacity: 0;
  pointer-events: none;
}

/* ── Thank You Screen ── */
.start-thankyou {
  display: none;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  animation: step-in 0.5s var(--ease-out);
}

.start-thankyou.active {
  display: block;
}

.start-thankyou-icon {
  width: 72px;
  height: 72px;
  background: var(--red-dim);
  border: 1px solid var(--border-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--red);
}

.start-thankyou h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.9;
  margin-bottom: 16px;
}

/* The personalised "Our team will reach you soon, [Name]." line */
.start-thankyou-main-msg {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.start-thankyou p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.start-thankyou-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Validation Error ── */
.start-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 6px;
  display: none;
}

.start-error.visible {
  display: block;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .start-icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .start-steps-container {
    padding: 40px 5%;
    align-items: flex-start;
  }
}

@media (max-width: 400px) {
  .start-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
