
:host {
  display: block;
  font-family: var(--strata-font-family, Inter, system-ui, sans-serif);
}

.onboarding-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.onboarding-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #a8bcdf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.onboarding-header p {
  color: #a8bcdf;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.onboarding-card {
  background: rgba(15, 26, 51, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(43, 67, 114, 0.5);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-content {
  animation: fadeIn 0.4s ease-out;
}

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

.upload-zone {
  border: 2px dashed #2b4372;
  border-radius: 16px;
  padding: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-zone:hover {
  border-color: #8eb7ff;
  background: rgba(142, 183, 255, 0.05);
}

.upload-zone .icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: #8eb7ff;
}

.upload-zone h3 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
}

.upload-zone p {
  color: #a8bcdf;
  margin-bottom: 24px;
}

.btn-primary {
  background: linear-gradient(180deg, #99c0ff 0%, #6f9eff 100%);
  color: #050914;
  border: none;
  padding: 12px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(111, 158, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #a8bcdf;
  border: 1px solid #2b4372;
  padding: 12px 32px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.preview-area {
  margin: 24px 0;
  padding: 20px;
  background: white;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.logo-preview {
  max-width: 200px;
  max-height: 80px;
  object-fit: contain;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.color-swatch {
  height: 80px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  transition: transform 0.2s ease;
  border: 2px solid transparent;
}

.color-swatch:hover {
  transform: scale(1.05);
}

.color-swatch.selected {
  border-color: #fff;
  box-shadow: 0 0 0 2px #6f9eff;
}

.color-value {
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.2);
  padding: 2px 4px;
  border-radius: 4px;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2b4372;
  transition: all 0.3s ease;
}

.dot.active {
  background: #8eb7ff;
  width: 24px;
  border-radius: 4px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(142, 183, 255, 0.2);
  border-top-color: #8eb7ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

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

.icon-success {
  font-size: 64px;
  color: #7ef0d4;
  margin-bottom: 24px;
}

.error-message {
  color: #ff7c99;
  margin-top: 16px;
  font-weight: 600;
}
