@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --emerald: #10b981;
  --rose: #f43f5e;
}

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

body { font-family: 'Inter', sans-serif; }

/* ── Orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #6366f1, #4338ca); top: -200px; left: -150px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #8b5cf6, #7c3aed); top: 40%; right: -200px; animation-delay: -4s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #06b6d4, #0891b2); bottom: -150px; left: 30%; animation-delay: -8s; }

@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.05); } 66% { transform: translate(-20px, 20px) scale(0.98); } }

/* ── Glass Card ── */
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ── Text Gradient ── */
.text-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Progress Bar ── */
.progress-bar { background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4); }

/* ── Step Labels ── */
.step-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 52px;
}

@media (max-width: 640px) {
  #stepLabels {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  #stepLabels::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
}
.step-label .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}
.step-label.active .dot {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: #818cf8;
  color: white;
  box-shadow: 0 0 16px rgba(99,102,241,0.6);
}
.step-label.completed .dot {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #34d399;
  color: white;
}
.step-label .label-text {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s;
}
.step-label.active .label-text { color: #818cf8; }
.step-label.completed .label-text { color: #34d399; }

/* ── Step Panel ── */
.step-panel { animation: fadeSlideIn 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ── Step Header ── */
.step-header { display: flex; align-items: center; gap: 16px; }
.step-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.step-title { font-size: 1.3rem; font-weight: 700; color: white; }
.step-subtitle { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* ── Fields ── */
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 6px; }
.field-optional { font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); border-radius: 4px; padding: 1px 6px; margin-left: 2px; }

.field-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field-input::placeholder { color: rgba(255,255,255,0.25); }
.field-input:focus { border-color: #6366f1; background: rgba(99,102,241,0.08); box-shadow: 0 0 0 3px rgba(99,102,241,0.2); }
.field-input.error { border-color: #f43f5e; box-shadow: 0 0 0 3px rgba(244,63,94,0.2); }
.field-input option { background: #1e1b4b; color: white; }

.error-msg { font-size: 0.75rem; color: #f87171; min-height: 16px; }

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.upload-zone:hover { border-color: #6366f1; background: rgba(99,102,241,0.07); }
.upload-zone.drag-over { border-color: #818cf8; background: rgba(99,102,241,0.12); transform: scale(1.01); }

/* ── File Pill ── */
.file-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 14px;
  transition: background 0.2s;
}
.file-pill:hover { background: rgba(255,255,255,0.09); }
.file-pill .file-name { font-size: 0.82rem; color: rgba(255,255,255,0.75); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-pill .file-size { font-size: 0.72rem; color: rgba(255,255,255,0.35); white-space: nowrap; }
.file-pill .remove-btn { cursor: pointer; color: rgba(255,255,255,0.3); font-size: 1rem; transition: color 0.2s; flex-shrink: 0; }
.file-pill .remove-btn:hover { color: #f43f5e; }

/* ── Social Pills ── */
.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
}
.social-pill.facebook { background: #1877f2; color: white; }
.social-pill.instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }
.social-pill.linkedin { background: #0a66c2; color: white; }
.social-pill.twitter { background: black; color: white; }
.social-pill.youtube { background: #ff0000; color: white; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
  border: none;
  outline: none;
}
.btn:active { transform: scale(0.95); }

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(99,102,241,0.6); transform: translateY(-1px); }

.btn-submit {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 20px rgba(16,185,129,0.4);
}
.btn-submit:hover { box-shadow: 0 6px 30px rgba(16,185,129,0.6); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: white; }

.btn-save {
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: #818cf8;
  padding: 11px 16px;
}
.btn-save:hover { background: rgba(99,102,241,0.25); }

/* ── Review Card ── */
.review-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
}
.review-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.review-section-header .title { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 6px; }
.review-section-header .edit-btn { font-size: 0.72rem; color: #818cf8; cursor: pointer; transition: color 0.2s; }
.review-section-header .edit-btn:hover { color: #a78bfa; }
.review-row { display: flex; gap: 8px; padding: 8px 16px; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,0.04); }
.review-row:last-child { border-bottom: none; }
.review-key { font-size: 0.75rem; color: rgba(255,255,255,0.35); min-width: 130px; font-weight: 500; padding-top: 2px; }
.review-val { font-size: 0.82rem; color: rgba(255,255,255,0.75); flex: 1; word-break: break-word; }
.review-val.empty { color: rgba(255,255,255,0.2); font-style: italic; }

/* ── Loader Spin ── */
.loader-spin { display: inline-block; animation: spin 0.6s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Animations ── */
.animate-fade-in { animation: fadeIn 0.8s ease both; }
.animate-slide-up { animation: slideUp 0.6s cubic-bezier(0.34,1.56,0.64,1) both; }
.animate-pop { animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }
.animate-bounce-slow { animation: bounceSlow 2s ease-in-out infinite; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
@keyframes bounceSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Responsive ── */
@media (max-width: 640px) {
  .step-label .label-text { display: none; }
  .step-label .dot { width: 24px; height: 24px; font-size: 10px; }
  .btn { padding: 10px 16px; font-size: 0.8rem; }
}
