:root {
  color-scheme: dark;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Segoe UI', sans-serif;
}

.card {
  @apply relative overflow-hidden rounded-2xl border border-slate-800/80 bg-slate-950/60 p-4 sm:p-5 shadow-sm shadow-slate-900/60;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.16),
    transparent 55%
  );
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  @apply text-sm font-semibold text-slate-50;
}

.card-body {
  @apply mt-2 text-xs text-slate-300;
}

.card-list {
  @apply mt-3 space-y-1.5 text-xs text-slate-300;
}

.card-list li::before {
  content: '•';
  margin-right: 0.4rem;
  color: rgb(56 189 248);
}

.ai-pill {
  @apply rounded-2xl border border-slate-800/80 bg-slate-950/70 p-3.5;
}

.pill-title {
  @apply text-xs font-medium text-slate-50;
}

.pill-body {
  @apply mt-1 text-[11px] leading-relaxed text-slate-300;
}

.process-step {
  @apply rounded-xl border border-slate-800/80 bg-slate-950/60 p-4;
}

.step-number {
  @apply text-[10px] font-semibold tracking-[0.24em] text-slate-500 uppercase;
}

.step-title {
  @apply mt-1 text-sm font-medium text-slate-50;
}

.step-body {
  @apply mt-1.5 text-xs text-slate-300;
}

.field-input {
  position: relative;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.8);
  color: rgb(226, 232, 240);
  outline: none;
  border: 1px solid transparent;

  background-image:
    linear-gradient(rgb(2, 6, 23), rgb(2, 6, 23)),
    linear-gradient(to right, rgb(6, 182, 212), rgb(14, 165, 233));

  background-origin: border-box;
  background-clip: padding-box, border-box;

  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.25);

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-image 0.2s ease;
}

.field-input:hover {
  transform: scale(1.01);
}

.field-input:focus {
  background-image:
    linear-gradient(rgb(2, 6, 23), rgb(2, 6, 23)),
    linear-gradient(to right, rgb(34, 211, 238), rgb(56, 189, 248));

  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.4),
    0 10px 30px rgba(6, 182, 212, 0.35);
}

.field-input::placeholder {
  color: rgb(100, 116, 139);
}

.field-group {
  position: relative;
}

.field-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 500;
  color: rgb(148, 163, 184);
  pointer-events: none;
  transition: all 0.15s ease;
  background: rgb(2, 6, 23);
  padding: 0 4px;
}

.field-input:focus + .field-label,
.field-input:not(:placeholder-shown) + .field-label {
  top: -8px;
  font-size: 10px;
  color: rgb(34, 211, 238);
}

/* Special handling for textarea labels - position at top initially */
textarea.field-input + .field-label {
  top: 0.65rem;
  transform: translateY(0);
}

textarea.field-input:focus + .field-label,
textarea.field-input:not(:placeholder-shown) + .field-label {
  top: -8px;
  transform: translateY(0);
}

.success-animation {
  animation: successPulse 0.4s ease;
}

@keyframes successPulse {
  0% { transform: scale(0.98); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

