/* start-project.css */
:root {
  --bg-color: #0f0f0f;
  --bg-color-alt: #141414;
  --text-primary: #f0ece4;
  --text-secondary: #7a7068;
  --accent-gradient: linear-gradient(135deg, #E25A3C 0%, #F0A500 100%);
  --card-bg: rgba(22, 20, 18, 0.85);
  --card-border: rgba(240, 236, 228, 0.07);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
}

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

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

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* ─── Page Layout ────────────────────────────────────────── */
.form-page {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 100vh;
  padding-top: 80px;
}

/* ─── Sidebar ────────────────────────────────────────────── */
.form-sidebar {
  background: var(--bg-color-alt);
  border-right: 1px solid var(--card-border);
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(226, 90, 60, 0.1);
  border: 1px solid rgba(226, 90, 60, 0.25);
  color: #E25A3C;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.sidebar-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sidebar-content>p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

/* Steps indicator */
.sidebar-steps {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 3rem;
}

.sidebar-step {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  opacity: 0.35;
  transition: opacity 0.4s;
}

.sidebar-step.active {
  opacity: 1;
}

.sidebar-step.completed {
  opacity: 0.65;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.4s;
  color: var(--text-secondary);
}

.sidebar-step.active .step-dot {
  background: var(--accent-gradient);
  background: linear-gradient(135deg, #E25A3C, #F0A500);
  border: none;
  color: #fff;
  box-shadow: 0 0 20px rgba(226, 90, 60, 0.35);
}

.sidebar-step.completed .step-dot {
  background: rgba(56, 239, 125, 0.15);
  border-color: rgba(56, 239, 125, 0.5);
  color: #38ef7d;
}

.step-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* Trust signals */
.sidebar-trust {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.trust-icon {
  font-size: 1rem;
}

/* ─── Form Main ──────────────────────────────────────────── */
.form-main {
  padding: 6rem 4rem;
  overflow-y: auto;
  width: 100%;
}

.form-container {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.strategy-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  /* slightly narrower for readability of a single-column long form */
  margin: 0 auto;
}

/* Progress bar */
.progress-wrap {
  margin-bottom: 3.5rem;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(240, 236, 228, 0.06);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #E25A3C, #F0A500);
  border-radius: 50px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

/* ─── Form Steps ─────────────────────────────────────────── */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: stepIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.step-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #E25A3C;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.step-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ─── Form Groups ────────────────────────────────────────── */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.required {
  color: #E25A3C;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}

.form-input:focus {
  border-color: rgba(226, 90, 60, 0.45);
  box-shadow: 0 0 0 3px rgba(226, 90, 60, 0.08);
}

.form-input::placeholder {
  color: rgba(240, 236, 228, 0.25);
}

.mt-1 {
  margin-top: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ─── Chips ──────────────────────────────────────────────── */
.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--card-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
  white-space: nowrap;
}

.chip:hover {
  border-color: rgba(240, 236, 228, 0.2);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.chip.selected {
  background: rgba(226, 90, 60, 0.14);
  border-color: rgba(226, 90, 60, 0.55);
  color: var(--text-primary);
  box-shadow: 0 0 12px rgba(226, 90, 60, 0.15);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: transform 0.28s, box-shadow 0.28s, background 0.28s;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: #E25A3C;
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(226, 90, 60, 0.35);
  background: #c94e32;
}

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

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(240, 236, 228, 0.2);
}

.btn-submit {
  background: linear-gradient(135deg, #E25A3C 0%, #F0A500 100%);
  color: #fff;
  padding: 1rem 2.2rem;
  box-shadow: 0 4px 24px rgba(226, 90, 60, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(226, 90, 60, 0.45);
}

.btn-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

/* ─── Success State ──────────────────────────────────────── */
.success-state {
  text-align: center;
  padding: 3rem 1rem;
  animation: stepIn 0.55s ease;
}

.success-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 239, 125, 0.15), rgba(17, 153, 142, 0.15));
  border: 2px solid rgba(56, 239, 125, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 0 40px rgba(56, 239, 125, 0.15);
}

.success-check {
  font-size: 2rem;
  color: #38ef7d;
}

.success-state h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.success-state p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto;
}

.success-state strong {
  color: var(--text-primary);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .form-page {
    display: block;
    padding-top: 60px;
  }

  .form-sidebar {
    position: relative;
    top: 0;
    height: auto;
    padding: 3rem 2rem;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }

  .form-main {
    padding: 2rem 1rem;
  }

  .strategy-container {
    padding: 2rem 1.5rem;
  }

  .nav {
    padding: 1.2rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

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