/* Modern 2026 homepage sections: Positioning, Interactive Customer App Tour,
   Counter Workflow, and Bento Loyalty Gallery. */
.landing-page .b2b-section { padding: 108px 0; }
.landing-page .b2b-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 52px;
}
.landing-page .b2b-heading h2 {
  font-size: clamp(34px, 3.9vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--home-ink);
  margin: 14px 0 0;
  max-width: 720px;
}
.landing-page .b2b-heading .eyebrow,
.landing-page .b2b-positioning > .wrap > .eyebrow,
.landing-page .business-capabilities-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 680;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--home-blue);
}
.landing-page .b2b-heading .eyebrow:before,
.landing-page .b2b-positioning > .wrap > .eyebrow:before,
.landing-page .business-capabilities-head .eyebrow:before {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--home-blue);
}
.landing-page .b2b-intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-muted);
  margin: 0;
  max-width: 440px;
}
.landing-page .b2b-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.4;
  transition: color .18s ease;
}
.landing-page .b2b-link svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.landing-page .b2b-link:hover { color: var(--home-deep); text-decoration: none; }
.landing-page .b2b-link:hover svg { transform: translateX(4px); }
.landing-page .b2b-note { font-size: 12.5px; line-height: 1.7; color: #64748b; margin: 26px 0 0; max-width: 820px; }

/* Section 2 — Positioning & Roles */
.landing-page #what-is-stampigram.b2b-positioning {
  padding: 96px 0;
  background: #fff;
  border: 0;
}
.landing-page .b2b-definition {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  margin-top: 18px;
}
.landing-page .b2b-definition h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  letter-spacing: -0.045em;
  line-height: 1.09;
  color: var(--home-ink);
  margin: 0;
}
.landing-page .b2b-definition > p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--home-muted);
  margin: 4px 0 0;
}
.landing-page .b2b-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
  padding: 0;
  border: 0;
}
.landing-page .b2b-roles > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 18px;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid var(--home-line);
  background: var(--home-paper);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.landing-page .b2b-roles > div:first-child {
  background: linear-gradient(145deg, #0d142c 0%, #1c2463 100%);
  border-color: rgba(99, 102, 241, 0.35);
  color: #fff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}
.landing-page .b2b-role-index {
  position: absolute;
  right: 26px;
  top: 28px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
}
.landing-page .b2b-roles > div:first-child .b2b-role-index { color: rgba(253, 230, 138, 0.72); }
.landing-page .b2b-role-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #fff;
  color: var(--home-blue);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.landing-page .b2b-roles > div:first-child .b2b-role-icon {
  background: rgba(245, 181, 68, 0.16);
  color: var(--home-accent);
  box-shadow: none;
}
.landing-page .b2b-role-icon svg { width: 22px; height: 22px; }
.landing-page .b2b-roles h3 { font-size: 21px; font-weight: 680; margin: 0 0 8px; letter-spacing: -0.03em; color: inherit; }
.landing-page .b2b-roles p { font-size: 14.5px; line-height: 1.68; color: var(--home-muted); margin: 0; }
.landing-page .b2b-roles > div:first-child p { color: #cbd5e1; }
.landing-page .b2b-roles .b2b-guest-link { margin-top: 10px; font-size: 13.5px; }
.landing-page .b2b-roles > div:first-child .b2b-guest-link { color: var(--home-accent); }

/* Section 3 — Flagship 4-Screen Interactive Customer App Tour */
.landing-page .b2b-business { background: var(--home-paper); }
.landing-page .business-demo {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 304px minmax(240px, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: 36px;
  padding: 44px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 56% 52% at 50% 34%, rgba(79, 70, 229, 0.34), transparent 64%),
    radial-gradient(ellipse 40% 38% at 86% 88%, rgba(245, 181, 68, 0.14), transparent 60%),
    linear-gradient(160deg, #070c1b 0%, #0e1633 100%);
  box-shadow: 0 32px 80px rgba(6, 10, 22, 0.22);
  isolation: isolate;
}
.landing-page .business-menu {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: none;
}
.landing-page .business-menu[hidden],
.landing-page .business-motion-button[hidden] { display: none; }
.landing-page .business-menu button {
  position: relative;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  text-align: left;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .2s ease;
}
.landing-page .business-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.landing-page .business-menu button[aria-pressed=true] {
  background: linear-gradient(135deg, #fbcb6b 0%, #f5b544 100%);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(245, 181, 68, 0.25);
}
.landing-page .business-menu-number {
  font-size: 11px;
  font-weight: 650;
  width: 22px;
  flex: none;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.landing-page .business-menu strong {
  display: block;
  font-size: 16.5px;
  font-weight: 660;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.landing-page .business-menu small {
  display: block;
  font-size: 12px;
  line-height: 1.48;
  color: #94a3b8;
  margin-top: 4px;
}
.landing-page .business-menu button > svg { width: 17px; height: 17px; margin-left: auto; flex: none; color: #94a3b8; }
.landing-page .business-menu button[aria-pressed=true] :is(strong, small, svg, .business-menu-number) {
  color: #0b1224;
  opacity: 1;
}
.landing-page .business-menu button[aria-busy=true]:not([aria-pressed=true]) { border-color: var(--home-accent); }
.landing-page .business-preview {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: none;
  overflow: visible;
}
.landing-page .business-preview:before { content: none; }
.landing-page .business-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 280px;
  margin: 0 0 16px;
  gap: 12px;
}
.landing-page .business-app-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f1f5f9;
  margin: 0;
}
.landing-page .business-app-tag svg { width: 14px; height: 14px; color: var(--home-accent); }
.landing-page .business-motion-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  cursor: pointer;
}
.landing-page .business-motion-button:hover { background: rgba(255, 255, 255, 0.14); }
.landing-page .business-motion-button svg { width: 17px; height: 17px; }
.landing-page .business-motion-button[aria-pressed=true] .pause-icon { display: none; }
.landing-page .business-motion-button[aria-pressed=true] .play-icon { display: block; }
.landing-page .business-device {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 390 / 844;
  border: 6px solid #2b3556;
  border-radius: 38px;
  position: relative;
  background: #f1f5f9;
  box-shadow: 0 32px 64px rgba(2, 6, 23, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  contain: layout paint;
}
.landing-page .business-ui-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  border-radius: 30px;
  backface-visibility: hidden;
}
.landing-page .business-ui-frame[hidden] { display: none; }
.landing-page .business-preview figcaption {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
  color: #94a3b8;
  max-width: 280px;
}
.landing-page .business-preview figcaption > span { display: block; color: #64748b; font-size: 10px; }
.landing-page .business-detail {
  grid-column: 3;
  grid-row: 1;
  padding: 0;
  max-width: none;
  min-width: 0;
}
.landing-page .business-detail article[hidden] { display: none; }
.landing-page .business-detail article + article:not([hidden]) { margin-top: 28px; }
.landing-page .business-detail h3 {
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}
.landing-page .business-detail p {
  font-size: 14.5px;
  line-height: 1.78;
  color: #cbd5e1;
  margin: 0 0 24px;
}
.landing-page .business-detail ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}
.landing-page .business-detail li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #e2e8f0;
}
.landing-page .business-detail li svg { width: 17px; height: 17px; color: var(--home-accent); flex: none; margin-top: 2px; }
.landing-page .business-detail > .b2b-link {
  color: var(--home-accent);
  font-size: 14px;
  min-height: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  padding-top: 18px;
  justify-content: space-between;
}
.landing-page .business-demo :is(a, button):focus-visible { outline-color: var(--home-accent); }

/* Supporting Venue Capabilities Grid (compact, below customer showcase) */
.landing-page .business-capabilities-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 52px;
  margin-bottom: 18px;
}
.landing-page .business-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
.landing-page .business-capabilities article {
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  min-width: 0;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.landing-page .business-capabilities article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: var(--home-blue);
  border-radius: 12px;
  margin-bottom: 18px;
}
.landing-page .business-capabilities svg { width: 20px; height: 20px; }
.landing-page .business-capabilities h3 { font-size: 18.5px; line-height: 1.28; margin: 0 0 10px; color: var(--home-ink); }
.landing-page .business-capabilities p { font-size: 14px; line-height: 1.7; color: var(--home-muted); margin: 0; max-width: none; }

/* Section 4 — 3-Step Counter Workflow */
.landing-page .b2b-workflow { background: #fff; color: var(--home-ink); overflow: hidden; }
.landing-page .b2b-workflow:before { content: none; }
.landing-page .b2b-workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}
.landing-page .b2b-workflow-steps li {
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: var(--home-paper);
  padding: 32px;
  position: relative;
  min-width: 0;
}
.landing-page .b2b-workflow-steps li:first-child { background: #eef2ff; border-color: rgba(67, 69, 217, 0.14); }
.landing-page .b2b-workflow-steps li:last-child { background: #fff8eb; border-color: rgba(245, 181, 68, 0.28); }
.landing-page .b2b-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.landing-page .b2b-step-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--home-blue);
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.landing-page .b2b-workflow-steps li:last-child .b2b-step-symbol { color: #b45309; }
.landing-page .b2b-step-symbol svg { width: 25px; height: 25px; }
.landing-page .b2b-step-index { font-size: 13px; font-weight: 650; color: #64748b; font-variant-numeric: tabular-nums; margin: 0; }
.landing-page .b2b-workflow-steps li:not(:last-child):after {
  content: '→';
  position: absolute;
  right: -24px;
  top: 44px;
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e0e7ff;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
}
.landing-page .b2b-workflow-steps h3 { color: var(--home-ink); font-size: 22px; line-height: 1.25; margin: 0 0 12px; }
.landing-page .b2b-workflow-steps p { color: var(--home-muted); font-size: 14.5px; line-height: 1.75; margin: 0; }
.landing-page .b2b-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 0 0;
  margin-top: 34px;
  border-top: 1px solid var(--home-line);
}
.landing-page .b2b-controls > div { display: flex; gap: 12px; align-items: start; }
.landing-page .b2b-controls svg { color: var(--home-blue); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.landing-page .b2b-controls strong { display: block; color: var(--home-ink); font-size: 14px; font-weight: 650; margin-bottom: 5px; }
.landing-page .b2b-controls small { display: block; color: var(--home-muted); font-size: 13px; line-height: 1.6; }
.landing-page .b2b-workflow .b2b-link { margin-top: 26px; }

/* Section 5 — Bento Loyalty Mechanics Gallery */
.landing-page .b2b-rewards { background: var(--home-paper); }
.landing-page .b2b-reward-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.landing-page .b2b-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--home-ink);
  grid-column: span 3;
  border: 1px solid var(--home-line);
  border-radius: 28px;
  background: #fff;
  padding: 26px;
  min-width: 0;
  overflow: hidden;
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.landing-page .b2b-product-card:first-child {
  grid-column: span 6;
  grid-row: span 2;
  background:
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(99, 102, 241, 0.34), transparent 62%),
    linear-gradient(155deg, #090f24 0%, #162052 100%);
  border-color: rgba(99, 102, 241, 0.3);
  padding: 36px;
}
.landing-page .b2b-product-card:nth-child(3) { background: #f5f3ff; }
.landing-page .b2b-product-card:nth-child(4) { background: #fff9ee; }
.landing-page .b2b-product-title > p { font-size: 11.5px; font-weight: 560; color: #64748b; margin: 0 0 7px; }
.landing-page .b2b-product-title h3 { font-size: 24px; line-height: 1.18; letter-spacing: -0.035em; color: var(--home-ink); margin: 0; }
.landing-page .b2b-product-card:first-child .b2b-product-title > p { color: #fde68a; }
.landing-page .b2b-product-card:first-child .b2b-product-title h3 { font-size: 38px; color: #fff; }
.landing-page .b2b-product-card figure { height: 142px; margin: 24px -12px 20px; display: flex; justify-content: center; align-items: center; }
.landing-page .b2b-product-card:first-child figure { height: 420px; margin: 34px 0 28px; transform: rotate(-2deg); filter: drop-shadow(0 22px 28px rgba(2, 6, 23, 0.42)); }
.landing-page .b2b-product-card .product-component { width: 100%; height: 100%; max-width: none; filter: none; }
.landing-page .b2b-product-copy { font-size: 13.5px; line-height: 1.7; color: var(--home-muted); margin: 0 0 18px; }
.landing-page .b2b-product-card:first-child .b2b-product-copy { font-size: 15px; color: #cbd5e1; line-height: 1.8; max-width: 46ch; }
.landing-page .b2b-card-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--home-blue);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: auto;
  transition: transform .2s ease, background .2s ease;
}
.landing-page .b2b-product-card:first-child .b2b-card-arrow { width: 46px; height: 46px; background: var(--home-accent); color: #0b1224; }
.landing-page .b2b-section-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.landing-page .b2b-section-foot .b2b-note { margin: 0; }

@media (hover: hover) and (pointer: fine) {
  .landing-page .b2b-roles > div:hover,
  .landing-page .business-capabilities article:hover,
  .landing-page .b2b-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
  }
  .landing-page .b2b-product-card:hover .b2b-card-arrow { transform: translateX(3px); }
}

/* Responsive Upper Sections */
@media (max-width: 1150px) {
  .landing-page .business-demo {
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
    grid-template-rows: auto 1fr;
    gap: 28px 40px;
    padding: 36px;
  }
  .landing-page .business-menu { grid-column: 1; grid-row: 1; }
  .landing-page .business-preview { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .landing-page .business-detail { grid-column: 1; grid-row: 2; }
  .landing-page .b2b-product-card { grid-column: span 6; }
  .landing-page .b2b-product-card:first-child { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 900px) {
  .landing-page .b2b-section { padding: 80px 0; }
  .landing-page .b2b-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .landing-page .b2b-definition { grid-template-columns: 1fr; gap: 22px; }
  .landing-page .b2b-roles { grid-template-columns: 1fr; }
  .landing-page .business-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-page .b2b-workflow-steps { grid-template-columns: 1fr; }
  .landing-page .b2b-workflow-steps li:not(:last-child):after { right: 28px; top: auto; bottom: -22px; transform: rotate(90deg); }
  .landing-page .b2b-controls { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .landing-page .business-demo {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 26px 20px;
    gap: 26px;
    border-radius: 28px;
  }
  .landing-page .business-menu { grid-column: 1; grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .landing-page .business-menu button { min-height: 66px; padding: 13px 12px; gap: 8px; border-radius: 14px; }
  .landing-page .business-menu small,
  .landing-page .business-menu button > svg { display: none; }
  .landing-page .business-menu strong { font-size: 13.5px; }
  .landing-page .business-preview { grid-column: 1; grid-row: 2; }
  .landing-page .business-device { width: min(272px, 78vw); }
  .landing-page .business-detail { grid-column: 1; grid-row: 3; }
  .landing-page .business-capabilities { grid-template-columns: 1fr; }
  .landing-page .b2b-reward-grid { grid-template-columns: 1fr; }
  .landing-page .b2b-product-card,
  .landing-page .b2b-product-card:first-child { grid-column: 1; grid-row: auto; padding: 26px; }
  .landing-page .b2b-product-card:first-child .b2b-product-title h3 { font-size: 30px; }
  .landing-page .b2b-product-card:first-child figure { height: 290px; margin: 24px 0; }
}
