/* ==========================================================================
   Landing page — selling the platform to someone who owns a pizzeria.

   The page borrows the kitchen-ticket motif from app.css rather than inventing
   a marketing skin: the product an owner is about to buy should look like the
   screenshots further down the same page.
   ========================================================================== */

/* --- Hero ------------------------------------------------------------------ */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 2.5rem;
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; padding: 2.5rem 0 4rem; }
}

.hero__title {
  margin: 0.4rem 0 0.9rem;
  font-size: var(--step-5);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero__note {
  margin-top: 0.9rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* The demo sits on the night surface, because that is what the builder itself
   looks like — the visitor is seeing the real thing, not an advert for it. */
.hero__demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--night);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.hero__pizza {
  position: relative;
  width: min(70vw, 320px);
  aspect-ratio: 1;
  cursor: pointer;
  filter: drop-shadow(0 18px 26px rgb(0 0 0 / 45%));
  transition: transform 240ms cubic-bezier(.34, 1.35, .64, 1);
}

.hero__pizza:hover,
.hero__pizza:focus-visible { transform: scale(1.04) rotate(-2deg); }

.hero__demo-note {
  margin: 0;
  color: #cdbfb6;
  font-size: var(--step--1);
  text-align: center;
}

/* --- Section furniture ----------------------------------------------------- */

.section__title {
  font-size: var(--step-3);
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.audiences,
.pricing,
.feature-grid,
.stats { margin-top: 4rem; }

/* --- Statistics, shown only once every floor is passed --------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.stats__item { text-align: center; }

.stats__num {
  display: block;
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stats__label {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* --- Feature grid (occupies the statistics slot below the floors) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

.feature {
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature__name { margin: 0 0 0.4rem; font-size: var(--step-1); }
.feature__body { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

/* --- Three audiences ------------------------------------------------------- */

.audiences__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

@media (min-width: 860px) { .audiences__grid { grid-template-columns: repeat(3, 1fr); } }

.audience {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.audience__name { margin: 0.2rem 0 0.5rem; font-size: var(--step-2); letter-spacing: -0.02em; }
.audience p { margin: 0; color: var(--ink-soft); }

/*
  Drawn impressions of each screen rather than screenshots. A screenshot goes
  stale the first time the UI moves and nobody notices until a prospect points
  at a button that no longer exists.
*/
.mockup {
  margin-top: 1.2rem;
  height: 8.5rem;
  border-radius: var(--radius);
  background: var(--night);
  position: relative;
  overflow: hidden;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mockup__ticket {
  display: block;
  background: var(--night-soft);
  border-left: 3px solid var(--ember);
  border-radius: 4px;
  padding: 0.5rem 0.6rem;
}

.mockup__ticket span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #4a3d36;
}

.mockup__ticket span + span { margin-top: 5px; width: 70%; }
.mockup__ticket span + span + span { width: 45%; }

.mockup__map {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, #241c18 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, #241c18 0 1px, transparent 1px 26px),
    #1b1512;
}

.mockup__pin {
  position: absolute;
  left: 58%;
  top: 46%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 6px rgb(255 122 26 / 22%);
}

.mockup__rail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: auto 0;
}

.mockup__rail i {
  flex: 1 1 0;
  min-width: 0;   /* without this the widest item sets the floor width */
  height: 6px;
  border-radius: 3px;
  background: #3a2f29;
}

.mockup__rail i.is-on { background: var(--ember); }

/* --- Pricing --------------------------------------------------------------- */

.pricing__list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.pricing__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  align-items: baseline;
  padding: 1.1rem 1.3rem;
  border-top: 1px solid var(--line-soft);
}

.pricing__row:first-child { border-top: 0; }

.pricing__what { font-weight: 600; flex: 0 0 12rem; }
.pricing__note { color: var(--ink-soft); flex: 1 1 16rem; min-width: 0; }

.pricing__cta { margin-top: 1.6rem; }
