/* Demo request page styles */

.demo-page {
  background: var(--bg);
  min-height: calc(100vh - 60px);
  padding: 64px 28px 96px;
}

.demo-container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Left copy column */
.demo-copy h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 20px;
}

.demo-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.demo-what-to-expect h2 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.demo-expect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.demo-expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.demo-social-proof {
  display: flex;
  gap: 32px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-number {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.proof-label {
  font-size: 12px;
  color: var(--fg-faint);
  line-height: 1.4;
  max-width: 120px;
}

/* Right form column */
.demo-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: sticky;
  top: 80px;
}

.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.required { color: var(--accent); }
.optional { color: var(--fg-faint); font-weight: 400; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--fg-faint);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A5A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

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

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 15px 24px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  letter-spacing: 0.01em;
}

.btn-submit:hover {
  background: var(--primary-mid);
}

.btn-submit:active {
  transform: scale(0.98);
}

.form-fine-print {
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-faint);
  text-align: center;
  line-height: 1.5;
}

/* Nav actions */
.nav-actions {
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(27, 67, 50, 0.06);
}

/* Success page */
.success-page {
  background: var(--bg);
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 28px;
}

.success-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.success-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.success-card h1 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.success-company {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.success-next {
  text-align: left;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.success-next h2 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.success-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.success-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.success-steps strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 3px;
}

.success-steps p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.btn-home {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn-home:hover {
  background: var(--primary-mid);
}

/* Responsive */
@media (max-width: 900px) {
  .demo-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demo-form-card {
    position: static;
    padding: 36px;
  }

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

  .demo-social-proof {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .demo-page {
    padding: 40px 20px 64px;
  }

  .demo-form-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
  }

  .success-card {
    padding: 40px 28px;
  }
}