/* Hotel Connect 360 — Demo visual guiada */

:root {
  --black: #000;
  --surface: #060606;
  --surface-up: #111;
  --line: rgba(255, 255, 255, 0.07);
  --line-accent: rgba(0, 102, 255, 0.35);
  --blue: #0066ff;
  --blue-soft: #4d94ff;
  --blue-glow: rgba(0, 102, 255, 0.18);
  --text: #f5f5f7;
  --text-soft: #8e8e93;
  --text-dim: #636366;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --wrap: 1180px;
  --demo-gap: clamp(56px, 8vw, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* Ambient */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ambient__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 70vh;
  background: radial-gradient(circle, var(--blue-glow), transparent 68%);
  filter: blur(90px);
}

.ambient__glow--hero {
  top: 0;
  height: 85vh;
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 102, 255, 0.18), transparent 60%);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.header__logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 4px 32px rgba(0, 102, 255, 0.4);
}

.btn--primary:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 102, 255, 0.45);
}

.btn--ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-accent);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(0, 102, 255, 0.15);
}

.btn--sm { font-size: 0.8125rem; padding: 10px 18px; }
.btn--lg { font-size: 1rem; padding: 16px 36px; }
.btn--full { width: 100%; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.12s; }
.reveal--d2 { transition-delay: 0.24s; }

/* HERO — vídeo protagonista */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 64px);
}

.hero__inner {
  width: 100%;
  max-width: min(1280px, 96vw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(18px, 3vw, 28px);
}

.hero__logo {
  width: min(400px, 72vw);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(0, 102, 255, 0.15));
}

.hero__title {
  max-width: 820px;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-soft);
  text-wrap: balance;
}

.hero__video {
  width: 100%;
  margin-top: 4px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-accent);
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(0, 102, 255, 0.12);
}

.hero__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(56vh, 640px);
  object-fit: cover;
  background: #000;
}

.hero__lead {
  max-width: 680px;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.55;
  text-wrap: balance;
}

/* Beneficios */
.benefits {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 48px) 0;
  border-top: 1px solid var(--line);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.benefits__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-up);
}

.benefits__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--blue-soft);
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--line-accent);
}

.benefits__heading {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.benefits__text {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-soft);
}

/* Cómo funciona — 3 pasos */
.steps-summary {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 48px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.04) 0%, transparent 100%);
}

.steps-summary__header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto clamp(24px, 4vw, 36px);
}

.steps-summary__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 10px;
}

.steps-summary__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.steps-summary__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: clamp(12px, 2vw, 20px);
  max-width: 960px;
  margin: 0 auto;
}

.steps-summary__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--line-accent);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.steps-summary__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.steps-summary__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--blue-soft);
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid var(--line-accent);
}

.steps-summary__text {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}

.steps-summary__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--blue-soft);
  line-height: 1;
  padding: 0;
}

/* Dashboard real */
.dashboard-showcase {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 56px) 0 clamp(44px, 6vw, 64px);
  border-top: 1px solid var(--line);
}

.dashboard-showcase__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

.dashboard-showcase__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 10px;
}

.dashboard-showcase__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.dashboard-showcase__stage {
  width: min(96vw, 1680px);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.dashboard-showcase__figure {
  margin: 0;
  line-height: 0;
}

.dashboard-showcase__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  border: 1px solid var(--line-accent);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 120px rgba(0, 102, 255, 0.08);
}

/* Resultados y métricas */
.results {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 48px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.03) 0%, transparent 100%);
}

.results__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(24px, 4vw, 32px);
}

.results__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 10px;
}

.results__title {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.5vw, 16px);
  max-width: 960px;
  margin: 0 auto;
}

.results__item {
  padding: clamp(16px, 2.5vw, 20px) clamp(12px, 2vw, 16px);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-up);
}

.results__item::before {
  content: '✓';
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #32d74b;
}

/* Compatibilidad */
.compat {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 48px) 0;
  border-top: 1px solid var(--line);
}

.compat__box {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 36px);
  text-align: center;
  border: 1px solid var(--line-accent);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.compat__title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
  text-wrap: balance;
}

.compat__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 20px;
  text-wrap: balance;
}

.compat__checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}

.compat__checks li {
  position: relative;
  padding-left: 26px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.compat__checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #32d74b;
  font-weight: 700;
}

.capture-present {
  image-rendering: auto;
}

/* Cómo funciona — flujo corporativo (legacy, unused) */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 102, 255, 0.05) 0%, transparent 28%),
    linear-gradient(180deg, transparent 72%, rgba(0, 102, 255, 0.03) 100%);
}

.how-it-works__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(24px, 4vw, 40px);
  padding-inline: clamp(12px, 2.5vw, 28px);
}

.how-it-works__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 14px;
}

.how-it-works__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
}

.how-it-works__lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-soft);
  line-height: 1.6;
  text-wrap: balance;
}

.how-it-works__lead--sub {
  margin-top: 12px;
}

.how-it-works__note {
  margin-top: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--blue-soft);
}

.how-it-works--operational {
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 102, 255, 0.03) 12%, transparent 100%);
}

.how-flow--compact .how-flow__text {
  font-size: 0.875rem;
}

.flow-metrics-note {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: 20px 24px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-soft);
  text-align: center;
  text-wrap: balance;
  border: 1px solid var(--line-accent);
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.05);
}

.how-flow__step--metrics {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: clamp(16px, 2.5vw, 28px);
  max-height: none;
  padding-top: 0;
  border-top: none;
}

.how-flow__step--metrics .flow-metrics-note {
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: 0;
  padding: 16px 18px;
  text-align: left;
}

/* Info panels */
.info-panel {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 80px) 0;
  border-top: 1px solid var(--line);
}

.info-panel__box {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-up);
}

.info-panel__box--trust {
  border-color: var(--line-accent);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.06), rgba(0, 102, 255, 0.02));
}

.info-panel__header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.info-panel__title {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  text-wrap: balance;
}

.info-panel__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: balance;
}

.info-panel__text + .info-panel__text {
  margin-top: 12px;
}

.info-panel__checks {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.info-panel__checks li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.info-panel__checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #32d74b;
  font-weight: 700;
}

.info-panel__goals {
  max-width: 520px;
  margin: 28px auto 0;
  display: grid;
  gap: 12px;
  text-align: center;
}

.info-panel__goals li {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* Cierre comercial */
.closing {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 10vw, 96px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.05), transparent);
}

.closing__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.closing__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 16px;
  text-wrap: balance;
}

.closing__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: balance;
}

.closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.closing__tagline {
  margin-top: clamp(40px, 6vw, 56px);
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  text-wrap: balance;
}

.closing__brand {
  margin-top: 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue-soft);
  line-height: 1.5;
}

.closing__brand span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dim);
}

/* Capturas de flujo — tamaño controlado, una vista por paso */
.how-it-works > .wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.how-flow {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  counter-reset: how;
}

.how-flow__step {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  padding: 0;
}

.how-flow__step:nth-child(even) {
  grid-template-columns: auto 1fr;
}

.how-flow__step:nth-child(even) .how-flow__meta {
  order: 2;
}

.how-flow__step:nth-child(even) .how-flow__visual {
  order: 1;
}

.how-flow__step:not(:last-child)::after,
.how-flow__step:nth-child(even):not(:last-child)::after {
  display: none;
}

.how-flow__step--result {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.how-flow__visual {
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.how-flow__visual--mobile {
  width: 460px;
  max-width: 460px;
  min-width: 420px;
  max-height: 820px;
}

.how-flow__visual:not(.how-flow__visual--mobile) {
  max-width: 1150px;
  max-height: 680px;
}

.how-flow__meta {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.how-flow__copy {
  max-width: none;
}

.how-flow__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-soft);
  background: var(--surface-up);
  border: 2px solid var(--line-accent);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0, 102, 255, 0.12);
}

.how-flow__num--done {
  color: #32d74b;
  border-color: rgba(50, 215, 75, 0.45);
  background: rgba(50, 215, 75, 0.08);
  font-size: 1.125rem;
}

.how-flow__heading {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 6px;
  text-wrap: balance;
}

.how-flow__text {
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  line-height: 1.45;
  color: var(--text-soft);
  text-wrap: balance;
}

.how-flow__img {
  display: block;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.how-flow__visual--mobile .how-flow__img {
  width: 460px;
  max-width: 460px;
  min-width: 420px;
  max-height: 820px;
  height: auto;
  object-fit: contain;
}

.how-flow__visual:not(.how-flow__visual--mobile) .how-flow__img {
  max-width: 1150px;
  max-height: 680px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.capture-present {
  image-rendering: auto;
}

.how-flow__img--result {
  border-color: rgba(50, 215, 75, 0.35);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 48px rgba(50, 215, 75, 0.08);
}

/* Todo queda registrado */
.auto-record {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.04) 0%, transparent 40%);
}

.auto-record__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 52px);
  padding-inline: clamp(12px, 2.5vw, 28px);
}

.auto-record__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.auto-record__list {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 56px);
  padding-inline: clamp(12px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auto-record__item {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.auto-record__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.45);
}

.auto-record > .wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.auto-record__visual {
  max-width: 1150px;
  max-height: 680px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.auto-record__img {
  display: block;
  max-width: 1150px;
  max-height: 680px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line-accent);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(0, 102, 255, 0.08);
}

/* Demo sections */
.demo {
  position: relative;
  z-index: 1;
}

.demo-group,
.demo-block {
  padding: var(--demo-gap) 0;
  border-top: 1px solid var(--line);
}

.demo-group__title,
.demo-block__title {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
  text-wrap: balance;
}

.demo-step {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.demo-step:last-of-type {
  margin-bottom: clamp(24px, 4vw, 32px);
}

.demo-step__title {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-soft);
}

.demo-note {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
  text-align: center;
  max-width: 640px;
  margin: clamp(20px, 3vw, 28px) auto 0;
  text-wrap: balance;
}

.demo-block--impact .visual__img--hero {
  border-color: var(--line-accent);
}

.demo-block--dashboard {
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.04) 50%, transparent);
}

.demo-block--flow .sys-flow {
  margin-bottom: 24px;
}

.demo-block--brief .demo-note {
  margin-bottom: 28px;
}

/* Visual blocks */
.visual {
  margin: 0;
}

.visual__img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.visual__img--hero {
  border-radius: 22px;
  border-color: var(--line-accent);
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 102, 255, 0.08);
}

.visual__img--dashboard {
  border-color: var(--line-accent);
}

.visual--qr {
  max-width: 200px;
  margin: 16px auto 0;
}

.visual__img--qr {
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Internal flow */
.sys-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
  counter-reset: flow;
}

.sys-flow__step {
  position: relative;
  padding: 18px 0 18px 48px;
  border-left: 2px solid var(--line-accent);
  margin-left: 16px;
}

.sys-flow__step:last-child {
  border-left-color: transparent;
}

.sys-flow__step::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: -17px;
  top: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-soft);
  background: var(--surface-up);
  border: 2px solid var(--line-accent);
  border-radius: 50%;
}

.sys-flow__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
}

.sys-flow__label code {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.9375rem;
  color: var(--blue-soft);
  background: rgba(0, 102, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

/* CTA */
.cta {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 7vw, 72px) 0 clamp(52px, 8vw, 80px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.05));
}

.cta__box {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.cta__title {
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 14px;
  text-wrap: balance;
}

.cta__lead {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 22px;
  text-wrap: balance;
}

.cta__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 0 auto 26px;
  max-width: 620px;
  text-align: left;
}

.cta__benefits li {
  position: relative;
  padding-left: 26px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

.cta__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #32d74b;
  font-weight: 700;
  font-size: 0.9375rem;
}

.cta__trust {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: center;
  text-wrap: balance;
}

.cta__closing {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cta__closing-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-soft);
  text-wrap: balance;
}

.cta__closing-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 14px;
}

.cta__closing-tags li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.cta__closing-tags li:not(:last-child)::after {
  content: '·';
  margin: 0 12px;
  color: var(--blue-soft);
  font-weight: 400;
}

/* Form */
.form { text-align: left; }

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.form__field { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-soft);
}

.form__input {
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease);
}

.form__input:focus {
  outline: none;
  border-color: var(--line-accent);
}

.form__status {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-soft);
  text-align: center;
  min-height: 1.4em;
}

.form__status.is-ok { color: #32d74b; }
.form__status.is-err { color: #ff453a; }

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__row a:hover { color: var(--text-soft); }

/* Responsive */
@media (max-width: 860px) {
  .benefits__grid { grid-template-columns: 1fr; }

  .steps-summary__flow {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .steps-summary__arrow {
    padding: 4px 0;
    transform: rotate(90deg);
  }

  .results__grid {
    grid-template-columns: 1fr;
  }

  .results__item:last-child {
    grid-column: auto;
    max-width: none;
  }

  .dashboard-showcase__stage {
    width: 100%;
    padding-inline: clamp(12px, 4vw, 20px);
  }

  .how-it-works > .wrap,
  .auto-record > .wrap {
    padding-inline: clamp(12px, 4vw, 20px);
  }

  .how-flow {
    gap: 32px;
  }

  .how-flow__step,
  .how-flow__step:nth-child(even),
  .how-flow__step--metrics {
    grid-template-columns: 1fr;
    max-height: none;
    gap: 12px;
  }

  .how-flow__step:nth-child(even) .how-flow__meta,
  .how-flow__step:nth-child(even) .how-flow__visual {
    order: unset;
  }

  .how-flow__visual--mobile {
    width: min(460px, calc(100vw - 32px));
    max-width: min(460px, calc(100vw - 32px));
    min-width: min(420px, calc(100vw - 32px));
    max-height: min(820px, 75vh);
  }

  .how-flow__visual:not(.how-flow__visual--mobile) {
    max-width: min(1150px, calc(100vw - 32px));
    max-height: min(680px, 75vh);
  }

  .how-flow__visual--mobile .how-flow__img {
    width: auto;
    max-width: min(460px, calc(100vw - 32px));
    min-width: min(420px, calc(100vw - 32px));
    max-height: min(820px, 75vh);
    height: auto;
    object-fit: contain;
  }

  .how-flow__visual:not(.how-flow__visual--mobile) .how-flow__img {
    max-width: min(1150px, calc(100vw - 32px));
    max-height: min(680px, 75vh);
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .auto-record__visual {
    max-width: min(1150px, calc(100vw - 32px));
    max-height: min(680px, 75vh);
  }

  .auto-record__img {
    max-width: min(1150px, calc(100vw - 32px));
    max-height: min(680px, 75vh);
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .how-flow__heading {
    font-size: 1rem;
  }

  .how-flow__text {
    font-size: 0.875rem;
  }

  .closing__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .closing__actions .btn {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .header .btn--sm { display: none; }
}

@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .cta__benefits { grid-template-columns: 1fr; max-width: 100%; }
  .cta__box { padding: 24px 18px; }
  .cta__closing-tags { flex-direction: column; align-items: center; gap: 6px; }
  .cta__closing-tags li:not(:last-child)::after { content: none; margin: 0; }
  .footer__row {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
