/* ==================================================
   Nuclear Fancy Pants Edition™ — NUCLEAR+++
   File: /assets/public/css/home.css
   Description: Home page styles for AutoMarketer AI marketing site
   Last Edited: 2026-04-14
   ================================================== */

/* --------------------------------------------------
   Hero
   -------------------------------------------------- */
.amai-hero {
  padding: 100px 0 88px;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.amai-hero__headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.12;
}

.amai-hero__sub {
  font-size: 1.2rem;
  color: var(--stone);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.amai-hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.amai-hero__note {
  margin-top: 20px;
  font-size: 0.83rem;
  color: var(--stone-light);
}

/* --------------------------------------------------
   Responsive
   -------------------------------------------------- */
@media (max-width: 640px) {
  .amai-hero {
    padding: 64px 0 56px;
  }

  .amai-hero__headline {
    font-size: 2.2rem;
  }

  .amai-hero__ctas {
    flex-direction: column;
    align-items: center;
  }
}
/* --------------------------------------------------
   Waitlist modal
   -------------------------------------------------- */
.amai-waitlist-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.amai-waitlist-backdrop.is-open {
  display: flex;
}
.amai-waitlist-modal {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
.amai-waitlist-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--stone);
  line-height: 1;
  padding: 4px 8px;
  -webkit-appearance: none;
  outline: none;
}
.amai-waitlist-modal__close:hover {
  color: var(--ink);
}
.amai-waitlist-modal__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
}
.amai-waitlist-modal__title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.amai-waitlist-modal__sub {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.amai-waitlist-form__group {
  margin-bottom: 16px;
}
.amai-waitlist-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.amai-waitlist-form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.amai-waitlist-form__input:focus {
  outline: none;
  border-color: var(--clay);
}
.amai-waitlist-form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--stone-light);
  margin-top: 12px;
}
.amai-waitlist-success {
  text-align: center;
  padding: 20px 0;
}
.amai-waitlist-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(217, 119, 87, 0.1);
  color: var(--clay);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.amai-waitlist-success__title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.amai-waitlist-success__sub {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (max-width: 480px) {
  .amai-waitlist-modal {
    padding: 36px 24px;
  }
}
