/* Custom styling for the Indie Idea Generator landing page */

:root {
  --idea-accent: #f97316; /* Orange for CTAs */
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  background: var(--bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.visible {
  transform: translateY(0);
}

#signup-form {
  scroll-margin-top: 50vh;
  scroll-margin-bottom: 50vh;
}

.hero-wrap {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.14), rgba(14, 165, 233, 0));
  padding-block: clamp(3rem, 10vw, 6rem);
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
}

.hero-inner {
  display: grid;
  gap: 1.5rem;
}

.hero {
  display: grid;
  gap: 1.35rem;
}

.hero h1 {
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero .lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.1rem;
  color: var(--fg-subtle);
}

.cta-note {
  margin: 0;
  color: var(--fg-subtle);
}

.hero-form {
  display: grid;
  justify-items: center;
}

.hero-embed .row-success {
  display: none;
}

.hero-embed.success .row-form {
  display: none;
}

.hero-embed.success .row-success {
  display: grid;
  gap: 1rem;
}

.ml-form-embedWrapper {
  width: min(64rem, 95vw);
  padding: 2.4rem 2.25rem;
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 1.2rem;
  box-shadow: 0 32px 68px -42px rgba(14, 165, 233, 0.45);
}

.ml-form-embedBody {
  display: grid;
  gap: 1.5rem;
}

.ml-form__copy {
  display: grid;
  gap: 1.25rem;
}

.hero-form__title {
  margin: 0;
  font-size: 1.25rem;
}

.ml-form__fields {
  display: grid;
  gap: 1rem;
}

.form-row-inline {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.form-row-inline label {
  margin: 0;
  font-weight: 600;
}

.form-row-inline input {
  border: 1.5px solid rgba(14, 165, 233, 0.45);
  background: rgba(14, 165, 233, 0.06);
}

.form-row-inline input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.ml-form__fields button {
  width: 100%;
}

.ml-form__fields .fine-print {
  margin: 0;
  color: var(--fg-subtle);
  font-size: 0.85rem;
}

.ml-form__iframe {
  display: none;
}

.problem,
.solution,
.social,
.founder,
.closing {
  display: grid;
  gap: 1.75rem;
  padding: clamp(3rem, 6.5vw, 4.25rem);
  border-radius: 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(14, 165, 233, 0.14);
  box-shadow: 0 32px 70px -48px rgba(15, 23, 42, 0.2);
  margin-bottom: clamp(3rem, 8vw, 4.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem:hover,
.solution:hover,
.social:hover,
.founder:hover {
  transform: translateY(-2px);
  box-shadow: 0 40px 80px -50px rgba(15, 23, 42, 0.3);
}

.problem {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0));
}

.solution {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.06), rgba(14, 165, 233, 0));
}

.problem-list,
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.problem-list li {
  position: relative;
  padding-left: 1.75rem;
}

.problem-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(14, 165, 233, 0.7);
  font-weight: 600;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.48);
}

.social {
  gap: 2rem;
}

.quotes {
  display: grid;
  gap: 1.5rem;
}

.quotes blockquote {
  margin: 0;
  padding: 1.6rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.04), rgba(14, 165, 233, 0));
  border: 1px solid rgba(14, 165, 233, 0.16);
  font-style: italic;
  color: var(--fg-muted);
}

.quotes blockquote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-weight: 600;
  color: var(--fg);
}

.founder p {
  margin-bottom: 0.75rem;
}

.founder .btn {
  justify-self: flex-start;
}

.closing {
  padding-block: 2.5rem;
  text-align: center;
  border-top: none;
}

.closing:hover {
  transform: none;
}

@media (max-width: 640px) {
  .hero .lead {
    font-size: 1.05rem;
  }

  .ml-form-embedWrapper {
    width: 100%;
    padding: 2rem 1.75rem;
  }

  .form-row-inline {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .problem,
  .solution,
  .social,
  .founder,
  .closing {
    padding: 2.4rem 1.75rem;
  }
}
