/* --- Intake Form Styles --- */
/* Matches the ClipVantage dark theme aesthetic */

.intake-page {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px;
}

.intake-container {
  width: 100%;
  max-width: 640px;
}

/* Header */
.intake-header {
  margin-bottom: 48px;
}

.intake-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.intake-sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Form error */
.form-error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.25);
  color: #ff8080;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 28px;
}

/* Form */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.field-input {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field-input::placeholder {
  color: var(--fg-muted);
  opacity: 0.5;
}

.field-input:focus {
  border-color: rgba(255, 179, 64, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 179, 64, 0.08);
}

.field-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field-select option {
  background: #111118;
  color: var(--fg);
}

.field-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* Platform checkboxes */
.platform-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-option {
  cursor: pointer;
  position: relative;
}

.platform-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  user-select: none;
}

.platform-card:hover {
  border-color: rgba(240, 238, 232, 0.15);
  color: var(--fg);
}

.platform-option input:checked + .platform-card {
  border-color: rgba(255, 179, 64, 0.35);
  background: rgba(255, 179, 64, 0.06);
  color: var(--fg);
}

.platform-icon {
  font-size: 14px;
}

/* Submit button */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #0A0A0F;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 16px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 179, 64, 0.25);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-arrow {
  font-size: 16px;
  transition: transform 0.2s;
}

.submit-btn:hover .submit-arrow {
  transform: translateX(4px);
}

/* Privacy note */
.intake-privacy {
  text-align: center;
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
  margin-top: 8px;
  font-family: var(--font-mono);
}

/* --- Success Page --- */
.success-page {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.success-container {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(200, 255, 62, 0.1);
  border: 1.5px solid rgba(200, 255, 62, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--lime);
  margin: 0 auto 32px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.success-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.success-body strong {
  color: var(--fg);
}

.success-meta {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
  text-align: left;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.meta-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg);
}

.success-back {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* --- Responsive --- */
@media (max-width: 600px) {
  .intake-page,
  .success-page {
    padding: 60px 20px;
  }

  .platform-grid {
    gap: 8px;
  }

  .platform-card {
    padding: 10px 14px;
    font-size: 12px;
  }
}