/* =============================================================
   Antur — Landing page styles
   ============================================================= */

body {
  background: var(--surface);
  overflow-x: hidden;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  width: 100%;
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section {
  position: relative;
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(252, 249, 246, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--motion-default), box-shadow var(--motion-default);
}
.nav.scrolled {
  background: rgba(252, 249, 246, 0.92);
  box-shadow: 0 1px 0 var(--ghost-border);
}
.nav__inner {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(143, 72, 40, 0.12);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--body-md);
  border-radius: var(--radius-full);
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--motion-default);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient-cta);
  color: var(--on-primary);
  box-shadow: 0 6px 20px rgba(143, 72, 40, 0.20);
}
.btn--primary:hover {
  box-shadow: 0 10px 28px rgba(143, 72, 40, 0.28);
  transform: translateY(-1px);
}
.btn--primary:active {
  opacity: 0.85;
  transform: translateY(0);
}
.btn--small {
  padding: 10px 18px;
  font-size: var(--body-sm);
}
.btn--large {
  padding: 18px 28px;
  font-size: var(--body-lg);
  width: 100%;
}
.btn--ghost {
  color: var(--on-surface);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--surface-container-low);
}
.btn--text {
  color: var(--on-surface-variant);
  padding: 8px 0;
  font-weight: var(--weight-medium);
}
.btn--text:hover {
  color: var(--primary);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
  position: relative;
}
.hero__motif-band {
  position: relative;
  width: 100%;
  padding: var(--space-10) 0 var(--space-12);
  overflow: hidden;
  pointer-events: none;
}
.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: var(--label-md);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  background: var(--surface-container-low);
  padding: 8px 14px 8px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}
@media (max-width: 520px) {
  .hero__eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
    gap: 8px;
    padding: 7px 12px 7px 9px;
  }
}
.hero__eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(45, 106, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0); }
}
.hero__eyebrow .sep {
  width: 1px;
  height: 12px;
  background: var(--ghost-border);
  margin: 0 4px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--on-surface);
  margin-bottom: var(--space-6);
  text-wrap: balance;
}
.hero__title .accent {
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}
.hero__title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 6px;
  bottom: -4px;
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--match) 100%);
  border-radius: 4px;
  opacity: 0.18;
}

.hero__sub {
  font-size: var(--body-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--space-10);
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* Hero route motif — a single editorial route line with city pins */
.hero__route {
  display: block;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: auto;
}

/* ── Problem section ─────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
}
.section--tight {
  padding: var(--space-12) 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: var(--space-12);
}
.section-head .eyebrow {
  display: block;
  margin-bottom: var(--space-4);
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.problem {
  background: var(--surface-container-low);
  border-radius: var(--radius-xxl);
  padding: var(--space-16) var(--space-12);
  margin: 0 var(--space-6);
}
.problem__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.pain {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--motion-default), box-shadow var(--motion-default);
}
.pain:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.pain__label {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--body-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pain__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.pain__name {
  font-family: var(--font-display);
  font-size: var(--title-lg);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
}
.pain__copy {
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.problem__close {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: var(--weight-bold);
  text-align: center;
  color: var(--primary);
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.35;
  text-wrap: balance;
}

/* ── How it works ─────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
}
.steps::before {
  /* Route line connecting the dots */
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(to right, var(--primary) 50%, transparent 0%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  opacity: 0.4;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-2);
}
.step__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: var(--title-lg);
  color: var(--primary);
  margin-bottom: var(--space-6);
  box-shadow: 0 0 0 6px var(--surface);
  position: relative;
}
.step__dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.06;
  z-index: -1;
}
.step__title {
  font-family: var(--font-display);
  font-size: var(--title-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.step__copy {
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 320px;
}

/* ── Waitlist form ────────────────────────────────────────── */
.waitlist-section {
  background: var(--surface-container-low);
  padding: var(--space-24) 0;
}
.waitlist-form {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-xxl);
  padding: var(--space-12) var(--space-10);
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--shadow-ambient);
}
.waitlist-form .section-head {
  margin-bottom: var(--space-8);
  text-align: left;
}
.waitlist-form .section-head h2 {
  font-size: 36px;
  margin-bottom: var(--space-3);
}
.waitlist-form .section-head p {
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-5);
}
.field__label {
  font-family: var(--font-body);
  font-size: var(--body-sm);
  font-weight: var(--weight-semibold);
  color: var(--on-surface);
}
.field__input,
.field__textarea {
  background: var(--surface-container);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--body-md);
  color: var(--on-surface);
  transition: all var(--motion-default);
  outline: none;
  width: 100%;
}
.field__textarea {
  resize: vertical;
  min-height: 92px;
  font-family: var(--font-body);
}
.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.field__input:focus,
.field__textarea:focus {
  background: var(--surface-container-lowest);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(143, 72, 40, 0.10);
}
.field__hint {
  font-size: var(--xs);
  color: var(--text-muted);
}
.field--error .field__input,
.field--error .field__textarea {
  border-color: var(--error);
  background: rgba(192, 57, 43, 0.04);
}
.field__error {
  font-size: var(--xs);
  color: var(--error);
  font-weight: var(--weight-medium);
}

.waitlist-form__footer {
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--body-sm);
  color: var(--text-muted);
}
.waitlist-form__consent {
  margin-top: var(--space-2);
  text-align: center;
  font-size: var(--xs);
  color: var(--text-muted);
}
.waitlist-form__embed {
  width: 100%;
  min-height: 560px;
  border: 0;
  display: block;
  overflow: hidden;
}
.waitlist-form__consent a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--motion-default);
}
.waitlist-form__consent a:hover {
  color: var(--primary);
}

/* Success state */
.waitlist-success {
  text-align: center;
  padding: var(--space-8) 0;
}
.waitlist-success__check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.12);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  animation: pop 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.waitlist-success h3 {
  font-size: 28px;
  margin-bottom: var(--space-3);
  letter-spacing: -0.015em;
}
.waitlist-success p {
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2);
}
.waitlist-success .route-preview {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.route-preview__stop {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--body-sm);
  color: var(--on-surface);
  display: flex;
  align-items: center;
  gap: 8px;
}
.route-preview__stop::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.route-preview__sep {
  color: var(--text-muted);
  font-size: var(--body-sm);
  letter-spacing: 0.1em;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--ghost-border);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
}
.footer__tagline {
  font-size: var(--body-sm);
  color: var(--text-muted);
}
.footer__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.footer__links a {
  font-size: var(--body-sm);
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color var(--motion-default);
}
.footer__links a:hover {
  color: var(--primary);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--space-10); }
  .steps::before { display: none; }
  .problem { padding: var(--space-12) var(--space-6); margin: 0; border-radius: 0; }
  .section { padding: var(--space-16) 0; }
  .hero { padding-top: calc(var(--nav-height) + var(--space-12)); padding-bottom: var(--space-10); }
  .hero__motif-band { padding: var(--space-6) 0 var(--space-10); }
  .waitlist-form { padding: var(--space-8) var(--space-6); }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
