/* ============================================================
   DISCOVERY FORM & CONFIRM STYLES
   Matches LaunchDeckOS dark theme design language
   ============================================================ */

/* ─── SHARED LAYOUT ─── */
.discovery-page {
  min-height: calc(100vh - 64px);
  padding: 4rem 2rem 6rem;
}
.discovery-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* ─── PAGE HEADER ─── */
.discovery-header {
  margin-bottom: 2.5rem;
}
.discovery-eyebrow {
  margin-bottom: 1.25rem;
}
.discovery-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1rem;
}
.discovery-lede {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ─── FORM ─── */
.discovery-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

/* Reuse intake form field patterns */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.field-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}
.field-optional {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}
.required { color: var(--accent); }

.field-input {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.field-input:focus { border-color: var(--accent); }
.field-input--error { border-color: #f87171; }
.field-input::placeholder { color: var(--fg-muted); }

.field-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238b949e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field-select option { background: var(--bg-2); }

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

.char-count {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-align: right;
  margin-top: 0.25rem;
}

.fields-grid--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ─── SUBMIT ─── */
.discovery-submit-row {
  margin-top: 0.5rem;
}
.discovery-submit-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(0,212,255,0.15);
  border: 1px solid rgba(0,212,255,0.5);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: -0.01em;
}
.discovery-submit-btn:hover {
  background: rgba(0,212,255,0.25);
  border-color: var(--accent);
}
.discovery-submit-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ─── TRUST SIGNALS ─── */
.discovery-trust {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.trust-icon {
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.9rem;
}
.trust-link {
  color: var(--accent);
  text-decoration: none;
}
.trust-link:hover { text-decoration: underline; }

/* ─── CONFIRM PAGE ─── */
.confirm-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: flex-start;
  padding: 5rem 2rem 6rem;
}
.confirm-inner {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}
.confirm-badge {
  margin-bottom: 1.5rem;
}
.confirm-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.confirm-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.confirm-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.confirm-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}
.cc-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  color: var(--accent);
}
.cc-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}
.cc-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.confirm-cta-block {
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.confirm-cta-label {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.confirm-book-btn {
  display: inline-block;
  background: rgba(0,212,255,0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.confirm-book-btn:hover { background: rgba(0,212,255,0.3); }

.confirm-receipts-note {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}
.confirm-receipts-link {
  color: var(--accent);
  text-decoration: none;
  margin-left: 0.25rem;
}
.confirm-receipts-link:hover { text-decoration: underline; }

.confirm-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.confirm-action-link {
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
}
.confirm-action-link:hover { text-decoration: underline; }
.confirm-divider {
  color: var(--border);
  font-size: 0.9rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .discovery-page,
  .confirm-wrap { padding: 3rem 1.5rem 5rem; }
  .discovery-form { padding: 1.75rem 1.5rem; }
  .fields-grid--dual { grid-template-columns: 1fr; gap: 0; }
}
