/* Onboarding Form Styles */
:root {
  --bg-primary: #0a0e1a;
  --bg-card: #13181f;
  --border: rgba(255, 255, 255, 0.08);
  --cyan: #06b6d4;
  --emerald: #10b981;
  --orange: #f97316;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* Background Grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  padding: 1.5rem 2rem;
}

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.logo-bracket {
  color: var(--cyan);
}

/* Main */
.main {
  position: relative;
  z-index: 10;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.form-container {
  width: 100%;
  max-width: 800px;
}

/* Progress Bar */
.progress-bar {
  position: relative;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 3rem;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-steps {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}

.progress-steps .step {
  width: 28px;
  height: 28px;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.progress-steps .step.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #000;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-header {
  margin-bottom: 2.5rem;
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.5rem;
}

.step-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.step-header p {
  color: var(--text-muted);
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.05);
}

.form-group input.error {
  border-color: #ef4444;
}

.form-group select {
  cursor: pointer;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  cursor: pointer;
}

.feature-card input {
  display: none;
}

.feature-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.feature-card:hover .feature-content {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-card input:checked + .feature-content {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--cyan);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-info {
  flex: 1;
}

.feature-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-check {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.feature-check svg {
  width: 14px;
  height: 14px;
  stroke: transparent;
}

.feature-card input:checked + .feature-content .feature-check {
  background: var(--cyan);
  border-color: var(--cyan);
}

.feature-card input:checked + .feature-content .feature-check svg {
  stroke: #000;
}

/* Options Section */
.options-section {
  margin-bottom: 2.5rem;
}

.options-section h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.options-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.timeline-grid {
  grid-template-columns: repeat(3, 1fr);
}

.option-card {
  cursor: pointer;
}

.option-card input {
  display: none;
}

.option-content {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s ease;
  height: 100%;
}

.option-card:hover .option-content {
  border-color: rgba(255, 255, 255, 0.2);
}

.option-card input:checked + .option-content {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--cyan);
}

.option-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.option-card.small .option-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.option-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.option-price {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.option-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.option-card.small .option-info p {
  font-size: 0.8rem;
}

/* MVP Section */
.mvp-section {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
}

.mvp-header {
  margin-bottom: 1rem;
}

.mvp-badge {
  font-size: 0.85rem;
  color: var(--emerald);
  display: block;
  margin-bottom: 0.5rem;
}

.mvp-header h3 {
  font-size: 1.25rem;
}

.mvp-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.mvp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--emerald);
  color: #000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mvp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.mvp-link svg {
  width: 18px;
  height: 18px;
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--cyan);
  color: #000;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 4rem 2rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.success-message h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.success-note {
  font-size: 0.9rem;
  margin-bottom: 2rem !important;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .step-header h2 {
    font-size: 1.5rem;
  }

  .main {
    padding: 1rem;
  }
}
