/* Signup page styles — extends theme.css variables */

.signup-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 24px;
}

.signup-container {
  width: 100%;
  max-width: 680px;
}

/* Progress indicator */
.signup-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-muted);
  transition: all 0.3s;
}

.progress-step.active .step-circle {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,87,34,0.08);
}

.progress-step.completed .step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.progress-step.active .step-label { color: var(--fg); }
.progress-step.completed .step-label { color: var(--accent); }

.progress-line {
  width: 60px;
  height: 2px;
  background: var(--divider);
  margin: 0 12px;
  margin-bottom: 24px;
  transition: background 0.3s;
}

.progress-line.filled {
  background: var(--accent);
}

/* Steps */
.signup-step {
  display: none;
}

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

.step-header {
  text-align: center;
  margin-bottom: 40px;
}

.step-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.15;
}

.step-header p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Track cards */
.track-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.track-card {
  background: var(--bg-card);
  border: 2px solid var(--divider);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  color: var(--fg);
}

.track-card:hover {
  border-color: rgba(255,87,34,0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.track-card-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.track-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.track-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.2;
}

.track-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.track-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}

.track-perks li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 18px;
  position: relative;
}

.track-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.track-select-indicator {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  transition: color 0.2s;
}

.track-card:hover .track-select-indicator { color: var(--highlight); }

.step-cta-hint {
  text-align: center;
  font-size: 14px;
  color: var(--fg-muted);
}

.step-cta-hint a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.step-cta-hint a:hover { text-decoration: underline; }

/* Step 2: form */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 28px;
  padding: 0;
  transition: color 0.2s;
}

.back-btn:hover { color: var(--fg); }

.field-row { margin-bottom: 20px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select {
  background: var(--bg-card);
  border: 1.5px solid var(--divider);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.2s;
  width: 100%;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.field input::placeholder { color: #4a5a6a; }

.form-error {
  background: rgba(244,67,54,0.12);
  border: 1px solid rgba(244,67,54,0.3);
  color: #ff8a80;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.form-error.show { display: block; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
  display: block;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
}

/* Step 3: success */
.success-wrap {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  color: #4CAF50;
  margin-bottom: 24px;
}

.success-wrap h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.success-wrap > p {
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.next-steps {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.next-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.next-step-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: rgba(255,87,34,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.next-step-item > div:last-child strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.next-step-item > div:last-child p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.success-wrap .btn-primary {
  display: inline-block;
  width: auto;
  padding: 14px 36px;
}

/* Responsive */
@media (max-width: 600px) {
  .track-cards { grid-template-columns: 1fr; }
  .signup-progress { gap: 0; }
  .progress-line { width: 32px; }
  .step-circle { width: 30px; height: 30px; font-size: 12px; }
}