/* v2 */
*, *::before, *::after { box-sizing: border-box; }

/* Spring transition utility */
.fe-spring { transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* Page wrapper */
.kwe-ebook {
  position: relative;
  min-height: 100vh;
  background-color: #09090b;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

/* Two-column grid */
.fe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 1024px) {
  .fe-grid { grid-template-columns: 1fr 1fr; }
}

/* Form card */
.fe-form-card {
  background: rgba(24,24,27,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 1rem;
  padding: 2rem;
}

/* Input fields */
.fe-input {
  width: 100%;
  height: 3rem;
  background: rgba(39,39,42,0.5);
  border: 1px solid #3f3f46;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  padding: 0 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.fe-input::placeholder { color: #71717a; }
.fe-input:focus { border-color: rgba(220,38,38,0.5); }

/* Error message */
.fe-error { color: #f87171; font-size: 0.75rem; margin-top: 0.25rem; min-height: 1rem; }

/* Submit button */
.fe-btn-red {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3.5rem;
  background: #dc2626;
  border: none;
  border-radius: 0.5rem;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.fe-btn-red:hover:not(:disabled) {
  background: #b91c1c;
  transform: scale(1.02);
  box-shadow: 0 0 30px -5px rgba(220,38,38,0.5);
}
.fe-btn-red:disabled { opacity: 0.7; cursor: not-allowed; }

/* Trust badges row */
.fe-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #71717a;
  font-size: 0.75rem;
}
.fe-trust-item { display: flex; align-items: center; gap: 0.25rem; }

/* Inline footer */
.fe-footer {
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(39,39,42,0.5);
  text-align: center;
  color: #52525b;
  font-size: 0.875rem;
}
